Search
Description (from the top to the bottom):
7 – not used 6 – not used 5 – pin 0 4 – pin 1 3 – not used 2 – +5 V 1 – GND
Datasheet 74HC595 is here.
Workflow:
Write to Latch – PB5, LOW - begin of write, HIGH - end of write Clock pulse – PA8 Serial data – PA9 – 2× 8 bits (2× Byte)
1st Byte – segment data – LOW - LED segment in on, HIGH - LED segment is off
1st Byte
2nd Byte - display address (from the left):
2nd Byte
1. – ××××0001 2. – ××××0010 3. – ××××0100 4. – ××××1000
Serial data order: from MSB (most significant bit)
Nucleo (Arduino) reset.
LOW - LED is on, HIGH - LED is off LED description (from the top to bottom)
LED D1 – PA5 LED D2 – PA6 LED D3 – PA7 LED D4 – PB6
Connects PullUp rezistor of 10 kΩ to pin PA4 (2nd pin of 7b socket)
7a (from the left)
1 – pin 2 2 – GND 3 – +5 V
7b (from the left) Sensors: Dallas 18B20 or LM35
1 – GND 2 – PA4 3 – +5 V
Potentiometer with resistance of 10 kΩ between +5 V and GND, driver connected to PA0
Connects PullUp resistors (10 kΩ) to buttons S1, S2 a S3 (see 11)
Description (from the left)
1st column – GND (all 4 pins) 2ns column – +5 V (all 4 pins) 3rd column (from the top) – pin 5, pin 6, pin 9 and pin A5
LOW on the input pin when pressed one may connect PullUps (see 9)
Button S1 – PA1 Button S2 – PA4 Button S3 – PB0