@ferpando Hi, I am installing your HomeRelay_1 program (16 relay with Arduino) and would like the MyBuffer.h and MyBuffer.cpp. The only ones I have found have (sensor, type) for buffer.push where you actually have (sensor, type,string data). The program will not compile on v1.6.5.
Thank you for all that you do for the community!
Posts made by fusion_man
-
RE: 16 relay with arduino. Change many at the same time
-
RE: Irrigation Controller (up to 16 valves with Shift Registers)
I already did and it is up and running. I used A0 as the input for the rain sensor. I can see the rain sensor in Vera as a motion sensor. I didn't post the code as I didn't want to offend the designer. Being a newbie, I didn't know how to handle this update.
-
RE: Irrigation Controller (up to 16 valves with Shift Registers)
I ended up going a different approach. I modified the program so I could use Arduino digital pin6 as an output powering my master valve relay. I then added digitalWrite (masterValvePin, HIGH) where you have updateRelays(BITSHIFT_VALVE_NUMBER) to turn ON the valve. To turn off the valve I added a delay then digitalWrite (masterValvePin, LOW) to if (state == STAND_BY_ALL_OFF). This has tested perfectly for my situation.
The only thing missing from the Controller is the ability to add the RainBird rain sensor to the board. I think the way of achieving this is an input to my Vera controller. -
RE: Irrigation Controller (up to 16 valves with Shift Registers)
By commenting out the DEBUG, it went from 99% to 63% used memory.
The modification to void updateRelays worked very nicely. I only wish the master control valve would remain ON during cycling through each valve (subjected to VALVE_RESET_TIME) as I am using it to control a chemical feed pump to prevent hydrogen proxide (30%) from entering my irrigation system.Awesome job and I am very pleased with your design.
The only problem I had when building the controller was getting the LCD to communicate.
I added this comment to my program under Instructions.- If your LCD is unresponsive, download sketch http://forum.arduino.cc/index.php?topic=128635.0 then check serial monitor for LCD address. Insert your address below.
-
RE: Irrigation Controller (up to 16 valves with Shift Registers)
I need to add a relay for a master valve. This will open when any zone valves open. I think it could be mapped to All On 0(1) but I am not sure how to accomplish this. I don't know the code for that or electrical connection. I also noticed we are about maxed out of data (99%) using ProMini. Any ideas?
-
RE: Propane Fuel Level Sensor to Vera
@BulldogLowell
That is some awesome advice! I will attempt this in the near future. Thanks -
RE: Propane Fuel Level Sensor to Vera
Thanks BartE,
I got it to compile.
I had to make a few declarations:#define SENSOR_ID 0 #define LEVEL_PIN 0 #define MAX_READING 100
And typo here:
gw.present(SENSOR_ID, S_LIGHT_LEVEL, "LightLevel");
Unfortunately I am unable to test as my Nano has the chipset of CH340G which Vera doesn't like.
I will see the results as soon as the Nano with chipset FT232RL comes in.
Will I see the new sensor in my Vera defined as FuelLevel? -
Propane Fuel Level Sensor to Vera
I would love to hear some ideas and/or code for processing fuel level to my Vera3 using a Pro Mini.
I am using Vera3 UI5 1.5.622 and have an Arduino Gateway installed.
I am attempting to obtain Propane Fuel Levels remotely using Rochester DS-923 Sending unit (5 ohms empty and 92 ohms full).
It would be hard wired to an analog input on the Arduino Pro Mini. I have not seen any type of level gauge on Mios Apps. I need to create a sketch and send it to Vera via Ardunio Gateway.
Any Ideas?