Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
■ Willing to experiment/learn/explore
Training Outline
• DC Motor & Stepper Motor Control
– Control Motor Forwards and Reverse
• Bluetooth
– Bluetooth communication
Motor +
Motor -
MOTOR
DRIVER
MOTOR
Motor 2
increase Increase
IN1 IN2 Motor Rotation
0 0 Stop rotate
0 1 Clockwise 0% or 0V Zero speed or stop
1 0 Anticlockwise
1 1 Stop rotate
Hands-On 6
• Build a system which include Arduino UNO,
Motor Driver, Motor and a button.
• When
Button is pressed for first time, motor runs in one
direction .
Button is pressed for second time, motor runs in
another direction.
Button is pressed for third time, motor stop.
The sequence is repeated
• You may use any speed for the motor
Motor Driver
Motor +
Motor - UNO:
Pin 10
UNO: UNO:
Pin 9 Pin 8
UNO: UNO:
GND 5V
UNO:
5v
The LCD will display the data when data received from Smart
Phone.
AT Commands via
Serial Communication
Introduction to SIM900 GSM Shield
Power On and UART Connection
Reset Button Setting
Mic
Connector
Introduction to SIM900 GSM Shield
Example :gsm.TurnOn(9600);
Make a call to Mobile Phone
• Practical 1
Build a system which contains 2 button (Button 1 and Button 2 )
and GSM Shield.
• Note
1. SIM900-POWER connect to Arduino Pin 9.
2. SIM900-RST connect to Arduino Pin 8.
3. SIM900 require Minimum 2A to operate.
Make a call to Mobile Phone
Step 1
• Before this, make sure the inserted SIM Card has enough credit and
not expiry.
Insert Sim Card
Make a call to Mobile Phone
Example : gsm.CallStatusWithAuth(number_incoming,0,0);
Receive a call from mobile phone
• Practical 3
• Return:
SMS position in SIM card memory