RemoteNerf is a device that allows to control a Nefr Gun attached to a frame.
Project includes two STM devices: STM Discovery to control rotation of the gun and STM Disco for trigger control. Rotation is accomplished by two servomechanisms controled by potentiometers: one for horizontal and one for vertical movement. Electric trigger of the gun is controled by a relay. Gun used in the build is Nerf Elite HyperFire. System allows to rotate the gun and fire from it at any moment.
Hardware
- STM32F407G-DISC1 board
- STM32L100C-DISCO board
- TowerPro SG-5010 servomechanism
- PowerHD AR-3606HB servomechanism
- Nerf Elite HyperFire
- 2 relay module
- WaveShare LM386M amplifier module
- Wodden frame
Software:
- STM32CubeMX
- System Workbench for STM32
- STMStudio
- C language and HAL Libraries
Pinout for STM32L100C-DISCO:
PIN | TOOL |
---|---|
PA1 | RELAY IN1 |
PA2 | RELAY IN2 |
PA3 | BUTTON |
PA4 | BUTTON |
VCC 5V | RELAY VCC |
GND | RELAY GND |
Pinout for STM32F407G-DISC1:
PIN | TOOL |
---|---|
PA1 | ADC1 |
PA2 | ADC2 |
PB6 | AR-3606HB SIGNAL |
PB7 | SG-5010 SIGNAL |
VCC 3V | LM386M VCC |
GND | LM386M GND |
GND | COMMON SERVO GND |
Servos are connected to external 5V energy source.
Ordinary project build and compilation in System Workbench for STM32.
- Stronger servomechanisms with higher torque
- Communication with external controler via WI-FI module ESP8266
Based on MIT license
Created by Artur Bałczyński & Szymon Wasilewski
The project was conducted during the Microprocessor Lab course held by the Institute of Control and Information Engineering, Poznan University of Technology. Supervisor: Tomasz Mańkowski