marc-fischer / seniorsRemote

A very basic remote tv (IR) control for seniors (and lazy people like me)
GNU General Public License v3.0
0 stars 0 forks source link

hardware to wake up from sleep #3

Open marc-fischer opened 6 years ago

marc-fischer commented 6 years ago

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

marc-fischer commented 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:

marc-fischer commented 6 years ago

cancelled wake if plugged in, if remote ist moved the wake-if-moved will trigger and wake the controller right before plugging in

marc-fischer commented 6 years ago

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.