Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bidpl/drillGunBoard
Browse files Browse the repository at this point in the history
  • Loading branch information
bidpl committed Dec 26, 2021
2 parents 69e3e1f + 93ca137 commit 3c97890
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ Code for FRC control board. Manual control FRC motors and air compressor.

We use 12v drills to power 12v FRC motors, (CIMs, BAGs, etc) by removing drill spindle and connecting to motor leads. However, it can not supply large amounts of power. It can not drive Neo motors due to their brushless nature.

This code is for a meant for a test rig that take a pot input and controls PWM motor controlers (Talon SRXs are used in this build).
This code is for a meant for a test rig that take a pot input and controls PWM motor controlers (Talon SRXs and Spark Maxes are used in this build).

Features:
Control multiple motors (up to 4)
Control multiple motors (up to 4) (Control moudes v1.1 and v1.2 have support for 5)
LCD readout for motor power

Documentation is a bit scuffed, I only used the repo while developing the first version (v1.0), didn't for later iterations (v1.1/1.2)

v1.0 was based on an arduino uno with regular potentiometers. The arduino by itself was limited to Talon SRXs since it could not generate a stable enough PWM signal for the Spark Max. This version used regular pin headers and cheap dupont wires so it suffered some durability issues (connections were terrible, shaking the testing rig could disconnect parts).

v1.1/1.2 is uses a custom control module (based on an ATMEGA32P, programs exactly like an UNO) that has an additional PWM driver chip (PCA9685). This chip can generate a proper 50hz PWM signal so it can control Spark Maxes as well. This version also uses locking connectors (JST-XH between input modules and the control module, Molex SL connectors for control module to motor controllers).

0 comments on commit 3c97890

Please sign in to comment.