add wakeup connection

This commit is contained in:
King Kévin 2017-04-02 16:18:30 +02:00
parent 813e9366ad
commit fa9678812c
1 changed files with 6 additions and 2 deletions

View File

@ -41,7 +41,8 @@ peripherals
- 2x to display the audio file number
- 1x 16-channel multiplexer to communicate with the 7-segments individually
- 8x2 button switches to adjust the recording numbers and seconds
- 2x ball-based tilt sensor to detect the orientation
- 1 button switch to detect clap
- 1x tilt sensor to detect movement
- 1x DS1307 RTC to keep track of the time
connections
@ -54,7 +55,7 @@ Connect the peripherals the following way (peripheral signal; peripheral signal;
- GND; 4; ; GND;
- SCL; 6; PB10; I2C2_SCL;
- SDA; 5; PB11; I2C2_SDA;
- SQW; 7; ;; to synchronize the seconds
- SQW; 7; PBO; GPIO; to synchronize the seconds
- 2x MAX7219 in chain to show date and time
- VCC; 19; ; +5V;
- GND; 4; ; GND;
@ -66,6 +67,9 @@ Connect the peripherals the following way (peripheral signal; peripheral signal;
- GND; 1; ; GND;
- CLK; 18; PB6; GPIO
- DIO; 17; PB7; GPIO
- 1x tilt sensor
- VCC/GNG; ; ; +3.3V;
- OUT; ; PA10; WKUP; pulled low, wake up on rising edge
All pins are configured using `define`s in the corresponding source code.