This post is continuing my Ardunio project by following the tutorial - Digital Read Serial.
I was finally getting the hang of these tutorials and understanding what it was supposed to be doing and yet the obvious issue had me stressing and looking everywhere to understand where I went wrong. For this tutorial, I had to set up the wires and Arduino board so that I would be able to monitor the serial communication of a pushbutton in real time through 1's & 0's. I understood that's what I was looking for but I wasn't that smart. I thought the moment I connected everything together, 1's & 0's would start popping up in my Arduino code or in a text document. I was searching everywhere online to figure out what I was doing wrong.
It turns out that in the Arduino program board, I just had to go up to 'Tools -> Serial Monitor'.
I should have known since i set it to send 9600 bits of data per second. This would mean that every second, I would see 9600 '0's, until I pushed the button to '1's. This shows active communication between button and laptop. Video and images of result are shown below.
Video result of Tutorial 3 -> https://www.youtube.com/watch?v=XeNiPWttxaU&feature=youtu.be
No comments:
Post a Comment