Ok, I dug out an old circuit board from a long unused modem and found a set of headers on there that I could remove. I watched a lot of youtube videos on soldering and unsoldering and have discovered that many americans can't pronounce solder. Preferring to leave the 'l' out and making it 'sodder'. :|
Anywho, after a bit of practicing, I unsoldered them, took two out and soldered them onto the Pi. It's not the neatest or straightest, but they're in.
The circuit does work, I've just got to test it now with the whole thing assembled. :)
Edit - Yay, the software switch powers it off and the push switch powers it back on. It's working, but there's room for improvement, but that can all be done later, for now it's something I can give to the builders and say stick this in the wall for me.
I wonder if you can script anything on that Run pin... If that can be used to shutdown/sleep the Pi, that'd be ideal.
Thanks for your help with getting this far PB and Ant. Tonight's job is getting the momentary switch hooked up. It's got 4 poles and didn't come with a wiring diagram, so a little more experimentation is taking place. :)
The kitchen project is continuing, albeit slowly, which is why I've not updated this for a while. If anyone's interested in seeing what it's like let me know and I'll post a link to a google drive file with pictures of how the whole thing's going, but although the Pi is working it won't be installed for a good few days as yet.
It's in a box at the moment. The electricians are doing their 2nd fit this week, so it'll go in then. It's going to sit above the work top where they've put a clock on the 3d drawings. There's 3 double power sockets going along there and it'll sit above the middle one. The power leads are going to go to a double socket hidden in the cupboard underneath, so we won't have any cable clutter. The screen and case I've got don't have an easy way of mounting it all into a recess, so I've got a tablet mounting bracket kit; all it contains is 2 small U shaped bits of plastic that screw into the wall and you drop your kit into them.
The screen needs the protection of the case I've got it mounted in, but it's only ~5mm thick, so isn't going to stand out too much. I would have preferred to have it flush in the wall or something like this, but that's hideously expensive for what it is.
O.M.G. that is expensive. A flat screen with a case to fit a back box and not much change from £500 with tax. Couldn't you put something together with a screen like this and an ordinary back box from Screwfix or somewhere?
And having reread your post, that's pretty well what you're doing, almost.
never trust a man in a blue trench coat, never drive a car when you're dead
The only issue I think we'll have is that the gubbins on the back of the Pi sticks out a fair way at the back and I'm going to have to (for want of a better expression) "roll" it into the brackets, then slide it down into them, so the hole in the wall is going to have to be bigger than it needs to be.
What annoys me about products like that is the spec for the screen is rubbish. 800x480 on a 7" screen is absolutely awful. I'd expect a minimum of 1024x600, and even that's not great.
S'right. For what i need it for though, it's amply sufficient. I'm not going to be viewing photos, watching too many things (though it's nice to have the option to put some TV show on in the background while cooking), it's going to be used mainly for radio and streaming music from my NAS.