Jan 11, 2021 Replies: 9 Here are screenshots from my solar power control system. My solar system comprises: 2KW solar panels Midnight Classic charge controller Pylontech Lithium batteries Studer HPC4400 inverter Power control system (my own design with esp8266) that monitors power use, voltage and controls the auto start generator. Connectivity to the Midnight controller is via MODBUS/TCP, communication to the batteries is using the console port RS232 to interrogate the batteries, the result is then sent as MQTT messages. I also use a non-contact HALL sensor for the DC power from the charge controller to the batteries (as a backup for the data from the Midnight charge controller). The app communicates with the system via MQTT and lets you manually start/stop the generator. At the moment all other settings are performed via the web interface to the system. Attachments pcs_overview.jpg 421.1 KB · Views: 3,895 pcs_main.jpg 286.5 KB · Views: 775 pcs_charger.jpg 330.3 KB · Views: 788 pcs_battery.jpg 261.1 KB · Views: 721 pcs.jpg 156.3 KB · Views: 744 Click to expand...
Here are screenshots from my solar power control system. My solar system comprises: 2KW solar panels Midnight Classic charge controller Pylontech Lithium batteries Studer HPC4400 inverter Power control system (my own design with esp8266) that monitors power use, voltage and controls the auto start generator. Connectivity to the Midnight controller is via MODBUS/TCP, communication to the batteries is using the console port RS232 to interrogate the batteries, the result is then sent as MQTT messages. I also use a non-contact HALL sensor for the DC power from the charge controller to the batteries (as a backup for the data from the Midnight charge controller). The app communicates with the system via MQTT and lets you manually start/stop the generator. At the moment all other settings are performed via the web interface to the system.
Peter Simpson Expert Licensed User Longtime User Jan 11, 2021 #2 This is excellent @Acuario, I do enjoy reading about B4X projects that integrate with physical hardware. Acuario said: Power control system (my own design with esp8266) that monitors power use, voltage and controls the auto start generator. Click to expand... Interesting, you should post some photos of your setup. Acuario said: Connectivity to the Midnight controller is via MODBUS/TCP, communication to the batteries is using the console port RS232 to interrogate the batteries, the result is then sent as MQTT messages. I also use a non-contact HALL sensor for the DC power from the charge controller to the batteries (as a backup for the data from the Midnight charge controller). The app communicates with the system via MQTT and lets you manually start/stop the generator. Click to expand... This definitely sounds interesting, how long did your B4X solution take you to complete? Acuario said: At the moment all other settings are performed via the web interface to the system. Click to expand... I take it that at some point you are going to interface "all other settings" (or as much as possible) into your solar power control system appl??? Cheers for sharing and keep up the great work
This is excellent @Acuario, I do enjoy reading about B4X projects that integrate with physical hardware. Acuario said: Power control system (my own design with esp8266) that monitors power use, voltage and controls the auto start generator. Click to expand... Interesting, you should post some photos of your setup. Acuario said: Connectivity to the Midnight controller is via MODBUS/TCP, communication to the batteries is using the console port RS232 to interrogate the batteries, the result is then sent as MQTT messages. I also use a non-contact HALL sensor for the DC power from the charge controller to the batteries (as a backup for the data from the Midnight charge controller). The app communicates with the system via MQTT and lets you manually start/stop the generator. Click to expand... This definitely sounds interesting, how long did your B4X solution take you to complete? Acuario said: At the moment all other settings are performed via the web interface to the system. Click to expand... I take it that at some point you are going to interface "all other settings" (or as much as possible) into your solar power control system appl??? Cheers for sharing and keep up the great work
Acuario Active Member Licensed User Longtime User Jan 12, 2021 #3 I have a website for the power control system - I thought about marketing it but haven't yet - Power control system - it's a bit out of date at the moment but the general principle and what it solves is explained. With the number of settings that there are it is much easier to manage via a web interface than an app, the app really just provides the basic monitoring and generator control for the system and is an add-on to the system which is designed to be standalone without internet connectivity. The B4X part was only a few days but the power control system I have been working on for probably the last 3 years, improving and fine tuning it (obviously not full time!). I have a passion for designing and developing systems that integrate hardware and software, another of my B4X 'mini' projects is an automatic opener for my gate - it's pretty basic stuff so I haven't posted it here. Many of my hardware/software projects are described on the Eco Renovator website (search for my postings as Acuario), although they don't (yet) have an associated app (as they don't really need one) they may be interesting to anyone interested in embedded processor based hardware/software projects.
I have a website for the power control system - I thought about marketing it but haven't yet - Power control system - it's a bit out of date at the moment but the general principle and what it solves is explained. With the number of settings that there are it is much easier to manage via a web interface than an app, the app really just provides the basic monitoring and generator control for the system and is an add-on to the system which is designed to be standalone without internet connectivity. The B4X part was only a few days but the power control system I have been working on for probably the last 3 years, improving and fine tuning it (obviously not full time!). I have a passion for designing and developing systems that integrate hardware and software, another of my B4X 'mini' projects is an automatic opener for my gate - it's pretty basic stuff so I haven't posted it here. Many of my hardware/software projects are described on the Eco Renovator website (search for my postings as Acuario), although they don't (yet) have an associated app (as they don't really need one) they may be interesting to anyone interested in embedded processor based hardware/software projects.
Peter Simpson Expert Licensed User Longtime User Jan 16, 2021 #5 Home made heat pump, all year greenhouse, circuit boards, yes I had a look @Acuario., You're quite the builder, excellent work 5 stars from me
Home made heat pump, all year greenhouse, circuit boards, yes I had a look @Acuario., You're quite the builder, excellent work 5 stars from me
E elpic76 Member Licensed User Longtime User Jan 19, 2021 #6 The gauges are simply awesome especially the third image!!!! Could you please post a sample project with source code? Or could you please indicate the libraries used? Best Regards
The gauges are simply awesome especially the third image!!!! Could you please post a sample project with source code? Or could you please indicate the libraries used? Best Regards
M mikeeepe Member Licensed User Longtime User Jan 20, 2021 #7 How are you doing the Modbus/TCP in B4A?
Acuario Active Member Licensed User Longtime User Jan 20, 2021 #8 elpic76 said: The gauges are simply awesome especially the third image!!!! Could you please post a sample project with source code? Or could you please indicate the libraries used? Best Regards Click to expand... The gauges are from here: xGauges I just use my own settings to customise them for my app.
elpic76 said: The gauges are simply awesome especially the third image!!!! Could you please post a sample project with source code? Or could you please indicate the libraries used? Best Regards Click to expand... The gauges are from here: xGauges I just use my own settings to customise them for my app.
Acuario Active Member Licensed User Longtime User Jan 20, 2021 #9 mikeeepe said: How are you doing the Modbus/TCP in B4A? Click to expand... The Modbus/TCP isn't in the B4A project, it is in the main controller (ESP8266 based). The B4A project is just to display the results that come from an MQTT feed.
mikeeepe said: How are you doing the Modbus/TCP in B4A? Click to expand... The Modbus/TCP isn't in the B4A project, it is in the main controller (ESP8266 based). The B4A project is just to display the results that come from an MQTT feed.
Acuario Active Member Licensed User Longtime User Jan 20, 2021 #10 Peter Simpson said: Home made heat pump, all year greenhouse, circuit boards, yes I had a look @Acuario., You're quite the builder, excellent work 5 stars from me Click to expand... Keeps me interested... I'm in the process of a major upgrade to the heating system in the greenhouse using a combined heatpump/solar water drainback heating system. It's well advanced, the heatpump part is already running. Hopefully the water panel will be installed this week and operational next week.
Peter Simpson said: Home made heat pump, all year greenhouse, circuit boards, yes I had a look @Acuario., You're quite the builder, excellent work 5 stars from me Click to expand... Keeps me interested... I'm in the process of a major upgrade to the heating system in the greenhouse using a combined heatpump/solar water drainback heating system. It's well advanced, the heatpump part is already running. Hopefully the water panel will be installed this week and operational next week.