Send the link below via email or IMCopy
Present to your audienceStart 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.
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.
1st session Arduin
Transcript of 1st session Arduin
brain to human
Analog to digital convert (ADC)
Digital to analog Converter (DAC)
EEPROM and flash memory
Digital & basic electronics
Digital and analog :
digital is ON or OFF ( HIGH or LOW)
on case represents 5v and off is 0v
in most cases
for analog signal it is infinite number of
sampling is to be done to an analog signal
to be represented as a digital signal
R-2R is a basic method for getting analog output from digital output
understanding truth table
the first thing you need to know
what certain input you need for a
ex: if you want your output to the system
be the same as your input ?
Ohm's law states
V= I * R
P=V * I =V^2/R = I^2 *R
in case of logic level voltage
5v we want to limit current by
20 mA so R = ??
Pull up and pull down resistor:
resistor can be 10k as a value
pull up/down resistors can prevent
floating for inputs and outputs
we mostly "pull down" " inputs "
lets try pull down resistor our 1st input
voltage devider :
(cc) image by nuonsolarteam on Flickr
Electric components :
7805: 5 v
Lets talk about design phase
Arduino is our awesome brain, but can it do all ALONE?
of course no like a human ,your system needs tools (drives , sensors,motor and indicators )
and the awesome "code" for the behavior of the Arduino and how it all connects all these tools together
consider fan (12v) we want to open and close it through pc. we will notice 12 is above 5v and we cant drive it directly from Arduino so we found out we need a driver it gets orders from Arduino the brain then let 12v supply power the fan
so we need to write a code for the behavior of arduino to understand that when i tell it from pc to operate the fan ....
Thebest of arduino is the arduino code
easy out of the complication of other microcontrollers the coding is based on C/C++ language its more likely to be arduino language
// is used for commenting in one line
/* your comment here */
//comment does not effect the code
Arduino does not see it
you will notice they change color
constants make code more readable
our 1st arduino
code using millis