Jump to content


ebuild is sad to announce its closure - it has become too time and resource intensive to develop, manage and maintain.

However, ebuild will remain on-line in archive mode (ie no posting facilties) for several weeks so that users can use it as an information resource.

More Pi


  • Please log in to reply
109 replies to this topic

#41 DamonHD

DamonHD

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,046 posts
  • LocationLondon, UK

Posted 02 February 2015 - 07:51 PM

Guess what I get paid to do, when not programming rad valves! B^>

Rgds

Damon

#42 Alphonsox

Alphonsox

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,495 posts
  • LocationCounty Down, NI and Forest of Dean, England

Posted 02 February 2015 - 07:54 PM

And guess what I build when I'm not building houses !

#43 TerryE

TerryE

    Regular Member

  • Member Blogger
  • PipPipPip
  • 709 posts
  • LocationSouth Northants

Posted 02 February 2015 - 10:17 PM

View PostSteamyTea, on 02 February 2015 - 06:59 PM, said:

Doesn't ... more RAM just encourage sloppy programming though.
Yup it might, but when I run PHP my contribution to this language system is measured in 100s of lines of bugfix in over a million in the application and runtime system. OK, it's bit bloaty, but the guys that cut this code are a lot sharper than I could be at my age. Ditto the Home automation stuff. By using OpenHAB, I only need to write 100s of line of code to implement my home automation system rather than 10Ks - 100Ks; so that's the upside -- the downside is that instead of one board which costs £30, I have to use a newer model -- which also costs £30.

Edited by TerryE, 02 February 2015 - 10:18 PM.


#44 Alphonsox

Alphonsox

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,495 posts
  • LocationCounty Down, NI and Forest of Dean, England

Posted 03 February 2015 - 08:33 AM

A little more information is now available regarding Windows 10 on the Pi2. Aparently this is Microsofts push back into embedded computing (aka IoT) rather than a push to get a desktop OS on the Pi. Think "son of WINCE" not "Windows 8 +1"

Edited by Alphonsox, 03 February 2015 - 08:36 AM.


#45 TerryE

TerryE

    Regular Member

  • Member Blogger
  • PipPipPip
  • 709 posts
  • LocationSouth Northants

Posted 09 February 2015 - 03:30 PM

As well as my current RPi B mini server, I've also bought a model A to play with a view to using it as a low level controller for my internal air heating/controller. Using it is a real pain as architecturally it is still designed to be a server rather than a slave. The only simple way to connect it to a master RPi 2 which hosts the HA software and user interface is to use an FTDI USB->3.3 V TTL serial I/F which plugs into the RPi console port. (An Arduino board may be a better fit for this job). Still, I've ordered my RPi 2 because it will make a brilliant home Linux server, IMO.

#46 DamonHD

DamonHD

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,046 posts
  • LocationLondon, UK

Posted 09 February 2015 - 03:55 PM

Why not network the RPis?

Rgds

Damon

#47 TerryE

TerryE

    Regular Member

  • Member Blogger
  • PipPipPip
  • 709 posts
  • LocationSouth Northants

Posted 09 February 2015 - 04:27 PM

I have to use WiFi to use the A with a full network stack. If I am going to network them, then the B+ or 2 would be a better platform because I can then use wired enet. I want to lock down the access to the control system as well so if I use a network on this device then I need to configure a firewall on it ... I'll be locking down the web-server anyway, but if I use a point-to-point master-slave combo for the web-server + controller, then I can keep the controller as simple as possible. I'll discuss the details on the specific thread about this :)

#48 DamonHD

DamonHD

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,046 posts
  • LocationLondon, UK

Posted 09 February 2015 - 04:46 PM

Why not run IP (over PPP) over the serial?

Rgds

Damon

#49 Alphonsox

Alphonsox

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,495 posts
  • LocationCounty Down, NI and Forest of Dean, England

Posted 09 February 2015 - 04:51 PM

How about one of the low speed serial links ? SPI, I2C, Something over the GPIO ?

#50 DamonHD

DamonHD

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,046 posts
  • LocationLondon, UK

Posted 09 February 2015 - 04:55 PM

SPI and I2C aren't really meant to travel more than a few cm AFAIK. Optoisolators and GPIO might be good for really low bandwidth on/off type signals.

Rgds

