I would like to read in this streaming data to my Arduino Uno and on back to my computer to veiw in Serial Monitor for starters.
So to try to read the data at any other baud rate, such as 9600 baud, all I get returned is gibberish.
I got one bit per row as per the Line Feed provided by:
(+5V) is "mark" or "idle" state. "Start bit" (logic 0), is about 0 volts.)"
Here's a good assignment for you - draw a schematic of how you connect the battery monitor, the UNO and your PC together. Nothing fancy, paper and pencil will do. Then post a photo or a scan of what you've drawn.
int pushButton = 2;
Also modify it so it uses your SoftwareSerial instance rather the Serial - assuming you are following @Grumpy_MIke's advice.
I said send to your computer at 9600 baud and read from software serial at 2400 baud.You need to write out faster than you read in so that your input buffer doesn't overflow.
Serial is used for communication between the Arduino board and a computer or other devices. All Arduino boards have at least one serial port (also known as a UART or USART): Serial. It communicates on digital pins 0 (RX) and 1 (TX) as well as with the computer via USB. Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or output.
But what pin do I put my signal into? I see no pin identified as an Input pin.
but I don't know how to set up the coding to send to my computer at 9600 baud.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16