The clock assignment has a new extension for this quarter! Our goal is to give you a fun way to build on the work you put into your gpio/timer modules and perhaps sprout a few inspirations that resurface in final projects.
We have a smattering of simple input and output devices available for you to choose from. If you have access to different devices of your own that you want to try, come chat with us to see how it can work out.
Here are some notes and resources for the input and output devices. The manufacturer's datasheet sometimes leaves much to be desired, so we have some suggested tutorials as well.
Inputs
- Rotary encoder knob
- Can turn clockwise or counterclockwise, and press. You can also turn while pressing. Satisfying clicky mechanical feel. I also have a handful of a different type without center press where shaft has LED that turns on/off.
- Possibilities: turn slow one-click-at-time to fine tune, quick sweep to make large change? use press in conjunction with turn to switch between small vs large steps?
- You can seat it into breadboard with some prodding, but prone to popping out due to short, spindly legs
- Try soldering header pins to the legs (see photo below). Will make for a sturdy placement into breadboard and good soldering practice! Soldering supplies are available on bench in back corner of our lab room. Ask one of our staff of the pros at lab64 for a demo if you are new to soldering.
- Try soldering header pins to the legs (see photo below). Will make for a sturdy placement into breadboard and good soldering practice! Soldering supplies are available on bench in back corner of our lab room. Ask one of our staff of the pros at lab64 for a demo if you are new to soldering.
- The manufacturer datasheet is pretty primitive, lighted shaft datasheet is easier to read (design of both encoders is similar). An overview of how a rotary encoder works from Adafruit.
- 5-way navigation switch
- Like a mini-joystick, rock to compass points (NSEW), push down on center. Buttons are exclusive (can only activate one at a time).
- Possibilities: press and release once to fine-tune, press and hold to make large change? move between minutes/seconds and set separately?
- Comes mounted on a breakout board, header unsoldered. After you solder on header, you'll have easy connect via jumpers.
- Manufacturer datasheet for switch. It is basically 5 push buttons bundled into one component. Pinout labels are on underside of board.
- Rotary navigation wheel
- Mash-up of a rotary encoder and a 5-way switch – reminiscent of old iPod for those retro technology enthusiasts.
- Possibilities: everything a rotary encoder can do plus a 5-way navigation switch. Overkill?! :-)
- Comes unmounted, solder to breakout board from Adafruit for ease of connection.
- I have just a few of these.
- Manufacturer diagram
- Mash-up of a rotary encoder and a 5-way switch – reminiscent of old iPod for those retro technology enthusiasts.
- Membrane keypad
- Reports press of single button and multiple concurrent buttons.
- Possibilities: uh, it's a number pad… clear affordance, fewer options for creativity, a little less interesting. Error-check user input (too large, out of bounds)?
- Has dupont connector, run jumpers to breadboard.
- The datasheet for this particular keypad was nowhere to be found, but here is a summary provided by the supplier (ProtoSupplies).
Outputs
- Passive buzzer
- Tiny little speaker, sound quality not bad, retro feel
- Possibilities: play notes/melody, make sound effects (sci fi laser gun, sad trombone), fun!
- Seats like a champ on a breadboard
- Specs from supplier, an overview of passive buzzer from ProtoSupplies
- Vibrating disc motor
- Motor is plucky for its size. Try attaching to a coin and sit on a desk to further amplify the motion.
- Possibilities: buzzy patterns, ramp up/down, S-O-S ?
- Tiny wires not good for direct connect to breadboard (wiggles out when vibrating). Best to solder a graft onto hookup wire/jumper for robust connection.
- Manufacturer datasheet, general info from vendor
- Common cathode RGB LED
- Basically three LEDs inside a diffused casing (red, blue, green)
- Possibilities: ramp dim->bright, color cycle
- Perfect fit on a breadboard
- Tweaking resistor value per individual RGB may help with achieving a more balanced white
- Manufacturer datasheet, an overview of RGB led from ProtoSupplies
Come find me (Julie) to pick up a device. We ask that you return the input device to us so we can reuse them, but you are welcome to keep the output devices.
If you have a different device of your own that you want to use instead, let's talk!