Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianlesko/brushed-dc-speed-control
This code and circuit implements speed control of a DC motor
https://github.com/brianlesko/brushed-dc-speed-control
Last synced: about 20 hours ago
JSON representation
This code and circuit implements speed control of a DC motor
- Host: GitHub
- URL: https://github.com/brianlesko/brushed-dc-speed-control
- Owner: BrianLesko
- Created: 2023-12-24T03:22:17.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-10T03:30:33.000Z (10 months ago)
- Last Synced: 2024-01-10T05:35:14.874Z (10 months ago)
- Language: Python
- Size: 1.63 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Speed Control of a Brushed DC motor
This code and associated hardware implements speed control of a DC motor. Written in micro Python, implemented on an Arduino Nano, and using a BJT transistor![Preview](docs/preview.jpg)
## Hardware
- `arduino nano`: for sending a pusle width modulated (PWM) signal
- `Transistor`: with appropriate current rating
## Run this demo yourself
The
## How it Works
The app as follows:
1. Place the motor where the LED is in the preview photo
2. Then, drop in your selected power supply with the positive lead straight to the motor, and link the ground to the arduino ground
3. The arduino sends a PWM signal to the Base lead of the transistor
4. The transistor allows current to flow from the collector to the emitor side proportional to the effective voltage on the Base. Use a PNP transistor to have an inverse relationship and an NPN for a positive relationship.
## Topics
```
Python | micropython | arduino | arduino nano | microcontroller
Motor control | DC motor | brushed DC motor | speed control | Transistor
Self taught coding | Mechanical engineer | Robotics engineer | hardware engineer | controls engineer
Brian Lesko | Brian Joseph Lesko
```
╭━━╮╭━━━┳━━┳━━━┳━╮╱╭╮ ╭╮╱╱╭━━━┳━━━┳╮╭━┳━━━╮
┃╭╮┃┃╭━╮┣┫┣┫╭━╮┃┃╰╮┃┃ ┃┃╱╱┃╭━━┫╭━╮┃┃┃╭┫╭━╮┃
┃╰╯╰┫╰━╯┃┃┃┃┃╱┃┃╭╮╰╯┃ ┃┃╱╱┃╰━━┫╰━━┫╰╯╯┃┃╱┃┃
┃╭━╮┃╭╮╭╯┃┃┃╰━╯┃┃╰╮┃┃ ┃┃╱╭┫╭━━┻━━╮┃╭╮┃┃┃╱┃┃
┃╰━╯┃┃┃╰┳┫┣┫╭━╮┃┃╱┃┃┃ ┃╰━╯┃╰━━┫╰━╯┃┃┃╰┫╰━╯┃
╰━━━┻╯╰━┻━━┻╯╱╰┻╯╱╰━╯ ╰━━━┻━━━┻━━━┻╯╰━┻━━━╯
follow all of these or i will kick you