Robotics Reviewer

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

ROBOTICS REVIEWER

ARDUINO UNO and PARTS

- Based on the last exams, it is important to memorize the location of pins (digital, analog, and
power) to be able to answer most of the questions.

BLUETOOTH MODULE and PARTS

- only four pins are used (VCC, GND, TX, and RX). If connected to the Arduino, TX is connected to RX.
It’s expected that in the exam, the module in the figure is not connected properly.
4-CHANNEL RELAY MODULE and PARTS

- in controlling motors, the external power supply is connected to the normally closed (for the
ground/negative) and normally open (for the VCC/positive) relay terminals.

MOTOR DRIVER and PARTS

- can control a set of two DC motors simultaneously in any direction.


Code example for Motor Driver

 The preprocessor used for


coding with the motor driver is
the AF Motor found in the second
line of the code.
 The codes in lines 4-7 define the
motors, it’s like naming the
motors.
 In the setup part of the code, the
speed of the motor is set. The
speed you can set is from 0-255.

 These are called user-


defined functions.
 It is used to make
coding easier.
 OK SO BALIKTAD ANG
LEFT KAG RIGHT KO DI
I’MSOSORRY
 This is a sample code controlling the car
with Bluetooth.

MIT APP BLUETOOTH

 These are the blocks for MIT App controlling the car with Bluetooth.

You might also like