Sonoff Basic ZBR3 with the configurable firmware

You may use the latest version of my configurable firmware with Sonoff Basic ZBR3. But only one external sensor is tested (Si7021)

Sonoff Basic ZBR3 internals
Firmware settings

Of course, the device works as a router.


Comments
Harvey Specter
Posted at 13:24 June 26, 2020
Frans Hettinga
Reply
Author

How can yo flash this module? Do i need to get in into a boatloader mode?
When connecting the debugger, the devices power on and works normaly, but Flash Programmer doesn’t recognize the CC2530, so i can’t flash.
used this diagram to connect: https://ptvo.info/wp-content/uploads/2018/06/smartrf04eb-pinout.png

Harvey Specter
Posted at 14:06 June 25, 2020
Filip
Reply
Author

Hey!

Would it be possible to disable the router feature with your firmware configurator?

I have an issue with two Sonoffs (CC2530) struggling to route the signal (they are so weak…). The outcome is that another CC2530 (DYI light switch) connects to both of them instead of picking “stronger” routers (that it was connecting before). Finally, it often loses the signal from those two Sonoffs and does not pick the better routers…

    Harvey Specter
    Posted at 14:53 June 25, 2020
    Owner
    Reply
    Author

    The current version does not have such a feature.

      Harvey Specter
      Posted at 12:21 June 28, 2020
      Filip
      Reply
      Author

      Do you consider implementing such feature in the future? It would be much useful.

      Anyways thanks for your work! This is so cool.

Harvey Specter
Posted at 13:54 June 2, 2020
Sergey
Reply
Author

One additional observation…
Each time I turn on the board configured with DHT22 as Output2, P0_2 has the next logic:
– near 1s – pin is released
– 20s – pulled down
– released all the time
Seems like step 2 should be 18ms instead of 20s and then fw should listen for DHT22 sensor
Also, if sensor is offline than fw can repeat all the steps after N seconds (e.g 10-30s)
PS: Pulse generator was tested and works fine on P0_2

Harvey Specter
Posted at 12:12 May 29, 2020
Serhii
Reply
Author

Hi! Could you help me with SonoffZBR3? Does it support DHT22? Can’t configure it (

Thanks!

    Harvey Specter
    Posted at 12:19 May 29, 2020
    Owner
    Reply
    Author

    Hi. I don’t see unused pins to connect an external sensor. You may try to configure my firmware to use P22 for that sensor. But the sensor should be detachable. Connect DATA pin of the sensor and P22. GND->GND, VDD -> +3.3V.

      Harvey Specter
      Posted at 14:20 May 30, 2020
      Sergey
      Reply
      Author

      Still can’t work =(

      I tried all the cases:
      OUT2 P22 DHT22 ExtPullUp
      INP2 P22 DHT22 ExtPullUp
      With/without external pullUp resistor
      I tried P21 instead of P22

      But always I have similar results like “{“state_bottom_left”:”OFF”,”linkquality”:94,”state”:”OFF”}” without temp and humid

      Do you have any idea whats wrong?

      Harvey Specter
      Posted at 14:22 May 30, 2020
      Sergey
      Reply
      Author

      Sensor is Ok. Just tested it with RaspberryPi
      * Also I tried 3.3v and 5v as input…

        Harvey Specter
        Posted at 09:24 May 31, 2020
        Owner
        Reply
        Author

        Did you configure a report interval? Did you wait for a value this time?

          Harvey Specter
          Posted at 10:27 May 31, 2020
          Sergey
          Author

          Yes
          I configured Input2 (or output2) P22 DHT22 External pullup
          I configured reporting interval 20s
          After flashing I connected P22 to led (to see status of p22)
          So, seems like P22 works as input and don’t send any signals to DHT22
          Maybe we can discuss it by skype?

          Harvey Specter
          Posted at 04:45 June 1, 2020
          Owner
          Author

          Sorry, I don’t have skype. Do you have the possibility to try to connect another sensor? For example, DS18b20?

          Harvey Specter
          Posted at 17:58 June 1, 2020
          Sergey
          Author

          Hi
          Unfortunately I don’t have another type of sensors
          DHT22 still not works. I tried all the cases. Seems like FW doesn’t pull down pin for 18ms to initiate DHT
          I soldered an additional wire to P02. It works well as GPIO input/output. It works as software PWM output (I see it into mqtt logs as “l2″:255” but I can’t change it by mqtt commands
          zigbee2mqtt/0x00124b001e731483/set/l2
          zigbee2mqtt/0x00124b001e731483/l2/set
          and any number 0-255 as data doesn’t work as expected

          I’m ready to test your fw with sonoff zbr3 but I’d like do it a bit faster
          I don’t really like skype but maybe you can register a new account? I’ll be able to send you video how it works for me
          Also I’m waiting for another cc2530 chips so I’ll be ready to test them too

          Thanks

Harvey Specter
Posted at 11:38 May 28, 2020
Andreas
Reply
Author

FYI, SuperHouse also has a very good video here where he goes through Sonoff BasicZBR3 Zigbee PCB:

https://www.youtube.com/watch?v=yFwJAQFndEo

He quickly figures out its connections/pins with a multimeter and data sheet using a microscope.

Leave a Reply to Sergey
Cancel Reply