Thank you! My evil plan to build robot minions had failed because I couldn't figure out how to convert a PWM signal to something useful. Now, thanks to this video and your library, I will soon have my army of evil robot minions! ;D
EXCELENT VIDEO, thank you so much this helped me alot! this has been such a headache lol. I have two channels from my RC RX wired up and giving input to arduino coming up on serial monitor, just need to figure out how a certain value will trigger a relay...
hi Kamran, thanks for your tutorial, but I wanna know how to convert results to frequency and percent? your tutorial only show duration High for initial 1 and Low for initial 0. Thanks...
I downloaded the library from github and copied the solo version of the code. I am getting a readout on the serial monitor and I connected my rc receiver ouput signal wire to pin 2 and get values in the window but am unable to change them when I move the joystick on my controller. Any advice?
i read with your code values from the RC transmitter and changed it with the map function. To change the stepper motor (nema17) RPM. but I failed. can you please help me?
Excellent job Kamram Ahmad, this has helped me on my way to working with ibus, on the flysky setup. I am building an RC Excavator and I need a minimum of 9 D.O.F. I understand this method is maxed out at 6 D.O.F, but with upgraded firmware, 10 D.O.F is possible using ibus. I'm not sure if the same applies to ppm signals, I have yet to test this theory. Thank you for the tutorials and the source code downloaded from your github.
Hi Guy, i have a problem and i don´t know , if you can help. i have a generator , which gives a voltage from 0-5v out. i connected the output of the generator to an interrupt and i have another voltage always with the same range(0-5v). so i connected this one to another interrupt on my arduino Mega 2560. I main point i want to reach, is first of all to find the right zero of my signal, when he comes out. Because i have a rectangular signal. Secondly i need to know how the arduino could convert the tension in angle(with the first tension) and the with the second tension convert it in time. I need this tho control the a Optokoppler connected on a digital outputi will choose) steps to follow to solve the problem: 1)read a voltage for the angle 2)read the voltage for the time to set the optokoppler high or low 3)convert the voltage in angle 4)convert the voltage in zeit 5)wait according to the given angle==> optokoppler "HIGH" 6) wait according to the given Time ==> optokoppler "LOW" the given angle and time will be entered on a Graphical User Interface from Labview, later it would be converted in a voltage through the system of the compagny and the voltage will reach the arduino.. So i need to know , how the arduino will recognize , that the reading voltage at the interrupt correspond to the entered angle angle or this time given by the user at the bigining? I wanted to detect first of all the zero of my signal , so that the microcontroller arduino Mega 2560 can start at the same point to read the signal and send the command to set the optokoppler high or low..how to do this? PS: For the input= the angle i have 5v correspond to 360 degre and for the other input for the time i have 5v who corresponds to 60s. The rectangular signal has a frequency for 50 Hz and the period of 20ms. Please could someone help me? Regards!
Hey, the serial monitor show the HIGH time in microseconds. I want to read the PWM signal and reconstruct it, so i also need the LOW time. How can i do that ?
Hi Kamran, good video as usual....this help us ...but for the code, Arduino software says..." pwm does not name a type "...how could i find a similar to run program with no...error.....Thank's a lot.Phil