Ep.53 Arduino Projects - Potentiometer Servo Control & Memory

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

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

  • @ramosel
    @ramosel 8 лет назад +4

    Very cool... took a look at your website too. Thanks, lots of good information.

  • @vaibhavgosavi7817
    @vaibhavgosavi7817 7 лет назад +12

    it is working good with free motion of servo with potentiometer but after pressing push-button it stops and does not record position
    need to be reset again

  • @shaikfiroz7716
    @shaikfiroz7716 8 лет назад +1

    masha allah your project become very help ful for learning my experiments

  • @franciscruz5553
    @franciscruz5553 8 лет назад +8

    Sir i need your help any advice please//
    when i start pressing the button then the servo stop and not even can control..
    any advice sir pelase .. thank you

  • @jeffmarlowe2727
    @jeffmarlowe2727 3 года назад

    Awesome presentation!!

  • @douglashales3982
    @douglashales3982 8 лет назад

    Awesome Video mate, very helpful! I am currently trying a project similar to what you are explaining here.
    Currently using a small arm made from potentiometers to map values to a real arm with servos. This helped a ton on the code as I was thinking of a different way to do things.
    Thanks

  • @outaspaceman
    @outaspaceman 8 лет назад +3

    hmmm,
    I can adapt this to my purposes.
    thanks, highly informative.

    • @VladRomanov89
      @VladRomanov89  8 лет назад +1

      +outaspaceman Thank you for the comment!

    • @rangaswamy8604
      @rangaswamy8604 8 лет назад +1

      Mr outaspaceman, can you please post me the working code of the project. It does not work for me after pressing the button for the first time for recording.

    • @outaspaceman
      @outaspaceman 8 лет назад

      Err, probably best to ask Mr. EEEnthusiast that question as he knows what he's talking about.

  • @PatnaikUC
    @PatnaikUC 4 года назад

    Request publish 16 servo use with I2C type servo control board interfaced to Arduino memorizing the coordinates for repetitive action.

  • @jamiewilliams8469
    @jamiewilliams8469 6 лет назад

    Really awesome video! Is there any way that this can be done with stepper Motors?

  • @dezzodarling
    @dezzodarling 8 лет назад

    Thanks - great tutorial! (I love your work BTW!) I do a lot of work with servos and this learning function would really simplify things. When you switch off, my understanding is that you need to re-establish the servo movements again?

  • @MrJefferson105
    @MrJefferson105 8 лет назад

    You are the best at explaining this .. good work :D

  • @rangaswamy8604
    @rangaswamy8604 8 лет назад

    was always looking for a project like this. please do one with three axes control.

  • @camcompco
    @camcompco 8 лет назад

    Thanks for sharing the knowledge.
    I have 2 questions
    1. if you turn the servo with your fingers, will the setup still record the movements . . .I assume so, not sure
    2. can you think of a way that the same principle can be applies to stepper motors with encoders?
    thanks for the help.
    John (camcompco)

  • @asuroyal
    @asuroyal 8 лет назад +2

    Hey low memory error while verifying sketch
    and still when i press switch transfer led blinks but same time potentiometer stop responding and servo stops working
    please help

  • @fritskayadoe2726
    @fritskayadoe2726 8 лет назад

    This is So FUKING Amazing!!! (Excuse my language). Sir,... God Bless You MAN!!

  • @jimmym2719
    @jimmym2719 6 лет назад

    You are Awesome..thanks..will try it soon

  • @phuuuur
    @phuuuur 6 лет назад

    This is very nice, got to be one of the best tutorials i've seen! Please continue making them! I am gonna sub for sure! First time ive seen ur videos! 6+++/6 :)

  • @shantasagarmarol9115
    @shantasagarmarol9115 7 лет назад

    It was awesome we loved it sir. BUT we want to use this for an application please help us

  • @Quoit1
    @Quoit1 8 лет назад +2

    Great to see your videos again! have a request, can you please make a video tutorial with wifi model ESP8266. I am trying to use it with ultrasonic distance sensor to read a value and tweet or txt me when activated. For example, using it to check when the garage was opened. Your videos are extremely easy to follow! Thanks

    • @VladRomanov89
      @VladRomanov89  8 лет назад

      +Quoit1 Absolutely! Do you mind sending me a link to the one you purchased? I quickly googled the hardware and there seem to be different flavors and revisions. Sparkfun also released their own version of the board. Thank you for the kind comment.

    • @Quoit1
      @Quoit1 8 лет назад

      +EEEnthusiast I have ESP-12-E (www.banggood.com/ESP8266-ESP-12E-Remote-Serial-Port-WIFI-Transceiver-Wireless-Module-p-980984.html). Its cost $4.65 CAD.

    • @Quoit1
      @Quoit1 8 лет назад

      +EEEnthusiast I also have the FTDI usb to serial converter adapter module that has an option to pick 3.3V for ESP8266 (www.banggood.com/FT232RL-FTDI-USB-To-TTL-Serial-Converter-Adapter-Module-For-Arduino-p-917226.html)

  • @electricmic
    @electricmic 7 лет назад

    Can servo data in the array be copied, logged and played back later along with other brief motion recordings to build complex behaviors ? I also wonder how data from 2 servos can be recorded, stored and played back.

  • @mariogayoso
    @mariogayoso 6 лет назад

    Up to how many seconds/minutes can arduino record movement? is it only recording when you move the servo or anything that happens for a fixed amount of time?

  • @firelord943107
    @firelord943107 8 лет назад

    HI, I was wondering if you have done this same code but with Labview. Do you have any idea if It's possible to do that?

  • @sairahlenpalti_786
    @sairahlenpalti_786 7 лет назад

    how can I save the mapped position permanently even after plugging off the power source? do I need a SDcard or something? thank you in advanced. btw, great video :)

  • @Ripsticker45
    @Ripsticker45 7 лет назад

    The program works for 1 servos however when I increase the amount of servos to 4 I find myself running out of Memory due to the large Array sizes. Do you know how I could get around this limitation?

  • @jonyjohan8958
    @jonyjohan8958 5 лет назад

    Really helpful

  • @Лёха83-щ1ш
    @Лёха83-щ1ш 8 лет назад +10

    while(1==1) looks pretty dumb because 1==1 equals boolean value true. You don't need to write while(1==1) or while(1+2+3+4==7) or while(65536/256 == 256) - you can just say "while(true)" - that it. Or, even while(1) which is shorter.

    • @VladRomanov89
      @VladRomanov89  8 лет назад +2

      Alex, good point. I'll correct it. I've seen it written both ways though.

    • @Лёха83-щ1ш
      @Лёха83-щ1ш 8 лет назад +2

      +EEEnthusiast Also, if (recording == 1) then you don't need to set recording = 1 - it's already = 1 ;)
      As well as you don't need to send same value again to servo when you do if (abs(NewAnalogOut - AnalogOut) > 2) because it does not change anything, it's already has this value, it's just excessive.
      I think you can improve your code a lot if you'll take a more precise look on it :) But except that - great job!

    • @rangaswamy8604
      @rangaswamy8604 8 лет назад +5

      Mr Alex, can you please post me the working code of the project. It does not work for me after pressing the button for the first time for recording.

    • @muhdsafwan401
      @muhdsafwan401 8 лет назад +3

      of course,it will not work. It went for an infinite loop again and again without changing the storage_loc. +EEEnthusiast I think there is something missing with the code

  • @onurkarakaya5640
    @onurkarakaya5640 8 лет назад

    you are the man i am going to share your link about that robot arm otomation videos thank you

  • @xeradKing
    @xeradKing 6 лет назад

    how long it can record

  • @RT-ke3jc
    @RT-ke3jc 8 лет назад

    Hey, I am getting an error "Low memory available, stability problems may occur" in my program. On assembling the circuit and uploading the code, the servo motor keeps on moving arbitrarily without varying the potentiometer. Please help me out!

  • @mohammadwasim2067
    @mohammadwasim2067 5 лет назад

    Can it be done with Arduino nano with same coding

  • @hazimzaid3071
    @hazimzaid3071 8 лет назад

    Is it possible to control a big step motor through a Potentiometer ?

  • @willyding100
    @willyding100 8 лет назад

    hi
    have you changed the code because it doesn't seem to work now,, could you post the original code please

  • @abduhkidz7168
    @abduhkidz7168 8 лет назад

    Hi, nice project.
    I want to ask, I have tried it and can control servo with pot, but why when I press the button for recording, servo can not be turned back and serial monitor displays the last position servo.
    I can not record the servo position with the button.
    Please help me to solve this problem

  • @TorIvanBoine
    @TorIvanBoine 6 лет назад

    How would you adapt this to stepper motors? :)

  • @williamwilliams6558
    @williamwilliams6558 8 лет назад

    good work!
    THOROUGH!

  • @Jai_Lopez
    @Jai_Lopez 8 лет назад

    great feat, now what would you say are the diff between the analog servo which i see this done alot on by folks out here and your non analog servo ? in other words why would ppl pay extra money for a analog servo which are expensive rather then just use ordinary servos? my opinion this a lot better then those other videos.
    also is their a reason why your storage[800]; ? are you playing with some limitations ?

    • @VladRomanov89
      @VladRomanov89  8 лет назад

      +jai Lopez The servo I'm using is a PWM servo. It is controlled through the Arduino servo library. You can use normal PWM, but there's no ned to implement that with the library.

    • @Jai_Lopez
      @Jai_Lopez 8 лет назад

      EEEnthusiast
      ummm i dont think you answer my questions, was your reply for my comment?

    • @VladRomanov89
      @VladRomanov89  8 лет назад

      +jai Lopez it was. The servo I'm using is analog. The answer to your second question is that 800 was the limit for the memory. I would have to optimize the program to store the information better in order to go beyond that, but it was just a proof of concept here.

    • @Jai_Lopez
      @Jai_Lopez 8 лет назад

      ahhh ic, ok so now i thought analog servos had a 4rth wire which i dont think i noticed on the video? also where what memory are you referring to SD ? EEPROM ? EEEnthusiast

  • @michalmelich9185
    @michalmelich9185 7 лет назад

    hello when i push the buttom servo doesnt learn anythink can you help me with that pls

  • @boowonder888
    @boowonder888 7 лет назад

    can you control a 3 phase hdd motor with the Arduino?

  • @arjuna6044
    @arjuna6044 7 лет назад

    Can you give the code of reversing the memory .
    Meaning the things that i did should reverse and come to its initial state

  • @floridaboy037
    @floridaboy037 8 лет назад

    It says expected initializer before numeric constant and it highlights the Servo Servo 1; line. What do I do

  • @julioluna2014
    @julioluna2014 8 лет назад

    Hi man! What can I do to control 5 servos with this code?
    Hope your soon answer, thanks!

  • @themimiday
    @themimiday 7 лет назад

    Hi! after i make it remember my movement, can i turn of the arduino and still get the same movement? and can i remove the button and poten after it remember? and how do i have 2 motors connected doing 2 different movement?
    Thank you in advance!!

  • @offloadcreativity
    @offloadcreativity 8 лет назад +4

    heyyy
    i uploaded your code on arduino,its saying that stability may occur as the code uses more memory.
    Can you please also give the link to schematics

  • @divacreator259
    @divacreator259 4 года назад

    Can't with SD cards?

  • @bereketassefa7796
    @bereketassefa7796 2 года назад

    Bro thanks for your help can i please get the schematics

  • @vghayathre3996
    @vghayathre3996 5 лет назад

    m not able to control the servo thing using potentiometer .....what should i do!???

  • @antoniobugarin
    @antoniobugarin 7 лет назад

    How can I do this with a stepper motor?
    Thanks

  • @tarakmakwana
    @tarakmakwana 7 лет назад

    Hey EEEnthusiast
    i am using Mega 2560, the potentiometer is controlling the servo, but when is push the button nothing happens the servo stop moving, please help i need this thing working asap.

  • @alpaccinoisles8144
    @alpaccinoisles8144 8 лет назад

    it doesn't work to me ... i used B500k potentiometer and 10k ohms resistor, is it ok to use this one ?

  • @koreislove1243
    @koreislove1243 7 лет назад

    Hi, nice video but i have one problem, when i press the button then i cant control the motor anymore , it blocks so i had to load again the code to reset . And if it blocks it never goes to the state of "recording", i hope you can help me i really want to work this out.

  • @fernoratube
    @fernoratube 7 лет назад +1

    As soon as the push button gets pressed, for the pullup resistor to go high, the board freezes. Looking at serial debug, it captures the las reading of the pot but nothing more... Thoughts anyone??
    arduino 101 and running servo on a separate battery

  • @treereaverjones6535
    @treereaverjones6535 7 лет назад +4

    This may be the best ever. But we will never know as the code is absolute drivel.
    At no time does the storage pointer get updated and several more faults occur. Perhaps you would be better having a GOOD look at your code. Instead of trying to show off. Your commentary makes me feel as if someone else wrote the code for you to see if you knew what you were talking about. It is patently obvious that you did no testing whatsoever. Those poor coders out there must be pulling their hair out.
    Perhaps if you fixed the code as so many folk have asked you might be helping them.

    • @liewck2487
      @liewck2487 5 лет назад

      i think the he is not sincere to share the working code with public. This code is definitely not a working code as shown in his video

  • @calrustad5746
    @calrustad5746 6 лет назад

    what is the max action time for the servo to remember?

    • @VladRomanov89
      @VladRomanov89  6 лет назад

      I'm not sure I understand your question. In my example, I'm registering a sweep over 10 seconds. You can expand that to whatever the memory allows you depending on your programming.

  • @tomevans1481
    @tomevans1481 8 лет назад

    Do you have a source for the breadboard pot?Thanks!

    • @VladRomanov89
      @VladRomanov89  8 лет назад

      +Tom Evans do you mean where to buy them? Send me a message, I'll send you the link to where I bought mine.

    • @tomevans1481
      @tomevans1481 8 лет назад

      Yes where you get them. I have search. Adafruit seems like the only source. I don't have a large enough order yet to but them.

    • @VladRomanov89
      @VladRomanov89  8 лет назад

      +Tom Evans +Tom Evans Here's where I bought mine. It's about 1 month for shipping though: www.aliexpress.com/item/32PC-Lot-Single-Rotary-Potentiometer-kit-B1K-B2K-B5K-B10K-B20K-B50K-B100K-B500K-B1M-Pots/32237941724.html

  • @FoxMelody123
    @FoxMelody123 5 лет назад

    how can i create a robotic arm using this code with servo.please give me the code.

  • @camcompco
    @camcompco 8 лет назад +2

    one other question, i think it would be cool if you could show how you could expand the 800 storage using a sim card ad don for arduino. people would be able to apply this to more "real life" experiments. Just a thought
    thanks again

    • @VladRomanov89
      @VladRomanov89  8 лет назад +1

      +camcompco I agree that I should have shown a bit more for this project. I have taught of several ways on how to optimize this, but didn't take the time to actually put it in practice. I'll definitely consider it if there is enough demand.

  • @prasannavenkatesh333
    @prasannavenkatesh333 8 лет назад

    can upload this program for 5 servo with memory

  • @MadScienceHacksTV
    @MadScienceHacksTV 8 лет назад

    Is there a way to record movements in several parts and play them back as one motion?

    • @superabbasalmani6079
      @superabbasalmani6079 4 года назад

      Jo, think of the songs & dance rhythm of Shakira or other stars hahaha😎🤣🌈🎺🦜🌠⭐🤼‍♀️

  • @rangaswamy8604
    @rangaswamy8604 8 лет назад

    Hi can anyone post a working code for this project. The code stops working once recording == 1, when pushbutton is pressed once. Neither does the motor turn nor does the value of NewAnalogOut gets updated in this mode. Motor jerks when serial monitor is opened.

  • @riotanone8381
    @riotanone8381 8 лет назад

    can u tell me code and wiring intermitted mode, thanks sir

  • @dougb802
    @dougb802 7 лет назад

    Has anyone got this to work? If so could you please post what you did? I was so frustrated I broke down and tested each component one by one to make sure all items would work by themselves. Thank You.

  • @ariezumalitv4244
    @ariezumalitv4244 3 года назад

    Diagram there is nothing in your website Sir 😭

  • @dekimbe3874
    @dekimbe3874 8 лет назад

    COOL!

  • @amithosur6880
    @amithosur6880 6 лет назад

    I want circuit daigram sir... plz can u help me

  • @newtonsingh2188
    @newtonsingh2188 7 лет назад

    how to control 5 or 6 servo

  • @MarcoRizzinelli
    @MarcoRizzinelli 5 лет назад

    The sketch doesn't work. It is a fake video... why did you post it?

  • @saidanimohamedamine1378
    @saidanimohamedamine1378 7 лет назад

    a mémoire disponible faible, des problèmes de stabilité pourraient survenir.

  • @samiqra1538
    @samiqra1538 4 года назад

    Complete coding please

  • @3DTypist
    @3DTypist 6 лет назад

    ok. I love you :-)

  • @samuelruben8726
    @samuelruben8726 8 лет назад

    Vcan someone give me the schematic for 4 servo

  • @uazice
    @uazice 6 лет назад

    unfortunately doesn't work. I was searching for an answer for half of the day. I didn't find it either in website or youtube...

    • @VladRomanov89
      @VladRomanov89  6 лет назад +1

      Try this video: ruclips.net/video/vpiuc9c7dzE/видео.html

    • @uazice
      @uazice 6 лет назад

      EEEnthusiast Thanks for reply,I will check it !:)

  • @newtonsingh2188
    @newtonsingh2188 7 лет назад

    with different potentiometer

  • @kailashkumar-cn8fu
    @kailashkumar-cn8fu 6 лет назад

    Hi EEEnthusiast, its very pathetic that so many people have asked about the problem of not working of servo after pushing the recording button, just blinking the Tx led in arduino and you have not answered it yet

    • @VladRomanov89
      @VladRomanov89  6 лет назад

      kailash kumar I have answered it many times and pointed people to the new tutorial with working code. It’s pathetic that people aren’t willing to do any work and expect everything to be given to them.

    • @kailashkumar-cn8fu
      @kailashkumar-cn8fu 6 лет назад

      Thanks for your quick reply, and i beg your pardon if you answered it already somewhere, Can you please provide me the link to the working code tutorial, as i did not find it anywhere. I scrolled the full comments section .

    • @autodidactamm7625
      @autodidactamm7625 4 года назад

      @@VladRomanov89 complete agree with that, people ned (including me)to work by themselves in order to learn

  • @tooltoyou5474
    @tooltoyou5474 5 лет назад +1

    i have 2 qustion
    1 what does om of transistor
    2 what type capacitor and how mush unit of capacitor
    because i ask store and he reply me then i dont know how can ask his
    the vdo dont clear any unit of any material.
    a picture is so small i cant see unit of capacity and transistor
    you should write and get it show with in clip

  • @automatedtradingforex3879
    @automatedtradingforex3879 8 лет назад

    Likeeeeeeeeeeeeee.....

  • @MakeHere
    @MakeHere 6 лет назад

    Bed code. Hi hi hi......

  • @ArduinoCreatively
    @ArduinoCreatively 4 года назад

    When i uploaded the sketch and press the button the servo can't do any control and not record can any help me?

  • @stefanb.933
    @stefanb.933 8 лет назад

    Hi, nice project.
    I want to ask, I have tried it and can control servo with pot, but why when I press the button for recording, servo can not be turned back and serial monitor displays the last position servo.
    I can not record the servo position with the button.
    Please help me to solve this problem