====== Experimental shield ====== {{:courses:be2m37mam:hardware:funduino.png?400|}} ===== 1. Socket for Bluetooth APC220 module ===== 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 ===== 2. LED display driven by 74HC595 ===== 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) {{:courses:be2m37mam:hardware:index.gif?400|}} ''1st Byte'' – segment data – LOW - LED segment in on, HIGH - LED segment is off ''2nd Byte'' - display address (from the left): 1. – ××××0001 2. – ××××0010 3. – ××××0100 4. – ××××1000 Serial data order: from MSB (most significant bit) ===== 3. Reset ===== Nucleo (Arduino) reset. ===== 4. LEDs ===== 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 ===== 5. Buzzer ===== ===== 6. Jumper ===== Connects PullUp rezistor of 10 kΩ to pin PA4 (2nd pin of 7b socket) ===== 7. Socket for IR (7a) and temperature senzor (7b) ===== 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 ===== 8. Potentiometer ===== Potentiometer with resistance of 10 kΩ between +5 V and GND, driver connected to PA0 ===== 9. Jumper ===== Connects PullUp resistors (10 kΩ) to buttons S1, S2 a S3 (see 11) ===== 10. Universal socket (sonar HCSR04, servo…) ===== 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 ===== 11. Buttons ===== LOW on the input pin when pressed one may connect PullUps (see 9) Description (from the left) Button S1 – PA1 Button S2 – PA4 Button S3 – PB0 ===== Shield schematic ===== {{:courses:be2m37mam:hardware:funduino-schematic.png?400|}}