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
Y

yury

@yury
About
Posts
75
Topics
7
Shares
0
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

  • 💬 MySensors Stable Node
    Y yury

    So far betatests for two modules soldered manually two weeks ago are good. I was using two analog inputs and 5 digital outputs. Radio is rock stable also.0_1457364082654_1745f59fdda935cd02a9fcf4f5f741a256b98564f4610991d6c502bc6aec6aa6.jpg

    OpenHardware.io mysensors contest2016

  • [Solved] Strange behavior of RFM69 OTA burning firmware after some research
    Y yury

    Found strange behavior of RFM69 OTA burning firmware after some research
    OTA + RFM 69 (possible) glitches.
    Used MYScontroller – works super flawless
    Tried both MySensors Library 2.0 and MySensors Library v2.1.0
    Various boards made by Koresh 8 Mghz Atmega with RFM69 radios

    The issue: On larger sketches (like more than 20kbytes), OTA always gives CRC error. Smaller ones (4k or less) could be burned 1 out of 3 tries.

    In the picture below the blues screen is comparing two files (right column is HEX and two lines actually is single 16 bit OTA payload)
    Bin.txt file is parsed Arduino hex output to the way it is identical to JDEC flash content. TXT2 file is JDEC flash content.
    Log indicates NACK error for the block B=0065 and LEN !=29 (assume it is 0 length payload). After that, somehow instead of re-requesting that corrupted or 0 sized payload, it duplicates previously received (marked in yellow) into new address. This can happen sometimes 2-3 or 10 times during OTA process

    0_1483446249615_ota.jpg

    I spend many hours playing with MyOTAFirmwareUpdate , transport and RFM driver trying “fixing” logic there but failed. Solution found Koresh by increasing from 40ms to 100ms retryWaitTime in RFM69.h

    virtual bool sendWithRetry(uint8_t toAddress, const void* buffer, uint8_t bufferSize,  uint8_t retries=2, uint8_t retryWaitTime=100); //!< sendWithRetry (40ms roundtrip req for 61byte packets) 
    

    So may be something strange happens when rfm ack is received outside the circle in sendWithRetry function.

    My and Koresh concern it is not “real” solution. Since this kind of re-requesting of 0 sized payloads should be dealt very well in protocol layer. Otherwise if there is lots of traffic going on
    In the network, there will be lots of this kind of 0 payload situations.
    The fix actually gives good results (10 out of 10 without CRC errors). It works now but… I think would be great to look into deeply.

    @tekka

    Bug Reports

  • 💬 MySensors Stable Node
    Y yury

    The break down cost of the board and components is less than USD $5 ( aliexpress component prices mostly) . Can someone share some PCBA service which can also do components sourcing ? with reasonable pricing of course. I would order some 20 - 30 units and may be others could join to make price cheaper.

    OpenHardware.io mysensors contest2016

  • [Solved] Strange behavior of RFM69 OTA burning firmware after some research
    Y yury

    @tekka

    with your new PR updated all works good now. I could not replicate @ 40 ms in retryWaitTime the mentioned above. so I put 10 ms like a stress test. It has survived! with lots of WRONG FWB but with CRC OK!

    the logs

    serial
    https://drive.google.com/open?id=0B11zpaGZaUo5c3NMT1VuSGoxU3c

    last OTA is correspoding to serial log
    https://drive.google.com/open?id=0B11zpaGZaUo5MVh2cUg2cWMxWER0aHEwWHhoY1VidEpuOURn

    Bug Reports

  • Fighting RFM 69 NACK's
    Y yury

    Once a week I was having NACK blackout. All nodes could not send nor receive anything. Initially I was resetting everything and after some 20 minutes I was “able to fix” things. However, it was reappearing. Looked very strange. I bought very very very useful device called RTL-SDR (R820T) software digital receiver. Just in case you do not have, it is worth to buy. Yes, it is around $7 dollars from aliexpress include delivery. The device is not good for NRF since range is 24 - 1766 MgHz but for RFM it is super good. Back to my problem though, I found the noise at 429 -437 Mghz and it lasts around 20 minutes, the time “I was fixing things” previously. Huh!
    Video
    https://youtu.be/BH_hDyWGr5I
    You can see from the video, blackout was at the frequencies from 429 -437 Mghz
    After that, I switched RFM 69 to 440 Mghz and see results. 5 transmissions!!!
    https://youtu.be/jlE2p07-jOY
    The device is super useful toy!!! You can listen FM radio and other air traffic control towers.
    Found later is not legal to use 440 Mghz though…
    The RTL-SDR (R820T):
    With this tutorial you can turn RTL-SDR (R820T) into 24 - 1766 MgHz receiver and see what happens in the air.
    http://www.rtl-sdr.com/rtl-sdr-quick-start-guide/

    0_1495314594386_P_20170520_210119(1).jpg
    Hope it is helpful.

    Troubleshooting

  • 💬 MySensors Stable Node
    Y yury

    Alfa testing:

    Checking radios as various nodes. Currently working as 2 relay nodes, DHT 22 temperature node and gateway.
    All is good . Range 1-2 meters less than NRF24 with big antenna in apartment surrounding.
    Digital pins cheeked like in the video: https://youtu.be/00fy9amZnt4
    Analog pins tested with generic arduino light sensor. So radios and pins are OK.

    OpenHardware.io mysensors contest2016

  • [Solved] Strange behavior of RFM69 OTA burning firmware after some research
    Y yury

    The bootloader and OTA update script + RFM69 work super nice with MYScontroller. I use it few times a week. Big Big Big ups to Tekka. Especially I like the sensebender micro bootloader boots instantly ))). Enjoy everybody!

    Bug Reports

  • Gateway sends NACK to node
    Y yury

    @mariusl said in Gateway sends NACK to node:

    Any ideas from someone on this?

    #define MY_TRANSPORT_STATE_TIMEOUT_MS (5*1000ul)

    //#define MY_RFM95_MODEM_CONFIGRUATION RFM95_BW125CR45SF1288
    #define MY_RFM95_MODEM_CONFIGRUATION RFM95_BW125CR48SF4096

    These lines can affect. the TRANSPORT_STATE_TIMEOUT may be less than a actual message sending time. you will get constant NACK's.

    Troubleshooting gateway

  • MySensors Error received
    Y yury

    @TurboMaster66 said in MySensors Error received:

    item type not found

    Seems like some sensor types you created in those nodes not supported\accepted by the controller. try different types. That is my best guess. I've seen something like that in homeassistant and domoticz

    Indigo Domotics mysensors

  • 💬 Wall Socket Insertable Node
    Y yury

    Hi @fisher yes this is Koresh board. Hope to upload others soon... We did production and testing with him together.

    OpenHardware.io rfm69 atsha204a mysensors relay power supply

  • 💬 Wall Socket Insertable Node
    Y yury

    0_1511423252215_upload-58b63f65-387b-4f09-8ecc-8e502167df7c

    0_1511423242157_upload-b3e8f1c1-6885-49a9-bc85-9a031bec40a6

    make sense?

    sketch is here
    https://github.com/EasySensors/WallSocketInsertableNode/blob/master/WallSocketInsertableNode.ino

    but no LED support there, but easy to add.
    Yes, it will work if no gateway around.

    OpenHardware.io rfm69 atsha204a mysensors relay power supply

  • 💬 Button size radionode with sensors swarm extension
    Y yury

    Re: 💬 Button size radionode with sensors swarm extension

    2 cr2032 winter upgrade - works nice

    Keep working at -20 Celsius in a fridge. voltage dropped from 6 Volts to 5V and keeps pretty stable while sending temperature reading every 2 minutes for 2 days now.

    0_1513507522799_f6cf3141-ea91-4c31-a320-25cb0c65b5c7-image.png

    0_1513507559378_5e5573f0-b189-4faf-8766-04a367242e68-image.png

    0_1513507573427_c616c24a-9224-4a52-80d4-7e5984ffcf86-image.png

    0_1513507583720_3d6261ad-5c43-4c25-b43d-50bf21631672-image.png

    0_1513507722585_b9338c01-ed9d-4f3e-8f39-21fd4d78f713-image.png

    OpenHardware.io atsha204a flash humidity rf69 light uv light battery mysensor temperature ota

  • 💬 EASY PIR multisensors box
    Y yury

    0_1528923175153_9bfda433-3e4a-4e5b-acf7-5aaa7fe96fad-image.png
    0_1528923208297_97719b33-6c08-4556-b40f-9b84d63d5197-image.png

    ESUN flex filament used.

    OpenHardware.io mysensors rfm69 temperature pir bh1750 longlife light dc-dc si7021
  • Login

  • Don't have an account? Register

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