Arduino Crashcourse
Arduino Crashcourse
Why Arduino ?
• Inexpensive
• Cross-platform
The Arduino software runs on all operating systems
• Open source
Software
Hardware
Structure of Arduino
Ex 1 Blinking LED
Push Button controls LED
Fade LED
LDR Controls LED
Serial & Sending commonds
Dc Motors
- Two Magnetics
- Coil
- Two Brushes
- Axis
Challenges of Dc motor
• Volt ??
• Current
it works with 850mA while Usb Laptop port provides 500mA
Solution??
power
H – Bridge
Switches is actually Transistors!
l298nDatasheet
9v max
liquid crystal display
Ultrasonic
Connection With Arduino
Android
Hardware interface
to use the benefits of two valued devices in one interface.
Examples :
• Mouse & Computer
• Android & Arduino
• Wee , kinect , … etc
Android Vs IOT
• Range
ex: limited range of wireless
• Complexity
ex: if we used android we need to make it easy to user
• Users
ex: single or multiusers
• Implementation
ex: IOT you need to make a server but android already exists.
Why Android ?
• Familiar
• Easy
• Cheap
• Open source
- Make your own android version
- based on linux
• Platform independent
- cars with Android
Android Studio vs App inventor
Ways of connection
Arduino with Android
• Bluetooth
frequency >> Range >> data <<
• IR
• RF
• Wifi
• NFC
• Serial
http://appinventor.mit.edu/
Questions?
Thank You