logo elektroda
logo elektroda
X
logo elektroda

Code help to receive data from zigbee receiver to ESP32 module and send to smartphones

345 9
Best answers LABEL_AI_GENERATED

How can I connect a DigiMesh or ZigBee-style temperature sensor receiver to an ESP32 and send the data to a smartphone over BLE?

You can read the temperature data from the receiver over a UART/serial link on the ESP32, store it, and then forward it over BLE to the phone using ESP32 BLE code or a library [#21680586] If you are using the linked sensor, it is not actually ZigBee but a 900 MHz DigiMesh device, so you need Digi hardware at the receiving end and then talk to it from the ESP32 over UART [#21680584] Use ESP32 serial example code or libraries to send commands to the modem, receive the sensor data, and save it in the ESP32 [#21680586] After that, use BLE example code or a library to format and transmit the stored reading to the smartphone app [#21680586] If your range requirements allow it, a BLE temperature sensor could communicate directly with the ESP32 and avoid the DigiMesh receiver entirely [#21680584]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
  • #1 21680578
    Derby Jhon
    Anonymous  
  • ADVERTISEMENT
  • #2 21680579
    David Ashton
    Anonymous  
  • ADVERTISEMENT
  • #3 21680580
    Derby Jhon
    Anonymous  
  • #4 21680581
    David Ashton
    Anonymous  
  • #5 21680582
    Max Maxfield
    Anonymous  
  • ADVERTISEMENT
  • #6 21680583
    EEWeb
    Anonymous  
  • Sensor uses DigiMesh, not Zigbee

    #7 21680584
    David Ewing
    Anonymous  
  • ADVERTISEMENT
  • #8 21680585
    Derby Jhon
    Anonymous  
  • Separate serial modem reading from BLE transmission

    #9 21680586
    Elizabeth Simon
    Anonymous  
  • #10 21680587
    Rinku sharma
    Anonymous  

Topic summary

LABEL_AI_GENERATED
The discussion focuses on interfacing a ZigBee temperature sensor with an ESP32 module to transmit sensor data via BLE to smartphones. It was clarified that the referenced temperature sensor operates on a 900MHz proprietary DigiMesh protocol rather than ZigBee, necessitating Digi hardware at the receiver end. The recommended approach involves connecting the DigiMesh modem to the ESP32 through a UART serial interface to receive sensor data. Subsequently, the ESP32 can be programmed to send this data over BLE, requiring appropriate BLE stack implementation and data formatting. Alternative suggestions include using a BLE temperature sensor to communicate directly with the ESP32, simplifying the system by eliminating the DigiMesh modem. The conversation also highlights the need for example code or libraries for serial communication with the modem and BLE data transmission on the ESP32. Category management advice for posting embedded systems questions was also provided.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT