Overunity.com Archives is Temporarily on Read Mode Only!



Free Energy will change the World - Free Energy will stop Climate Change - Free Energy will give us hope
and we will not surrender until free energy will be enabled all over the world, to power planes, cars, ships and trains.
Free energy will help the poor to become independent of needing expensive fuels.
So all in all Free energy will bring far more peace to the world than any other invention has already brought to the world.
Those beautiful words were written by Stefan Hartmann/Owner/Admin at overunity.com
Unfortunately now, Stefan Hartmann is very ill and He needs our help
Stefan wanted that I have all these massive data to get it back online
even being as ill as Stefan is, he transferred all databases and folders
that without his help, this Forum Archives would have never been published here
so, please, as the Webmaster and Creator of these Archives, I am asking that you help him
by making a donation on the Paypal Button above.
You can visit us or register at my main site at:
Overunity Machines Forum



Water Level Indicator...For HHO project.

Started by HeuristicObfuscation, December 29, 2013, 02:18:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HeuristicObfuscation

If your looking to have an indicator for your water projects this is a neat circuit.. enjoy..

http://www.youtube.com/watch?v=38C87blai...VoLnAJKwRw

Justalabrat

Something is wrong with the video, it doesn't run.


TinselKoala

@HO:
When I watch your videos, one word keeps popping up in my mind:

ARDUINO.

Your various projects are perfect targets for Arduino control. One Arduino Uno will replace all the timer and logic chips that I've seen you use in your projects, and you'll have much more flexibility for your controls. For example your "Sequencial Voltage Amplitude control" can be done with just the Arduino and the potentiometer, no timer or other chips needed. A little programming change and you can vary the amplitude, or even have each LED (or whatever switching element like SCRs or mosfets) to stay on for a different length of time. And/or you can program in different time sequences: say you want to run at 10 Hz, 50 percent power for the first 23 minutes then ramp up over a span of 5 minutes to full power and 5 Hz for the next 43 minutes ... easy to do with Arduino programming. The water level sensor can also be implemented very easily with Arduino.

The basic program "sketch" code below is tested and works to do the same thing as the "sequencial voltage amplitude control" video shows. Timing and sequencing etc can be changed very easily in the code, you don't have to change component values at all. Say you want very long ON times: just change "maxDelay" from 1000 ms to 10000 ms, then each LED will stay on 10 seconds when pot is set to max delay. Etc.




// Example sketch to light LEDs in sequence with variable speed control (Does what "sequencial voltage amplitude control" video shows)
//
// Put LED anodes to Digital Pins 2-13 (12 LEDpins) with 470 ohm resistors from each cathode to Arduino Ground pin.
// Put potentiometer (any value) with legs from Arduino +5v and Ground pins, wiper to Analog Pin 0 (potPin).
// Comment lines starting with "//" aren't executed.

  //first initialize some variables by name, setting type to "integer" and some initial values:

int LEDpin = 0, potPin = 0, maxDelay = 1000, minDelay = 10;
  // set LED max and min ON times here in milliseconds by changing these values

  //then loop thru to set all LED pins as digital outputs (which give +5 volts as "high" and ground as "low")

void setup() {
for (LEDpin = 2; LEDpin < 14; LEDpin++)
pinMode(LEDpin, OUTPUT);
}

  // Then comes the main program loop to light each LED for the time set by the potentiometer's "analog read" value
  // which is read as a value between 0 and 1023 at the "potPin".  These values are "mapped" to delay values between 1000 ms and 10 ms.
  // The LED stays on for the delay time then turns off.

void loop(){
for (LEDpin = 2; LEDpin < 14; LEDpin++) {
digitalWrite(LEDpin,HIGH);
delay(map(analogRead(potPin),0,1023,1000,10));
digitalWrite(LEDpin,LOW);
}
}



HeuristicObfuscation


Thanks for the observation.

Ive been meaning to get into the arduino. Just been delaying due to time investment in the programing side.

Im more  hardware inclined but i due realize the benefits of bieng able to control outputs with the stroke of a key.

Any recomendations on best way to get started?