Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
projects:cyberalarm [2019/11/23 21:07] kratenkoprojects:cyberalarm [2019/12/18 22:49] – Add photo with deep sleep current kratenko
Line 45: Line 45:
  
 ## Assembling the parts ## Assembling the parts
-![](:projects:button-attached.jpg)+</markdown>{{ :projects:button-attached.jpg)?nolink |}}<markdown> 
 Because of the voltage differences it is important to program the Arduino before the soldering is done. While I did the development I kept the parts on a breadboard, so I could add a logic shifter. The final soldering was done when I was content that my programming would work. Because of the voltage differences it is important to program the Arduino before the soldering is done. While I did the development I kept the parts on a breadboard, so I could add a logic shifter. The final soldering was done when I was content that my programming would work.
  
Line 83: Line 84:
  
 There are some hardware components on the Arduino that we do not need but cannot turn of and that will consume power. The most obvious one is the LED that is permanently on. You can easily break it off with screw driver or better yet solder it of. The next thing is the voltage converter that is supposed to generate 5V out of a higher voltage. We do not use it, but it still uses power from the power that enters through its output. So we solder that off, too. There is still the USB controller used to program the Arduino. We could also take that of to save even more power, but then we would not be able to change the firmware. Also it would be strange to use an Arduino at this point, as we would have not much left but the Atmel µC. At this point we should probably start from the Atmel only and use an external programmer &ndash; but that would be beyond the scope of this. There are some hardware components on the Arduino that we do not need but cannot turn of and that will consume power. The most obvious one is the LED that is permanently on. You can easily break it off with screw driver or better yet solder it of. The next thing is the voltage converter that is supposed to generate 5V out of a higher voltage. We do not use it, but it still uses power from the power that enters through its output. So we solder that off, too. There is still the USB controller used to program the Arduino. We could also take that of to save even more power, but then we would not be able to change the firmware. Also it would be strange to use an Arduino at this point, as we would have not much left but the Atmel µC. At this point we should probably start from the Atmel only and use an external programmer &ndash; but that would be beyond the scope of this.
 +
 +160µA deep sleep current is far from perfect, but it will keep the device running for a few month.
 +</markdown>{{ :projects:alarm-deep-sleep.jpg?nolink |}}<markdown>
  
 ## The Things Network ## The Things Network