Tuesday, October 28, 2008
Touch Sensor Prototype 5: LED + Flexinol
TriggerPin0 PIN 5 ' Pin that gets the touch sensor input
TriggerCount VAR Byte
LOW 11
LOW 15
TriggerCount = 0 IF TriggerPin0 = 1 THEN
TriggerCount = TriggerCount + 1 ' Check pin0, add to counter
DEBUG "sensor 0 on", CR
ENDIF
IF TriggerPin1 = 1 THEN
TriggerCount = TriggerCount + 1 ' Check pin0, add to counter
DEBUG "sensor 1 on", CR
ENDIF
IF TriggerCount >= 2 THEN ' Both on, turn on flexinol
HIGH 15
DEBUG "both sensors on", CR
PAUSE 1000
ELSEIF TriggerCount = 1 THEN ' Otherwise, turn on LED
HIGH 11
DEBUG "one sensor on", CR
ENDIF
PAUSE 1000
LOOP
Labels: flexinol, piezo, touch
Tuesday, October 21, 2008
Touch Sensor Prototype 4
In this prototype we tested a thicker Flexinol wire (.015 HT) and an AC adapter.

Labels: flexinol, piezo, touch
Tuesday, October 14, 2008
Touch Sensor Prototype 3: Relay

We experimented with a relay to get more power directly to the Flexinol. The Flexinol was unable to take the extra voltage. It produced smoke and quick abrupt movements. We will experiment with a thicker or longer Flexinol wire for our next prototype which will be able to withstand more voltage and will produce greater movement.
Labels: flexinol, piezo, relay, touch
Tuesday, October 7, 2008
Touch Sensor Prototype 2: 2 Touch
TriggerPin0 PIN 0 ' Pin that gets the touch sensor input
Tuesday, September 30, 2008
piezo buzzer input / output
LOW 15
IF TriggerPin = 0 THEN buzzit ' Check for trigger, if pressed turn on buzzer
DEBUG "off", CR ' show off
PAUSE 1000
GOTO Main ' loop
buzzit:
DEBUG "buzzIT", CR
HIGH 15 ' turn on piezo buzzer at pin 15
PAUSE 4000
GOTO Main ' loop
Labels: audio, booth, buzzer, piezo, radioshack, sound
piezo buzzer test
Labels: audio, booth, buzzer, midi, piezo, radioshack, ringtone, sound
Monday, September 29, 2008
Touch Sensor Prototype 1
Here we tried a basic circuit to turn an LED on and off with a piezo vibration sensor. Pressure turns it on, release returns it to off. We created the code from scripts on the parallax website.
Here we hooked up the flexinol as an output. We also added a transistor to the circuit. Pressure on the sensor contracts the flexinol quite noticeably. We noticed the transistor got very hot while the circuit was powered. Did anyone else notice this during prototype 1? We aren't sure if this is a problem.

Touch Script:
' {$STAMP BS2}
' {$PBASIC 2.5}
TriggerPin PIN 0 ' Pin that gets the touch sensor input
Main:
LOW 15
IF TriggerPin = 0 THEN ledOn ' Check for trigger, if pressed turn on led/flexinol
DEBUG "off", CR ' else show off
PAUSE 1000
GOTO Main ' loop
ledOn:
DEBUG "ledOn Called", CR
HIGH 15 ' turn on led/flex attached to pin 15
PAUSE 2000
GOTO Main ' loop
Labels: flexinol, piezo, touch
