Update README.md

This commit is contained in:
NDBCK 2016-12-01 20:18:38 +01:00 committed by GitHub
parent 2f7f83ba63
commit f8d2b6ba45
1 changed files with 3 additions and 6 deletions

View File

@ -188,16 +188,13 @@ Now that the prototype works it's time to make a couple of remotes to control th
###Design choises
* I could use 2 buttons, one for 50% On and one for 100% on. Then the first press turns the light on and the second press turn the light off. With this configuration it's necessary to save the state of the light. This could be done in RAM but then continuous power is needed. This could be done in EEPROM but this doesn't have a lot of write cycles.
So I've chosen to use 3 seperate buttons (On 50%, On 100%, OFF).
* I could use 2 buttons, one for 50% On and one for 100% on. Then the first press turns the light on and the second press turn the light off. With this configuration it's necessary to save the state of the light. This could be done in RAM but then continuous power is needed. This could be done in EEPROM but this doesn't have a lot of write cycles. So I've chosen to use 3 seperate buttons (On 50%, On 100%, OFF).
*For the height constraint I didn't want to use elco's so I've used tantalium capacitors for buffering the power rails.
* For the height constraint I didn't want to use elco's so I've used tantalium capacitors for buffering the power rails.
* As battery I've chosen the CR2032 coin battery. To save space I left an opening in the PCB.
* When pushing a button power is supplied to the capacitors and the atmega through a diode. At the same time a digital port is pulled high so the atmega knows which button is pushed.
I hope the capacitors can store enough energy to send the data to the lights.
The atmega can be powered on al the time by soldering a jumperpad.
* When pushing a button power is supplied to the capacitors and the atmega through a diode. At the same time a digital port is pulled high so the atmega knows which button is pushed. I hope the capacitors can store enough energy to send the data to the lights. The atmega can be powered on al the time by soldering a jumperpad.
* The xtal is 4Mhz so the uC would work with voltages as low as 1.8V