Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Josh Cox
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Josh Cox

    • RE: Hard Freeze when transmitting data

      I am definitely getting freezes still. Maybe it's just bad hardware, I'm going to try swapping components.

      posted in Troubleshooting
      Josh Cox
      Josh Cox
    • RE: Hard Freeze when transmitting data

      that flowchart is good stuff, I'll definitely refer to it in the future.

      swapping to a 4.7uF cap seems to maybe have fixed the issue, I've only observed for a couple of hours so maybe it just likes the heat of the day here

      posted in Troubleshooting
      Josh Cox
      Josh Cox
    • Hard Freeze when transmitting data

      I'm getting a hard freeze (even the hardware watchdog is failing to reset the device) during transmissions, I have code here:

      https://github.com/Bokbot/incubot/tree/mysensor

      its basically a pidloop controlling a lightbulb in an incubator for some eggs.

      so long as I comment out the send lines like this:
      send(msgHum.set(humidity, 1));

      everything runs continuously, but with those lines included the thing freezes randomly after an inconsistent amount of time. Meaning it does transmit for a good fifteen minutes usually before freezing.

      Has anyone else seen behavior like this?

      posted in Troubleshooting
      Josh Cox
      Josh Cox
    • RE: Makefile arduino-mk

      I don't seem to be getting any replies here, so I'm moving to github here:
      https://github.com/mysensors/Arduino/issues/480

      posted in Development
      Josh Cox
      Josh Cox
    • Makefile arduino-mk

      Hello I've been using the arduino-mk Makefile for my project instead of using the IDE as I generally program using vim anyhow, why fire up the IDE when you can just 'make' and
      'make upload'?

      Anyhow, I'm also interested in this project. But when I combine the two I get errors like:

      fatal error: MySensor.h: No such file or directory
      

      my Makefile is pretty simplistic:

      include /home/george/git/Arduino-Makefile/Arduino.mk
      ARDUINO_LIBS     = SPI MySensors DHT
      

      USER_LIB_PATH is computed to be:

      - [DEFAULT]            USER_LIB_PATH = /home/thoth/sketchbook/libraries
      

      and the MySensors folder is in there:

      ls ~/sketchbook/libraries/MySensors 
      core  drivers  examples  keywords.txt  library.json  library.properties  MyConfig.h  MySensor.h  tests
      

      Is anyone else using the arduino-mk Makefile? And if so any hints as to what might be wrong here?

      note I've tried with latest everything on Archlinux, and using a docker container with debian jessie here:
      https://github.com/joshuacox/mkarduino

      same result in both environments

      *Note in debian I use this include line:

      include /usr/share/arduino/Arduino.mk
      
      posted in Development
      Josh Cox
      Josh Cox