Using an RC controller with an Arduino - Part 2

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • Using an RC controller with an Arduino - Part 2
    Part 2: Refine and Translate RC Controller Input
    This video adds the following features to the code we made in part 1:
    0:00 Intro
    2:45 Failsafe - if the RC controller goes out of range, react
    5:03 Inversion - if your control stick goes the wrong way we can handle it
    6:37 Deadzone - don't react until the sticks are intentionally pushed
    9:10 Translation - map our values to a sensible range like -100 to 100
    11:20 Servos - using our newly translated values to drive a servo
    All the code for this video is available for free on my website.
    Main Website: www.andyvickers.net
    Accompanying Blog Article: www.andyvickers.net/2022/11/1...
    Product / Affiliate links - It costs you no more, but I will get a small amount money if you use them to buy something:
    ------------------------------------------------------------------------------------------
    Radiolink AT10II 12 Channels RC Transmitter and Receiver - amzn.to/3tLM9l9
    HiLetgo 3pcs Arduino Pro Micro Atmega32U4 amzn.to/3XhSu5s
    Reference
    ------------------------------------------------------------------------------------------
    Here is a link to the Arduino article about interrupts
    www.arduino.cc/reference/en/l...
    I accept no liability for any damage you do to yourself or your property. Do your research, use your common sense. This shows I assembled my machine and what worked for me. your mileage may vary

Комментарии • 13

  • @bob_mosavo
    @bob_mosavo Год назад +1

    Thanks, Andy 😁

  • @samiulhoque3769
    @samiulhoque3769 Год назад +1

    Thanks so much Andy! Was waiting eagerly for this one. 👍

    • @AndyVickersNet
      @AndyVickersNet  Год назад

      You’re welcome! I wish I could have made it sooner!

  • @skaa9217
    @skaa9217 11 месяцев назад

    very nice tutorial, thanks, the safety focus is great

  • @darthvader_7023
    @darthvader_7023 Год назад +1

    Thanks! I'm building a full size R2-D2 and decided to use a RC controller so this helps a lot.

  • @Sergio-np4lb
    @Sergio-np4lb Год назад

    buen video, has pensado en utilizar la salida PPM para leer y controlar todos los canales con solo un cable conectado del receptor al arduino? esto seria muy bueno para controlar por ejemplo unos motores de hoverboard con la placa ZS-X11H y algunos servos y mas componentes para hacer una gran construcción

  • @ramarao1436
    @ramarao1436 6 месяцев назад

    Thanks Andy.. I am beginner and indeed the code helps a lot on my project.. by the way ,is the any chance can we smooth out the servos ? By adding VarSpeed?

  • @re-i-fu
    @re-i-fu Год назад

    Was thinking about this problem and somehow Google read my brainwaves and passed on your link... wonder how that works. Anywho, thanks for excellent video :)

  • @rcrotorfreak
    @rcrotorfreak Год назад

    I sure do see you into all this Arduino open source stuff. Why not Radio Master as for radio? Open source lot of configuration you can do unlimited. By the way I'm gonna browse you're channel :) I love robots and Arduino also rc.

  • @lindat5941
    @lindat5941 Год назад +1

    Thanks Andy, by the way i have recently sent you a DM on Facebook. Regarding Brushless DC motors and RC controller

  • @SFXDC5
    @SFXDC5 Год назад

    Hi Andy, would you be able to help me code for a sbus receiver? I am trying to make a sketch to control a starwars D-O droid with 2 main drive motors. See matt denton at mantis hacks RUclips channel.

  • @gofundme.comjourneyofchris2299
    @gofundme.comjourneyofchris2299 7 месяцев назад

    Hi, do you have a wiring diagram?