Hi, I was searching for a way to create a RC helicopter remote using arduino, but every project I’ve seen on the internet doesn’t work for me, it doesn’t give me any errors in the code and it’s sending IR signal normally, but the helicopter just doesn’t lift off. These are some example: https://www.hackster.io/infusion/syma-s107g-remote-control-helicopter-with-an-arduino-0df356 http://www.instructables.com/id/Puzzlebox-Orbit-Using-an-Arduino-to-Control-an-In/ http://abarry.org/s107g-helicopter-control-via-arduino/ Are there other ways to achieve this?
but every project I've seen on the internet doesn't work for me
Are there other ways to achieve this?
Write your own, to your own unstated specification. Or publish your spec, and pay someone to write it for you.
it's sending IR signal normally, but the helicopter just doesn't lift off.
It is not the job of the transmitter to get the heli to lift off. The transmitter only needs to transmit the commands. Is your receiver accurately receiving the commands? You need to test this completely, without a helicopter's whirling blades causing problems. Put serial monitor prints on your transmitter to confirm the the values your expect to transmit. Then put the serial monitor on the receiver and confirm the commands received. If you do not have full confidence in this behavior, you should not add it to the helicopter.
Now, PICS!!!! Helis are awesome and I need more details of your model. Not to troubleshoot the link between the Tx and Rx, but to satisfy my curiosity. Do you have any experience flying RC helis? Do you have any on-board stabilization? (gyros/MPU)
I had a few helis, some broke down, recently I got this one and I wanted to hook it up with a G-521 to hand control it, but firstly I have to solve this issue and understand which signal to send for each movement. Yes, it has a gyroscope built in. EDIT here are the photos: https://imgur.com/a/ikuGYVU
ok, I don't know what happened, I was reading the values and it suddenly started flying, btw here's what it sends vs what I receive, it's the same as when I tried to read the values from my remote.
1100 0001 0000 1111 0001 0011 0000 00 1100 0001 0000 1111 0001 0011 0000 00 1100 0001 0000 1111 0001 0011 0000 00 1100 0001 0000 1111 0001 0011 0000 00 Done holding. Throttle is at 130 1100 0001 0100 0001 0001 1001 0000 00 1100 0001 0100 0001 0001 1001 0000 00 1100 0001 0100 0001 0001 1001 0000 00 1100 0001 0100 0001 0001 1001 0000 00 1100 0001 0100 0001 0001 1001 0000 00 1100 0001 0100 0001 0001 1001 0000 00 1100 0001 0100 0001 0001 1001 0000 00 1100 0001 0100 0001 0001 1001 0000 00
D84D79A2 F26B0554 D9C7752 FFFFFFFF 3783CC8C D4A2F3C9 5769C69E 4AB74D3F DC9CA667 38B56DC9 D4A2F3C9 D4A2F3C9 7C6681C4
Do you have an arduino as the receiver in that heli? Or are you attempting to send the same protocol that the existing receiver expects?
I'm using the arduino to send the 30 bit signal used by the protocol, after your reply I added inside the same code a receiver example from the IR library to test it, when I send the signal it prints out the 30 bits and if I point the receiver module I get the hexadecimal code which is the same as when I tested the signal coming off of my original remote