Тёмный

Reading PPM Receiver Signal with Arduino using Interrupts 

Kamran Ahmad
Подписаться 698
Просмотров 27 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@gholiamirza7673
@gholiamirza7673 5 лет назад
Bin super begeistert von klare und professionelle Erklärung. Vielen Dank . Grüß von Germany.
@Axelios
@Axelios 7 лет назад
Very nice tutorial, this was perfect for what I'm trying to do. Thank you, you have made my life easier.
@abhijithalder4567
@abhijithalder4567 6 лет назад
Link on the description is not valid any more....
@mihaiemilian5330
@mihaiemilian5330 5 лет назад
@Kamran, thank you very much for this video. Awesome content, very well explained.
@forteleaerieneromane
@forteleaerieneromane 8 лет назад
Hello! I have a question: how do yo connect the receiver to the Arduino? Thanks!
@015digambarsharma4
@015digambarsharma4 3 года назад
Seriously a damn great tutorial.
@profaneus
@profaneus 5 лет назад
Hi! please put the code up again, it is missing from googledrive
@DynoRC
@DynoRC 3 года назад
Can i still communicate with my sensors using I2C while reading ppm?
@freedomcaller
@freedomcaller 6 лет назад
Great video, super helpful!
@extremgwackli3675
@extremgwackli3675 6 лет назад
The link for the code doesnt works could you please send a new one
@srinivasasatya6797
@srinivasasatya6797 5 лет назад
hello sir I have a doubt the values are getting back to 1500 even after keeping the joystick at a constant position for every 1.5 ms .why is it happening?
@onkelhotte1065
@onkelhotte1065 4 года назад
Hello, the Link does not work. Can you upload the sketch again? Thanks
@panduauliadyaksa2392
@panduauliadyaksa2392 7 лет назад
thank you so much.
@kunnumunnu
@kunnumunnu 3 года назад
Can you please share the code... I tried opening the link provided by you but its not opening..
@aidasgaska
@aidasgaska 6 лет назад
I can`t reach the code below in your description.. Could you refresh description or resend me the code?
@openchnl
@openchnl 9 лет назад
great tutorial, thanks. how would one go about using these outputs to drive servos or in my case a relay? thanks
@kamranahmad6808
@kamranahmad6808 9 лет назад
+Justin Guy Thanks, I'm working on such a video which should be done by Sunday.
@taqyon
@taqyon 7 лет назад
Thank you so much. I've started with my own code, but didn't do the interrupt initialisation like you did, however I just used " attachInterrupt(digitalPinToInterrupt(inPin), iPPMPulse, RISING ); " and wrote my code there - is that a problem?
@KroceBow
@KroceBow 7 лет назад
Would you mind sharing the code please? :)
@taqyon
@taqyon 7 лет назад
Sure, www.nipinfo.co.za/ycl.dll/PubShare?Pub=38365138. Let me know if you can't access it.
@nemobondt9117
@nemobondt9117 7 лет назад
hey, the link doesn't work can you please send another link? thanks!
@taqyon
@taqyon 7 лет назад
www.nipinfo.co.za/ycl.dll/PubShare?Pub=38365138 please try again
@nemobondt9117
@nemobondt9117 7 лет назад
Hein Du Plessis danke schön!
@KroceBow
@KroceBow 7 лет назад
Hi, I followed your instructions step by step to use the FD800 Tiny Frsky 8CH receiver, but it doesn't work at all.
@computerman4321
@computerman4321 7 лет назад
If you still need help, you can try putting sei(); in the setup routine, this will enable global interrupts by setting a bit in the SREG register.
@eletronicaparaohooby
@eletronicaparaohooby 2 года назад
Hi Friend! Nice job! But the file does not available! Can you share again? Please? Congratulations!!
@TriativeHD
@TriativeHD 7 лет назад
Hi, nice tutorial. am trying to use the code to read 10 channels from a FlySky FS-i6X transmitter and FlySky FS-iA10B receiver. after modifying the code I was able to get valid values for only 8 channels, channels 9 and 10 was reporting a constant value. Have you tested it with more than 8 channel or is there any limitations as to the number of channels it can handle FYI: when I used PWM I was able to read all the 10 channels any help is welcome, below is the Serial Print Output: 1504 - 1504 - 1144 - 1560 - 1000 - 1008 - 1000 - 1008 - 10376 - 0 1512 - 1504 - 1144 - 1552 - 1008 - 1008 - 1000 - 1008 - 10376 - 0 1512 - 1504 - 1144 - 1552 - 1008 - 1008 - 1008 - 1008 - 10368 - 0 1512 - 1504 - 1144 - 1552 - 1008 - 1000 - 1008 - 1008 - 10368 - 0 1504 - 1504 - 1144 - 1560 - 1000 - 1008 - 1008 - 1000 - 10376 - 0 1512 - 1504 - 1144 - 1552 - 1008 - 1000 - 1008 - 1008 - 10368 - 0 1512 - 1504 - 1144 - 1560 - 1000 - 1008 - 1000 - 1008 - 10376 - 0 1512 - 1512 - 1144 - 1560 - 1000 - 1008 - 1008 - 1000 - 10376 - 0 1512 - 1504 - 1144 - 1552 - 1008 - 1008 - 1000 - 1008 - 10368 - 0 1504 - 1512 - 1144 - 1552 - 1008 - 1000 - 1008 - 1008 - 10376 - 0 1512 - 1504 - 1144 - 1552 - 1008 - 1008 - 1000 - 1008 - 10376 - 0 1512 - 1504 - 1144 - 1552 - 1008 - 1008 - 1000 - 1008 - 10368 - 0 1504 - 1504 - 1144 - 1560 - 1008 - 1000 - 1008 - 1008 - 10376 - 0 1504 - 1512 - 1144 - 1552 - 1008 - 1008 - 1008 - 1000 - 10384 - 0
@aldskanser7880
@aldskanser7880 7 лет назад
Hi Kamran, Thanks for these great video's. I will experiment with this. I do not understand the "channel 0" on the RC transmitter signal. Do you have a link to some explanation? Second question, suppose I will put three servo's directly on channels 1, 2 and 3 of my receiver and connect channels 4 to 8 to my arduino. What changes would I have to make to your code? (I have a Futaba F14 Navy). Thanks very much, Henk
@AllenCoelho-j6o
@AllenCoelho-j6o Год назад
how to do the same with pwm signal
@VipinKumar-zd7tl
@VipinKumar-zd7tl 5 лет назад
can anyone please share the code because the above given link is not working
@conradsinsua7415
@conradsinsua7415 6 лет назад
any change of you doing a tutorial about port manipulation?
@rtdave6982
@rtdave6982 7 лет назад
Great video but it's not working right. I have a 10 channel receiver but set my transmitter to 6. It displays a few numbers mixed with garbage. I tried changing the 3000 to other numbers with no success. Should I add 3 extra channels to the code? Thank you, Dave
@rtdave6982
@rtdave6982 7 лет назад
adding 4 more to the program fixed it...working great now
@ColinRichardson
@ColinRichardson 7 лет назад
Wondered if this would be easier? Just change the number at the top. const int CHANNELS = 7; unsigned long ch[CHANNELS], t[CHANNELS + 1]; int pulse = 0; void setup() { PCICR |= (1 0 || pulse
@GonzaloOviedoLambert
@GonzaloOviedoLambert 4 года назад
MAN, the link please!
@yxhankun
@yxhankun 5 лет назад
Sorry, the file you have requested does not exist.
@GonzaloOviedoLambert
@GonzaloOviedoLambert 4 года назад
DAMN, this guy erase the link!
@gholiamirza7673
@gholiamirza7673 5 лет назад
Warum hast du kein eigener Side. Mein Versuch dein Site zu besuchen scheitert. MfG.
@jjdavidian
@jjdavidian Год назад
No more code ..
@ChristianGarcia-md1ws
@ChristianGarcia-md1ws 6 лет назад
alguien me puede esplicar este video en español
@sbpcls
@sbpcls 3 года назад
not a valid link!!!
Далее
Reading PWM Receiver Signal Using Arduino
15:34
Просмотров 68 тыс.
Level Up Your Arduino Code: Registers
21:09
Просмотров 185 тыс.
Reading PWM Values from an RC Receiver using Arduino
4:06
ESC Basics: Part 2 - Read PPM with Arduino
7:35
Просмотров 25 тыс.
Reading PWM Signal Using Arduino Interrupt
2:43
Просмотров 33 тыс.
Arduino DRONE II   Part 1 receiver PWM read
10:22
Просмотров 57 тыс.
DIY Arduino based RC Transmitter
15:21
Просмотров 1,1 млн