Hello friends, it has been a while since I posted something new on the blog but I have been wasting too much time learning new stuff.
Today I want to show you one of my latest projects which combines electronics and programming for PC and Android devices.
For most of my life I have been working with software and never adventured much into the electronics world but I always wanted to, so I bought an Arduino Uno controller a few months ago to get me started but never made any real projects with it. I just played around with some leds and light sensors that came with the kit, but a few days ago I had some time to make a little project which involved simple electronics knowledge, the Arduino platform, programming desktop applications to communicate with the Serial port and creating my first Android application.
I am now controlling a mini RC car (which I bought at a chinese store for 10€) using my computer and my Android cellphone and tablet.
- Disassemble the remote controller.
- Identify the battery wires of the board,cut them and solder some wire to connect to the Arduino Vin and Gnd pins.
- Identify the push buttons and which pins enable their function and connect them to the digital pins of the Arduino.
- Code an Arduino sketch that will receive commands from the Serial port and enable the correct pins to control the car.
- Code a desktop application that will send commands through the serial port which will be processed by the Arduino.
- Code an Android app which communicates (using Wifi) with the TCP/IP server managed by the desktop application that redirects the commands to the Serial port of the Arduino.
This post is a Work in Progress and I will soon write details about each step and publish the software and sources so you can use them or improve them. The desktop application was developed in Delphi Xe2.