IR Turret is unofficially based on the Crunch Labs Hackpack project that aims to create a turret controlled by infrared (IR) signals. It can be used for various applications such as security systems, remote control devices, or even as a fun DIY project.
For those who have already leveled up and want to push even further, you may find the web-based IDE a bit stifling. Environments like platform.io provide a more advanced development experience with features like advanced code editing, debugging, and library management.
I have made some modifications to the basic code for fun but it has been tested on the IR turret robot provided in the first hackpack box. That said, your mileage may very and I provide no guarantees or liability for damage to your device. Legal business aside, have fun and be safe!
- Control the turret using IR signals
- Adjustable rotation and elevation angles
- Support for different IR protocols
- Easy integration with other projects
- PlatformIO installed on your system
- IR receiver and transmitter modules
- Servo motors for turret rotation and elevation
- Arduino or compatible microcontroller
- Clone the repository:
git clone https://github.com/foomoon/ir-turret.git
- Change to the project directory:
cd ir-turret
- Build the project:
platformio run
- Upload the firmware to your microcontroller:
platformio run --target upload
- Connect the IR receiver and transmitter modules to your microcontroller according to the pin configuration in the code.
- Power up the system and ensure that the turret is properly assembled and connected.
- Use an IR remote control to send commands to the turret and observe its movement.
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.