Rev Up the Engine
The Rev Up the Engine project is a fun project that imitates the revving of an engine through software and hardware. It has both visual and physical interaction modules. There is the Button Module for the user to interact and imitate a gas pedal. There are also the Buzzer Module and the RGB LED Module as rev limiter sound and rev level indicator.
Project Key Components
The SMD acts as a bridge between the script and the modules. It is responsible for interpreting the commands sent by the script and translating them into actions that read input from the Button Module and actuate the BDC motor, the RGB LED Module and the Buzzer Module.
100 RPM BDC Motor with Encoder
The 100 RPM BDC Motor with Encoder is used to imitate an engine running. The speed of the motor can be controlled precisely thanks to the built-in encoder.
The Button Module is used as an physical interaction device for the user. It imitates a gas pedal, revving the engine while it is pressed.
The SMD library is at the heart of the application. It communicates with the SMD using a specific communication protocol, sending commands to read the Button Module and actuate the BDC motor, also the other modules.
Project Key Features
Dynamic Engine Revving
The project allows the user to use the modules to interact and imitate an engine. It is a great project for seeing the results of the physical interaction. Holding the Button Module will result in rev increase and releasing it will decrease the rev.
Real-time Speed Control
The script continuously can store and monitor the current velocity level of the motor. The user can use these values to modify the project.
Customizable Speed Profile
The user can customize the step time or rev increase amount per step. Also, the RGB LED Module can be used to emit different light levels and colors.
Project Wiring Diagram
Getting Started
Hardware Setup
Connect the SMD to the PC or Arduino board using USB Gateway Module or Arduino Gateway Module.
Connect the 100 RPM BDC Motor with Encoder to the motor ports of the SMD and the Button Module, the RGB LED Module and the Buzzer Module to the SMD using an RJ-45 cable.
Make sure that the SMD is powered and all connections are correct.
Run the Script
Execute the script, initiating the Rev Up the Engine project.
Press or hold the Button Module to see the engine revving and other visual experiences.
Experience the Engine Revving
Observe how the motor speed increases gradually while the button is held down.
Release the button and notice the motor speed decreasing until it comes to a stop.
Customize and Experiment
Experiment with different parameter values in the script to customize the speed profile.
Explore additional features, such as the buzzer sound and frequency and RGB LED colors and intensities.
Project Codes:
Last updated