Raspberry Pi anyone?

This is the place for posts that don't fit into any other category.

Moderator: RichardW

Post Reply
User avatar
myglaren
Forum Admin Team
Posts: 25366
Joined: 02 Mar 2008, 13:30
Location: Washington
My Cars: Mazda 6
Ooops.
Previously:
2009 Honda Civic :(
C5, C5, Xantia, BX, GS, Visa.
R4, R11TXE, R14, R30TX
x 4888

Re: Raspberry Pi anyone?

Post by myglaren »

CitroJim wrote:Just been playing with Xac's Raspberry Pi. Very impressed indeed...

Just as a test we compiled up ClamAV from C source code and it did it flawlessly....

We put a virus test file on it and it found it...

I've got one on order...
You can get those viruses of the internet for nothing if you run the right OS - completely free, no need to order them :twisted:
User avatar
CitroJim
A very naughty boy
Posts: 49526
Joined: 30 Apr 2005, 23:33
Location: Paggers
My Cars: Bluebell the AX, Polly the C3 Picasso, Pix the Nissan Pixo, Propel the duathlon bike, TCR Pro the road bike and Fuji the TT bike...
x 6160
Contact:

Re: Raspberry Pi anyone?

Post by CitroJim »

myglaren wrote:
CitroJim wrote:Just been playing with Xac's Raspberry Pi. Very impressed indeed...

Just as a test we compiled up ClamAV from C source code and it did it flawlessly....

We put a virus test file on it and it found it...

I've got one on order...
You can get those viruses of the internet for nothing if you run the right OS - completely free, no need to order them :twisted:
:lol: :lol: :lol: =D> :rofl:
Jim

Runner, cyclist, time triallist, duathlete, Citroen AX fan and the CCC Citroenian 'From A to Z' Columnist...
User avatar
myglaren
Forum Admin Team
Posts: 25366
Joined: 02 Mar 2008, 13:30
Location: Washington
My Cars: Mazda 6
Ooops.
Previously:
2009 Honda Civic :(
C5, C5, Xantia, BX, GS, Visa.
R4, R11TXE, R14, R30TX
x 4888

Re: Raspberry Pi anyone?

Post by myglaren »

Just spotted in The Register: The Pi-Lite
User avatar
Xaccers
Posts: 7654
Joined: 07 Feb 2007, 23:46
Location: Milling around Milton Keynes
My Cars:
x 184

Re: Raspberry Pi anyone?

Post by Xaccers »

This is an interesting article with 15 ad-on boards
http://www.eetimes.com/author.asp?secti ... id=1318834" onclick="window.open(this.href);return false;
1.9TD+ SX Xantia Estate (Cassy) running on 100% veg
1.9TD SX Xantia Hatchback (Jenny) running on 100% veg for sale
Laguna II 2.0dCi Privilege (Monty)

DIY sphere tool
User avatar
Xaccers
Posts: 7654
Joined: 07 Feb 2007, 23:46
Location: Milling around Milton Keynes
My Cars:
x 184

Re: Raspberry Pi anyone?

Post by Xaccers »

Gave Jim my spare temperature sensor today and have just worked out how to get it to update a Google docs spread sheet
1.9TD+ SX Xantia Estate (Cassy) running on 100% veg
1.9TD SX Xantia Hatchback (Jenny) running on 100% veg for sale
Laguna II 2.0dCi Privilege (Monty)

DIY sphere tool
Hell Razor5543
Donor 2023
Posts: 13727
Joined: 01 Apr 2012, 09:47
Location: Reading
My Cars: C5 Mk2 VTX+ estate.
x 2993

Re: Raspberry Pi anyone?

Post by Hell Razor5543 »

I was at a computer fair in Bracknell today. A 32GB Kingston class 10 SDHC memory card cost me £20. My camera will be pleased!
Last edited by Hell Razor5543 on 14 Jul 2013, 21:38, edited 1 time in total.
James
ex BX 1.9
ex Xantia 2.0HDi SX
ex Xantia 2.0HDi LX
Ex C5 2.0HDi VTR
Ex C5 2.0HDi VTR

C5 2.2HDi VTX+
Yes, I am paranoid, but am I paranoid ENOUGH?
Out amongst the stars, looking for a world of my own!
User avatar
Xaccers
Posts: 7654
Joined: 07 Feb 2007, 23:46
Location: Milling around Milton Keynes
My Cars:
x 184

Re: Raspberry Pi anyone?

Post by Xaccers »

Hell Razor5543 wrote:I was at a computer fair in Bracknell today. A 32GB Kingston class 10 SDHC memory card cost me £20. My camera will be pleased!
Perfect for a Pi :)
1.9TD+ SX Xantia Estate (Cassy) running on 100% veg
1.9TD SX Xantia Hatchback (Jenny) running on 100% veg for sale
Laguna II 2.0dCi Privilege (Monty)

DIY sphere tool
Hell Razor5543
Donor 2023
Posts: 13727
Joined: 01 Apr 2012, 09:47
Location: Reading
My Cars: C5 Mk2 VTX+ estate.
x 2993

Re: Raspberry Pi anyone?

Post by Hell Razor5543 »

That was why I posted it up.
James
ex BX 1.9
ex Xantia 2.0HDi SX
ex Xantia 2.0HDi LX
Ex C5 2.0HDi VTR
Ex C5 2.0HDi VTR

C5 2.2HDi VTX+
Yes, I am paranoid, but am I paranoid ENOUGH?
Out amongst the stars, looking for a world of my own!
User avatar
myglaren
Forum Admin Team
Posts: 25366
Joined: 02 Mar 2008, 13:30
Location: Washington
My Cars: Mazda 6
Ooops.
Previously:
2009 Honda Civic :(
C5, C5, Xantia, BX, GS, Visa.
R4, R11TXE, R14, R30TX
x 4888

Re: Raspberry Pi anyone?

Post by myglaren »

If it can use a USB dongle I just bought one from Amazon, Sandisc (only buy Sandisc ones now) 32Gig for fifteen quid. Tiny and very fast.
User avatar
Xaccers
Posts: 7654
Joined: 07 Feb 2007, 23:46
Location: Milling around Milton Keynes
My Cars:
x 184

Re: Raspberry Pi anyone?

Post by Xaccers »

myglaren wrote:If it can use a USB dongle I just bought one from Amazon, Sandisc (only buy Sandisc ones now) 32Gig for fifteen quid. Tiny and very fast.
You can run it off a USB stick, but you still need a SD card to boot
http://www.dingleberrypi.com/2013/05/in ... ash-drive/" onclick="window.open(this.href);return false;
1.9TD+ SX Xantia Estate (Cassy) running on 100% veg
1.9TD SX Xantia Hatchback (Jenny) running on 100% veg for sale
Laguna II 2.0dCi Privilege (Monty)

DIY sphere tool
User avatar
myglaren
Forum Admin Team
Posts: 25366
Joined: 02 Mar 2008, 13:30
Location: Washington
My Cars: Mazda 6
Ooops.
Previously:
2009 Honda Civic :(
C5, C5, Xantia, BX, GS, Visa.
R4, R11TXE, R14, R30TX
x 4888

Re: Raspberry Pi anyone?

Post by myglaren »

Aha! Thought it might run direct from a dongle.
User avatar
Xaccers
Posts: 7654
Joined: 07 Feb 2007, 23:46
Location: Milling around Milton Keynes
My Cars:
x 184

Re: Raspberry Pi anyone?

Post by Xaccers »

You wouldn't need much of a SD card for the boot I'd imagine.

I've just finished the next step in the climate control program using a red and green LED as guides for heating and cooling.

For this step I've defined what the desired temperature (dt) is.

If the temperature is more than 5C above the desired temperature then both LEDs are on to indicate super cooling (a/c on, fan on full blast, vents to recirculate and face)
If the temperature is more than 1C above dt then the green LED is on to indicate cooling (a/c on, fan on 3/4, vents to recirculate and face)
If the temperature is between 1C above and 1C below dt, then the LEDs are off indicating a/c would be off.
If the temperature is more than 1C below dt, the red LED comes on to indicate heating.

The next step is to make dt variable via button input, then it's displaying it on the LCD.
1.9TD+ SX Xantia Estate (Cassy) running on 100% veg
1.9TD SX Xantia Hatchback (Jenny) running on 100% veg for sale
Laguna II 2.0dCi Privilege (Monty)

DIY sphere tool
User avatar
CitroJim
A very naughty boy
Posts: 49526
Joined: 30 Apr 2005, 23:33
Location: Paggers
My Cars: Bluebell the AX, Polly the C3 Picasso, Pix the Nissan Pixo, Propel the duathlon bike, TCR Pro the road bike and Fuji the TT bike...
x 6160
Contact:

Re: Raspberry Pi anyone?

Post by CitroJim »

Xac wrote: I've just finished the next step in the climate control program using a red and green LED as guides for heating and cooling.
Excellent stuff :-D Coded in Python?

Must try to get into a bit of Python. C is my language of choice at the moment...
Jim

Runner, cyclist, time triallist, duathlete, Citroen AX fan and the CCC Citroenian 'From A to Z' Columnist...
User avatar
Xaccers
Posts: 7654
Joined: 07 Feb 2007, 23:46
Location: Milling around Milton Keynes
My Cars:
x 184

Re: Raspberry Pi anyone?

Post by Xaccers »

You really need to join the Raspberry Pi community on Google+ Jim, there's been some excellent tutorials on gpio.
1.9TD+ SX Xantia Estate (Cassy) running on 100% veg
1.9TD SX Xantia Hatchback (Jenny) running on 100% veg for sale
Laguna II 2.0dCi Privilege (Monty)

DIY sphere tool
User avatar
Xaccers
Posts: 7654
Joined: 07 Feb 2007, 23:46
Location: Milling around Milton Keynes
My Cars:
x 184

Re: Raspberry Pi anyone?

Post by Xaccers »

I think we've cracked the shutdown/powerdown issue.

An astable 555 will be powered from the accessory feed producing a constant square wave signal. This will constantly trigger a monostable 555 getting it's power from a 12V feed, and the constant triggering will keep a relay closed which feeds 12V to the Pi.
When the ignition is off, the astable loses power and stops signalling the monostable 555, which then runs for it's 30 second single trigger time then cuts off power to the relay which cuts off power to the Pi.
When the ignition is turned on the astable starts signalling the monostable which in turn closes the relay and turns on the Pi.
1.9TD+ SX Xantia Estate (Cassy) running on 100% veg
1.9TD SX Xantia Hatchback (Jenny) running on 100% veg for sale
Laguna II 2.0dCi Privilege (Monty)

DIY sphere tool
Post Reply