The RPi is powered via its microUSB header as normal, and that jumper at the southeast corner of the PiFace can be set to draw 5V from the RPi via the 26 pin header...
Cheers!
Cheers!
Is it possible to set a start time so I could have my water at just the right temp when I get in from work?
Not a start time per se, but you can get it to delay when it ramps up the temp.
Set up "Wait" step- No kettle for how ever long before you want the kettle to come on, and then make the next step the HLT temp that you need. Set the first step for automatic. When the 6 hours (or whatever) is up, the kettle kicks on.
Boards shipped via dhl this afternoon. Some weird Hangup with those guys.
As stated earlier, I do have one weird issue where the outlets are on until the software starts which I work around by leaving the 220V and 110V that power the heaters and pumps unplugged until software is started up.
Edit: Also of note, from the picture to the diagram, I added a separate power supply to run the SSRs and run it through the relay board. The SSRs weren't tripping directly of the GPIOs and I was worried about the level of electrical separation. The diagram is correct, the picture is outdated by one revision.
It looks like you wired the outlet relays to be normally closed (NC). Any particular reason you did that? It is probably the cause of your power up issue. Have you tried moving the wires for the outlets to the normally open (NO) terminals?
Why are you triggering the SSRs with relays? Doesn't that defeat the purpose of the SSR? Why not try a NPN transitor on your breadboard, similar to what terragady and SHvB use? Most likely the reason the SSR wouldn't fire directly from the Pi is that you probably exceeded the current limits of the GPIO.
It does not defeat the purpose of the SSR at all as the purpose of the SSR is to switch the 220v (which has too much current for the relay board). The relay board is just providing switching to the power supply for the SSRs.
I thought the purpose of using a solid state relay (SSR) instead of a standard one was so that you eliminated mechanical contacts from the relay. This increases the speed of the relay and extends its life. This can be important when using PWM to vary the heat output of a resistive load, as most PIDs do and the PID mode of CBP does. Also just pointing out for the benefit of others who may be trying to follow along that there are simpler and cheaper ways to protect the Pi from the SSR, such as using a transistor with a resistor between the two.
Are you having the same issue with SSR going hot when you first power up, like you are having with the outlets? I suspect not because it looks like you wired those to the NO terminal of the relays. I'm tempted to purchase one of those boards to see if I can replicate and then help resolve your issue. Have enough other hobby projects where it could come in handy.
I have no problems with the Sainsmart modules controlled by the Pi.
I remove the JD-VCC to VCC jumper. Connect JD-VCC to 5V and VCC to 3.3V. then hook up IN1 and IN2 to GPIO pins and GND to GND.
My relays do not come on at boot time.
My software (not CraftBeerPi) turns the relays on by setting the GPIO low. Turns them off by setting GPIO high.
To be clear about the behavior I am seeing:
Pi power-up:
- All relays on the board are in "off" state
- All loads powered since I have the relays wired to NC to give correct operation using the dashboard
CBPI software startup:
- All relays immediately switched to "on" state
- No loads powered
Software operation:
- Buttons in the dashboard operate the devices correctly
- Each button sets a relay to "off" and powers the load
- Loads correctly powered by dashboard buttons
CBPi shutdown:
- All relays on the board are switched to "off" state
- All loads powered
@ame:
Are you using a board with the blue Songle relays or one with the dark grey Omron relays?
[...]You should also connect Vcc on the relay board to 3V3 on the Pi and JD-Vcc to 5V on the Pi as Ame does or you risk damaging the GPIO on your Pi.
@Ph03n1X1:
Try switching your relays to GPIOs 9 thru 26 on the Pi and see if the relays start in their 'on' state. GPIOs 2 thru 8 default to a high pull up at power-on reset of the Pi. When the GPIOs are activated as outputs by software, they drop low until commanded high. This could explain the 'off' state on power up (Pi high connected to Sainsmart input high = relay off) and then 'on' when the software starts (Pi low connected to Sainsmart input high = relay on). Simply inverting the GPIO active level through Wiring Pi won't change the default power-on state. You should also connect Vcc on the relay board to 3V3 on the Pi and JD-Vcc to 5V on the Pi as Ame does or you risk damaging the GPIO on your Pi.
I still have a few of the terragady V4.1 boards available@SHvanBommel
Are there any boards left to purchase? Or is there a link to buy a board? I just stumbled across this thread and want to start a build.
I only have 2 left from my last run.Could I get 3
Check your PM box.I sent you a message2 would be good
Enter your email address to join: