I’m interested in controlling color fields with different sensor inputs. To get started in this direction, I took three different sensors (force sensor, soft potentiometer, potentiometer) and sent them through my Arduino’s analog inputs. I mapped their different input values to 0-255 and assigned each sensor’s values to the red, green, or blue (rgb) control […]
Our Fall courses are online! Enroll today! This Fall we are offering courses in Physical Computing, Rhino 3d Software, Prototyping and Prototyping: Food Sculptures! Click here for Details and Registration!
Two weeks ago I spent time playing with and learning about the flex sensor, as a means to control rgb LEDs – I haven’t gotten it just right yet, because it requires some mapping that I couldn’t get right on last pass… but I think that I could control RGB LEDS even easier with three […]
I wasn’t in class last week but figured out making a dimmer with a Potentiometer, and coded the brightness control by duration of button press – mostly played with different durations.
Little setup following our second assignment that allows a push-button to increase LED brightness the longer you hold the button down, until it resets to zero.
I looked around for interesting beginner applications and decided to try making a traffic light. The sequence worked fine, but I wanted to then add a button so that a user could turn the green light on when necessary – but ran into some trouble with the red LED staying on, will keep working on it till […]
I followed the book and used the sketch to keep on the led after a button press. Then, I added a random integer to serve as a counter that, when reached, would trigger the led. New drinking game?? I haven’t, however, figured out how to change the random integer within the loop and keep the led on […]
Buttons! This exercise was a good way to introduce a physical sensor (button) as a means to control the Arduino. I found the last bit of code in the chapter to be somewhat challenging, with little explanation regarding the new vocabulary that was introduced to help with the “debouncing” issue. Oh well, I sense that things will […]
For this assignment, I made a simple “code breaker” simulator with LEDs. At the beginning of the program, a random 5-digit binary sequence is generated (e.g. o1010 or 10010 etc.). The program then “guesses” random LED sequences (on off on off off) until a guess matches the original sequence. When that happens, the green LED is illuminated and […]
TX AND RX Over the board is basic communication protocol for Arduino to transfer data with PC Serial Ports.In this setup i use the Serial.read(); function to hook the data from pc to Arduino and after i send to code commend on key board over serial monitor, Arduino will receive and read the data from pc and […]