Raspberry Pi

Forum for discussion of narrow-bandwidth mechanical television

Moderators: Dave Moll, Andrew Davie, Steve Anderson

Postby Viewmaster » Thu Oct 04, 2012 7:17 pm

To break out of the Raspberrypi here are all the General Purpose i/p o/p
connections together with C code on how to access all the pins directly.


And for those who may thrive on eating Raspberry schematics see here...
http://www.raspberrypi.org/wp-content/u ... s-R1.0.pdf
“One small step for a man,"......because he has Arthritis.
User avatar
Frankenstein was my uncle.
Posts: 1294
Joined: Fri Apr 06, 2007 4:50 am
Location: UK Midlands

Postby dominicbeesley » Thu Oct 04, 2012 8:56 pm

Sorry Steve, got to diagree with you on the DONT USE IT message.

I got a couple of DDS-60 boards a while back and they are all SMD with quite a few chips. I have to say at first I was quite daunted but it was actually pretty easy to get good results. I would recommend doing all the work on a big piece of A3 and having a decent magnifier to hand though.

I think the small size is a selling point for these kits. One of the big whinges about the first boards for the RPI was that there were no mounting holes. I wish they'd thought the hardware through just a bit more and come up with specified mounting holes and headers so we could stack them like Arduino shields and mounted the sdcard so that it was over the back of the board instead of sticking out....
User avatar
Anyone have a spare straightjacket?
Posts: 685
Joined: Sat Sep 13, 2008 11:32 pm
Location: Hebden Bridge

Postby AncientBrit » Thu Oct 04, 2012 10:38 pm

Ah, Dominic, you've got age on your side.

Us oldies find surface mount just a tad too small,


Green padded cells are quite homely.
Posts: 858
Joined: Mon Mar 26, 2007 10:15 pm
Location: Billericay, UK

Postby Steve Anderson » Fri Oct 05, 2012 2:37 pm

dominicbeesley wrote:Sorry Steve, got to diagree with you on the DONT USE IT message....

Well, I have to concede that I have used SMD devices (SOICs) on veroboard, but it was a bodge. But when a chip has pins spaced at 0.5mm and there's upward of 60 of 'em it all gets a little too much.

I have seen kits where the major SMD devices have been soldered already, you do the rest. It's a reasonable compromise for kit construction where everything has been thought out beforehand.

My point was that someone is listening to user feedback and doing something about the issues.

A large (if not the largest) part of the cost of a kit of this nature is the PCB. You can change the software, you can change a resistor from 10k to 4k7, the cost impact is minimal. But to re-lay out the PCB could put you in deep water. What about the 5000 already made that are now useless? The losses can be enormous.

So Kudos to those that have made this change to this kit, if there were a choice between MkI and MkII, with a small increase in board area and even perhaps cost, I know which one I would choose. PCBs once within a production environment are costed on area and number of processes required.

In this plug-and-play world the fact that someone is producing kits that require assembly has to be encouraged. In an e-mail to Jeremy recently I said, "In a few years time anyone under the age of 35 will not know which end of a soldering iron gets hot."

Steve A.
User avatar
Steve Anderson
"Fester! Don't do that to 'Thing'"
Posts: 4498
Joined: Fri Mar 30, 2007 10:54 pm
Location: Bangkok, Thailand

Postby dominicbeesley » Mon Oct 08, 2012 5:28 am

Back on topic...

Here's my first mini-project on the Raspberry to get my PI in as it were...

It's a little C program to exercise the sound card by outputting an NBTV test card. Now I've not tested this with a real televisor but I have scoped it and it looks to be outputting roughly what I'd expected and seems steady..

I can't get my 'visor out to try it but would be really grateful if one of you guys could give it a test. I've only tried it with Raspbian wheezy but it should theoretically work with other Linuxes as well so non Raspberry linux users could also give it a go.

To compile it, from a linux prompt:
Ensure you have the right sound packages installed
Code: Select all
sudo apt-get install libasound2

Download to a folder and get a terminal going and change to that folder
Code: Select all
tar -xzf alsa-test-1.tar.gz

Change to the directory
Code: Select all
cd alsa-test-1

Code: Select all

turn the sound all the way up on the soundcard
Code: Select all
amixer cset numid=1 -- 400

Run the test program
Code: Select all

Press CTRL-C when you've had enough

Hopefully you should now get a simple set of grey-scale bars...
I have to say the sound output by mine is a bit noisy but I'm not sure if that isn't pick up from the Raspberry or from the usb power supply. There seems to be some odd ringing before and after the sync as if there is some kind of DSP trickery being done to the sound output.

Source code v1
(2.1 KiB) Downloaded 420 times
User avatar
Anyone have a spare straightjacket?
Posts: 685
Joined: Sat Sep 13, 2008 11:32 pm
Location: Hebden Bridge

Postby gary » Sat Jan 26, 2013 6:18 pm

Ok tried it on my MUTR unit - seems to work OK - the contrast between bars is a bit difficult to pick up but they are there.

I attach as a benchmark the familiar Milligan clip also played out of the Pi via mplayer.

BTW the package to download for compilation is (at least on Rasbian):

sudo apt-get install libasound2-dev
(113.49 KiB) Downloaded 381 times
dompitest(compressed 2).avi
Dom's Bars
(107.97 KiB) Downloaded 404 times


Return to Mechanical NBTV

Who is online

Users browsing this forum: No registered users and 7 guests