I'm a complete noob when it comes to electronic so if you feel the need to call me stupid for not figuring this out on my on, I wont be offended.
I have searched Stack Exchange without finding an answer, or not understanding the answer.
I have a small solution to control the radiators in my cabin. It's ugly as.... I use a Raspberry Pi(old version) to control a key-fob. Since I read, somewhere that the key-fob might use more power than the RPI can deliver it could potentially fry the RPI. My solution is to use one cellphone charger to power the RPI and one to power the circuit with the key-fob. I have put a relay between the two.
Below is a simplified fritzed version of the current solution.
What I want is to change to use a single cellphone charger.
Below is my version on how to solve this.
The problem for me is that I am to much of a noob to figure out if this will fry my RPI. Any suggestion and/or help on how to solve this is much appreciated.
@Elliot Alderson want's more information. Which I totally understand. As I stated before, this is a VERY ugly solution.
This is an image of my "electronics" box, it's the device that want's 2A. In reality it doesn't at the moment but in the future, when I want to control the world it might use much more than 2A.
The green card is a simple remote to control lights over 433Mhz. It's sold by a Swedish company called Clas Ohlson. This item looks the same as the one I have, but I'm not sure, Remote to control lights. The remote control uses a 3v button battery. I use a voltage regulator to get 3.3v Spec for voltage regulator to replace the battery.
I'm not sure which version of pi it is but I know it's first generation.
The RPI communicates with a server in my closet. The server holds and controls state for the radiators. I have written the server software. The hardware of the electronics box is a ugly hack. The server software is worse. The RPI polls info from the server.
The 2 buttons on the electronics box is so I can "manually" turn on and off the radiators in the cabin. The buttons actually sends a state-change to the server and then change state of the radiator.
I use the same charger for both RPI and the electronics box. I bought them from Kjell.com. Linocell usb charger.
According to the sticker on the charger
- Wall charger
- Art No: 95717
- Input: AC 100-240V 50-60Hz 0.3A
- Output: DC5v 2.4A Max
I am aware that the more functionality(components and so on) I add to the electronics box the more power it will need. The Wall charger I use today might not cut it, and I have to upgrade.
The question remains. To day I use two power sources and a relay between RPI and the remote control(green card) since I don't want to accidentally fry my RPI.
Is it safe to share one power source for both RPI and my remote control circuit, regardless if I add more power hungry crap on the non-RPI side of the relay?
I'm sure that some of you are rofl - happy I can contribute to some happiness. I am a noob that are willing to learn. Any tips,pointers, suggestions and so on are very welcome.
If anyone needs more info, I'll do my best to supply it.