Navigation

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

    Topics created by den2k

    • den2k

      ATMega32u4 + RFM69 + MySensors = Working!?
      Hardware • 32u4 • • den2k  

      7
      0
      Votes
      7
      Posts
      3353
      Views

      Zeph

      @gregl said: isn't the key difference of the two that one 32u4 has a built in USB controller, whereas the 328p doesn't and relies on an external USB controller (FTDI usually.) That's important, but there are many other differences vs ATMega328p. Offhand, there's an extra 0.5K RAM. Second 16 bit timer (Timer3) instead of 8 bit Timer2; plus high speed 10 bit Timer 4. SPI and TWI on different pin #'s (as seen by Arduino). More ADC pins, and a 10x/200x differential amplifier; different voltage ref (2.56v vs 1.1v). And various changes to interrupts or registers based on these. So some less-used libraries need porting, as well as changes to example code. Not sure how these differences affect the core of MySensors; you might have to try it out. There's a good chance that it would work, or that the changes needed would be minor. The Leonardo is gone from the Arduino.cc product line, but the Micro is still sold so presumably the chip continues to be supported.
    • den2k

      Homeassistant problem? Error decoding message from gateway, probably received bad byte.
      Troubleshooting • • den2k  

      6
      0
      Votes
      6
      Posts
      3373
      Views

      Mihai

      Thank you for advices, I was trying but no success after several days, so I left the ideea of using the Serial Gateway and moved to the MQTT Gateway + Home Assistant, I made it to work! I have published my work at https://github.com/Mihai258/HomeAssistant-MySensors-MQTT , I hope it will help other people to quickly implement their own projects and save their time.
    • den2k

      Having issues with 2AAA battery project and AVRDUDE
      Hardware • • den2k  

      14
      0
      Votes
      14
      Posts
      4406
      Views

      riataman

      @LastSamurai said: Perhaps this helps. As far as I know and have read 1Mhz doesn't really change that much because you sleep most of the time anyways. Try to disable the BOD, that uses most of the power. I don't think the idea behind changing the clock to 1Mhz is to save energy, but to allow the mcu to run at lower voltages (allowing it to keep running when the batteries are already considered dead for other uses). The Atmega328 can run down to 1.8V but only if your clock speed is 4Mhz or lower. We change it to 1Mhz because its easier to do that in software, rather than solder a new crystal.
    • den2k

      MCP9700 Readings flucuate
      Hardware • • den2k  

      6
      0
      Votes
      6
      Posts
      2835
      Views

      den2k

      Problem solved. For those interested. The issue was the 3.3V Step up board. When the radio turns on there is a large power draw which causes the voltage on the 3.3V rail to drop. This caused the temperature reading fluctuations I was seeing. I added a large cap between the Vout / GND of the step up. Problem solved.
    • den2k

      Dashboard UI errors?
      PiDome • • den2k  

      3
      0
      Votes
      3
      Posts
      2012
      Views

      John

      Try to use the version from http://builder.pidome.org/view/Snapshot builds/ Make sure you clear your browser cache. Sorry for the late response!
    • den2k

      Pro Micro Hookup and Code
      Hardware • • den2k  

      22
      0
      Votes
      22
      Posts
      18688
      Views

      Tom71

      I got also problems to upload the scetch to an arduino micro. After uploading the micro does not connect on any COM-Port. Only if I reset the bootloader, I can write other sample scetches to the micro. So it seams, that the gateway code does not working well with an arduino micro.
    • den2k

      Problems uploading Serial Gateway on to Arduino Pro Micro
      General Discussion • • den2k  

      19
      0
      Votes
      19
      Posts
      7010
      Views

      rvendrame

      Maybe you can post a picture or schematics showing how you are connecting the radio to arduino? You last screenshot is showing only 'failed' for any radio operation.
    • den2k

      It seems I have similar problems as others.
      PiDome • • den2k  

      18
      0
      Votes
      18
      Posts
      7160
      Views

      John

      The server is able to do debug logging. Could you please turn this logging on by going to: "system" > "server" > "debug logging" and switch the toggle button. After this re-connect the serial device, turn no discovery and let the log list be filled as your screenshot shows. After a couple of minutes turn on debug logging and send me the following file "logs/system/appLog.txt" to support@pidome.org (as it may contain sensitive information so you do not want to post it online) and include a link to this thread so i know it is yours. Cheers!