Basic of Electronics & Arduino
Basic of Electronics & Arduino
A robot is a mechanical device that can perform tasks automatically. It may – but
need not – be humanoid in appearance. Some robots require some degree of
guidance, which may be done using a remote control, or with a computer interface.
A robot is usually an electro-mechanical machine that is guided by a program or
circuitry.
Voltage and Current are vital to understanding electronics, but they are quite hard to grasp because we can't
see them directly.
A light-emitting diode (LED) is a semiconductor light source. LEDs are used as indicator
lamps in many devices and are increasingly used for other lighting.
Electronic Symbol
• Receiver = Photodiode/IR Transistor. A photodiode is a diode that conducts only when light
falls on it.
• Working Object /
IR sensor Pair
Line
Transmitter (Tx)
Receiver (Rx)
Receiver = Photodiode
12
An electric motor is an electromechanical device that converts electrical energy into mechanical energy.
DC
AC Motor Motor
13
www.innovianstechnologies.com www.innovianstechnologies.com [email protected]
MOTOR DRIVER (H-BRIDGE) L293D
• Motor driver circuit (L293D) is used to drive the motor in Forward or Reverse
Direction.
M1a M1b Motor State
0 0 Stop
1 0 Forward
0 1 Reverse
1 1 Stop
www.innovianstechnologies.com 14
www.innovianstechnologies.com www.innovianstechnologies.com [email protected]
BREADBOARD
digitalWrite()
BIG 6 CONCEPTS
analogWrite()
digitalRead()
analogRead()
Serial communication
Almost all systems that use physical computing will have some form of output
5V 5V
0V 0V
void setup()
{
// runs once
}
void loop()
{
error & status messages // repeats
}
www.innovianstechnologies.com www.innovianstechnologies.com [email protected]
SETTINGS: TOOLS SERIAL PORT