Assignments

Week 6 Assignment: LED Circuits

Hi guys,

 

Here are the videos and schematics: one parallel circuit and one series circuit.

Parallel Circuit

Series Circuit

Schematics + Calculations

This is the first thing I’ve ever done with electricity (let alone p.comp) and it’s so much fun! It’s amazing how exciting it is to make three little LEDs to light up. So far, everything seems pretty clear. The only thing I’m a little unsure about is the calculating the voltage, current and resistance of the series circuit. I think I could use a quick break down of the math – but Liza, I’ll come to office hours and talk to you if I’m the only one!

Here’s a link to the repo for this post: Oct9HW

Anyway – I can’t wait to find out what’s next!

A

Assignment for Oct 9

Hey soon-to-be robot masters! Here is your assignment for next week:

1) Build two circuits using THREE LEDs minimum and a switch. One should be in parallel and one should be in series. Document them working (video) and bring at least one to class. It should also be working.
2) Calculate the voltage, resistance, and current for each.
3) (Hand)draw the schematic for each.
4) Write a few sentences reflecting on last class. What was exciting? What was confusing? What needs more clarification? What was difficult? I will use these to guide next class, so it totally behooves you to meditate on this for a second.
5) Just to keep you in the Git Groove, copy/paste the text of your blog post into a text doc and push it to Git Hub.

For #2 and 3:
We obviously didn’t review the last two much in class. This was intentional. Hit the interwebs for answers. Also, I want to see HAND DRAWN pictures on the blog with the schematics and equations worked out. If you prefer Illustrator or another program, that’s fine too, but I want to see all of your work.

Also, you should bring all your Arduino stuff to every class until further notice.

Library: layers

 

Here is my github link.

Last week I meet a problem with the winter sweet sketch.

As I wrote a “for loop” statement in the class sketch to draw the flower, in order to control the amount of the petals, it doesn’t work.

The reason is that there is no “void draw” in class sketch to complete the “for loop” statement.

 

And this week, I found a useful library called LAYERS, which could solve my problem.

The Layer library is some kind similar with class. But the biggest different between is that each layer could be controlled separatedly if you use the layers library. Because there is also a “void draw” in each layer. Here is the link of Layers.

 

  However, I meet new problems this week that after I used Layers library, my sketch ran quite slowly. It would take a few seconds when I clicked my mouse to draw a flower. 

Week 4 Assignment: Robot De Niro + GitHub

 

This week, I used the TTS library (which reads text) and the ControlP5 library that we installed during class to create a robot that you can have a conversation with. Basically, you enter certain prompts and it says things back. Of course, it’s super limited but it’s a start! Also, when the voice said “Robot” I thought it sounded like “Robert” so I turned the robot into Robert De Niro.

Here’s a link to the repo: CCLab_RobotDeNiro.

And here’s a screencast: Robot DeNiro Screencast

Have a great weekend!

Week 4 Assignment

Yall did a great job last week! We covered a lot, so if you have any questions – especially about OOP – please let me know. Here is your assignment for next week:

1) Find a contributed library that you think is interesting. Download and install it. Take an example sketch and significantly modify it (this means doing much more than changing the color, for example).
2) You must write and include a class in your sketch.
3) Finish setting up Git via terminal/command line and register for an account on Github. Watch Caitlin’s video (the link is in the slides) and practice adding, committing, and pushing to Github. You must post the above sketch onto Github and provide a link to it in your post.
4) BRING YOUR ARDUINO SUPPLIES NEXT WEEK!!!

Also, if you find a sketch or project that you think is cool, POST IT!!!! (Category = Inspiration) Remember, sharing is caring :)