logo elektroda
logo elektroda
X
logo elektroda

How to integrate STM32L0xx and STM32F4xx with Domoticz and MySensors?

2688 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16602858
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 16603073
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • Helpful post
    #4 16603185
    tronics
    Level 38  
    Yes, but he also mentioned that he has revised 2.2-dev libs for STM32 and is willing to make them available. Of course it's all based on arduino, because who would want to rewrite on a "native" form factor since they have "one ring to rule them all" there. I.e. support for many different platforms through a single ecosystem. And it is the links to this ecosystem that make it "hard to move concrete". I took an interest in this issue myself about six months ago and found absolutely nowhere that anyone wanted to "move it". I was also trying to, but it's not a priority as I have working nodes on the avr and I'm thinking of it more in terms of an upgrade "sometime in the future". As far as I know there is F103 support for *duino (best as far as the STM32 series is concerned). Why 103? Because there were cheap boards on these chips devastating even the arduino nano so why not make a "core" for the Arduino IDE. And so it went. F4s are also supported to some extent but you have to combine uphill. Probably not worth the effort.
    An alternative would be BLE and json, but here from what I remember it is still being developed quite slowly in Domoticz and except for off-the-shelf commercial products there is not much support.
  • #5 16603245
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • Helpful post
    #6 16604733
    TvWidget
    Level 38  
    Marek_Skalski wrote:
    BLE does not interest me due to its inability to work as a repeater and severely limited range.
    .
    The BLE standard provides for the creation of MESH networks. However, this is rarely used due to the need to give up the primary advantage of energy efficiency.
  • #7 17959587
    Anonymous
    Level 1  

Topic summary

The discussion focuses on integrating STM32L0xx and STM32F4xx microcontrollers with Domoticz and MySensors for sensor data visualization across multiple platforms (Android, Linux, Windows). The user seeks to replace AVR-based nodes with STM32L0xx for battery-powered devices and STM32F4xx for gateways, emphasizing the need for data encryption, heartbeat monitoring, and acknowledgment to enhance security and reliability. Challenges include adapting MySensors Arduino-based code to STM32 using Eclipse, complicated by numerous peripheral support libraries like Maple and HAL. STM32F103C8 boards are noted for prototyping due to cost and pin compatibility, with some community efforts to support STM32 in MySensors, primarily via Arduino cores. BLE mesh networking is mentioned but considered unsuitable due to energy efficiency trade-offs. A later development includes a MySensors-compatible gateway on STM32F7/H7 using 433 MHz or 868 MHz radios, with a noted issue of ST-Link V2 stability over extended use, suggesting hardware USB virtual COM port alternatives and anticipation of improvements with ST-Link V3.
Summary generated by the language model.
ADVERTISEMENT