User Manual
Wiring Diagram
CircuitPython Code
This project has a foot pedal potentiometer that controls the speed of the TT motor that spins the platter around. Since
foot pedals are rheostats (variable resistors) you need another resistor to finish the divider. We use a plain 10K, any
value from about 4.7K to 47K will do fine.
When not pressed, the analog reading value is about 700. When pressed, the reading goes down to about 50. You
may need to calibrate these numbers for your foot pedal!
We map the analog press values to motor speed, our max speed we want is 0.5 throttle (1.0 was waaay to fast) using
our simple mapper helper. If its our first time pressing the pedal, we play the audio file 3 seconds later, to give some
ambience.
You can also press the A button to turn on/off some pretty NeoPixels.
Adafruit NeoPixel LED Dots Strand - 20 LEDs at 2" Pitch
$27.50
IN STOCK
ADD TO CART
import time
from digitalio import DigitalInOut, Direction, Pull
from adafruit_seesaw.seesaw import Seesaw
from adafruit_seesaw.analoginput import AnalogInput
from adafruit_seesaw.pwmout import PWMOut
from adafruit_motor import motor
from busio import I2C
© Adafruit Industries
https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-
construction-kit
Page 134 of 201










