Raspberry Pi anyone?

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

Moderator: RichardW

User avatar
myglaren
Forum Admin Team
Posts: 18382
Joined: 02 Mar 2008, 14:30
x 1098

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: 42571
Joined: 30 Apr 2005, 23:33
x 1338

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:

User avatar
myglaren
Forum Admin Team
Posts: 18382
Joined: 02 Mar 2008, 14:30
x 1098

Re: Raspberry Pi anyone?

Post by myglaren »

Just spotted in The Register: The Pi-Lite

User avatar
Xaccers
Posts: 7653
Joined: 08 Feb 2007, 00:46
x 3

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;

User avatar
Xaccers
Posts: 7653
Joined: 08 Feb 2007, 00:46
x 3

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

Online
Hell Razor5543
NOT Alistair or Simon
Posts: 10834
Joined: 01 Apr 2012, 09:47
x 1091

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.

User avatar
Xaccers
Posts: 7653
Joined: 08 Feb 2007, 00:46
x 3

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 :)

Online
Hell Razor5543
NOT Alistair or Simon
Posts: 10834
Joined: 01 Apr 2012, 09:47
x 1091

Re: Raspberry Pi anyone?

Post by Hell Razor5543 »

That was why I posted it up.

User avatar
myglaren
Forum Admin Team
Posts: 18382
Joined: 02 Mar 2008, 14:30
x 1098

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: 7653
Joined: 08 Feb 2007, 00:46
x 3

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;

User avatar
myglaren
Forum Admin Team
Posts: 18382
Joined: 02 Mar 2008, 14:30
x 1098

Re: Raspberry Pi anyone?

Post by myglaren »

Aha! Thought it might run direct from a dongle.

User avatar
Xaccers
Posts: 7653
Joined: 08 Feb 2007, 00:46
x 3

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.

User avatar
CitroJim
A very naughty boy
Posts: 42571
Joined: 30 Apr 2005, 23:33
x 1338

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...

User avatar
Xaccers
Posts: 7653
Joined: 08 Feb 2007, 00:46
x 3

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.

User avatar
Xaccers
Posts: 7653
Joined: 08 Feb 2007, 00:46
x 3

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.