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
karlheinz2000K

karlheinz2000

@karlheinz2000
About
Posts
55
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What did you build today (Pictures) ?
    karlheinz2000K karlheinz2000

    Another 8x8 matrix based display...
    This is not a real project, just a try to hide the LEDs for better WAF.
    Print still needs some impovements, but from a little distance you can't see the details.

    1_1576329826465_20191214_120617.JPG
    0_1576329826464_20191214_120524.JPG

    General Discussion

  • [Solved] Multiple messages with same content received
    karlheinz2000K karlheinz2000

    With radios from ITEAD this issue is obsolete. They seem to populate original nordic chips, or even good fakes.

    Troubleshooting

  • RS485/RS232/Serial transport class for mysensors.org
    karlheinz2000K karlheinz2000

    [Solved]
    Initial Problem were incoming messages at sensor node during reading an image from SD card (170ms). Increase of serial RX buffer size solved the problem.

    Good to know:
    The serial buffer size is not defined in:
    c:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.h
    You can change the numbers with no effect to your sketch.

    You have to change:
    c:\Users...\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.14\cores\arduino\HardwareSerial.h

    Then it will work :smiley:

    Development rs485 serial rs485

  • SmartSleep and FHEM - does it work?
    karlheinz2000K karlheinz2000

    It's not working. FHEM sends messages instantly and does not wait until a node wakes up.
    New features unfortunately not supported by FHEM.

    FHEM

  • SPLASH_SCREEN with MY_DEBUGDEVICE
    karlheinz2000K karlheinz2000

    The splash screen at startup is not redirected to a new serial port, if MY_DEBUGDEVICE is used. It still comes out of hardware serial(1). Tested on NANO/ProMini with latest mysensor lib. All other debug information comes out of the new defined MY_DEBUGDEVICE.

    Bug Reports

  • Handling NACKs
    karlheinz2000K karlheinz2000

    I count in every node, if send() returns false and send the number to controller to get an idea about rf quality.
    I do not retry, because Mysensors already retries, right?
    I use NFR24 and RFM69. Behavior is sometimes strange. No NACKs for weeks and then a really high number of NACKs for a few days. Setup not changed. I have no idea why... Same for indoor and outdoor sensors.

    Development

  • Which are the *best* NRF24L01+ modules?
    karlheinz2000K karlheinz2000

    I ordered modules from ITEAD. They seem to have real nordic chips populated. Each module comes in paper box and ESD bag. The modules look like the cheap ebay stuff, but with 0402 components.
    With these modules I got rid of my issue with repeated messages.
    (https://forum.mysensors.org/topic/5588/multiple-messages-with-same-content-received)

    Hardware

  • Analog power meter reading TCRT 5000
    karlheinz2000K karlheinz2000

    Most of these cheap boards do not have any hysteresis and tend to oscillate during output switching.
    Populate a resistor (100k...330k) for hysteresis and remove a capacitor. I my case this did help.
    Unfortunately in German, see the picture:
    https://forum.fhem.de/index.php/topic,54408.msg459962.html#msg459962

    My Project

  • ECHO problems when sending with no payload
    karlheinz2000K karlheinz2000

    I've opened an issue for that.
    https://github.com/mysensors/MySensors/issues/1452

    According to API payload is same on ECHO message.
    I feel this should be handled/fixed in lib, but I have no idea how to do...
    If it is not possible to fix in lib, it shall not be allowed to send message with no payload anymore, which controller has to make sure then.
    @rejoe2
    Regarding FHEM, at the moment we should keep it as it is. No payload is not the normal use case.
    I flashed gateway with 2.2.0 and this fixed the problem for me.

    Development

  • 💬 FOTA (Wireless Programming)
    karlheinz2000K karlheinz2000

    DualOptiboot: if you do your own board layout, always keep the CS signal of the external flash at pin D8. You can change the pin number in your sketch, but not for the bootloader It is hard coded in the bootloader!
    In this case the uploaded firmware is written to external flash by the sketch, but the bootloader can not read it and not write it to internal flash. Firmware will never get updated. Took me some time to find out...

    Announcements wireless update over the air sensebender fota firmware over the air wireless programming

  • Get STM32 blue pill to run
    karlheinz2000K karlheinz2000

    Yes, no real EERPOM, but emulation in flash. EEPROM failure was the first finding when checking for this error message. Maybe somthing else...
    Now complete sketch is ported from AVR ProMini to STM32 and is runnig fine :+1:

    Hardware

  • [SOLVED] RS485 node with STM32
    karlheinz2000K karlheinz2000

    @virtualmkr thanks for pointing to _serialProcess(). This help to understand a little more how it works.
    I finally found the issue: bias resistors (10k) at A and B lost connection, so during bus idle RX was low and not high. For AVR this was not a problem, but STM32 did not synchronize right to the frame.

    Development

  • MYSBootloader
    karlheinz2000K karlheinz2000

    No. For RFM69 you need Sensbender bootloader and external flash. Then it works.

    Development
  • Login

  • Don't have an account? Register

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