DIY Wifi Car
![20190725_193908.jpg](/proxy/?url=https://content.instructables.com/F4Q/ZED8/JYIZ6RYT/F4QZED8JYIZ6RYT.jpg&filename=20190725_193908.jpg)
![20190726_143832.jpg](/proxy/?url=https://content.instructables.com/FSH/ERKI/JYIZ6RKK/FSHERKIJYIZ6RKK.jpg&filename=20190726_143832.jpg)
Can you turn old RC car and control it with phone?
Yes you can and I will show you how to do it. This is my first instructable so if something isn't clear how I did it ask in comments and I'm sorry for bad grammar.
My RC car have RX-2B as controller but even if you got some other chip it's pretty easy to look in datasheets and connect it right because we will only use H-bridge on PCB. I will use NodeMCU as controller and connect it to H-bridge on PCB but you can use any microcontroller you have and just add bluetooth module or esp8266 for Wifi.
Downloads
Supplies
PCB
![s-l300.jpg](/proxy/?url=https://content.instructables.com/FT8/SQEV/JYIYTP29/FT8SQEVJYIYTP29.jpg&filename=s-l300.jpg)
![RX-2B_zps6bkpmqlr.jpg](/proxy/?url=https://content.instructables.com/F2U/N72Q/JYIYTP28/F2UN72QJYIYTP28.jpg&filename=RX-2B_zps6bkpmqlr.jpg)
![1644-rx-500x500.jpg](/proxy/?url=https://content.instructables.com/FYL/Y2H6/JYIYTP2C/FYLY2H6JYIYTP2C.jpg&filename=1644-rx-500x500.jpg)
![20190726_094636.jpg](/proxy/?url=https://content.instructables.com/F8Q/LTXI/JYIZ6QLK/F8QLTXIJYIZ6QLK.jpg&filename=20190726_094636.jpg)
![Picture2.png](/proxy/?url=https://content.instructables.com/FJ4/SZSJ/JYIYTQVH/FJ4SZSJJYIYTQVH.png&filename=Picture2.png)
![20190725_193948.jpg](/proxy/?url=https://content.instructables.com/FNJ/DOYN/JYIZ6RZQ/FNJDOYNJYIZ6RZQ.jpg&filename=20190725_193948.jpg)
RX-2B is used with TX-2B. TX is transmitter and RX is receiver. In datasheets you can see pins of RX-2B and how to connected it. My RX-2B was connected similar to the datasheet but without turbo pin connected.
We need only 4 pins to control 2 H-bridges(forward,backward,right,left). You have to find that pins on PCB and then follow lines to the resistors and solder wires to that resistors. It's a good thing to destroy lines from resistors to the pins so no current is going in RX-2B or you can completely remove RX and only left H-bridges on PCB
NodeMCU
![esp8266-serial-wireless-module-nodemcu-v3-lua-wifi-internet-500x500.jpg](/proxy/?url=https://content.instructables.com/F0S/RLUF/JYIYTS5V/F0SRLUFJYIYTS5V.jpg&filename=esp8266-serial-wireless-module-nodemcu-v3-lua-wifi-internet-500x500.jpg)
![20190725_205505.jpg](/proxy/?url=https://content.instructables.com/FKA/7KRC/JYIZ6S30/FKA7KRCJYIZ6S30.jpg&filename=20190725_205505.jpg)
![20190726_104301.jpg](/proxy/?url=https://content.instructables.com/FOZ/2FBP/JYIZ6QXU/FOZ2FBPJYIZ6QXU.jpg&filename=20190726_104301.jpg)
![20190726_143832.jpg](/proxy/?url=https://content.instructables.com/F2H/ERNA/JYIYTS63/F2HERNAJYIYTS63.jpg&filename=20190726_143832.jpg)
![20190726_144127.jpg](/proxy/?url=https://content.instructables.com/FSY/WP2E/JYIZ6RSK/FSYWP2EJYIZ6RSK.jpg&filename=20190726_144127.jpg)
Now you have to connect wires that you solder to the NodeMCU and connect ground of PCB to ground of NodeMCU.
I connected D1-forward, D2-backward, D5-left, D6-right.
I added 9v battery just to power NodeMCU (via Vin) because 4 AA battery does not have enough power to power motors and nodeMCU; I added switch for turning NodeMCU on and off; I removed small spring from first motor that was returning wheels in natural position(optional).
Code
![20190721_164915.jpg](/proxy/?url=https://content.instructables.com/FBH/D7F5/JYIZ6RXR/FBHD7F5JYIZ6RXR.jpg&filename=20190721_164915.jpg)
![Screenshot_20190727-181259.jpg](/proxy/?url=https://content.instructables.com/FF2/9AI3/JYIYYLQQ/FF29AI3JYIYYLQQ.jpg&filename=Screenshot_20190727-181259.jpg)
![app.png](/proxy/?url=https://content.instructables.com/FXD/4JD5/JYIYYM3W/FXD4JD5JYIYYM3W.png&filename=app.png)
We will connect to wifi and anybody that is connected on that wifi can write IP address of NodeMCU in explorer and by adding something after IP address we can trigger some action on the board(eg. 192.168.5.5/high that will set D1 HIGH and motor will start to spin forward). But that is bad way to control car so I made app that when some button is pressed it write address and some word for us.
Conclusion
It's fun little project that works but there are ways to improve it:
1. 4 AA battery are draining fast so a better solution would be rechargeable battery
2. WiFi isn't a best way to drive car, Bluetooth would be better
3. maybe 3D print or make some enclosure for car