Your shopping cart is empty!
Maker HAT Base, allows you to easily access the Raspberry Pi 400 GPIO pins
- Idris Zainal Abidin
- 20 Oct 2021
- 768
Introduction
It is a bit difficult to access the GPIO pin on the Raspberry Pi 400. By using Maker HAT Base, we can easily make the wiring connections. For this video I will try to do a simple testing, controlling the stepper motor.
Video
Hardware Preparation
This is the list of items used in the video.
- Raspberry Pi 400 Computer Kit
- Maker Hat Base - HAT & GPIO Extension for Raspberry Pi 400
- 3Amp 4V-16V DC Motor Driver (2 Channels)
- NEMA 17HS4401 Bipolar Stepper Motor
- LiPo Rechargeable Battery 3S 11.1V 30C 2200mAH
Sample Program
This is a python sample program to control stepper motor rotation based on 3 styles (single, double and interleave). Please install following libraries:
Thank You
References:
- Adafruit Learn: Installing CircuitPython Libraries on Raspberry Pi
- Adafruit Learn: Python & CircuitPython: Stepper Motors
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."