I have a small project that involves the automation of the lights in a room using a Raspberry Pi and a set of four relays. All of the software and hardware is operational, and it is ready to be installed.

However, the space that the Pi will be stored in is rather small, and I am aware of the heat that standard USB adapters can generate. Using one of these in such an environment seems rather hazardous, and I am looking for another way to convert the 230 V mains power down to a level that suitable for the Raspberry Pi.

How am I able to do this while maintaining high safety standards?


Look at the efficiency specs on the converter (higher is better) and get the lowest power rating that will do the job. Both of those will reduce the waste heat produced by the power supply.

Is there any chance of either venting the space where the project is installed or putting the power supply outside of the space in free air?

| improve this answer | |
  • Ventilation would be unlikely in this situation, but even so, would a high efficiency converter be safe enough without it? – Connor Varney Apr 4 '18 at 7:15
  • Without knowing more about the application it really isn't possible to say anything specific. "Good" power supplies will have heat dissipation specs as well as temperature limits. You could add a temperature sensor on the Pi and do some testing. – dlu Apr 4 '18 at 7:37
  • Have you thought of PoE (which runs at 48V (SELV)) and moves your need to convert from 230V AC away from where your RPi is located. – Dougie Mar 4 '19 at 5:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.