Single Motor Setup Pi


Any actions and or activities related to the material contained within this Website is solely your responsibility. The misuse of the information in this website can result in criminal charges brought against the persons in question. Cyber Security Associates Limited, will not be held responsible for any criminal charges brought against any individuals misusing the information in these projects to break the law.

Please ensure you are using the latest SD Card image which is available here.


Learning Outcomes

1.Introduction to Raspbian OS;

2. Learn how to physically configure the L298N Motor Controller to control a DC Motor;

3. Understand how physical computing is used around us. 


Hardware Required


Component Number (Box Case)

Slot 1

Slot 11

Slot 11

Slot 6

Slot 11

Slot 11

Slot 11

Slot 11

Slot 12

Slot 11

Slot 2

Slot 13



Raspberry Pi + Case

Raspbian SD Card

DC Motor

L298N Dual H-Bridge Motor Controller

4 AA Batteries

Male Male, Male Female Wires

4 AA Battery Holder


Wireless Mouse

Wireless Keyboard

5 Inch LCD Screen 

Power Supply Unit


Video Guide


Understanding how electronics work and the interaction of code to control physical devices is a skill that you can develop throughout and after your education. This project is designed to introduce you to electronics like the L298N motor controller and a simple amount of python code. Make sure you understand what the code is telling you. At the beginning code can look daunting but there are many rules that are the same in different programming languages, creating functions is almost a universal rule for a lot of languages so the skills you start learning now will help you to learn many other programming languages as well. Research why Python is a good language to start off with and why it is important to learn the command line code.