Everything You Need To Know About Arduino

Ben teaches you everything you need to know to start using Arduino microcontrollers in your projects

**New Episodes Every Other Monday!**

Ask Ben Questions in the element14 Community:
?http://www.element14.com/community/community/experts/benheck?

Never Miss An Episode- Subscribe For More of The Ben Heck Show:
?http://www.youtube.com/subscription_center?add_user=thebenheckshow?

Visit The Ben Heck Show Channel here:
?http://www.youtube.com/thebenheckshow?

Visit element14 on YouTube:
?http://www.youtube.com/element14?

Like The Ben Heck Show on Facebook:
?https://www.facebook.com/BenHeckShow?

Follow Ben on Twitter:
?http://www.twitter.com/benheck?

Duration : 0:10:5



Posted

in

by

Tags:

Comments

25 responses to “Everything You Need To Know About Arduino”

  1. pufixas Avatar
    pufixas

    Oh jeezz… I don’t …
    Oh jeezz… I don’t know.? It MAY be possible. Go type your question in google, you should find the answers.

  2. Chris Barry Avatar
    Chris Barry

    can you use an …
    can you use an arduino? uno for a 3d printer?

  3. Djhg2000 Avatar
    Djhg2000

    Given this …
    Given this explanation, what you really got described to you was a perfect square wave. This is where the load instantly jumps between two levels without having smooth edges.

    When we’re talking about PWM we usually call it a square wave because that’s what we’re aiming for, but in reality it doesn’t really have square corners? even though it gets pretty close.

    If you have a good old analog oscilloscope this is pretty fun tp watch. Just plug the reference to ground and the probe to a PWM output.

  4. Djhg2000 Avatar
    Djhg2000

    I think I see where …
    I think I see where all of this confusion is coming from now; someone probably explained AC as going up and down in a sine curve and then said that if you cut away the middle part you get DC. This is a horrible way to explain DC, but it’s true that DC doesn’t normally oscillate.

    There’s one critical difference though; in AC the load goes equally far from ground in both directions, but in DC? the load must _always_ stay above ground or the electrons will start flowing backwards.

  5. Djhg2000 Avatar
    Djhg2000

    No. DC (Direct …
    No. DC (Direct Current) is when you only have electrons flowing in one direction and AC (Alternating Current) is when they? alternate between the two directions (or in layman terms, alternates between + and -).

  6. Djhg2000 Avatar
    Djhg2000

    To me that sounds …
    To me that sounds sort of? like what you’d get out of a DC rectifier which isn’t really PWM at all.

    That is, unless you’re really talking about the output alternating between + and – in which case you’re probably thinking of an AC modified sine wave.

  7. JD Sweet Avatar
    JD Sweet

    I said it correctly …
    I said it correctly. DC is AC without all the values in-between. It generally is represented by max + and max – of an AC wave, or you can make is? positive or negative only depending on what integers you’re using. For most PWM, the DC voltage enters both + and -, otherwise you’d be frying your electronics.

  8. JD Sweet Avatar
    JD Sweet

    You’re probably …
    You’re probably thinking DC is positive voltage only. It isn’t, DC hops between + and – just like AC except it hops over the neutral portion of the wave? we’d call 0 volts in AC.

  9. JD Sweet Avatar
    JD Sweet

    There’s nothing to …
    There’s nothing to understand about it other than DC is a representation of AC that hops between + and – side of the wave. Its not necessarily just on or off. You’re hopping between + and – regardless of duty cycle percentage. This is what DC does, it jumps across the equilibrium of? a wave as where AC is continuous like a bi-directional slide. DC is AC without all the values in-between but you can step the DC cycles to mimic an AC wave. Based on duty cycle percentage, your DC wave can be + or –

  10. Djhg2000 Avatar
    Djhg2000

    Please explain this …
    Please explain this part “the voltage output during a cycle always goes into + and – side of the wave”. To me that sounds like AC.

    I’ve worked? with software PWM on a PIC16 series microprocessor so I’m not completely in the dark here.

  11. JD Sweet Avatar
    JD Sweet

    What do you think a …
    What do you think a duty cycle is?? It’s a cycle of oscillation that occurs at a frequency. In your case, PWM has a frequency that is caused by the duty cycle %. If you know about unsigned integers, you’d know that whether you have AC or DC output, the voltage output during a cycle always goes into + and – side of the wave.

  12. Djhg2000 Avatar
    Djhg2000

    No it doesn’t. It …
    No it doesn’t. It may appear that way for certain duty cycles when looking through an oscilloscope, but the actual PWM frequency remains fixed.

    Let’s take an example; assume we have a horrible PWM controller operating at 4 Hz.

    At 25% duty cycle you’d get the pin high for 250 ms and then low for 750 ms. Since we have an extremely low PWM frequency we can see the? tricky part with 33%. But then we just change the phase to 3/4th of a second meaning 250 ms high, 500 ms low.

  13. HillOrStream Avatar
    HillOrStream

    Right. Duty cycle,? …
    Right. Duty cycle,? not frequency.

  14. HillOrStream Avatar
    HillOrStream

    At 6:40, Emitter …
    At 6:40, Emitter and collector labels? are reversed, though the transistor is drawn correctly.

  15. JD Sweet Avatar
    JD Sweet

    duty cycle set the …
    duty cycle set the oscillation frequency.?

  16. ooocrossooo Avatar
    ooocrossooo

    hello me and my …
    hello me and my friends are making a computer out out arduino can u combine arduino netdunio and ardino? mega and do u have any ideas or helpful info

  17. Djhg2000 Avatar
    Djhg2000

    You got the PWM …
    You got the PWM explanation wrong; it’s changing the? duty cycle, not the frequency.

  18. H3ph3stusGaming Avatar
    H3ph3stusGaming

    0:30?
    0:30?

  19. Sidowse Avatar
    Sidowse

    Can you use the …
    Can you use the board to program ATMEGA328P-PU chips bought separately? ie just use the board to do the programming? and then take the chip out and place it in another circuit?

  20. rybcage Avatar
    rybcage

    Nicely done but try …
    Nicely done but try turning down the background music while you are giving detailed technical descriptions. I? find it hard to understand new words & concepts with so much speedy whacka-whacka guitar & drum machine fill.

  21. Splinter4077 Avatar
    Splinter4077

    2:17 ARDUNIO. …
    2:17 ARDUNIO. lovely xD?

  22. percy humphries Avatar
    percy humphries

    most instructive, …
    most instructive, would like to see your video on building? a pinball machine!!!

  23. 09ltr450 Avatar
    09ltr450

    Ben you should make …
    Ben you should make a real? onehanded controller like the xbox360 controller but for ps3. Having just a right hand I think the arduino and unojoy software could make a way better controller then hacking one of the 30 versions of pcb for ps3 controllers.

  24. QikTips Avatar
    QikTips

    although it’s bad …
    although it’s bad practice, in him doing so i was able to better understand what was going on behind the scenes.?

  25. gwebb417 Avatar
    gwebb417

    Anyone notice …
    Anyone notice anything wrong here? 2:11?

Leave a Reply