HW05 - james-bern/CS345 GitHub Wiki
Checkpoint (due before spring break)
- A drawing of your desk pet
- A name for your desk pet
- At least one servo working
- At least one part of your desk pet 3D-printed
Hello
Today you will start working on your mid-semester project. 🙂👍 This homework will last 2+ weeks (next week you will also have some other stuff to do, so probably don't put this week's work off.)
- When in doubt, google the part! 🙂👍
- Don't forget what we've learned about making boxes, using screws and captive nuts, etc.
- ⚠️ Do not "short" (accidentally connect) the metal pads and pins on these little boards. Best bet is to solder on header and plug into a breadboard .
Parts
- STEMMA Wired Tactile Push-Button Pack - 5 Color Pack
- Adafruit Metro Mini 328 V2 - Arduino-Compatible - 5V 16MHz
- Adafruit BH1750 Light Sensor - STEMMA QT / Qwiic
- Adafruit I2C Stemma QT Rotary Encoder Breakout with NeoPixel
- Continuous Rotation Servo
- Breadboard-friendly 2.1mm DC barrel jack
- 9V battery holder with switch & 5.5mm/2.1mm plug
- 4 x AA Battery Holder with 2.1mm Plug and On/Off Switch
HINT
- You can print to the Serial Monitor using
Tools
->Serial Monitor
Spec
- A-
- (Not Submitted) Before soldering anything, verify you can connect to the dev board and upload & run the Arduino Blink program.
- You may need to select
Tools
->Port
->COM ??
.
- You may need to select
- (Not Submitted) ⚠️ Disconnect the dev board from USB-C before soldering!
- (Not Submitted) Solder male header to the dev board and plug into your breadboard (make sure is "straddles the ravine").
- (Not Submitted) Get a button working to turn on the built-in LED.
- (Not Submitted) Get a button working to turn on an external LED.
- NOTE: You must use a resistor in series with the LED (https://forum.arduino.cc/t/why-do-i-need-a-resistor-when-using-leds-on-an-uno/366861)
- (Not Submitted) Get the knob working (it also has a RGB led 🙂)
- https://www.adafruit.com/product/4991
- Note: Make sure to solder the big pads too!
- (Not Submitted) Get the big continuous rotation servo working.
- How to wire a servo to an Arduino with external power.
- Make any sort of robotic desk pet.
- Use one light sensor and at least one servo.
- (Not Submitted) Before soldering anything, verify you can connect to the dev board and upload & run the Arduino Blink program.
- A
- Make your robotic desk pet fabulous.
- (Deadline: before spring break) Design a carrier board for your Metro Mini in KiCad and send to Jim (make sure it works on OSH Park)
- A+
- Make your robotic pet transcendent.
- It should seem cute and alive. 🙂👍
- Make your robotic pet transcendent.