Added: 1 year ago
From: sciguy14
Views: 52,915
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (139)

Sign In or Sign Up now to post a comment!
  • Is FET transistor same as NPN ?

  • Hi Jeremy, quick question....

    i'm using the IR distance sensor with the DC motor to switch on automatically and stay on until no motion is detected.

    shall i use 1) a for loop to gradually increase motor speed

    OR 2) the map function?

    because using the for loop, after every delay, if the IR detects motion, the motor will start to accelerate from 0 again instead of retaining a constant velocity. Thanks! great videos!

  • @sciguy14 can i use a PWM on pin 9 instead of using the servo library ,to control the servo??

  • @kunal944 yes

  • @sciguy14 is it possible to drive a 35v 30 A brushless 3phase motor with arduino pwm?if yes how?

  • @chilidress Yes, you'll need to drive it through a transistor or an hbridge

  • there is nothing called decelerate its only negative acceleration

  • @carterblizz

    yes there is you tool! deceleration just means negative acceleration. its still valid.

  • u are the best one who can teach me about elec.

    im just beginer and i love this series

    i were interested about a tranzistors and i know how to use them now

  • Y DO U SWALLOW UR SPIT NONSTOP

    MY EARS

    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA­AAAAAAAAAAAAAAAAAAAAAAA

  • @RenegadeFury He doesn't want it to drip on the breadboard ... duh.

  • Comment removed

  • The 22uF capacitor on the output of the regulator is WAY to big. Look up a datasheet for a 7805, it should be small, around .1uF.

  • How much mg995 towerPro servo motor need current.

    i need current and voltage rating for the servo motor.

  • That 1 K resistor is quite hard to understand. Can current flow out through the transistor base and short circuit the Arduino? How to calculate that resistorin case qe want other voltages to be controlled, for example a 48 volts motor?

  • the videos are great, but i have to say hearing you swallow every 30 seconds is really unpleasant...

  • Great videos!! Im learning allot from them!! Could i use a transistor to control a dc motor with a larger voltage?, like a 48 volt dc motor? Thanks

  • I love these vids!!! More please!!!

  • Some of the best arduino tutorials on youtube! thank you SSSOOOOOOOO MUCH!!

  • quiesiera preguntarte para deminuir la velocidad de un ventikador de 12v para hacer un noria gracia joselitoe tablillllaroja

  • can we use a pin))) sensor

  • @powerwingman yes

  • what should i do help me

  • when i program the servo it said name lookup of 'i' changed for new ISO 'for' scoping

  • Should an analog or digital servo be used ?

  • What does the capacitor do with all of this?

  • Jeremy you are awesome, I find this videos highly educational and inspiring.

  • i think you should upload more tutorials with arduino! :P

  • man, REALLY nice job! congratulations!

  • you the man.... cause for a beginner like me i actually understand lol

    but keep doing yah thing man hope someday i can get on that level someday

  • which is the transistor datasheet? there are a lot,...

  • Why do we connect the motor to a different 5V?

  • @healthyforyou The 5V regulator on the arduino cannot supply enough current.

  • Thats a 9v to 5 v voltage reg. what to use to make a 12 to 5v

    what's the v.regulator's model , I cant seem to find one?

    Thanks in advance!

  • can i use a 2k resistor?

  • Awesome tutorial. Thank you for this.

  • Man, I wish I could type out programs like regular english like youuu.

  • When I'm confused, I look up: Tutorial 01 for Arduino, then I go to the playlist which is related to the video

  • Good tutorial. Clear diagrams, superb explanations.

  • Your voltage regulator was in a TO-220 package...does the motor actually draw that much current?

  • why the need of separate 5v rails?

  • 255 rpm or what ?? don't get it , ima a noob

  • @CURISION 255 is the position.

  • @CURISION the highest 8bit value is 255 so 255 is 100% pwm, I assume

  • @DanFrederiksen understood, thanks alot :)

  • @CURISION Analog pins don't operate at simple 1 or 0 values. He's using analog. The maximum value of current through an Analog pin is 255, the lowest is 0. So if he puts analogwrites 100 to the motor pin, the motor will be using 100/255 of it's power. This is a generality but hopefully that helps explain it more.

  • @enticed2zeitgeist wow that actually explained alot thanks :)

  • Hi! excelent video!

    The 9V ground goes to the arduino ground?

  • @martinopresnik Thanxs man!

  • great tutorials bro! thank you very much.. i have a question though. Is the ic in arduino uno detachable? i mean can you change the ic you are using now with another one? tnx in advnce for your rply keep it up bro! =>

  • WOW! Not sure what I did wrong but my transistor started smoking! Luckily I'm pretty sure the arduino survived.

  • big help these tutorials are awesome, really good examples simple and understandable and the coding is just like java great!

  • HBRIDGE!!!!

  • Why exactly do you need the capacitor and the diode? What happens if you don't use them? How do they protect from "noise and spikes"?

  • @WebDesigneri The voltage across a capacitor cannot change instantaneously, so it serves to smooth out voltage spikes that can be created by as the DC motor turns. The diode ensures that as a charge builds up on the motor coil when the transistor is "off", a current is able to flow to dissipate the charge.

  • You have a natural tendency of being a very good teacher. Keep it up.

  • @sciguy14 , Thanks. What i'm confused about is where to connect the 5v (on the arduino) to the circuit.

  • @CIPHERJAY The arduino is supplied 5V via the USB connection. Anything that needs 5V power can be plugged into the arduino's 5V pin, and it will receive 5V via USB as well.

  • @sciguy14 Thankyou!

  • Does 5V2 just refer to the voltage that is supplied from the pc? Or do you have to connect the 5v pin next to the groun pin?

  • @CIPHERJAY never connect the 5V pin to ground.

  • @sciguy14 225 as in rpm or what ? , and also please if you can show me how to control multiple motors on an ardunio , i'm still a beginner ..:)

  • @CURISION Considering that you asked this 2months ago, Im assuming you've already found the answer to this. Althoughm, I will answer it anyways, just incase you havn't found the answer or someone else has the same question. He is using an analog signal, so 255 is the number of points he can specify in the 5v. When he sets the variable to 255, it uses all of the 5v, but when he sets it to, lets say 127, it only uses half of the volatage, thus running the motor at half speed.

  • @d3fish3r3 thanks alot man , i couldn't really find out the answer ..

  • @AgentMitra Thanks! I appreciate that :)

  • Jerremy: I have to say you series is very well done and I have learned a lot from them, keep up the good work and be sure to showcase your projects as well. Cheers!

  • Awesome

  • I have a question about what you said about connecting all the grounds together, so your saying connect the 9v negative though the circuit and end it at the arduinos ground???

  • oddly enough this does NOT work for me with an external power supply...

  • your servo tutorial was more useful than the one on arduino.cc

  • Comment removed

  • Awsome... just what I've been looking for, hate books, love video tutorials. Keep up the good work!

  • Nice series of tuts. Thanks for the great work, time and effort you put into these videos. But why does the servo moves back after he reached the 180 degrees if you don't tell him via code? Or did I miss something?

  • hey Guys. Please kindly help me : how to constantly put off the fan ???

  • Amazing tutorial. I have a question. Instead of the 9v battery and that whole setup with the voltage regulator, could I use a 6v battery pack made of AA batteries? I use that set up on some RC stuff and the servo works fine. Is there a complication that I am missing on the Arduino?

  • @mathboy1212 no, that's fine.

  • @sciguy14 Thanks. I tried it last night and it worked fine.  If I am going to be powering 5 servos(I am making a strange version of a robot arm) should I have multi battery packs or should it be ok to run them all off the same 6v AA pack?

  • @mathboy1212 yes, should be fine.

  • Hey dude, thanks for the awesome tutorials!

    Ive build an h-bridge using 4 transistor... What do I do with the diode seeing as the direction changes? Are the diode and capacitor really necessary?

    Thanks again!

  • Great!!! Guy, I love your tutorials!

    Please, keep recording and posting more tutorials \o/

    Nice job. Thank you!

  • Is it possible to make motors go in reverse?

  • @jimmyinaus16 Yes, hook the wires up backwards

  • @sciguy14 Hi

    Looking to get into Arduino programming. This tutorial is really good. I was wondering if and how i would:

    Control a switch with the arduino - to control when a relay receives current

    Control the position of the DC motor - to make an electric screen for a projector

    Can you help?

  • @jimmyinaus16 or use a 'H-Bridge' (just google the term for more details).

  • what transistor did you use?

    LM317 or LM7805

  • @raghunitin 2N7052

  • @sciguy14 Is it advisable to use LM7805 with 0.3microF and 0.1microF capacitors? I want to convert 9V to 5V rail~~~

  • @raghunitin Wait, you might be a bit confused between transistors and voltage regulators. You said what "transistor" did I use, but listed two voltage regulators. I used a 2N7052 to allow me to use 9V power for the motor while switching it with 5V from the arduino. If you want to convert 9V>5V, you want a voltage regulator. In which case, an LM7805 is fine.

  • @sciguy14 oh, sorry... I was in a bit of a hurry and blabbered.... sorry.... I should have typed Voltage regulator in the first place....

  • @sciguy14 If i want to buy a npn transistor from Radioshack which want should i bought to get the circuit working. And instead of 9v for the motor i only need 1.5v to 3v for the motor.

  • Ok i have done the coding correctly (had to add an int) but the fan just go's round 24/7. now i have an old pc fan and it has a white cable (not in use atm) and i know that send messages back of how fast its going, do i have to add that to the circuit???

  • @GamingAnt98 I'll need to see your code.

  • i get the error of ' motorPin was not declared in this scope' PLEASE HELP!

  • @GamingAnt98 try this leave a space between the include and servo.h

  • why is it not i==i+20 ?

  • @Shockszzbyyous because i==i+20 just checks whether i is equal to i+20 or not..... It is a relational operator....

  • great tutorials

    but in PNP transistors current flows from the emitter to collector!!!

  • @herctrap Actually no. Electrons, flow from the emitter to the collector as you mentioned, but current flow is opposite from the direction of electron flow. See the wikipedia page on bipolar junction transistors for a good image of this process.

  • @sciguy14

    In pnps current flows from the emitter to the collector if current is able to flow from emmiter to base

    In npns current flows from the collector to emmiter if current is able to flow from base to emmiter

  • @herctrap Ah ok, I had misread PNP as NPN. Yes, indeed current flows collector to emitter in NPN, and that's what I said in the video. I don't even mention PNP transistors in the video.

  • Can we increase the resolution of servo ? 

  • @karandex No, it is preset.

  • do you realize that you are good at this, you can be next kipkay, post it on metacafe

  • servos are costly so could ya find some video or tell me how to make one servo or any schematics????

  • @francisroan Making a servo yourself would be way more expensive than buying one.

  • @francisroan You can use stepper motors, which is cheap.. An example is available in Jeremy's second channel, 'JeremyEblum'

  • Good series. I've been tempted to buy an arduino for a few months now but also wanted to experiment with C and other atmel chips. I've read you can use an arduino as an ISP programmer but apparently this can't be done with the new UNO. What arduino would you recommend and what method to program other chips?

  • @boabie Yeah, the new version no longer uses the FTDI Serial Chip. If you want to do what you're describing, you'll need the Duemilanove

  • @sciguy14 ok thanks buddy keep up the good work.

  • I appreciate your work, you are doing a great job. When will you be doing the H-bridge?

  • @MrAAK95 I have more info about using an h-bridge on my blog (link in description). I may or may not do a video on it, since I might not have enough time.

  • Another good video my man, cool stuff thanks.

    Thom in Scotland.

  • I like the way you are progressing these tutorials, thanks again great stuff

  • how to make a servo rotate fully? please help me!!!!! i need it for my project!!!!

  • @raghunitin Buy a continuous rotation servo. You can get futaba continuous servos from parallax.

  • Way to go SENSEI i will keep an eye wide open once you upload your next videotuto.

    20 thumps up, did i say 20? uhmm ok

    thanks

  • Cool stuff. Glad to join the atom hackers!

  • Thank Jeremy for all you great work, im learning one video at a time, im a visual learner

  • excellent tut!

  • hey i was wondering if you could link us to a decent site that has a some filter code i could use it and im sure many other people can

    Thanks You

  • @HalfFullEffects There is a code sample linked on my blog post for this episode.

  • my new saying is that i learn something new every Monday hahah thanks jeremy

  • Man your good

  • Thanks, that was very much educational.... I really wanted to know about these servo things and this taught me right!!!

    And yeah!!!!!!!! I'm waiting eagerly for that little yellow led to light up... :)

  • @raghunitin Next Week! We'll get started with serial communication.

  • Comment removed

  • Great tut. Keep up the extra info (common gournds... comment code...) all great stuff. Sometimes the simple things help tie things together :)

  • @pjharro Thanks :) Be sure to check out the blog posts that I make with each episode too. I include more info about H-Bridges, and I also upload parts lists, schematics, and code.

  • Now we've got enough information to build an evil robot to do our bidding!

  • @whisk0r mwahaha

  • Great tutorial

  • Excellent! Please keep them coming. Can't wait to see more.

  • Nice.

  • Nice work as usual. Keep it up.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more