The Gadget Show
Posts: 2
Joined: Thu Jun 27, 2013 10:06 am

The Gadget Show

Thu Jun 27, 2013 10:12 am

Hello all,

I work for the Gadget Show, the UK's leading consumer electronics show on Channel 5: http://gadgetshow.channel5.com/.

We are looking for someone to help us code a Raspberry Pi board in Python for a build on the show. We have a really tight turn around for the item but the code its self should be simple enough to write and there is the potential for your work to appear on the show.

Please do get in touch with me via email if you are interested in this project and I will drop over the details.

andrew.parkes@northonetv.com

Many thanks,
Andrew.

User avatar
Davespice
Forum Moderator
Forum Moderator
Posts: 1665
Joined: Fri Oct 14, 2011 8:06 pm
Location: The Netherlands
Contact: Twitter

Re: The Gadget Show

Thu Jun 27, 2013 12:42 pm

Hi there o/ Is there any specific task that you need done in Python? Or are you just looking to demonstrate the Pi with a quick slot? I have a little teacher baiting thing you could use? However the Pi comes with a load of demo programs which are actually quite nice.
I'm going to assume you're using Raspbian, after logging in with pi for the username and raspberry for the password, enter these commands to compile the demo programs.

Code: Select all

cd /opt/vc/src/hello_pi/
./rebuild.sh
Then when it's finished compiling them you can go into each folder and run the binaries.
Like so;

Code: Select all

cd hello_video
./hello_video.bin test.h264
This will play a short video clip with no sound which will show how good the video resolution and playback is.
Then to get back to the other demos enter

Code: Select all

cd ..
ls
That will show you a list of folders, inside each one is a different demo program.

Code: Select all

cd hello_triangle
./hello_triangle.bin
This one will show a 3D cube spinning etc. Try the others yourself and see what you think. A lot of them are designed to demonstrate various coding techniques and some are more impressive than others.

The Gadget Show
Posts: 2
Joined: Thu Jun 27, 2013 10:06 am

Re: The Gadget Show

Thu Jun 27, 2013 1:05 pm

Hi Davespice,

Thanks for your reply. Essentially we are building a Raspberry Pi powered ice cream machine. An engineer is building the physical unit for us but, due to a family emergency, he is unable to complete the coding.

Below is a very rough outline of the code needed for the Raspberry Pi. We have ordered this IO board ( http://uk.farnell.com/piface/piface-dig ... UK-GEN-KWL ) to interface it with the rest of the system.

Inputs

Potentiometer to vary the time the Icecream valve is open
IR Beams to break indicating cone is under the nozzle

Outputs

One Relay to activate Icecream valve
One light/LED Strip to indicate when the machine is ready to dispense Icecream

Process

- Ready LED on to start

-Is beam broken for more than 1 second?

No - Loop

Yes...

-Open Main Icecream valve

Wait duration set by potentiometer (Map 0-1023 to 0-20 seconds)

-Close valve annd turn off ready LED

wait 20 seconds

-Turn Ready LED on

- Loop

Unfortunately there is no one in the office with coding experience hence the reason why I'm reaching out to the good people of Raspberrypi.org

Many thanks,
Andy.

User avatar
Davespice
Forum Moderator
Forum Moderator
Posts: 1665
Joined: Fri Oct 14, 2011 8:06 pm
Location: The Netherlands
Contact: Twitter

Re: The Gadget Show

Thu Jun 27, 2013 1:13 pm

I think you’re going to be a little hard pressed to get a working solution for this. Having someone else code this remotely, without having the extra hardware attached to their Pi for testing will make doing something like this quite difficult. But good luck with it.

User avatar
gordon@drogon.net
Posts: 2020
Joined: Tue Feb 07, 2012 2:14 pm
Location: Devon, UK
Contact: Website

Re: The Gadget Show

Thu Jun 27, 2013 1:30 pm

Shame you don't want it in C or BASIC ;-)

But there must be plenty of Pythonistas out there - go for it!

-Gordon
--
Gordons projects: https://projects.drogon.net/

PiGraham
Posts: 3939
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: The Gadget Show

Thu Jun 27, 2013 1:47 pm

I can do that. I have a Pi with PiFace and the spec is simple.

One question, How are you interfacing the potentiometer?

User avatar
Mortimer
Posts: 923
Joined: Sun Jun 10, 2012 3:57 pm

Re: The Gadget Show

Thu Jun 27, 2013 2:30 pm

I suppose a few questions should be:

(1) Is the target system at North One (Pentonville?) or elsewhere?
(2) Can the coder work at the location with the system, or can the system be brought to the coder?
(3) Will the coder be given a G rating afterward!!? ;-)
--------------
The purpose of a little toe is to ensure you keep your furniture in the right place.

User avatar
davef21370
Posts: 897
Joined: Fri Sep 21, 2012 4:13 pm
Location: Earth But Not Grounded

Re: The Gadget Show

Thu Jun 27, 2013 4:27 pm

Contact these guys... http://www.cl.cam.ac.uk/projects/raspberrypi/
I reckon they'd be glad to help and, being students, they'll have all the time in the world :D

Dave.
Apple say... Monkey do !!

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2869
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: The Gadget Show

Fri Jun 28, 2013 7:13 am

Doesn't sound very hard, but access to the hardware would be necessary for proper testing.

Someone who's got a PiFace would be an advantage if the hardware and coder can't be put together.
Alex Eames RasPi.TV, RasP.iO

User avatar
csoutreach
Posts: 32
Joined: Mon Nov 28, 2011 1:06 pm
Contact: Website

Re: The Gadget Show

Mon Jul 22, 2013 9:20 pm

The results were on TV tonight.
http://gadgetshow.channel5.com/gadget-s ... udio-build

It appears the Raspberry Pi and PiFace made it easier to program a simple control system than it is to actually freeze ice cream. I think it's time to show The Gadget Show how it should be done. How about at a Raspberry Jam, we get kids to build something better?

http://pifacedigital.wordpress.com/2013 ... dget-show/
http://piface.openlx.org.uk/ Raspberry Pi IO Interface Board

User avatar
gordon@drogon.net
Posts: 2020
Joined: Tue Feb 07, 2012 2:14 pm
Location: Devon, UK
Contact: Website

Re: The Gadget Show

Mon Jul 22, 2013 10:01 pm

csoutreach wrote:The results were on TV tonight.
http://gadgetshow.channel5.com/gadget-s ... udio-build

It appears the Raspberry Pi and PiFace made it easier to program a simple control system than it is to actually freeze ice cream. I think it's time to show The Gadget Show how it should be done. How about at a Raspberry Jam, we get kids to build something better?

http://pifacedigital.wordpress.com/2013 ... dget-show/
Yea, and program in in BASIC too :)

-Gordon
--
Gordons projects: https://projects.drogon.net/

Return to “Python”