CEB Hydraulic Pressure Switch

From Open Source Ecology
Revision as of 22:27, 21 May 2013 by Marcin (talk | contribs) (Created page with "I am using this sensor: http://ecatalog.gemssensors.com/ecatalog/pressure-switches/en/209667 It took me quite a while to find, but is working great and is significantly chea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I am using this sensor:

http://ecatalog.gemssensors.com/ecatalog/pressure-switches/en/209667

It took me quite a while to find, but is working great and is significantly cheaper than anything else comparable I found. I connected one end to ground, and the other to an arduino input pin with internal pull-up resistor enabled. a HIGH signal on the pin indicates low pressure and a LOW signal on the pin indicates pressure over the set threshold. There is a screw to adjust what pressure you want it to switch at. In the code, I have it set so that if the pressure switch detects high pressure during any of the automatic steps, it moves on to the next step. I also have something in there where if the auto cycle completes to rapidly, it stops running. This is for when the the switch is constantly detecting high pressure and it should probably stop what it is doing.

Cebpswitch.png