First thoughts, and some newbie issues
Posted: Sun Jan 08, 2023 9:02 pm
Hi there.
First of all: Thank you so much for what seems to be a very nice piece of software.
I have put together my first brick, a Raspberry Pi 4, and a 4 way (5v) 10Amp relay board, https://www.aliexpress.com/item/1005003786451417.html , and have tried some initial testing this weekend.
I have a kettle with two heating elements, and two 230 V pumps. The relay is connected to GPIO physical pins 31, 33, 35, 37, and since this is an optocoupler relay, the JD-VCC is supplied with 5v, while vcc is supplied with 3,3 v. The relays are connected as Normally Open to avoid current flowing while the Brick is powered off.
After installing the Brick software, I found this is probably what is called an "inverted" relay, as it would provide current to heaters and pumps as the RPi started up. Setting the relay as "inverted" solved this somewhat.
What happens now, is that as the RPi is booting, the relays starts to supply power for a period of approx. 10 seconds, before the relays are switched off again as the desktop appears. This is if the RPi successfully connects to the internet.
If no network connection is established during boot up, the relays just keep on supplying power to heaters and pumps. Neither of these scenarios are ideal, as with no water in the kettle, both the heating elements and the impeller in the pumps will be ruined.
Furthermore, I have tried to do a calibration of my device yesterday and today, with no luck. The test is supposed to take 90 minutes, but after 6 hours, the test is still at 40 degrees C. See attached image.
Do you have any ideas on how to solve this?
First of all: Thank you so much for what seems to be a very nice piece of software.
I have put together my first brick, a Raspberry Pi 4, and a 4 way (5v) 10Amp relay board, https://www.aliexpress.com/item/1005003786451417.html , and have tried some initial testing this weekend.
I have a kettle with two heating elements, and two 230 V pumps. The relay is connected to GPIO physical pins 31, 33, 35, 37, and since this is an optocoupler relay, the JD-VCC is supplied with 5v, while vcc is supplied with 3,3 v. The relays are connected as Normally Open to avoid current flowing while the Brick is powered off.
After installing the Brick software, I found this is probably what is called an "inverted" relay, as it would provide current to heaters and pumps as the RPi started up. Setting the relay as "inverted" solved this somewhat.
What happens now, is that as the RPi is booting, the relays starts to supply power for a period of approx. 10 seconds, before the relays are switched off again as the desktop appears. This is if the RPi successfully connects to the internet.
If no network connection is established during boot up, the relays just keep on supplying power to heaters and pumps. Neither of these scenarios are ideal, as with no water in the kettle, both the heating elements and the impeller in the pumps will be ruined.
Furthermore, I have tried to do a calibration of my device yesterday and today, with no luck. The test is supposed to take 90 minutes, but after 6 hours, the test is still at 40 degrees C. See attached image.
Do you have any ideas on how to solve this?