Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
M30 RS485 and Serial port development guide
#1
M30 have one ARM cpu on board. the ARM CPU have one RS485 modbus interface for user. another ARM CPU's serial port connect to ESP32's GPIO.

RS485 communication settings: 38400bps,8,N,1
ESP32 serial port communication settings: 115200bps,8,N,1

they have some modbus protocol, just use by different baud rate.

first  BL0910 chip read CT 1-10 channel current.  modbus address is 100.
second BL0910 chip read CT 11-20 channel current. modbus address is 200.
third  BL0910 chip read CT 21-30 channel current. modbus address is 300.

every BL0910 have 35 bytes data, here are data structure:
   
this use by modbus pull tool:
   
Reply
#2
Can you please open source code for ARM CPU for M30 board?
Reply
#3
what function you want to modify?
Reply
#4
First of all congratulations on a great design. M30 is a very good board and I believe it has a great potential in professional and DIY community especially now when more and more people interested in looking at their power consumption.

Regarding you question: I was reading BL0910 datasheet and looks like you do not expose all features/registers over Modbus.

I personally prefer to have source code for all components of my system. And it was possible with your other boards since we can use esphome on ESP32 but for M30 you introduced another CPU and another firmware for which source code is not available. If you can open source code we (community) can improve it and everyone will benefit: you will sell more hardware and people will get new features.
Reply
#5
we already expose all registers over Modbus for BL0910 chip.
you can also write your own code to AT32F ARM chip, there is Jlink download pins beside of ARM cpu.
M30 schematic downoad from here : https://www.kincony.com/download/M30-schematic.pdf
Reply
#6
(01-10-2024, 03:37 AM)admin Wrote: we already expose all registers over Modbus for BL0910 chip.
you can also write your own code to AT32F ARM chip, there is Jlink download pins beside of ARM cpu.
M30 schematic downoad from here : https://www.kincony.com/download/M30-schematic.pdf

Incorrect: for example you don't provide any way to calibrate or use different CT. My main point is that people who do DYI coming to you because you provide hardware that works with open source software. Once you introduced proprietary middle tier in a form of ARM CPU this is no longer true. I am not going to waste my time writing software for ARM. Instead I will find more open source friendly vendor.
Reply
#7
BL0910 is a free verification energy chip, and the coefficient setting has been completed in the ARM CPU code.
Reply
#8
(01-12-2024, 12:27 AM)admin Wrote: BL0910 is a free verification energy chip, and the coefficient setting has been completed in the ARM CPU code.

Exactly my point. It is hidden.
Reply
#9
Which type CT clamps need to use? Voltage? Current? how much?
Reply
#10
two types supportted.
Voltage: 0-1v output
Current: 0-50mA output
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)