Damon

#51 TerryE

TerryE

    Regular Member

  • Member Blogger
  • PipPipPip
  • 709 posts
  • LocationSouth Northants

Posted 09 February 2015 - 06:26 PM

Damon, Yes I realise that I could run PPP over a serial line this will allow any IP based protocol access with all of the potential exploits that go along with this. If I wanted to go the full stack route then Wifi or better its just a lot easier to use a B+ or a PI 2 with its Enet on the board.

In this application less is better. To be quite honest, the bandwidth and communications requirements between the master and slave are tiny: read and write access to a register pad of maybe 64-128 bytes which contains set parameters and data out values. A simple AT protocol would be quite adequate here.

I agree SPI or I²C is really for on board (or adjacent board) connectivity. When I read the specs last week, I realised that it's not really designed for driving over distances. However, USB will happily go up to 5m per repeater and this fine for my needs and the geometry of my house. I could have the FTDI USB->3.3 V TTL serial I/F 5m from the controller Pi 2 or multiple slaves configured this way if I wanted. I just can't have multiple masters on the same USB. Ditto for connections to an AVR micro-controller (e.g,Ardiuno).

Edited by TerryE, 10 February 2015 - 12:32 PM.


#52 SteamyTea

SteamyTea

    Advanced Member

  • Members
  • PipPipPipPip
  • 4,322 posts
  • LocationCornwall

Posted 09 February 2015 - 06:43 PM

Starting to sound like a kids over a spilt tin of alphabetti spaghetti :D

#53 TerryE

TerryE

    Regular Member

  • Member Blogger
  • PipPipPip
  • 709 posts
  • LocationSouth Northants

Posted 10 February 2015 - 12:31 PM

View PostSteamyTea, on 09 February 2015 - 06:43 PM, said:

Starting to sound like a kids over a spilt tin of alphabetti spaghetti :D
Or maybe some boffins having a huddle in their corner. :rolleyes:

#54 SteamyTea

SteamyTea

    Advanced Member

  • Members
  • PipPipPipPip
  • 4,322 posts
  • LocationCornwall

Posted 10 February 2015 - 12:42 PM

Just off to Tesco, shall see if there is a Hudl Corner :)

#55 Alphonsox

Alphonsox

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,495 posts
  • LocationCounty Down, NI and Forest of Dean, England

Posted 11 August 2015 - 06:02 PM

Windows 10 IoT for Pi arrives (Don't say you weren't warned) :-
https://blogs.window...ws-10-iot-core/
http://www.theinquir...-raspberry-pi-2

#56 Alphonsox

Alphonsox

    Advanced Member

  • Members
  • PipPipPipPip
  • 1,495 posts
  • LocationCounty Down, NI and Forest of Dean, England

Posted 26 November 2015 - 11:41 AM

Another version announced today - Pi Zero
Only £4 and in a tiny form factor, another possibility for remote sensors although no power data currently available that I can see.

https://www.raspberr...pberry-pi-zero/

#57 gravelld

gravelld

    Regular Member

  • Members
  • PipPipPip
  • 655 posts

Posted 26 November 2015 - 11:59 AM

That's really quite amazing.

I can't believe they're giving them away free on the front cover of a magazine :D

Apparently uses about 0.5-0.7W https://www.raspberr...comment-1248715

#58 daiking

daiking

    Advanced Member

  • Member Blogger
  • PipPipPipPip
  • 1,300 posts
  • LocationSouth Manchester

Posted 26 November 2015 - 12:14 PM

I would love some pie.

We haven't had an oven since the end of March and it doesn't look like we'll get one in time for Christmas either.

#59 gravelld

gravelld

    Regular Member

  • Members
  • PipPipPip
  • 655 posts

Posted 30 November 2015 - 12:06 PM

On the subject of power consumption - http://www.midwester...conserve-energy

#60 SteamyTea

SteamyTea

    Advanced Member

  • Members
  • PipPipPipPip
  • 4,322 posts
  • LocationCornwall

Posted 30 November 2015 - 01:37 PM

Talking about sending data securely, I have got hold of a bit of cloud disk space that has (S)FTP access.
It is easy enough to write a bit of Python script to send the data using FTPLIB, but how do I make sure it is really secure.

Is there an easy way to encrypt the data before transmission in Python?