-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schematics/firmware? #3
Comments
I second this request. I might like to add some additional features so I don't need another device attached to the P1 bus. |
Schematic and standard firmware files are now available. |
Can you write up somewhere what modbus registers are available in the current firmware? |
Just added the explanation of the modbus registers to the Readme, and some examples. When using the CT inputs, you can also set the Grid setting from 4 to 3 wires, and the field rotation from CW (clockwise) to CCW (counter clockwise). |
Thanks for making the ESP32 code, the PIC firmware and the schematic available! |
Yes, i'm cleaning up the code, and will make the code for the PIC available in a few days. There will be two compile options, one normal, where the PIC handles everything (this is currently the way it's done). The other compile option will just do the CT measurements, and send the raw data to the ESP for further processing. All data from CT's+P1 port is already sent to the SmartEVSE, so if you want to use the CT measurements as EV meter, it might be easier to modify the SmartESVE code? |
Ok great. Yes that would be more feasible. |
Any progress on this? It would be realy nice to have a 'smart' sensorbox that provides an API for home automation purposes and does all the modbus comminication so we don't have to bother with a multi-master modbus setup anymore. |
Ok, a few days became a few months... But i've just uploaded the Sensorbox 2 code. |
Thanks. A great progress forwards! So this is still sensorbox as slave as I understand. Are you planning to switch the master/slave task somewhere soon? |
As the next SmartEVSE v3 also uses a ESP32, i'm planning on moving the code over to the sensorbox once it's working on the SmartEVSE. Should probably hire someone to work on this, as there is a lot of stuff to do. |
@mstegen any progress in making the current sensorbox-2 PIC firmware available? I'm curious on how often the current is sensed and if the phase difference is monitored, and if true-RMS current measurement being done. From the schematics, I gather the voltage is no measured, hence no power measurement is possible, only zero crossing of one phase is read. Are the CT phases checked/monitored by FW? On a household mains grid there could be there could be quite some harmonics in the CT signal, so the measurement frequency and anti-aliasing filtering can become important for decent CL1 results. |
Hi @rob040, I can answer some of your questions. Each phase is sampled 60 times per second. If the voltage lead is not connected, it will use a alternative way to calculate the current on each phase. (this is less precise for low currents, as the power factor is unknown) |
Thanks for sharing the new firmware. In this new version the Sensorbox is still the modbus slave so the webserver is not of much use, it can only provide the P1 / CT measurements. |
I'm also hoping for controlling SmartEVSE V2 via the sensorbox, specifically just to toggle between Solar and Smart modes. |
Hi,
I think this repo either empty or all branches hidden.
So any schematics and firmware available for v2?
Thanks!
The text was updated successfully, but these errors were encountered: