Posts Tagged ‘electronics’

Creating my Glasses and Creating Success

Thursday, March 18th, 2010

Finally, my bits and pieces from China have arrived! Recently, I have been doing all of my shopping on eBay, buying things from China. If you can stand the wait, then it pays off because it’s so much cheaper!

My next task is to try and assemble my bag o’ parts into a standalone pair of specs. Because I don’t have the knowledge and experience to create a face-tracking application, I have to use 4 IR LEDs on a pair of glasses whilst being ‘watched’ by a Wiimote. I have:

  • 4x 3mm 940nM IR LEDs
  • 1x 3mm red LED (as a power indicator)
  • 1x SPDT PCB-mounted switch
  • 1x 23AE battery and battery holder
  • 1 pair of stylish black and orange glasses with non-indexed lenses

The positioning of the 4 IR LEDs is very important as they must be equidistant and must all lie along a single plane in order to allow me to triangulate the distance accurately.

As you can see from the photo, I have already attached the battery and battery holder to the glasses using cable ties. The next job is to mark out the positioning of the IR LEDs and the switch and solder the whole shabang together with a resistor in the mix to keep things dissipated correctly. Thanks to http://led.linear1.org/led.wiz, I am able to work out that I need a single 220Ω resistor.

In other news, I have now mixed my Wiimote patch and my 3D cube patch to create a cube that revolves with motion input from the Wiimote (apologies for the poor quality!):

So I am now well on my way to creating a usable, workable system…

Arduino, Breadboard and PCB Basics

Thursday, November 26th, 2009

Well after a week of just making the LED on one of my Arduinos flash, I decided to get back in touch with some basic electronics and where best to find electronic components than in old electronic equipment?

I spent all of last weekend going through my roof and digging out anything with potentiometers, resistors, LDRs, infra-red, motors, solenoids and lasers and taking it apart to try and get some ideas for interactivity. Turns out that I found 2 computers, 2 additional graphics cards, 3 stereos, a PSU, an amplifier and a laser printer. Needless to say my mother wasn’t happy when she saw the state of the roof:

21112009(001)

21112009

However, I struck gold when I found my old ‘Cybot’, built from a week-by-week magazine collection, Real Robots:

RealRobots

2070832191_faab169f4c_o

Wow – he had it all! The LDRs, the ultra-sonic sensors, the infra-red, the LEDs, the motors and the ‘line-following’ snout. So i killed him. What’s left of him is sitting in an anti-static bag in front of me.

So I then started to read more into electronics. I was quite good at electronics in college, but then it did just consist of soldering a couple of resistors onto a pre-made PCB and plugging in a battery to test fuses. Boring! I know what component is what and its basic function, but I decided to look into things like how a transistor works and the tolerances of a relay and what a J-K flip-flop chip does. I looked at logic circuits in more detail than I realised and I think I now have enough knowledge to start building my own circuits for the Arduino. Starting off nice and simply, hooking up an LDR to the board and getting a reading.

Screen shot 2009-11-26 at 16.13.32

Easy! For my new idea, the hardware side of things only requires 3 or 6 LDRs, 2 ultra-sonic sensors, 2 potentiometers, 6 PTM switches and a microphone. My final year project is, as yet, undecided! An update is imminent…