Hydros, Counter Feature or Equivalent

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
15,243
Reaction score
77,677
Location
SW, FL, USA
Rating - 0%
0   0   0
I want to trigger an output based on a counter. For example I want a drive port to be turned off after a momentary switch is activated N times. Can this be accomplished?
I do not know the answer but maybe @n2585722 can provide some insight.
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,815
Reaction score
2,775
Location
Cedar Park, Tx
Rating - 0%
0   0   0
I am not sure how you would do that. That is something I have never thought about trying to do.
 
OP
OP
H

hkinkade

Community Member
View Badges
Joined
Sep 5, 2024
Messages
46
Reaction score
20
Location
Arroyo Grande, California
Rating - 0%
0   0   0
Crusso Kid and Danny,

Thanks for kicking this around. I'll explain more specifically what I need to do, perhaps that will stimulate some ideas.

Based on a custom product I'm making for my reef I need to be able to identify when a device has turned either 1/4, 1/2, 3/4 or all the way around. I plan on placing magnets on a rotating disc (90 deg increments) and then a stationary reed switch to detect when the magnets pass by. I'd like the controller to trigger an output based on the 1/4 intervals of rotation. There will be times I need to trigger the output on 1/4, 1/2, 3/4 or full rotation of the disc. I can do this with four reed switches and four different rings of magnets around the disc, but that requires more channels and clap trap than needed.

I have committed to the Hydros platform for a few reasons, but perhaps automation like this may not be practical with the Hydros.

Any thoughts are welcome.
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,815
Reaction score
2,775
Location
Cedar Park, Tx
Rating - 0%
0   0   0
Crusso Kid and Danny,

Thanks for kicking this around. I'll explain more specifically what I need to do, perhaps that will stimulate some ideas.

Based on a custom product I'm making for my reef I need to be able to identify when a device has turned either 1/4, 1/2, 3/4 or all the way around. I plan on placing magnets on a rotating disc (90 deg increments) and then a stationary reed switch to detect when the magnets pass by. I'd like the controller to trigger an output based on the 1/4 intervals of rotation. There will be times I need to trigger the output on 1/4, 1/2, 3/4 or full rotation of the disc. I can do this with four reed switches and four different rings of magnets around the disc, but that requires more channels and clap trap than needed.

I have committed to the Hydros platform for a few reasons, but perhaps automation like this may not be practical with the Hydros.

Any thoughts are welcome.
Have you thought about using a 0-10v input like they do with the button boxes with 5 push button switches. There is a resistor ladder in the button box that change the voltage at that input. You can setup multiple inputs using the same 0-10v input and set a voltage for it to trigger at. here are some inputs I have setup for one of my 0-10v inputs on my X4. The first one for the bench light has a minimum on time of 30 minutes set. So that light will stay on for 30 minutes and then turn off unless I press the button again and then it will turn off. The others are set to least just 10 seconds unless you hold the button on.

IMG_4322.png

IMG_4323.png

IMG_4324.png

IMG_4325.png
 

afboundguy

acanaholic
View Badges
Joined
Jun 12, 2009
Messages
1,209
Reaction score
771
Location
MA
Rating - 0%
0   0   0
Along those lines could you use something like hall sensors to trigger a voltage reading (1/4 for 1 volt, 1/2 for 2 volts and so on)

Hall sensors are great for triggering things at certain spots when something gets to a certain point. I have no clue if it's possible to equate those spots to specific voltages but I am sure if can be done somehow...
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,815
Reaction score
2,775
Location
Cedar Park, Tx
Rating - 0%
0   0   0
Along those lines could you use something like hall sensors to trigger a voltage reading (1/4 for 1 volt, 1/2 for 2 volts and so on)

Hall sensors are great for triggering things at certain spots when something gets to a certain point. I have no clue if it's possible to equate those spots to specific voltages but I am sure if can be done somehow...
I have my button boxes I made in my build thread on page 9 of the thread and it starts on post 163. The schematic I used is on post 167 but I connected what was in ground to the +5v and what was at +5 to the input connection. I also connected the common on the switches to ground. That also reversed the voltages at a particular switch. If you use Hall sensors and the output can ground in place of the switch it should work. Press on the "My Tank Thread" banner in one of my post to get to by build thread. The schematic is not mine but instead of drawing my own I posted it instead.
 

TOP 10 Trending Threads

Back
Top