Readings • Physical Computing: Pg 284-289 • Read “Getting Started” at • Look at the video and/or text tutorials of Processing at. Programming Processing is a little different from programming Arduino so make sure you familiarize yourself with some of the basics. Before the Lab You should have already completed your color mixer and come up with some way to control the LEDs with 2 or 3 pots. ![]() In Lab Exercise Objective In the past lab, we explored potentiometers (or “pot” for short) which are analog sensors that measure rotation. In this week’s lab, we’ll be exploring two other analog sensors. The first sensor measures light brightness and is called a photocell (or a “phot” for short. Okay, that was a lie). The second sensor measures force and is called Force Sensitive Resistor (or “FSR” for short, for real this time). Thus far, the pot, photocell, and FSR sensors convert some physical action into an electrical characteristic, namely resistance. We measure the electrical resistance with the Arduino and use it as input for our tangible user interfaces. ![]() Example 19-10: Serial communication with Strings import processing.serial.*; int r, g, b; // Used to color background Serial port; // The serial port object void. Serial communication with Arduino and Processing: simple examples and an Arduino based gamepad interfacing with Processing Last updated on Mon, 2010-07-26 13:42. Originally submitted by fabio on 2010-07-24 18:46. Picture doctor 3.0 serial numbers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |