This will be, by far, my largest project yet and I could do with some advice on documenting it. First of all, what medium do people use to do that? Blogs? I see we have the ability to write blogs here, but not a lot of people use them and it doesn't seem like this site doesn't make readily-available features to browse them. I asked Google Gemini and it recommends GitHub
Some advice on how to seek help may not be a waste effort either. So far I've been to the two StackExchange forums and the Raspberry Pi forum but so far all I've gotten are downvotes and crickets. For instance, I don't seem to be able to find out what kind of ripple voltage is acceptable in the power supply to the R.Pi. I can get it below 50mVp-p, but I can't confirm if that's good enough for the Pi.
If anyone's interested, this project is going to be a failover system to switch my CPAP to a battery backup in the event of a grid power loss. It has these features:
Some advice on how to seek help may not be a waste effort either. So far I've been to the two StackExchange forums and the Raspberry Pi forum but so far all I've gotten are downvotes and crickets. For instance, I don't seem to be able to find out what kind of ripple voltage is acceptable in the power supply to the R.Pi. I can get it below 50mVp-p, but I can't confirm if that's good enough for the Pi.
If anyone's interested, this project is going to be a failover system to switch my CPAP to a battery backup in the event of a grid power loss. It has these features:
- I already have a 12V marine battery and a DC-DC booster to get the 24V the CPAP needs. The battery will also be hooked up to a battery tender, because it's going to be maintaining the R.Pi
- A buck converter, driven by the battery, will output 5V necessary for the R.Pi and other components. Both it's input and output will be filtered, since the output will have a ripple voltage and so will the input, due to the battery maintainer that will be on while the grid has power.
- A system of relays, driven (indirectly) by the R.Pi's GPIO will manager the changeover between the DC-DC booster's output and the AC adapter's output.
- An NMOS will keep the DC-DC booster off until it is needed (I don't think it likes to be power 8hours a day).
- The grid loss detection will be managed by an optocoupler. The BJT will pull down the voltage on a voltage divider and the R.Pi's GPIO will monitor this voltage.
- The battery voltage will be monitored by an ADS1115 connected to the GPIO
- The output to the CPAP will be buffered by a 98mF capacitor, to maintain power during the crucial milliseconds required for the changeover.