Arduino drive 7 segment display direct from serial binary data
$30-250 AUD
En curso
Publicado hace más de 11 años
$30-250 AUD
Pagado a la entrega
This project is to decode serial data and display it on 7 segment LED display
Receiving binary serial data @ 9600 on the hardware serial port,
1 arduino per 7 segment display, 8 displays in total, 2 sets of 4, like [8888] [8888]
arduino will have ID specified (binary 4 bit) in the sketch in a variable at the top of the code. (easy to change later)
arduino will have special code set in the sketch in a variable at the top of the code to control digital pin 13. (easy to change later)
once arduino 'sees' it's ID then display the CHAR on 7 segment display (directly driven from arduino using digital pins 5->11
There is a special code to listen for that blanks 7 seg, and set digital pin 13 low. (00001111)
The byte of information is comprised of 8 bits, no parity and 2 stop bit.
00011001 = 0001(id) and data as binary number 1001=9
00011000 = 0001(id) and data as binary number 1000=8
00001111 = Blank 7 Seg and set digital pin 13 low
01000011 = Special code (I must be able to set this code in a variable at the start of the sketch) this turns on digital pin 13