create new tag
view all tags

Report on the first 6 weeks of the DC motor project

Week 1

Installing the ubuntu 16.04 OS as dual boot alongside windows 10

Installing the Arduino software on the ubuntu 16.04.

Week 2

Taking up a piece of the Arduino Project (DC Motors)

Doing some basic coding practice in Arduino.

Basic Structures:
Setup () is where the initialization Step.
Loop () is where the codes run over and over again.

If …else’ Statements

For loops Syntax:
for (initialization; control; increment/decrement) {
//statement block


HIGH / LOW: These are constants used to signify 0V or 5V (logic 0 or 1) when writing or reading from digital pins.

Week 3

Control a DC Motor using the Arduino

I went online (circuits.io) and did some simulation, it worked alright and generated some codes for me to run with the Arduino software.

I also did some readings on how to use and connect the various components on the Arduino breadboard with any flavor of the Arduinos.

L298N Motor Controller
How to control the forward/Backward on the Motor

A direct current, or DC, motor is the most common type of motor. DC motors normally have just two leads, one positive and one negative. If you connect these two leads directly to a battery, the motor will rotate. If you switch the leads, the motor will rotate in the opposite direction.

Components : Arduino UNO, Jumper Wires, L298N Motor Controller, DC Motor, 9 volts’ battery.

9V battery DC motor Arduino Uno
L298N motor controller USB programming cable breadboard cables
How to do with these components?
With DC motors you can do amazing things. Controlling DC Motors with Arduino is an
important task. We can control DC Motor with Arduino by connecting L298N Motor
controller to Arduino.

L298N Pinout is: