Skip to main content

Its here and its manual override controller

Its been a while that i am working on an autonomous vehicle and some major parts are tested and still going on with the project. For this project its better to have a manual override control via RC remote controller. 
After researching the RC controller and receiver i have found out the RC remote controllers use PPM signals to control the servo and ESC. In one of my earlier post's i have mentioned reading the receiver outputs and tested how it can be controlled.

PPM signal out from the RC receiver.

I have on of my bixler controllers and finally able to use it for this project. Hobbyking 6 channel receiver and 4 channel transmitter is used for this and i wont guaranty that this will or will not work with your projects. The PPM signal will vary depending on different vendors. I read all the output of the receiver and log it for further reference.

 Designing a circuit

Since the code will be very very simple i decided to use ATtiny13A-PU as the micro controller. Lets think of a way to switching and got an idea from one of my very old project built when i was in school. Bilateral switching so used CD4066 which is like a switch. Since this is CMOS IC i have fried lots of it on old days. (Handle with care, static will kill the chip / high voltage also will do the same). Combining these two i was testing this circuit on an bread board for weeks. (circuit design done by me). If anyone want the circuit here it is down below.

After loading the sketch the ATtiny in placed on the board

I design the circuit to control one servo and ESC for motor. If i need more still can go for more I/O by upgrading the circuit. 


This is a test video. In normal mode servo/ESC is controlled by another micro-controller and once the remote controller is switched on the override circuit detect the Transmitter presence and switch to Remote controller mode and tadaaa... now can control the servo/ESC from remote and once the remote is switched off it will automatically handover the servo/ESC controls to micro-controller


By reading PPM signals you can control anything depending on the transmitter and receiver channels and micro-controller capacity. The theory, circuit and concepts works for me . I wont assure that it will work for everyone.


Popular posts from this blog

Clover Display M302 hack

Its been a while i have this LCD and today i thought of connecting the LCD display to Arduino. Unfortunately i could not found any pin outs of this from any where and from the manufacture. Actually this is very old model which i got from old FAX machine and this display is a very cheap from online sources.
Clover Display M302 PCB Ver 1.0 (16x2) which has 10 pin flat cable. After researching for a while from the internet i have seen in many forums people are asking for help on how to connect it and what is the pin configurations? so i thought of helping them as well as my self at the same time.
After going through some of my old collections of Russian data of displays and things i found a basic diagram of how 10 pin LCD display configuration. 
PIN1   - VSS PIN2   - VDD PIN3   - CONTRAST PIN4   - RS PIN5   - R/W PIN6   - ENABLE PIN7   - DB4 PIN8   - DB5 PIN9   - DB6 PIN10 - DB7
I tried these configurations and wired up to the arduino with the LCD sketch and it worked on the first try. …

SIMCOM SIM900A fixed

Since everyone is interested in this post and lots of request comes to get the firmware, i have put a link so that everyone can download it easily. SIMCOM 900A firmware

Its been a while that i was trying to fix the SIM900A GSM module. This module support local GSM band but after some researches it was concluded that it is carrier locked :(. After long conversion of days to actual chip manufacture SIMCOM, they told it can be fixed by updating its firmware to latest original version but unfortunately they don't provide firmware to small parties.

I never stop trying to get the firmware and SIMCOM again replied, this time they said contact local SIMCOM supplier and request for firmware. But this little Maldives don't have SIMCOM or any electronics manufacturer. So i contacted my friend coody from NOA LABS/Smart prototyping (a friend in china) and told him to help me. I explained him what to do so he can communicate with SIMCOM in china.

Finally he sends and email saying that he g…

TCP communication from NEOWAY M590E- Successful

Some of the GSM/GPRS chips do not support HTTP services and since the modems are controlled via AT commands, the AT command sets are very limited to HTTP commands in NEOWAY M590E.

The only option to communicate with any cloud based or locally hosted server was using TCP protocol. I have used HTTP services in many of my projects and experiments, it is easy and with few lines of code can manage an HTTP requests. For weeks i have been struggling with TCP request and every time it fails to connect or sometimes data is sent but from server side there is no new data fetched.

Basically TCP is transport layer in OSI model and HTTP is in application layer. TCP will do a socket based connection to servers predefined port. For example what i mean is it needs a listener to listen to port that you define or open to use.

After weeks of reading articles and AT command sets thoroughly, finally i managed to handle a TCP request from modem. But still it fails sometimes or unable to conn…