Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maximum Number of Zones
#83
Hi Rob,

I did a lot of testing with the shift register setup. Bottom line of all the hours of testing is that the schematic I made some time ago works as expected.
But.... also the original drawing which is in the wiki works with some minor remarks.

First of all, the optional capacitor of 0.1uF is not optional. additionally a series resistor as drawn in my schematic is also advised to include. The values however must be a little adapted. When using a 0.1uF cap it is better to use a 47Ohm resistor. With my oscilloscope I checked the timing on the GPIO ports but when using 0.1uF and a R100 resistor the latch(Pi pin 15) needs a little too much time to go from high to low or vice versa. So a resistor of R47 (or two R100 in parallel) is a safer choice. 

With both my drawing and the (slightly modified) wiki drawing I did a lot of testing with external devices like fans, motors, relays and other stuff to try to fail the circuit. With the not-optional cap connected it didn't fail even once. Without the cap the circuit sometimes goes bananas.

When I had the scope connected I do see unexpected signal levels in the sense that when everything is at rest the data, latch and clock signals remain high. You would expect these signals to be low. I'm not sure if this could make the circuit extra sensitive to noise or spikes so additional testing is needed. I will make some changes to the code and see if it is of any influence.

So, what can you do? 
1. make sure the psu of the pi is from a decent quality or change the psu and see if it makes any difference. I powered my test Pi3b with a Samsung 5v phone charger. This (dodgy) charger is not suitable to power a Pi but did way better than expected.
2. recheck if the (non) optional capacitor is connected between pin 12 of the hc595 and GND. With preferably a series resistor of about R47 to P15 on the Pi.
3 recheck all the wiring if firmly connected. Be aware that using a breadboard and breadboard wires you will never get a solid/permanent solution. It (usually) works on the bench but in the field I would definitely solder the components on a perfboard.
4. If everything fails first try to simplify the setup to 8 channels by using only one hc595 and one relay board. Disconnect everything else and see it this works without any problem. From there expand the setup.

As we discussed via mail we both are a bit busy this and next month so lets take the time we need and update this thread when you or I have any news on this topic.

--Gerard
Reply


Messages In This Thread
Maximum Number of Zones - by HereComesTheRain - 2020 May 28, 03:01 PM
RE: Maximum Number of Zones - by dan - 2020 May 28, 03:14 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2020 May 28, 03:43 PM
RE: Maximum Number of Zones - by dan - 2020 May 28, 05:40 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2020 May 28, 07:14 PM
RE: Maximum Number of Zones - by dan - 2020 May 28, 08:07 PM
RE: Maximum Number of Zones - by astrogerard - 2020 May 29, 04:16 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2020 May 29, 07:45 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2020 May 29, 09:42 PM
RE: Maximum Number of Zones - by astrogerard - 2020 Jun 04, 04:08 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2020 Jun 09, 04:38 PM
RE: Maximum Number of Zones - by astrogerard - 2020 Jun 09, 06:18 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2020 Jun 09, 08:03 PM
RE: Maximum Number of Zones - by dan - 2020 Jun 09, 09:46 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2020 Jun 09, 10:55 PM
RE: Maximum Number of Zones - by dan - 2020 May 30, 03:42 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 May 24, 01:10 AM
RE: Maximum Number of Zones - by dan - 2021 May 25, 04:00 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 May 25, 05:41 PM
RE: Maximum Number of Zones - by dan - 2021 May 26, 02:08 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 May 26, 04:02 PM
RE: Maximum Number of Zones - by dan - 2021 May 27, 12:13 AM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 06, 01:08 AM
RE: Maximum Number of Zones - by dan - 2021 Jun 06, 02:23 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 06, 04:28 PM
RE: Maximum Number of Zones - by dan - 2021 Jun 06, 04:52 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 06, 10:09 PM
RE: Maximum Number of Zones - by dan - 2021 Jun 13, 01:53 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 13, 07:59 PM
RE: Maximum Number of Zones - by dan - 2021 Jun 14, 01:11 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 18, 11:43 AM
RE: Maximum Number of Zones - by dan - 2021 Jun 18, 02:27 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 18, 02:47 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 18, 03:51 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 18, 08:36 PM
RE: Maximum Number of Zones - by dan - 2021 Jun 19, 01:20 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 20, 01:54 AM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 22, 02:18 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 22, 03:40 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 22, 04:56 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 22, 06:30 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 22, 07:49 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 22, 08:34 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 22, 08:45 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 22, 09:40 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 22, 10:10 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 22, 11:48 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 23, 07:31 AM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 24, 12:07 AM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 24, 06:55 AM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 24, 12:51 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 24, 06:24 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 24, 09:01 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 24, 09:58 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 24, 11:47 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 25, 09:49 AM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 25, 12:37 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 25, 01:13 PM
RE: Maximum Number of Zones - by dan - 2021 Jun 25, 01:26 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 25, 04:27 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 25, 06:57 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 25, 07:57 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 27, 01:19 PM
RE: Maximum Number of Zones - by dan - 2021 Jun 27, 03:12 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 27, 03:54 PM
RE: Maximum Number of Zones - by dan - 2021 Jun 27, 04:43 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 27, 05:02 PM
RE: Maximum Number of Zones - by dan - 2021 Jun 27, 06:21 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 27, 07:25 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 28, 12:22 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 28, 04:56 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 28, 06:05 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 28, 07:59 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 29, 12:09 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 29, 03:02 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jun 29, 07:59 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jun 29, 10:39 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jul 08, 09:24 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jul 08, 09:50 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jul 09, 08:54 PM
RE: Maximum Number of Zones - by HereComesTheRain - 2021 Jul 11, 02:11 AM
RE: Maximum Number of Zones - by astrogerard - 2021 Jul 11, 06:47 PM
RE: Maximum Number of Zones - by astrogerard - 2021 Jul 29, 07:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)