Site Tools


en:tech:zigbeesensor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:tech:zigbeesensor [2024/05/18 04:35] – [Software] bullaren:tech:zigbeesensor [2026/08/12 12:15] (current) – external edit 127.0.0.1
Line 23: Line 23:
 It's based on CC2530 from Texas Instruments a bit outdated but cheap and easy to get. It's based on CC2530 from Texas Instruments a bit outdated but cheap and easy to get.
  
-{{ :en:tech:e18-ms1-pcb.png?direct&200 |E18-MS1-PCB}}+{{ :media:tech:zigbeesensor:e18-ms1-pcb.png?direct&200 |E18-MS1-PCB}}
  
 ==== Quirks & Co. ==== ==== Quirks & Co. ====
Line 36: Line 36:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-{{ :en:tech:zigbee_sensor_sch.png?direct&400|Schematic}}+{{ :media:tech:zigbeesensor:zigbee_sensor_sch.png?direct&400|Schematic}}
 </WRAP> </WRAP>
 <WRAP half column> <WRAP half column>
-{{{{:en:tech:zigbee_sensor_pcb.png?direct&400 |PCB}}+{{{{:media:tech:zigbeesensor:zigbee_sensor_pcb.png?direct&400 |PCB}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 45: Line 45:
 The final PCB is quite compact with a size of 44.5 x 24mm. On top you see the programming interface (J1) and a button (SW1). The yellow LED (LED1) is used as an indicator. A 5V power supply can be connected via 2-pin JST connector (J7) or Micro-USB.  A 3.3V regulator is on-board too. The UART interface has 5V signal level and the I²C is standard 3.3V. The level of additional two GPIOs can be selected between 3.3V and 5V by jumper. All 4-pin XH connector (J3-J6) provide a power pin so that a sensor can directly be connected. The final PCB is quite compact with a size of 44.5 x 24mm. On top you see the programming interface (J1) and a button (SW1). The yellow LED (LED1) is used as an indicator. A 5V power supply can be connected via 2-pin JST connector (J7) or Micro-USB.  A 3.3V regulator is on-board too. The UART interface has 5V signal level and the I²C is standard 3.3V. The level of additional two GPIOs can be selected between 3.3V and 5V by jumper. All 4-pin XH connector (J3-J6) provide a power pin so that a sensor can directly be connected.
  
-{{ :en:tech:pcb_pic.jpg?direct&400 | Soldered PCB}}+{{ :media:tech:zigbeesensor:pcb_pic.jpg?direct&400 | Soldered PCB}}
 ===== Software ===== ===== Software =====
  
Line 57: Line 57:
 In order to program the firmware into the ZIGBEE module we need a programming adapter like //SmartRF04EB// from Texas Instruments. In order to save money your can buy one of the Chinese copies from your online-shop of choice. In order to program the firmware into the ZIGBEE module we need a programming adapter like //SmartRF04EB// from Texas Instruments. In order to save money your can buy one of the Chinese copies from your online-shop of choice.
  
-{{ :en:tech:rf04eb.png?direct&300 |SmartRF04EB}}+{{ :media:tech:zigbeesensor:rf04eb.png?direct&300 |SmartRF04EB}}
  
 Five pins from DEBUG interface (connector J1) have to be 1 by 1 connected to the programmer. Five pins from DEBUG interface (connector J1) have to be 1 by 1 connected to the programmer.
  
-{{ :en:tech:smartrf04eb_connection.png?direct&300 |How to connect the programmer}}+{{ :media:tech:zigbeesensor:smartrf04eb_connection.png?direct&300 |How to connect the programmer}}
  
 The programming software //SmartRF Flash Programmer// can be downloaded from [[https://www.ti.com/tool/FLASH-PROGRAMMER|TI's website]] (need quick export control if outside US). The programming software //SmartRF Flash Programmer// can be downloaded from [[https://www.ti.com/tool/FLASH-PROGRAMMER|TI's website]] (need quick export control if outside US).
 The software is self explaining.   The software is self explaining.  
  
-{{ :en:tech:sw_rf04eb.png?direct&500 |Programming ongoing...}}+{{ :media:tech:zigbeesensor:sw_rf04eb.png?direct&500 |Programming ongoing...}}
 ===== 1st Application Water Meter ===== ===== 1st Application Water Meter =====
  
 We are not connected to government water pipe but use our own dwell pump in combination with a 2000 liter water tank. In order to measure the water consumption we need a water meter. An ideal challenge for the new ZIGBEE module.  We are not connected to government water pipe but use our own dwell pump in combination with a 2000 liter water tank. In order to measure the water consumption we need a water meter. An ideal challenge for the new ZIGBEE module. 
  
-{{ :en:tech:yf-b10-1-800x800.jpg?direct&200 |YF-B1 Hall Effect Water Flow Meter/Sensor}}+{{ :media:tech:zigbeesensor:yf-b10-1-800x800.jpg?direct&200 |YF-B1 Hall Effect Water Flow Meter/Sensor}}
  
 This sensor sits in line with our 1/2" water pipe and contains a pinwheel sensor to measure how much liquid has moved through it. There's an integrated magnetic hall effect sensor that outputs an electrical pulse with every revolution. The sensor signals can be directly connected to J3. This sensor sits in line with our 1/2" water pipe and contains a pinwheel sensor to measure how much liquid has moved through it. There's an integrated magnetic hall effect sensor that outputs an electrical pulse with every revolution. The sensor signals can be directly connected to J3.
  
-{{ :en:tech:img_6497_2.jpeg?direct&300 |Complete sensor in 3D printed case}}+{{ :media:tech:zigbeesensor:img_6497_2.jpeg?direct&300 |Complete sensor in 3D printed case}}
  
 The setup of PTVO firmware is very easy. Just define P21 as counter and set the interval to 60 sec. Every pulse longer than 1ms at P21 will be counted. The setup of PTVO firmware is very easy. Just define P21 as counter and set the interval to 60 sec. Every pulse longer than 1ms at P21 will be counted.
  
-{{ :en:tech:ptvo_counter.png?direct&600 |PTVO setup}}+{{ :media:tech:zigbeesensor:ptvo_counter.png?direct&600 |PTVO setup}}
  
 After pairing the PTVO firmware will send the counter value to the coordinator. In my case the sensor gives 360 pulses per litre. This calculation as well as the daily consumption can be easily done in Home Assistant. The following examples show the results: After pairing the PTVO firmware will send the counter value to the coordinator. In my case the sensor gives 360 pulses per litre. This calculation as well as the daily consumption can be easily done in Home Assistant. The following examples show the results:
  
-{{:en:tech:water_consumption.png?direct&400|Water Consumption in l/min}} +{{:media:tech:zigbeesensor:water_consumption.png?direct&400|Water Consumption in l/min}} 
-{{:en:tech:water_consumption_daily.png?direct&400|Water consumption per day}}+{{:media:tech:zigbeesensor:water_consumption_daily.png?direct&400|Water consumption per day}}
  
 This sensor is now installed since more than 2 month without any issues. Many thanks to [[https://ptvo.info/zigbee-configurable-firmware-features/|PTVO]] for his great firmware tool . This sensor is now installed since more than 2 month without any issues. Many thanks to [[https://ptvo.info/zigbee-configurable-firmware-features/|PTVO]] for his great firmware tool .
 ===== Downloads ===== ===== Downloads =====
  
-  * {{ :en:tech:zigbeesensor_bom.txt.zip |}} BOM +  * {{ :media:tech:zigbeesensor:zigbeesensor_bom.txt.zip |}} BOM 
-  * {{ :en:tech:zigbeesensor.brd.zip |}} EAGLE board file+  * {{ :media:tech:zigbeesensor:zigbeesensor.brd.zip |}} EAGLE board file
  
  
en/tech/zigbeesensor.1716006954.txt.gz · Last modified: by bullar