manual for educational robotic kit.pdf

14
POWER SUPPLY CIRCUIT PRECAUTION! MAKE SURE THE RIGHT POLARITY (POSITIVE AND NEGATIVE) FOR THE POWER SUPPLY AND THE COMPONENTS. OTHERWISE, RISK BURNING THE COMPONENTS AND VOID THE WARRANTY. Steps: 1. Connect the battery (12V) to the breadboard. 2. Put a switch at the +12V of the battery. Turn the switch off. 3. Connect the +12V from the switch to the Arduino Microcontroller pin “Vin”. The Arduino has its own voltage regulator to accommodate 12V supply. 4. Connect the 12V supply to the DC/DC Step Down (be aware of the IN+ and IN-). 5. **IMPORTANT** Adjust the voltage out of the DC/DC step down voltage by varying its potentiometer (using screw driver). Check the voltage by using the Digital Multi Meter (DMM). Set it to be around 8V. 6. Connect the OUT+ (8V) to the motor driver (pin 8) and OUT- to the GND to supply power to the motors. 7. Connect the 5V and GND from the arduino to the breadboard and supply 5V to the motor driver chip. 1 2 3 4 5 6 DC/DC Voltage Step Down Motor Driver Switch Battery (Power Supply) Arduino Microcontroller

Upload: adha-arffain

Post on 01-Oct-2015

18 views

Category:

Documents


0 download

TRANSCRIPT

  • POWER SUPPLY CIRCUIT

    PRECAUTION!

    MAKE SURE THE RIGHT POLARITY (POSITIVE AND

    NEGATIVE) FOR THE POWER SUPPLY AND THE COMPONENTS.

    OTHERWISE, RISK BURNING THE COMPONENTS AND VOID THE

    WARRANTY.

    Steps:

    1. Connect the battery (12V) to the breadboard.

    2. Put a switch at the +12V of the battery. Turn the switch off.

    3. Connect the +12V from the switch to the Arduino Microcontroller pin Vin. The Arduino

    has its own voltage regulator to accommodate 12V supply.

    4. Connect the 12V supply to the DC/DC Step Down (be aware of the IN+ and IN-).

    5. **IMPORTANT** Adjust the voltage out of the DC/DC step down voltage by varying

    its potentiometer (using screw driver). Check the voltage by using the Digital Multi Meter

    (DMM). Set it to be around 8V.

    6. Connect the OUT+ (8V) to the motor driver (pin 8) and OUT- to the GND to supply power

    to the motors.

    7. Connect the 5V and GND from the arduino to the breadboard and supply 5V to the motor

    driver chip.

    1

    2

    3 4

    5

    6

    DC/DC Voltage

    Step Down

    Motor Driver

    Switch

    Battery

    (Power Supply)

    Arduino

    Microcontroller

  • MODULE 1: MOTOR & L293D

    HOW DIFFERENTIAL WHEELED ROBOT MOVE?

    DIFFERENTIAL WHEELED ROBOT TURNS

    MOTOR DRIVER

  • a) L293D

  • b) L298N

  • SOURCE CODE (MOVING THE ROBOT):

  • MODULE 2: AUTO-CALIBRATING LINE SENSOR

    AUTO-CALIBRATING LINE SENSOR

    SOURCE CODE (DATA READING):

  • MODULE 3: LCD

    LCD I2C

    SOURCE CODE:

  • MODULE 4: SERVO

    MICRO SERVO

    SOURCE CODE:

  • MODULE 5: BLUETOOTH MODULE (HC-06)

    BLUETOOTH MODULE HC-06

    a) SOURCE CODE (AT Command HC-06)

  • b) SOURCE CODE (Bluetooth controlled LED by Android or PC)

  • MODULE 6: ULTRASONIC

    HC-SR04 with LED and RESISTOR (470)

    SOURCE CODE (READING):

  • SOURCE CODE (HC-SR04 WITH LED):