Go Down

Topic: circuit design (Read 3581 times) previous topic - next topic

bboyinteractive

Hi all

I'm trying to make an interactive costume for a dance performance. The dancer will be wearing this costume

http://1.bp.blogspot.com/-V_Mf_tgYLdM/UVtJssvlnhI/AAAAAAAAA0Y/OKUzmlsQp6E/s1600/Untitled-3.png

I will be using 2 flex sensors, 1 pressure sensor and 2 accelerometers.

I already tested the flex sensor and the pressure sensor with alligator clips using the websites listed below and I was able to get consistent readings

http://bodiesinterfaces.unsw.wikispaces.net/flex_sensor
http://bildr.org/2012/11/flexiforce-arduino/
http://bildr.org/2012/11/flex-sensor-arduino/

My question is if I sew all 5 sensors to one Lilypad (2 inputs from the flex sensors, 1 input from the pressure, and 3 from the accelerometer) will I need to change the value of the resistors? i.e. Will I need to change the 22k Ohm resistor for each flex sensor to another resistor and the 1M ohm for the pressure sensor to another resistor?

What other considerations should I be aware of when designing and sewing the circuit? Are there any useful circuit design apps/resources/etc.?

Thanks so much

fkeel

I did not look at the tutorials you are using, however, if they worked individually, they should simply work collectively as well. no need to change anything.
http://embodimentlabs.tumblr.com/
http://paulstrohmeier.info/

Magician

Each sensor should be connected to separate analog input (flex and flexiforse - you call it's pressure?). Than nothing to change.
What about accelerometers? Do you have enough analog inputs for them?
If not, than options: use multiplexer or accelerometers with I2C/SPI digital interface

fkeel

Lilypad has 6 Analog Inputs, so dont worry about multiplexing.
http://embodimentlabs.tumblr.com/
http://paulstrohmeier.info/

Magician

Quote
Lilypad has 6 Analog Inputs, so dont worry about multiplexing.
Sure? My understanding: 2 accelerometers with 3 outputs each = 6 analog lines

fkeel

hm. you are right, I misread.

In that case, bboyinteractive could use this multiplexer:
https://www.sparkfun.com/products/9056

and follow this tutorial:
http://bildr.org/2011/02/cd74hc4067-arduino/
http://embodimentlabs.tumblr.com/
http://paulstrohmeier.info/

bboyinteractive


Each sensor should be connected to separate analog input (flex and flexiforse - you call it's pressure?). Than nothing to change.
What about accelerometers? Do you have enough analog inputs for them?
If not, than options: use multiplexer or accelerometers with I2C/SPI digital interface


thanks for the great responses fkeel and Magician! I forgot to point this out but the plan with each accelerometer is to tie all 3 outputs (x, y, z) into a metal button (using conductive thread) and then have a single strand coming from the button and into 1 of the analog inputs. I don't know if that would work which is why the multiplexer sounds like a better idea.

Time permitting, Id like to add a gyroscope. So I should have 2 inputs for each flex sensor, 1 input for the pressure sensor, 2 for each combined (x, y, z tied into 1 strand )accelerometer, and then 1 remaining input for the gyroscope.

I'll look into this multiplexer idea some more though. It sounds like it would be better than my initial idea

Go Up