View Full Version : using BS2 with the eTape
01-31-2010, 12:13 AM
Is there any way to make the stamp read the ohms of the eTape kind of how the ping sensor can read distance. Im at a loss for ideas here any help would be wonderful. thanks
OK, I'll take the bait. What's eTape?
·"If you build it, they will come."
01-31-2010, 12:40 AM
i believe he's talking about this...
you can use RCTIME with the eTape and a 0.1mf cap as detailed in the sample code and documentation found in the above link.
01-31-2010, 01:48 AM
Matt if you go to the etape page listed above and download the eTape Liquid Level Sensor Example Code (.zip) there are EXAMPLES in there (go figure)
01-31-2010, 02:21 AM
what i am trying to do with it is keep the water level in a tank between 2 levels. I am just not sure what would be the easiest right now to do it with RCTIME or voltage divider. all i want to be able to do is compare the current value on the sensor to the lower bound where the pump kicks on and the upper bound where the pump turns off and waits for the level to drop back down.
what i was asking before now that I look at it that was kinda a dumb way to ask it is if the stamp can just measure resistance straight up without using RCTIME
01-31-2010, 02:51 AM
no, the bs2 only utilizes digital i/o, it will not read or output analog signals directly. you will have to use either the RCTIME or an external analog to digital chip.