Pial's (We)Blog

Hobby electronics, interesting findings on the web


Figure: 9 DOF Sensor board right after etching

When I started to gather interest in making a quad copter inspired from open source projects around the world, there was one problem. That is getting the gyro, accelorometer, magnetometer and barometric pressure sensors. All these sesnors are used to keep the quad copter stable in flight and for purposes like altitude hold, heading hold etc. The sensors very small package smd devices, are a bit hard to work with when it comes to DIY. Sparkfun electronics sells the sensors on breakout board, but those seem a bit over priced for me. For example, the ITG3200 gyro break out board was priced at $49.99 when the sensor chip can be purchased at $10 a piece. So I decied to give it a try after reading some tips about DIY smt/smd soldering on the web. I tried hot pan soldering couple of times but it partially burnt the pcb in process making it look very ugly but the sensors worked. Then I moved to toaster oven convection heat soldering and it seems to work much better. I got a cheap convection toaster oven for $29 on last black friday and I am quite happy with it. So here is my latest attempt of smt soldering, which involves making a all-in-one sensor board for my quad copter:



Figure: 9 DOF Sensor board after soldering

Although this process does not always go perfectly fine, I am happy to say that all my sensors worked perfectly fine. Here is it in action within MultiWii configuration tool:





Figure: 9 DOF IMU & Baro sensor reading in MultiWii config

I know my board does not look as good as the manufactured boards with silkscreen and things but it works and I am happy with it as it saves me money to buy more gadgets to play with. Laughing The total cost to make the board included $10 for ITG3200, $8 for BMA180, $8 for BMP085, $3 for HMC5883, the I2C voltage level converter plus other passive parts cost were about $10, which brings the total to roughtly around $40. I spent around $10 for shipping for all the components. Still it is much cheaper then buying these sensors as breakout boards from Sparkfun or buying it from ebay for $99 which does not include the 3.3v regulator and I2C level converter.

This board has built-in 3.3v regulator and I2C level converter to use this board directly with a 5v powered arduino or any microcontroller board.

Here the schematic for anyone out there to give this a try, the schematic is based partially on Sparkfun breakout boards schematics, data sheets, and partially on the Free IMU project.

 



Figure: Second version of the board with corrected circuit for HMC5883L magnetic sensor and smaller board size.

I needed to make a little modification for the HMC5883L magnetic sensor, which has a little bit different application circuit than HMC5843 and HMC5883 version of this sensor.

Here is a short video of the sensor showing the output in MultWii config:



I recently purchased the GP2Y0D810 digital proximity sensor from Pololu robotics to use with a obstacle avoiding robotic system. These digital sensors is designed to detec objects within 10cm. It does not tell how far the object is but senses if there is something within 10cm range. More information about the sensors can be found on Pololu store web site. Pololu also sells the carrier board for the sensor. I decided not to buy those and design my own carrier board as the board circuit looked quite simple and straight forward. I use the non-commercial evaluation version of Eagle CAD for PCB designs. The challenge was to find a ready made library for the GP2Y0D810 part. After a few failed attempt of searching on google and trying to find a similar sized part in the existing libraries, I decided to design the eagle library myself. Here is the library for download for people out there who might need it:

SharpGP2Y0D810Z0F.zip (1.27 kb)

Here is the carrier board (AKA break out board) circuit diagram and board design in Eagle CAD format:

SharpIRGP2Y0D805/GP2Y0D810Carrierboard.zip (30.56 kb)

Hopefully it will be useful for you guys. And btw, I am new to Eagle cad, so the library and pcb design might not be perfect, feel free to improve it. Smile

Here is a link to some very useful Cadsoft Eagle tips and tricks for beginners like me out there:

http://dangerousprototypes.com/docs/Cadsoft_Eagle_tips_and_tricks

Here is a link to learn how to design custom parts for Eagle, very nicely written:

http://www.instructables.com/id/How-to-make-a-custom-library-part-in-Eagle-CAD-too/




Control panel


Blogroll


    Archive