Sunday, 26 October 2014
Skorpion finished for now
Nevertheless this is again mostly about enjoying making something, not making something to a deadline. I was trying to finish it for a game this weekend and missed it, but in the end didn't fire a single shot all game anyway.
To make a functional Lasertag gun you need to squeeze quite a lot in, most of it is batteries, sockets, speakers and switches. The job of laying it out so it all fits nicely in a small gun body like this is more complicated than the electronics.
For future projects I've bought some Atmel ATTiny85 chips which should allow me to do quite a lot in a small space, at the cost of many fewer pins. They won't be any good for gun projects as there won't be enough pins to drive the WTV020SD but they might be OK for some really simple stuff. My next project may involve driving Neopixel LEDs in a garment so they'll be good for that. I've also picked up some Arduino Pros which are similar to Nanos but headerless and relying on an FTDI connecter rather than having USB on board. All of which makes them a bit more compact.
All Arduinos come with some LEDs onboard which glow alarmingly brightly in the dark and could be seen through the speaker vent in the gun. Which would be bad in a night time Lasertag game so I desoldered them carefully from the board.
This ended up being about the third iteration of getting it all squeezed into the body, which is why it's taken me so long.
The first try simply didn't fit due to untidy wiring. The second worked but with the tiny speaker the WTV020SD board simply wasn't loud enough unamplified. Which I should have known. Connected up to a large speaker in ORAC and Time Machine for ambient sound they were OK, but a tiny speaker needs something drive it hard.
The third time I had to shuffle it all around to fit the amplifier in and I managed to kill a WTV020SD sound board by soldering it to the wrong power supply. Good thing I bought a load from China.
So it's taken far far too long to get done, but as ever I revel in using something I've made myself rather than just bought.