Archive for October, 2008

PComp: Week 4: Analog Out

Monday, October 6th, 2008

Servo motor: Used photoresistor: when hand was very close – it shook more.
int pulse: 350 – small resistor
int pulse: 0: large photoresistor – less control
Running my hand over made servo go left and right
Serial 220-390
Near: right. Far: left.
analogValue = 200

I didn’t know it was directional. The flex sensor didn’t really work, but I think I just need to make adjustments to the code. I used my hands and touched the exposed wire and that seemed to generate a better response.

Pressure Sensor (FSR): press – right, let go – left: most responsive

Also used pot with one 10k resistor, but when turned all the way up – started burning. When turned all the way down, it shut off.

PComp: Week 3: Electricty

Monday, October 6th, 2008


Arduino power: Measured 9.03 DC volts

Silicore AC/DC Adaptor: 13VDC/0.8A: Measured 16.52-16.59
Used the above adaptor initially assuming it was the 13 volts as stated, but smoke started to come through the breadboard. I quickly unplugged and measured the adaptor getting the 16+ range. That’s a good lesson in measuring things first.

ON
LED: 2.37
RESISTOR: 6.54

OFF:
LED: 0.02
RESISTOR: 0.00

POWER: 8.95 (STRAIGHT FROM WIRES)

Mistakenly connected one wire of switch to end of resistor lined up w/ LED (instead of other end of resistor). Made green LED turn amber. Basically started to burnout.

LED IN SERIES:
RED LED: 4.44/5 Looked like it may be slowly burning out
ORANGE LED: 4.32

LED IN PARALLEL:
BURNOUT
ADDED 220 RESISTOR WORKED
GREEN LED (CLOSEST TO RESISTOR): 1.94
YELLOW LED: 1.94
RED LED: 1.94

VARIABLE VOLTAGE W/ POT:
ALL THE WAY UP: 3.335
ALL THE WAY DOWN: 0.00
MIDWAY: 2.87

eXTReMe Tracker