User Tools

Site Tools


raspberrypi:blackoutdetector

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
raspberrypi:blackoutdetector [2013/11/10 00:54] rlunaroraspberrypi:blackoutdetector [2022/12/02 22:02] (current) – external edit 127.0.0.1
Line 25: Line 25:
  
 ==== Ladies and gentlemen, the power source ==== ==== Ladies and gentlemen, the power source ====
- 
  
 {{ :00.jpg?direct&200 |}} {{ :00.jpg?direct&200 |}}
 +
 +I've started with this power source, and my initial idea was to use a simple 
 +resitor to lower the voltage to 3.3V, but when I went to measure the output 
 +given, I received a big surprise: the output was 8V, very far from the 4.5 
 +expected. 
 +
 +I've asked around and I found out that you can lower this value in a safe 
 +way by connecting it to an voltage stabilizer. It is a circuit that outputs 
 +some voltage regardless of the input voltage you have. 
 +
 +In essence, this is made by an integrated cirtuit called LM317, a pair of 
 +resistors and two capacitors. Here is the schematics:
 +
 +{{ :raspberrypi:03.png?direct&500 |}}
 +
 +Picking the values of the resistors is the most complicated thing. To ease 
 +it, I've selected one fixed and the other a variable resistor: by trimming 
 +it afterwars you can fix the voltage to a very precise value. Moreover, I've 
 +discovered how handy is it when the output voltage changed when I've 
 +enlarged the output cable.
 +
 +Here is a picture of the resulting circuit:
  
 {{ :01.jpg?direct&200 |}} {{ :01.jpg?direct&200 |}}
 +
 +I've bought a box to protect it. Here is the final product: 
  
 {{ :02.jpg?direct&200 |}} {{ :02.jpg?direct&200 |}}
  
-{{ :raspberrypi:03.png?direct&200 |}}+==== References ==== 
 + 
 + 
 +http://www.learningaboutelectronics.com/Articles/LM317-voltage-regulator 
 + 
 + 
raspberrypi/blackoutdetector.1384041265.txt.gz · Last modified: 2022/12/02 22:02 (external edit)