Sonsivri

Electronics => Projects => Topic started by: zac on July 25, 2019, 08:11:01 20:11



Title: Inexpensive wireless voltage/current/watt-hour monitor
Post by: zac on July 25, 2019, 08:11:01 20:11
This device works fairly well.  Downsides are it doesn't include a dc-dc converter to self power from the high voltage input and the included radio transceiver has a range of about 1 meter (rather than the claimed 10)

https://www.ebay.com/itm/DC-500V-100A-200A-500A-Wireless-Voltmeter-Ammeter-Coulometer-Battery-Power-Meter/132928693409

But, it uses the nRF24L01 radio transceiver chip so the radio module can be swapped with this to extend the range to at least 100 meters:

https://smile.amazon.com/gp/product/B07GRMJJY5

If you know of a pin compatible drop-in replacement that works at lower frequency (915, 433, 315 mhz, etc.), please let me know. 


Title: Re: Inexpensive wireless voltage/current/watt-hour monitor
Post by: dezso on August 02, 2019, 07:43:11 07:43
I got a few as well (3 in use), works great, just a few days ago managed to connect to with Arduino and now with Raspberry pi, planing to make a better GUI for all 3 in 1 3.5" pi display.
First I was snooping the SPI init to see hows the NRF24 gets initiated and whats being transmitted, got a lots of info, once I got the RX_ADDRESS the rest was easy with RF24 lib available for Linux Pi and Arduino
Code:
RX_ADDR_P0=89674523  -> 08 is the channel
(https://i.postimg.cc/v8xVxMXp/screenshot-3.png) (http://postimg.cc/QVstv22b)

The poor range is due to the fake cheap NRF chip and many missing component from the RF side, once I replaced it with a good quality module its works as expected.

(https://i.postimg.cc/XJfXxNhJ/IMG-2865.jpg) (http://postimg.cc/N90gjtQq)


Title: Re: Inexpensive wireless voltage/current/watt-hour monitor
Post by: dezso on August 28, 2019, 06:53:36 18:53
If anyone playing with one of this I got mode commands for it so it can be controlled with pretty much anything.
Lats byte is checksum, basically the sum of all bytes last byte.
ie: aa0568085a79 = aa+05+68+08+5a = 0x0179 = 79
Code:
aa1c6a08001203e805dc03b600960000.06.0002080f6f6d870ee80ee8d3 relay on
aa1c6a08001203e805dc03b600960000.07.0002080f6f6d870ee80ee8d4 relay off
aa1c6a08001203e805dc03b60096000006.01.02080f6f6d870ee80ee8d4 delay time 1s
aa1c6a08001203e805dc03b60096000006.0a.02080f6f6d870ee80ee8dd delay time 10s
aa1c6a08001203e805dc03b600960000.04.0a02080f6f6d870ee80ee8db relay level L
aa1c6a08001203e805dc03b600960000.06.0a02080f6f6d870ee80ee8dd relay level H
aa1c6a0800120bb8.05dc.03b600960000040a02080f6f6d870ee80ee8b3 ovp 15.0
aa1c6a0800120bb8.05e6.03b600960000040a02080f6f6d870ee80ee8bd ovp 15.1
aa1c6a0800120bb8.05d2.03b600960000040a02080f6f6d870ee80ee8a9 ovp 14.9
aa1c6a0800120bb8.0f3c.03b600960000040a02080f6f6d870ee80ee81d ovp 39.0
aa1c6a0800120bb80f3c.0384.00960000040a02080f6f6d870ee80ee8eb lvp 9.0
aa1c6a0800120bb80f3c.03e8.00960000040a02080f6f6d870ee80ee84f lvp 10.0
aa1c6a0800120bb80f3c03e8.009b.0000040a02080f6f6d870ee80ee854 ocp 15.5
aa1c6a0800120bb80f3c03e8.0078.0000040a02080f6f6d870ee80ee831 ocp 12.0
aa1c6a0800120bb80f3c03e80079.ffba.040a02080f6f6d870ee80ee8eb ncp -7.0
aa1c6a0800120bb80f3c03e80079.ff9c.040a02080f6f6d870ee80ee8cd ncp -10.0
aa1c6a0800120bb80f3c03e80078.ff88.040a02080f6f6d870ee80ee8b8 ncp -12.0
aa056808.0a.29 battery charged 10%
aa056808.5a.79 battery charged 90%
aa066608.1e14.50 battery capacity 770.0AHR
aa066608.0bb8.e1 battery capacity 300.0AHR
aa046908.1f. CLR
aa056400.08.1b change channel to 8
aa056400.09.1c change channel to 9