Understanding Servo Motors: A Guide to ESPHome, ESP32, and Home Assistant

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

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

  • @3ATIVE
    @3ATIVE  7 месяцев назад +3

    Please feel free to Comment on Use-Cases / Projects (Fun or Otherwise) / Etc... That you'd like me to tackle. #StayTuned

  • @willenestvedt1376
    @willenestvedt1376 7 месяцев назад +2

    FINALLY an explanation of servos that I am able to follow. Cheers!!

    • @3ATIVE
      @3ATIVE  7 месяцев назад

      That's so good to hear - Happy to be of service. 👍

  • @astonishing-a
    @astonishing-a 24 дня назад

    Amazing video, clear and packed full of wasy to understand info/examples. Thanks!!

    • @3ATIVE
      @3ATIVE  24 дня назад

      Thank you for the kind feedback, I'm so glad you liked it and/or found it useful. 🙏
      - Also: LOVING your time-lapses... I've made a few myself and would love to hear your thoughts.
      Here's my playlist: ruclips.net/video/nAyUQcsJpcs/видео.html

  • @sus1291
    @sus1291 29 дней назад

    You SIR are a wizard! Thank you for this tutorial!

    • @3ATIVE
      @3ATIVE  29 дней назад

      Why thank you for noticing! LOL
      Seriously though, you are most welcome. I hope you find it useful.

  • @patrickalbury8901
    @patrickalbury8901 7 месяцев назад +1

    Wow, alot of information in this video. Now i need to start to think of how to use.
    Another great video

    • @3ATIVE
      @3ATIVE  7 месяцев назад

      Well the Thumbnail does say: "Everything you need..." LOL
      Finding some uses for these is gonna be one of my next quests too. If you have any suggestion on what you'd like me to tackle, I'd love to heard them.

  • @mirosaari8960
    @mirosaari8960 3 месяца назад

    Thanks for the video! Very clear presentation and exactly the info I needed

    • @3ATIVE
      @3ATIVE  3 месяца назад

      You are most welcome and I'm glad I was able to help.

  • @JohnMayfield-NS
    @JohnMayfield-NS 7 месяцев назад

    Just starting to play with some of this stuff so great timing. :) Thanks!

    • @3ATIVE
      @3ATIVE  7 месяцев назад +1

      Oh hey John. Yes, I heard you started looking into these.. So, I rushed the tutorial out for you! LMAO

    • @JohnMayfield-NS
      @JohnMayfield-NS 7 месяцев назад +1

      😂 well I appreciate it!

  • @ruslanmustaev8170
    @ruslanmustaev8170 7 месяцев назад +2

    Thanks mate, I was thinking about to build an air duct motorised damper to control heating flow accurately. You video helps a lot, I'm considering buying a servo with metal gearbox and use it to rotate a valve.

    • @3ATIVE
      @3ATIVE  7 месяцев назад +1

      Nice... Coupled with my OLED Thermostat Project (LOL) you could have room-level Heating/Cooling control.
      - FYI: The servos I show are all metal geared. I've linked them in the description (Amazon Link).

    • @ruslanmustaev8170
      @ruslanmustaev8170 7 месяцев назад

      @@3ATIVE yeah, that’s the idea! Pair it with home assistant and temperature sensors

  • @morticiaskeeper
    @morticiaskeeper 5 месяцев назад +1

    This is really helpful. I already have a d1 mini controlling a servo on an air diverter in my campervan, but it just responds to a switch. This will allow me to divert the air to the water heat exchanger from Home Assistant, and then switch on the air heater via mqtt to heat a tank of water.

    • @3ATIVE
      @3ATIVE  5 месяцев назад

      That's a cool (no pun intended) use of a servo. It's great to hear you found my tutorial helpful and how you're putting it to good use!
      Do you think they should make a _Mobile-Home Assistant_ version?

    • @morticiaskeeper
      @morticiaskeeper 5 месяцев назад

      @@3ATIVE A few people have used HA in vans, but most go with the Victron system. I have a full Victron system, but I can't control everything with it, so I also have Switchbot & Afterburner & WLED, plus some important switches that have to be physically pressed..
      At the moment, to heat water, I have to make sure there is water in the tank, Victron tells me this. If I'm going to use electric heating, I have physical sensors, like voltage & a float switch to ensure the element is covered. If, like most mornings, I'm going to use the diesel heater, I have to switch the air diverter to the heat exchanger. Switch on the heater via the Afterburner mqtt, raise the heater temperature so it's doesn't ramp back if the room is warm, switch on the recirculation pump, which will stop when the water reaches 50c. But the heater is still running and then needs to be turned off.
      Filling the hot tank involves reaching a tap under the bed and waiting until a float switch sounds a buzzer. This could be automated with a valve. Pump & fridge isolators could also be smartened, possibly isolate the pumps if the level falls too low, or if the room temperature falls below 0c.
      A simple button in the kitchen could turn on the inverter for the Induction hob/Airfryer, rather than via 3 pages of the victron GUI.
      Plenty of projects to come.

  • @Pghpete5
    @Pghpete5 3 месяца назад

    Thank you for this! I would _love_ to see more details about how to use a continuous rotation servo within esphome... like how to position it to a fixed location and back again.

    • @3ATIVE
      @3ATIVE  3 месяца назад +1

      I'm not sure a Continuous, or 360, Servo performs like that. As far as I'm aware they can only be controlled with Speed and Direction. From what you're asking for, It sounds like you need a Stepper Motor.

  • @werkstoff8667
    @werkstoff8667 6 месяцев назад +1

    Finally. now it works. Thank´s

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

      LOL I take it you were having problems before?

  • @roystervi
    @roystervi 7 месяцев назад

    Thanks for this video, you know l needed this.

    • @3ATIVE
      @3ATIVE  7 месяцев назад

      Cool... I plan to do a Stepper Motor tutorial soon too. #StayTuned LOL

  • @automatizaciondynamica2609
    @automatizaciondynamica2609 4 месяца назад

    I already did everything of your video is so helpfull, but I just want to rotate the motor 360 not just 180 degrees, how can i do that?, thank you for you reply

    • @3ATIVE
      @3ATIVE  4 месяца назад

      You need a "360" or continuously rotating servo for that.

    • @automatizaciondynamica2609
      @automatizaciondynamica2609 4 месяца назад +1

      ​@@3ATIVE Thank you, I will try it. 😀

  • @D4VEW
    @D4VEW 7 месяцев назад

    Top video as always. While I expect the answer is no, if you move the servo manually does the slider in home assistant update to the position of the servo. I am looking for a solution to motorise a venetian blind tilt but still having the manual control intact thus some accurate real time position feedback is required.

    • @3ATIVE
      @3ATIVE  7 месяцев назад

      Thanks fella.
      While the Servo will know you've moved it from it's on-board Variable Resistor, it doesn't communicate anything out.
      - Servos only have inputs.

  • @HATipsByLarry
    @HATipsByLarry 7 месяцев назад +1

    Nice one dave 👍👍

    • @3ATIVE
      @3ATIVE  7 месяцев назад +1

      Thank you larry two ;)

  • @Sums2483
    @Sums2483 4 месяца назад

    Could someone help me on the script to add a momentary switch along with the slider that is used in the video? I would like to still have to the option to operate with a physical switch.

    • @3ATIVE
      @3ATIVE  4 месяца назад

      By "momentary switch" I guess you mean "push button". ESPHome has a 'component' for that it's called a 'binary_sensor'.
      See here for more info: esphome.io/components/binary_sensor/
      It would also be useful if you described what you want this to do.

  • @korayberk
    @korayberk 3 месяца назад

    which servo motors would work for this code, no mention of hardware of servo?

    • @3ATIVE
      @3ATIVE  3 месяца назад

      Any. Apart from specialist ones, servos are all the same.
      - If you want to get the ones I use in the video, as in all my videos, there's a (Amazon) Link in the description.

  • @Mh-yo2sz
    @Mh-yo2sz 5 месяцев назад

    This a another exceptional tutorial and I've got my setup running except one fundamental issue. I've got a touch screen ILI9488, and I want to send those touch screen events to the trigger the servo to move to a specific angle. Touchscreen and Servo are on different ESP's, how is the signal moved between them? An automation or another function?

    • @3ATIVE
      @3ATIVE  5 месяцев назад +1

      Thank you, I glad to hear it was useful for you.
      As for the Screen to Servo: Yes a Home Assistant Automation would do it.

  • @steverhysjenks
    @steverhysjenks 7 месяцев назад

    I'm wondering if I could use this for a set of blinds that are pull rather than twist to open and close blinds (not pull up/down). How you would take the small travel of the server guessing 50 > 100 mm and get it to pull 200mm on the blinds.

    • @3ATIVE
      @3ATIVE  7 месяцев назад +2

      Not sure if a Servo would be the right choice here, as it may not be able to pull hard-enough.
      - _Especially as you want a 1:2 (2x) ratio on it._
      I would go for a Stepper Motor for blinds, etc. With many more revolutions available, it would be easier to gear down to get the extra torque required.
      #StayTuned one of my up-coming tutorials is for Stepper Motors !!! ;)

  • @substandard649
    @substandard649 7 месяцев назад +2

    Excellent video as usual. Id love to see a practical implementation, i have servos sitting in a draw but im struggling to find a use for them!

    • @3ATIVE
      @3ATIVE  7 месяцев назад +1

      I appreciate the compliment - Thnx.
      Use-cases: Same here. Hopefully, now people can easily control them, We'll get some suggestions for future projects. 🤞

  • @fibranijevidra
    @fibranijevidra 4 месяца назад

    Well explained.
    Is it also possible to adjust from the HA the frequency value (not for servos) of the LEDC platform? Finding a suitable PWM frequency without recompiling would be great.

    • @3ATIVE
      @3ATIVE  4 месяца назад +1

      Thanks. 👍
      You can adjust the LEDC Output: component's frequency "externally". As it's "Templatable" you simply setup a "Slider" and an "Action"...
      More info here: esphome.io/components/output/ledc#output-ledc-set-frequency-action

    • @fibranijevidra
      @fibranijevidra 4 месяца назад

      @@3ATIVE Thanks mate. I'll try to do that.

  • @neilos2085
    @neilos2085 7 месяцев назад +1

    Another great!

    • @3ATIVE
      @3ATIVE  7 месяцев назад

      I appreciate the support - I hope it's both informative and
      inspirational.

  • @galdakaMusic
    @galdakaMusic 7 месяцев назад

    Great video!. But in my short experience, the biggest problem in this type of projects is assembling and powerized project. Other problem is the protocol, is posible Zigbee2mqtt or Bluetooth instead Wifi? Thanks

    • @3ATIVE
      @3ATIVE  7 месяцев назад

      Thank you, I'm glad you like it... _you did "Like" Button it right!_ LOL
      Yes, the hardware and connecting things to move will always be harder than Electronics and Coding.
      - I'm not sure about Zigbee and Bluetooth... Although, I am thinking about making some Zigbee devices in the future.

    • @galdakaMusic
      @galdakaMusic 7 месяцев назад

      ​@@3ATIVENow yes sorry!!

  • @SupersonRS
    @SupersonRS 7 месяцев назад +1

    You’re a legend! Nice work 😊
    Can you share link to the servo you use or the modelname? Thanks 🙏

    • @3ATIVE
      @3ATIVE  7 месяцев назад +1

      No-No-No... My audience are the legends. I couldn't do any of this without y'all.
      Oh yes, a link to servo, I have an Amazon affiliate link in the description. Gimme a few and I'll add the Servo to it.
      FYI: Pretty Much all Servos work the same (The 5 Volts ones) So you can use any Servo you find/have..

    • @3ATIVE
      @3ATIVE  7 месяцев назад +1

      Hang on... to save you waiting...
      These are the ones I showed: amzn.to/3VzUVAg
      But, I started by playing with these: amzn.to/4ct8Rmq

    • @SupersonRS
      @SupersonRS 7 месяцев назад

      Thanks alot ❤

    • @3ATIVE
      @3ATIVE  7 месяцев назад

      @@SupersonRS You are most welcome. 🙏

    • @MarkJones-lr2lk
      @MarkJones-lr2lk 7 месяцев назад

      Very interesting video. Been trying to think of potential applications ... maybe a pet feeder or a weather indicator using symbols on a clock face.

  • @avri210984
    @avri210984 7 месяцев назад +1

    First comment!!!
    Awesome video!!

    • @3ATIVE
      @3ATIVE  7 месяцев назад

      Yes, 1st comment Confirmed 🥳
      Thanks for the feedback, I hope you find it useful.
      - Feel free to comment again if you think of any Use-cases / Projects / Etc... you want me to tackle.

  • @ZoomtronicBlogspot
    @ZoomtronicBlogspot 7 месяцев назад

    ventilation vanes powered with servo, egg incubator climate control with servo...

    • @3ATIVE
      @3ATIVE  7 месяцев назад +1

      Vent slats is a good one and should make for a great tutorial 💖
      I have to admit, that Egg-thing is a mystery thou - What needs moving there? 😊

    • @ZoomtronicBlogspot
      @ZoomtronicBlogspot 7 месяцев назад

      @@3ATIVE precise control of humidity, venting too humid air I guess, just making egg incubator via esp home and HA :)