Using voltage divider with BS2 and adc083
TonyA
Posts: 226
Hi,
It would be greatly appreciated if anyone can offer any advice/help concerning the use of a voltage divider with the BS2 and adc083.
I am attempting to use a product made by I-cubex called the "slidelong". I thought it was a variable force sensitive resistor, but it turns out it is actually a voltage divider and would require the use of an adc chip.
I'll be using it as a midi ribbon controller.
If anyone could offer any advice, referrences or help it would be much appreciated. Thank you.
Tony
It would be greatly appreciated if anyone can offer any advice/help concerning the use of a voltage divider with the BS2 and adc083.
I am attempting to use a product made by I-cubex called the "slidelong". I thought it was a variable force sensitive resistor, but it turns out it is actually a voltage divider and would require the use of an adc chip.
I'll be using it as a midi ribbon controller.
If anyone could offer any advice, referrences or help it would be much appreciated. Thank you.
Tony
Comments
You don't mention how much accuracy or resolution you're trying to achieve, but take a look at the PBasic RCTIME command either in the PBasic Manual or in the PBasic Editor Help file, which you may be able to use in this application. I believe both show examples of its use. Essentially the resistor (variable resistance) will become part of an R/C circuit, and you'll be measuring the charge/discharge time. The math required is shown in the examples as well.
Regards,
Bruce Bates
I was thinking of trying the adc0831. Maybe another adc chip would be better suited for midi applications?
I was using a very simple program that made extensive use of the rctime command to read a photoresistor/capacitor, it worked well, sending midi messages out to a drum machine.
I thought this strip I bought was just a variable resistor (FSR), but it's really a voltage divider. At first I thought I could still use the rctime command, but maybe things will be more accurate if I used am adc chip. Should I sue a different adc chip?
Thanks for the info and great help.
Tony
Thanks again,
Tony