Open marc-fischer opened 6 years ago
schmitt trigger OR gate not found, used NOR gates instead. Pull-Up resistors should do the trick. all gates connected together to a single LOW-active output, the falling signal should wake the controller using the ISR
Accelerometer connected to second ISR to interrupt when activity (the remote is moved)
to do:
cancelled wake if plugged in, if remote ist moved the wake-if-moved will trigger and wake the controller right before plugging in
propably the whole interrupt-trigger circuit of the keys is not necessary because the adxl can wake the controller. beta-pcb will have it anyways so redundancy is given.
Waking up
To wake the controller from sleep a ISR will be used. To interrupt the processor, a single "wake-up" pin must be used, as the arduino uno only supports two pins.
The plugged in charge connector should wake the processor, also any clicked button must wake the processor.
Idea: All buttons will be connected to a schmitt-trigger OR gate, the output is connected to interrupt pin 1 The 5V-Signal from the USB-Port will be connected to a (N)AND to enable a disable from the processor