Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Building your Drone ANIM4477.01 Day 4

No description
by

Kevin Finisterre

on 1 December 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Building your Drone ANIM4477.01 Day 4

We are going to make some lights blink
We are going to make a servo 'sweep'
Then we will do them both simultaneously!
Arduino Lab!
http://arduino.cc/en/Tutorial/Blink (LED)
http://arduino.cc/en/Tutorial/Sweep (Servo)
http://arduino.cc/en/tutorial/fading (PWM)
http://arduino.cc/en/Reference/Servo (PWM)
Digital? (off or on at 3.3v or 5v)
Analog? (variable voltage between 0-5v)
http://playground.arduino.cc/Learning/Pins
What is PWM Again?
http://arduino.cc/en/Tutorial/PWM
You can use an analog pin as a digital pin
Making stuff happen
digital outputs have two positions: high and low
analog outputs give between 0 and 5V
Note: we are doing this *wrong* no resistors
Why? Didn't have any, don't care... (explain)
The Arduino GUI
The Arduino language is based on C/C++
LEDs ARE directional... (think diode)
Don't mix +(pos) and -(neg) on the servos please
Arduino programming 101
If you finish early, help other folks...
Don't use same pin as example code
http://arduino.cc/en/Tutorial/SecretsOfArduinoPWM (3, 5, 6, 9, 10, or 11)
Do Blink First - http://arduino.cc/en/Tutorial/Blink
Do NOT use pin 13... use a different one
Ignore missing resistor
Do Sweep Second - http://arduino.cc/en/Tutorial/Sweep
Combine them for final exercise... (on your own)
Bring to me when you have completed
See example on my desk, use different pins!
Bored? Try Fade on a PWM enabled PIN
http://arduino.cc/en/tutorial/fading
LAB
with Kevin Finisterre of Pillar Technology
Building your Drone ANIM4477.01 Day 4
Full transcript