On Sun, 21 Jan 2018 19:05:00 +1200, Henri Derksen wrote:
> To exchange a normal Pi for the Pi Zero with the same standard cables.
Fair enough, I always run headless and tend towards the embedded use.
My on going project is a controler for the thermal store, with solar,
wood burner and oil boiler inputs, with DHW and two CH ouputs.
That'll be a Zero, an ENC20J60, nokia LCD display, rotary encoder and
at least one solid state relay. All plugged onto a custom mother
board apart from the solid state relay(s). It's at bread board stage
but keeps evolving, I wasn't going to control the pump for the oil
boiler loop but or CH loops but we've just had the oil boiler swapped
for a condensing one and getting the return temp down low enough to
keep the thing at least a little in condensing mode is proving an
issue...
> DL> All you need is an ENC20J60 10BaseT ethernet board (approx GBP5.00)
> DL> a PSU and a handful of jumper wires.
>
> I donot know the ENC20J60 10bT EtherNet board.
> And why jumper wires?
To connect the SPI interface of the ENC20J60 board to the SPI
interface on Pi's GPIO header. At least for testing and development,
"production" would have something a little better, perhaps just
hardwired or as above a mother board.
> They also costs money, or did you get that free?
But not a lot, couple of Euro.
> Besides that, the Eminent EM1010 USB2A to/from RJ45 10/100bT EtherNet
> adapter has also the high speeds of 100 mBit, instead of the ENC20J60.
Having the ethernet port run at 1 Gbps, 100 Mbps or 10 Mbps isn't
overly relevant on a Pi's USB interface as that is limited to less
than 5 Mbps (IIRC). Not that I've seen much faster with the ENC20j60
boards.
> The EM1010 costs Euro 20. It worked direct on a Pi Zero of a friend of
> mine. Of course the 4 port USB2 hub was needed too.
ENC20J60 board and jumpers about 10 Euro. Support is built into
Raspian, just add the relevant line to /boot/config.txt and away it
goes.
> DL> True but a zero is 1/10th (ish) the cost
>
> A Pi 2B costs Euro 35 here, and a Pi Zero Euro 6.
> A Pi 3B costs Euro 38 here, and a Pi Zero W Euro 11, that is not 1/10th!
My very poor guesstimation... 1/7th would be closer (for non-W).
> And besides that, the CPU performance is also much different between a
> Pi Zero (W) and the 2B / 3B you have to count and consider too.
> The Pi Zero has 512 MB, and the Pi 2B and 3B both 1 GB, a big
> difference!
Never knowingly had a problem with lack of RAM and the only thing
that has maxed out the CPU on a Zero or Pi B was the Python number
crunching required to animate a 300 LED "neopixel" strip at
Christmas. I suspect if I learnt C and ported the Python that
wouldn't be an issue.
> So I think a Pi Zero or Zero W is a weak approach, compared to a normal
> Pi.
Not for a project like my thermal store controller. That doesn't need
a quad core processor or 1 G byte of RAM, a Zero has ample processing
capacity:
10:47:17 up 9 days, 20:44, 1 user, load average: 0.35, 0.30, 0.28
That's a Zero running Pi-Hole, Nginx web server, a python script
logging data from five 1-Wire temperature sensors, a 1-Wire
thermocouple interface and a 1-Wire 8 port I/O switch, a python
script decoding and logging a serial data stream from an Resol
controller and another python script that is the evolving control
program, that sits reading the some of 1-Wire temp sensors and cycles
round various animated screens showing that information whilst
watching the the rotary encoder for movement if detected it switches
to a "menu mode" to set up various parameters.
--
Cheers
Dave.