Sonoff Basic Rebuild to Low Voltage (12V)

About: Hello! I'm Felix ;)

Hello guys. Wouldn' t it be nice sometimes to control all your appliences and all your stuff with a WiFi smart switch? But often you don' t need to switch 230V AC. If you create a Short Circuit during wiring theres a risk of an electric shock - This can be very dangerous! I looked for a way to switch on/off my LED Strips using a Sonoff without switching 230V of the power supply. So in this Instructable I'm going to show you how to create your very own WiFi Smart Switch for voltages up to 35V DC using only a few components:

-1x SONOFF BASIC 100-230V 10A:

-1x Small PCB (I cutted a piece of a 2x8cm PCB)

-1x L7805 Voltage Regulator

-2x 103 (10nF) capacitor

-cables (I used 0.14mm²)

-Some solder


-Soldering Iron

-Rotary Tool, but a cutter would also do the job as fine :)

So let' s begin!

If you don' t understand some steps, please feel free to ask and watch my YouTube Video!

Stay Creative! ;) ;D

Step 1: Disassemble the Sonoff

Take the Sonoff out of it' s cover. This step should be very easy :) You have to strip of the warranty sticker. The warranty will be lost after this Modification!

Step 2: Locate the Voltage Regulator

You have to find the Voltage regulator. This regulator steps down the +5V to +3.3V for the ESP8266. You can find the regulator (btw. a AMS1117) on the back of the PCB. It is very tiny ;)

Step 3: Soldering Part 1

Now you have to cut two lenghts of 0.14mm² cable. I used about 10 cm, because I wanted to 3d print an enclosure for the new PCB at first, but I later decided to put all the components inside the old housing. Therefore I recommend to use e.g. 5cm. This should be definitely enough. Then you have to solder the red cable (+) to the right terminal of the voltage regulator. The black Minus-wire will then be connected to the left port of the AMS1117. This step would be easier if you tin the cables at first.

Step 4: Making the New PCB

Now you have to cut a small piece out of the PCB. Make it as small as possible. I used my Rotary Tool for this. Of course you can use an oldschool cutter :). Solder the circuit as shown in the scematic and hook the Input wires up to the Input terminals of the SONOFF Basic! Look at the video if you don' t understand what I am talking about :)

Step 5: Cutting the PCB Tracks (Optional)

If you want you can cut the tracks of the PCB that are going to the old transformer (230V to low voltage). You can use for example a cutter or your Rotary Tool to do this.

Step 6: Have Fun!

After closing up the housing you can use it as before, only with the difference that your modified version only can handle up to 35V DC :) Enjoy it ;D



    • Paper Contest

      Paper Contest
    • Organization Contest

      Organization Contest
    • Pocket Sized Contest

      Pocket Sized Contest

    9 Discussions


    11 days ago

    Hello . I'am french and it is exactly what i search . Could you tell me if it was the same way to a sonoff 4ch v2 ? I have bought one and search to connect only 24v I think it was the same system , i must search the regulator voltage +5vdc and ground .Thanks

    3 replies

    Reply 8 days ago

    Hello, I have never bought or seen an sonoff 4ch v2. I have searched on the internet and looked for pictures of your model. But the pictures are too small and I can' t read the text written on the components or on the PCB. What you could do by yourself is sending me a picture (close shot) of the PCB. I will help you to find a solution for this purpose. If you want to do it yourself, you can power it up through the 5,5*2,1mm-Port and measure with a multimeter on the PCB to search 5V. You have to do this WITHOUT plugged in 230V!!!!! The relay-terminals should not be connected to any voltage (230V/110V/...). You do this at your own risk! Greetings from Germany to France ;)


    Reply 1 day ago

    Hello . Here is 2 pics of the pcb i think it was the same like the Sonoff basic . thanks


    Reply 8 days ago

    Hello . Thanks for the reply when i received it i send you pics of the pcb . Do you think it was possible that the sonoff basic or this product sonof 4ch work with an input of 24vac and then an outpout 24vac . I want to use one one them to pilot and program a solenoid valve for the garden . It was difficult to find that on the web.


    7 weeks ago on Step 6

    What a great idea! I made this project and was able to shrink the circuit even smaller by using a very small piece of perf board. Thank you for your Instructable.Sorry, I didn't take any pictures.

    2 replies

    Reply 5 weeks ago

    Thank you so much :) Hope you enjoyed and now have fun with your modded Sonoff :D
    Greetings from Germany to you ;)


    3 months ago

    Nicely done on your first instructable. Thanks for sharing! : )

    1 reply