Author Topic: Finally got around to playing with the Raspberry Pi  (Read 10780 times)

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5110
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Finally got around to playing with the Raspberry Pi
« on: June 02, 2013, 02:41:39 PM »

Offline greasemonkey

  • Wiki Editor
  • Grand Gunge Master
  • ******
  • Posts: 1765
  • Location: Breconshire
Re: Finally got around to playing with the Raspberry Pi
« Reply #1 on: June 02, 2013, 02:51:33 PM »
Hi Pi.
http://vegoilcollection.weebly.com/

I Is An Oily Lickle Chimp.

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5110
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Finally got around to playing with the Raspberry Pi
« Reply #2 on: June 02, 2013, 03:25:50 PM »
Ultimately it would be nice in the shed, reporting process temps and running a webcam to keep an eye on things.

Offline Julian

  • Administrator
  • Oil baron
  • *******
  • Posts: 6389
    • Used Cooking Oil Collection website
  • Location: East Surrey, UK.
Re: Finally got around to playing with the Raspberry Pi
« Reply #3 on: June 02, 2013, 04:35:34 PM »
Ultimately it would be nice in the shed, reporting process temps and running a webcam to keep an eye on things.

I could do with one of those pointed at the bottom of my Mono!

But it sounds like a great project to detail on the wiki.  How easy is the interfacing between sensors and the PC.
Used Cooking Oil Collection website ... http://www.surreyusedcookingoilcollection.palmergroup.co.uk

Offline therecklessengineer

  • Administrator
  • Oil obsessive
  • *****
  • Posts: 648
Re: Finally got around to playing with the Raspberry Pi
« Reply #4 on: June 09, 2013, 08:40:58 PM »
I've got mine running as a Ninjablock: https://api.ninja.is/signin?redirect=home

Currently, it's just running RGB LED light strips. Expanding to do temperatures/pressures etc isn't that hard.

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5110
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Finally got around to playing with the Raspberry Pi
« Reply #5 on: December 14, 2013, 10:41:02 PM »
Rejuvinating an old thread.

The missus won some 600 Mbps ZyXEL power line adapters - so I thought I'd see how well they work through the SWA cable buried under the garden to the shed.  Surprisingly well as it turns out.

http://pi.cooldark.com/

My only concern is moisture and condensation - I think it would be good to keep the pi in a box with some desiccant.

Offline therecklessengineer

  • Administrator
  • Oil obsessive
  • *****
  • Posts: 648
Re: Finally got around to playing with the Raspberry Pi
« Reply #6 on: December 15, 2013, 07:30:50 AM »
Have a look here:

http://ninjablocks.com/

I've set up my pi as a ninja block. With the aid of an Arduino acting as an A/D converter I can grab and display data from the outside world.

There's a widget on this page showing the current temperature in my barn. www.lmbl.co.uk

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5110
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Finally got around to playing with the Raspberry Pi
« Reply #7 on: December 15, 2013, 11:30:03 AM »
Nice :)

The missus has ordered me these as xmas pressies:

http://www.ebay.co.uk/itm/USB-8-RELAY-CARD-BOARD-MODULE-OPTOISOLATION-/260928415996



http://www.ebay.co.uk/itm/TEMPer1K4-PC-Sensor-USB-Thermocouple-K-Type-Thermometer-Temperature-Meter-/281224585770



Got plenty of SSRs (with snubbers) so will have a crack at immersion and pump motor control with it.  Quite like the idea of dialling in a temperature from the comfort of my living room :)

To start with it'll just interface with the existing system, I'll just set the manual themostat to max and let the Pi have free reign.  It will still have the liquid level deadlock on the immersion that way too.

Offline therecklessengineer

  • Administrator
  • Oil obsessive
  • *****
  • Posts: 648
Re: Finally got around to playing with the Raspberry Pi
« Reply #8 on: December 15, 2013, 12:09:52 PM »
Yes, I saw those too. Look pretty cool. I like that it's all done on the local network. Where Ninjablocks fails for me is that it must connect via the ninja servers on the outside internet. If you loose your net connection then it falls over.

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5110
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Finally got around to playing with the Raspberry Pi
« Reply #9 on: December 15, 2013, 02:27:24 PM »
Did you see these too?

http://www.ebay.co.uk/itm/USB-to-SPI-I2C-ADC-GPIO-Converter-Analyser-PC-or-Raspberry-Pi-/291022262950
http://www.ebay.co.uk/itm/12-I-O-USB-Controller-PIC18F14K50-USB-GPIO12-/321269400546

The latter is quite interesting, looks like it has a bootloader so you can cross-compile you own app for it.

I'd quite like some form of opto-isolated GPIO inputs to the Pi for switch based sensors (level, push buttons) but not sure how to implement such a thing.  I guess it would have to raise an interrupt at the Pi end which then scans input GPIO.  I've not really looked to see if the Pi has an interrupt input but it must do on its interface somewhere.

I like the idea of keeping it out on a USB peripheral but then how would an interrupt work?

Offline therecklessengineer

  • Administrator
  • Oil obsessive
  • *****
  • Posts: 648
Re: Finally got around to playing with the Raspberry Pi
« Reply #10 on: December 15, 2013, 05:18:53 PM »
They look pretty cool.

I like the Arduino platform as the libraries available are enormous and the development environment is very easy to use.

You'd have to poll the inputs for a state change I'd have thought.

My Arduino-PI interface just pumps JSON encoded data back and forth over a serial interface.

Offline julianf

  • Wiki Editor
  • Grand Gunge Master
  • ******
  • Posts: 1388
  • Location: Devon
Re: Finally got around to playing with the Raspberry Pi
« Reply #11 on: December 15, 2013, 09:36:51 PM »
If i get Tony to wire my reactor up to the net, anyone want to make my bio for me?
For custom cnc cut instrument panels, see - http://www.thebeast.co.uk

Collections website - http://www.devon-used-cooking-oil-collection.co.uk

Offline Tony

  • Administrator
  • Oil baron
  • *******
  • Posts: 5110
  • Fo' shizzle, biodizzle
    • Southampton Waste Oil Collection
  • Location: Southampton
Re: Finally got around to playing with the Raspberry Pi
« Reply #12 on: December 16, 2013, 11:40:18 PM »
I've got the Pi serving up web pages generated by a Python script on that address now.  Not yet figured out how to get a handle on the request URL yet though, hence the extra debug.

Plan is to write Python modules to control everything, IE have an object such that Processor.MainPump(1) will start the pump and Processor.GetTemp() will return the oil temperature so it can be integrated into web controls.

Offline therecklessengineer

  • Administrator
  • Oil obsessive
  • *****
  • Posts: 648
Re: Finally got around to playing with the Raspberry Pi
« Reply #13 on: December 17, 2013, 06:39:45 AM »

Offline Bill

  • Oil stirrer
  • **
  • Posts: 93
  • Location: Leicester
Re: Finally got around to playing with the Raspberry Pi
« Reply #14 on: December 17, 2013, 07:39:04 AM »
I've semi automated my processor using a Velleman VM110 I/O board and VM132 temperature sensor. All controlled by wifi from an old tablet pc I carry round when its running. Had it running now for over a year. Programmed in VisualBasic.
Still forever scrabbling up the learning curve.
Seat Altea 2004 & Fiat Scudo 2004 both 100%BD
Both sold
Skoda fabia 2012 on B50 since 2017