Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
T

Topdawg2881

@Topdawg2881
About
Posts
7
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem with NRF24L01+PA+LNA (Gateway - Sensor Connection)
    T Topdawg2881

    Don't forget that also a good idea is to throw a capacitor on the power for the radio. I have had decent luck not running one on the regular radios , but when you go up to the power amplified radio I feel it is absolutely necessary. A lot of irregularities can be traced to bad and noisy power.

    Hardware

  • Momentary button to control lights
    T Topdawg2881

    Someone better than me may be able to help further, but another thing you define NumberPushes as equal to 0 in the loop function. Every time the loop runs through it will set it equal to 0. I would define the integer as equal to 0 in the setup or prior to the setup so that your NumberPushes ++ function will actually count correctly.
    Also what does your debug info look like? If I remember correctly if you do not connect to the gateway the loop will not run correctly.

    Troubleshooting

  • Momentary button to control lights
    T Topdawg2881

    To start off with I would place the button on an interrupt pin and add an interrupt into the sketch. This way the interrupt can trigger the read of the battery voltage sense and also send that information along with the button change status.

    Troubleshooting

  • Timer Help
    T Topdawg2881

    The main problem is that you are delaying the tempo time. When you use "delay" everything stops for that amount of time. Try using millis. compare current millis to val and if it is greater than a set amount do something else.
    Thomas

    My Project

  • Irrigation Controller (up to 16 valves with Shift Registers)
    T Topdawg2881

    @dbemowsk
    You beat me too it. I added the same line in same location and it works perfect. Every so often I see the raindrop icon to show that it is pulling data to update the valve times.

    My Project

  • Irrigation Controller (up to 16 valves with Shift Registers)
    T Topdawg2881

    @dbemowsk
    I am in front of my computer and I have my controller in front of me and hooked up. Give me a couple minutes and I will run it. See what happens.

    My Project

  • Irrigation Controller (up to 16 valves with Shift Registers)
    T Topdawg2881

    @dbemowsk
    I had this same issue. What I did to fix the issue was I commented out in the void loop the line to goGetValveTimes. I then added the timeAlarms library and set a timer to get valve times once every five minutes. The section of code looks like this. Alarm.timerRepeat (300,goGetValveTimes);
    I inserted that line as the last line of cade in the void setup

    My Project
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular