Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. sketch
    Log in to post

    • Mr_sensor

      Temperature sensor sketch only sending battery info to mqtt
      Hardware • sketch • • Mr_sensor  

      4
      0
      Votes
      4
      Posts
      900
      Views

      rejoe2

      You seem to send the temp messages under a different ChildID than it is presented: presentation takes "1", send uses "0". You have to allign that, e.g. by using send(msg.setSensor(i+CHILD_ID_TEMP).set(temperature,1)); But as long as there's just one DS18B20 doing that dynamically doesn't really make sense. Using the defined message structure (MyMessage msgTemp...) could make things more transparent. Also there's no sending command for voltage. So why do you expect the controller to receive also voltage?
    • core_c

      Software I2C slave for Arduino Uno & TFT shield (+code)
      My Project • i2c sketch arduino uno tft software asm slave code • • core_c  

      3
      2
      Votes
      3
      Posts
      3933
      Views

      core_c

      Thanks gohan.. This forum is a great source of inspiration. Lots of examples of people and their own projects, and/or problems they encounter(ed). I'm fairly new to MySensors & Arduino, but i have a lot of experience with Atmel AVR. At this time, i'm more reading than writing: absorbing info first. Hopefully i can help out others too sometimes.. it's cool to share knowledge. I already have 10 Arduino Yúns & 2 Raspberries at my disposal (they belong to friends i'm helping out). It would be fun to find a sensible application to combine a MySensors radio network (or perhaps multiple networks), and the IOT-capabilities of the Yún(s) & Raspberries. But that's another project..
    • seji

      How to combine arduino sketches?
      Troubleshooting • arduino help sketch combine • • seji  

      1
      0
      Votes
      1
      Posts
      962
      Views

      No one has replied

    • Newzwaver

      SerialGateway Error
      Vera • sketch cantupload devicenotready deletedsame • • Newzwaver  

      12
      0
      Votes
      12
      Posts
      5228
      Views

      Newzwaver

      Managed to get the serial gateway back, had something todo with the firmware update. Completed a 3rd restore and the reinstalled the firmware and another restore. Gave up on the Ethernet gateway, couldn't get it to work.
    • Dean

      Motion Sensing sketch which is also a repeater
      Troubleshooting • sensor motion repeater sketch • • Dean  

      5
      0
      Votes
      5
      Posts
      3275
      Views

      jeylites

      Hey guys, I was justing wondering, is there a way to deactivate the motion sensor if not being used? Eg: My motion sensors are connected to Homeseer and they show up as sensors but I was wondering if I could have an ON / OFF control to deactivate or active the motion as needed.
    • Dean

      Current Monitoring - How?
      Hardware • arduino sensor sketch current • • Dean  

      8
      0
      Votes
      8
      Posts
      4924
      Views

      poldim

      Any updates on how this turned out?
    • CaptainZap

      Trouble flashing Arduino Pro Mini with a sketch
      Hardware • pro mini sketch • • CaptainZap  

      16
      0
      Votes
      16
      Posts
      8659
      Views

      pete1450

      I apologize if you are aware of this, but are you pressing the reset button once the sketch is ready to transmit? Using a sparkfun FTDI board with knockoff pro minis, I press the reset button as soon as the first TX light blinks on serial board. If I don't: similar errors.
    • ajachierno

      Humidity example sketch not working
      Troubleshooting • humidity sketch srror • • ajachierno  

      5
      0
      Votes
      5
      Posts
      2540
      Views

      ajachierno

      I am running straight off the webpage. Actually it doesnt apear I can get any of the sketches to run using either the browser plg in or the native IDE.... wishing I hadnt updated since this last set of changes.