SINGLE MOTOR SETUP PI (HAT)
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.
The Explorer HAT Pro is a "hat" for the Raspberry Pi that sits on top of its pins. This is a simple interface that is laid out to allow students to learn how to add many peripherals to the Raspberry Pi. The advantage of the HAT is it is clearly laid out for simple wiring and allows for quick assembly without requiring additional hardware that more complicated projects would need. This project is designed to introduce assembling the Raspberry Pi and the HAT and then connect a motor with some Python code for controlling the motor. This can be used for controlling a doors and windows to open and close. Python is a very powerful programming language that allows the Raspberry Pi to connect with the peripherals and control them. There are so many applications of Python which makes it a very valuable language that gives you a lot of experience quickly.
Understand the connection between the Raspberry Pi and external hardware;
Learn about Python and its value in programming;
Explore the different ideas that this project could be applied to.
Component Number (Peli Case)
(Base) 4 + 5
(Level 1) 2
(Level 1) 3
(Level 1) 3
(Level 1) 3
(Level 1) 5
(Level 1) 1
Raspberry Pi + Case
Raspbian SD Card
Explorer HAT Pro
Male Female Wires
This is a very simple setup to introduce both the Raspberry Pi and the Python coding language. This project can be combined with other peripherals, like a motion sensor that turns on the wheel if someone comes close, which would be helpful if the motor was attached to a door for example. You can also change the speed of rotation if you change the digits within the "eh.motor.one.forwards(x)" component to speed up or slow down the rotation of the wheel. It is important to think creatively and look for problems that can be fixed. This will inspire you to research more ideas and how to make these projects work with the Raspberry Pi.