aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2019-11-03 00:39:49 -0400
committerFranklin Wei <franklin@rockbox.org>2019-11-03 00:39:49 -0400
commit36ad236d538eb5f7d4a4cff4df2e3d9763fef8d9 (patch)
tree9462b76a5327613390447a5dcf0a1ac896914e83
parentc265e81aa18d33a2d2a9427733b93d07d1a8b3c2 (diff)
downloadregentester-36ad236d538eb5f7d4a4cff4df2e3d9763fef8d9.zip
regentester-36ad236d538eb5f7d4a4cff4df2e3d9763fef8d9.tar.gz
regentester-36ad236d538eb5f7d4a4cff4df2e3d9763fef8d9.tar.bz2
regentester-36ad236d538eb5f7d4a4cff4df2e3d9763fef8d9.tar.xz
Add readme
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e418a2e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,17 @@
+# Regenerative Braking Tester
+
+This sketch advances the states of pins 2 and 3 through the following
+states:
+
+1. 2 high, 3 low
+2. 2 low, 3 low
+3. 2 low, 3 high
+4. 2 low, 3 low
+
+Attaching MOSFETs or relays to pins 2 and 3 in an H bridge-like
+circuit will produce acceleration and regenerative braking of an
+attached motor.
+
+The program will also regularly poll the current detected by an ACS712
+Hall effect current probe attached to A0 and output the current (in
+amperes) via serial.