For now, assume you will plug in a 5V wall adapter to the 2.1mm DC jack. This DC jack is the only way to provide power to Crickit. There's a USB jack (covered at the bottom of this section) but you cannot power the Crickit that way (the USB jack is only for debugging seesaw!)
Use 5V DC (4V to 5.5VDC range works) with positive-center voltage. If you try to plug in a negative-center power supply, the polarity-protection will kick in and you will not see any lights on the Crickit.
The Crickit uses a power management chip to keep you from accidentally powering it from 9V or 12V, damaging your electronics. Look for the OK and /!\ warning LEDs. If you see the green OK LED, the power is fine! If you see the red warning LED, the voltage is too low, too high, or too much current is being used.
You can turn off the Crickit at any time with the On/Off switch. This will turn off the 5V power, completely disabling all motors, as well as turning off the seesaw control chip.
There's also a Reset button. This button will reset the seesaw chip, and can be used to load new seesaw firmware (you won't likely have to do that). On the Feather Crickit, this button also connects to the Feather reset pin. On the Circuit Playground Crickit, it does not connect to the Playground Reset button.
On the Feather Crickit only, if you double-click the Feather reset button to load new firmware, such as a new version of CircuitPython, the Crickit will also go into double-click firmware-update mode. After you load the new firmware on the Feather, wait for the firmware to start up, and then click the reset button again, once, to get the Crickit back into regular operation mode.
Power options to consider:
- The white/yellow 'signal' wire goes next to the # marking on each port.
- Each servo is controlled by a 16-bit hardware timer at 50 Hz so you will not see any jitter. The signal line is 3.3V logic
- The power to each servo comes from the DC power supply, 5VDC nominal.
- The Crickit can set the pulse width to any value, but in general you'll want to stick to 500ms to 2500ms wide pulses. This is customized in the Arduino, CircuitPython or MakeCode software.
- There is variation from servo to servo, so getting the exact same speed or angle may require some calibration and tweaking. Again, this can be customized in the driver code, the Crickit just generates whatever pulses you like!
The seesaw chip on the Crickit does all the management of these pins so your Feather or CPX does not directly control them, it must send a message to Crickit. They are on seesaw pins 17, 16, 15, 14 in that order.
Typical Adafruit Hobby Servos to consider:
The power to the motors comes from the DC jack, about 5VDC so you can control 3V-6VDC motors, which are very common. The motors can be bare motors or with a gear-box attached
You won't be able to control 1.5V DC motors, they'll burn out. You might be able to control 6-9VDC motors, but they'll be a little slow. Same with 12VDC motors. Likewise, you cannot use the Crickit with brush-less (ESC) motors. Those require a more advanced motor driver!
- Each motor has two wires, you can connect the wires either way. If the spin of the motor is opposite what you want, swap the wires.
- Each motor drive has a 1 Amp peak output. After that, the over-current protection will kick in
- We don't recommend paralleling the output to get twice the current because the seesaw chip cannot guarantee that both will turn on/off at the same time
- Instead of 2 DC motors, you could also control a single bi-polar stepper motor (5VDC power) or single uni-polar stepper motor. You'll use the ground pin for the 5th (and 6th, if it exists) wire of the uni-polar stepper.
- Uses the DRV8833 dual H-Bridge motor driver chip
The seesaw chip on the Crickit does all the management of these pins so your Feather or CPX does not directly control them, it must send a message to Crickit. They are on seesaw pins 22 + 23 (motor 1) and 19 + 18 (motor 2)
Typical Adafruit Motors to consider:
- 500mA current limit per output, you can double/triple/quadruple pins up to get more current, if you like. Just make sure to tell the Crickit to turn on/off all four pins in a row.
- Kick-back protection diodes for each output to 5V power.
- Uses a ULN2003 Darlington driver
- Instead of 4 solenoids/relays you can connect & control a single uni-polar stepper motor, connect the 5th (and 6th if it exists) wire to 5V. Won't work with bi-polar steppers, use the DC motor ports for that.
- The drive outputs are also PWM-able, so you can control LED brightness or motor power. If using with solenoids or relays, set the duty cycle to 0% or 100% only.
- Advanced usage: If you want to drive higher-voltage non-inductive/motor devices, like 12V LEDs, you can power the positive line of the LEDs from 12V, then connect the negative line of the LEDs to drive pins. Make sure your 12V power supply ground is connected to the Crickit ground. Not recommended unless you feel confident you won't accidentally put 12VDC into the Crickit! Kick-back diode wont work in this case so not for use with motors/coils/solenoids...
The seesaw chip on the Crickit does all the management of these pins so your Feather or CPX does not directly control them, it must send a message to Crickit. They are on seesaw pins 13, 12, 43, 42 in that order.
- All pins are 3.3V logic level
- All pins can read analog inputs (potentiometers, bend sensors, etc) at 12-bit resolution
- All pins can be set to outputs with high (3.3V) or low (0V) voltage
- All pins can drive about 7mA when set to outputs
- All pins can have an internal ~50Kohm pull-up resistor set when used as an input
- Bonus: If you absolutely need more capacitive touch pins, Signal #1, #2, #3, #4 are four more capacitive touch inputs.
Signal pin #1 is special and can be set to be a true analog 'output' with 10-bit precision.
The seesaw chip on the Crickit does all the management of these pins so your Feather or CPX does not directly control them, it must send a message to Crickit. They are on seesaw pins 2, 3, 40, 41, 11, 10, 9, 8 in that order
- Capacitive touch works best with highly-conductive materials like metal
- But you can have the metal also connect to salty-wet items such as fruit or water. However, do not try to dunk the Crickit into water or squish a grape into the pads - use an alligator clip!
- Bonus: if you absolutely need more signal I/O pins, all four capacitive touch pads can also act as analog/digital signal I/O pins!
The seesaw chip on the Crickit does all the management of these pins so your Feather, micro:bit or CPX does not directly control them, it must send a message to Crickit. They are on seesaw pins 4, 5, 6, 7 in order.
This output is slightly different depending on what kind of Crickit you have
- If you have a Feather Crickit then the NeoPixels are driven by the seesaw chip on the Crickit, and you must send seesaw commands to set colors. But that means no extra pins are needed from your Feather.
- If you have a Circuit Playground Crickit then the NeoPixels are driven by the Circuit Playground A1 pad by default. This way you can use the MakeCode emulator and built in Circuit Playground CircuitPython library. However, if you want, you can cut the jumper underneath the Crickit and solder closed the ss pad so that the seesaw chip controls the NeoPixels (for advanced hackers only).
- If you have a micro:bit Crickit, NeoPixels are driven by Pin 16. You can use the NeoPixel Extension in MakeCode, specify Pin 16 as the pin the NeoPixels are connected to and you're set. However, if you want, you can cut the jumper underneath the Crickit and solder closed the ss pad so that the seesaw chip controls the NeoPixels (for advanced hackers only).
If you choose to have the NeoPixel driven from the seesaw, note it is on seesaw pin #20
Adafruit sells a very wide variety of NeoPixel products - shop here in the Adafruit Store!
At this time, we recommend using the speaker with CircuitPython. MakeCode and Arduino can make tones but don't have easy to use features such as WAV file support.
- Class D audio amplifier
- Can drive 4Ω to 8Ω speaker. Up to 3W with 4Ω and up to 1W with 8Ω
- There's a small potentiometer you can use to adjust the audio volume. By default we set it to the halfway point. Please be gentle if adjusting, don't try to crank it past the two stop-points.
- Ouput is 5VDC BTL (bridge-tied-load) so do not connect to a stereo system or other line-input!
- On the Circuit Playground Crickit the speaker is connected directly to the A0 pad (the analog output).
- On the Feather Crickit the speaker input is marked Audio on the PCB and you can solder a jumper to the Feather A0 pin if desired.
- On the micro:bit Crickit, the speaker is connected to Pin 0, the standard micro:bit audio output pin.
Speakers to consider:
The seesaw chipset is the programmed ATSAMD21 processor in the south section of the board. It comes with its own parts too
Across from the power input is the seesaw debug USB connection. This USB power cannot power the Crickit and it also does not connect to the Feather or Circuit Playground USB.
It's only for debugging/reloading seesaw firmware. Basically, if we add more Crickit capabilities, you could load new firmware over this USB connection. In general, you won't be using this port, you may want to cover it with some masking tape!
To the right is a yellow Activity LED, which will flash when seesaw sends/receives commands from your Circuit Playground or Feather. To the left is a seesaw NeoPixel. You can control this NeoPixel if you like, to give you status information, as an advanced usage
The internal NeoPixel is on seesaw pin #27