Pages: [1]   Go Down
Author Topic: circuit design  (Read 3306 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
God Member
*****
Karma: 3
Posts: 716
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Montreal
Offline Offline
Faraday Member
**
Karma: 29
Posts: 2590
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
God Member
*****
Karma: 3
Posts: 716
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Lilypad has 6 Analog Inputs, so dont worry about multiplexing.
Logged


Montreal
Offline Offline
Faraday Member
**
Karma: 29
Posts: 2590
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
God Member
*****
Karma: 3
Posts: 716
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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/
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: