<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8260024469636924539</id><updated>2011-07-08T09:19:29.796-04:00</updated><title type='text'>Make yourself at Ohm</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ohmwardbond.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ohmwardbond.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Brian Dwyer</name><uri>http://www.blogger.com/profile/09292143349696415766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8260024469636924539.post-8341414623740537776</id><published>2011-05-03T21:47:00.011-04:00</published><updated>2011-05-03T22:38:31.784-04:00</updated><title type='text'>Return of the RC car!!!</title><content type='html'>I've been very busy since the last post, but I finaly got back into the groove for the RC car. I wanted this car to be completely modifiable so the inside of the electronics control box = breadboards + velcro (which works pretty darn good). Here is a photo of the wiring. &lt;br /&gt;&lt;br /&gt;Included in this box:&lt;br /&gt; 1. Boarduino (Atmega 328) controller&lt;br /&gt; 2. 18v15 Pololu Motor Driver (rear motor drive)&lt;br /&gt; 3. Dual AxisCompass Module - HMC6352&lt;br /&gt; 4. Xbee Pro 60mW U.FL module: for wireless comunication &lt;br /&gt;&lt;br /&gt;&lt;A href="http://3.bp.blogspot.com/-iZhn7vGRKnQ/TcC26xDJ7bI/AAAAAAAAACM/XkQeihHElf8/s1600/CarWiring1.jpg"&gt;&lt;IMG style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 239px; CURSOR: hand" id=BLOGGER_PHOTO_ID_5602679057164135858 border=0 alt="" src="http://3.bp.blogspot.com/-iZhn7vGRKnQ/TcC26xDJ7bI/AAAAAAAAACM/XkQeihHElf8/s400/CarWiring1.jpg"&gt;&lt;/A&gt; &lt;br /&gt;&lt;br /&gt;I had to replace the stock steering motor/potentiometer setup with a servo motor to put ease on the programming (I'm now able to eliminate the steering control loop code). I also broke the ICSP header outside the box for programming (I had to wire up a switch to disconnect both the external power and the Xbee's transmit line from the microcontroller in order to externally program). &lt;br /&gt;&lt;br /&gt;I'm working on the code for wireless control/feedback. Eventually I intend on adding a camera, ultrasonic rangefinder and GPS module. &lt;br /&gt;&lt;br /&gt;Anyway, here is a short video on my car's first run with both functional steering/driving. (given the small area, I had it just do circles in my kitchen).&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-630822176d9d40f2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v6.nonxt2.googlevideo.com/videoplayback?id%3D630822176d9d40f2%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330180862%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D56C593B2844DBDCC90CFF9E6BE8ED35C3A5C27CD.B12E1EF3604A1E11EAC6F9C1BE07BE6136EDF34%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D630822176d9d40f2%26offsetms%3D5000%26itag%3Dw160%26sigh%3DZIFKJKhLF4Pa_aBQgrnOfgV8Rzo&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v6.nonxt2.googlevideo.com/videoplayback?id%3D630822176d9d40f2%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330180862%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D56C593B2844DBDCC90CFF9E6BE8ED35C3A5C27CD.B12E1EF3604A1E11EAC6F9C1BE07BE6136EDF34%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D630822176d9d40f2%26offsetms%3D5000%26itag%3Dw160%26sigh%3DZIFKJKhLF4Pa_aBQgrnOfgV8Rzo&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8260024469636924539-8341414623740537776?l=ohmwardbond.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ohmwardbond.blogspot.com/feeds/8341414623740537776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ohmwardbond.blogspot.com/2011/05/return-of-rc-car.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/8341414623740537776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/8341414623740537776'/><link rel='alternate' type='text/html' href='http://ohmwardbond.blogspot.com/2011/05/return-of-rc-car.html' title='Return of the RC car!!!'/><author><name>Brian Dwyer</name><uri>http://www.blogger.com/profile/09292143349696415766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-iZhn7vGRKnQ/TcC26xDJ7bI/AAAAAAAAACM/XkQeihHElf8/s72-c/CarWiring1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8260024469636924539.post-5405609760298580010</id><published>2010-08-04T21:20:00.005-04:00</published><updated>2010-08-04T21:39:12.495-04:00</updated><title type='text'></title><content type='html'>I'm currently putting together a new project where I'm attempting to automate the control of an old RC Car. I've ripped out the original guts except for the the drive motor and steer motor. After numerous attempts at a DIY motor controller for the drive motor (and popping through transistors like popcorn), I've come to the conclusion that this motor needed a driver who could handle the spike currents without melting under pressure. Here is a list of all the parts that will be going into this project, and later I will provide updates on my progress.&lt;br /&gt; &lt;br /&gt;Parts:&lt;br /&gt; &lt;br /&gt;1. Original RC Chasis (including suspension and wheels/tires).&lt;br /&gt;2. Original RC 7.2V Battery Packs (2)&lt;br /&gt;3. Original rear-wheel drive motor (specs unknown except that it draws 3.5A current running, and 15A stall).&lt;br /&gt;4. Orignal steering motor + original feedback potentiometer (specs also unkown)&lt;br /&gt;5. Boarduino (Atmega 328) controller&lt;br /&gt;6. 18v15 Pololu Motor Driver (to properly drive the rear motor)&lt;br /&gt;7. Dual AxisCompass Module - HMC6352&lt;br /&gt;8. Xbee Pro 60mW U.FL modules + antenna (2): for wireless comunication&lt;br /&gt;9. A few 2n2907/2n2222 BJTs for driving the steering motor&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_1r6RrGbFJ7A/TFoUXZq0tVI/AAAAAAAAABs/xMPZiS_crJg/s1600/1.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_1r6RrGbFJ7A/TFoUXZq0tVI/AAAAAAAAABs/xMPZiS_crJg/s320/1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5501732287046530386" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_1r6RrGbFJ7A/TFoVbxZjmHI/AAAAAAAAAB0/vhV6SU7gxYU/s1600/2.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://3.bp.blogspot.com/_1r6RrGbFJ7A/TFoVbxZjmHI/AAAAAAAAAB0/vhV6SU7gxYU/s400/2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5501733461647661170" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8260024469636924539-5405609760298580010?l=ohmwardbond.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ohmwardbond.blogspot.com/feeds/5405609760298580010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ohmwardbond.blogspot.com/2010/08/im-currently-putting-together-new.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/5405609760298580010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/5405609760298580010'/><link rel='alternate' type='text/html' href='http://ohmwardbond.blogspot.com/2010/08/im-currently-putting-together-new.html' title=''/><author><name>Brian Dwyer</name><uri>http://www.blogger.com/profile/09292143349696415766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_1r6RrGbFJ7A/TFoUXZq0tVI/AAAAAAAAABs/xMPZiS_crJg/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8260024469636924539.post-9062468295593757629</id><published>2010-04-25T01:23:00.011-04:00</published><updated>2010-04-25T02:14:14.480-04:00</updated><title type='text'>Light Follower - 2 Axis</title><content type='html'>&lt;img id="BLOGGER_PHOTO_ID_5463944400728215026" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 214px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_1r6RrGbFJ7A/S9PUe7XjzfI/AAAAAAAAABU/f-UurdVX7lI/s320/setup1.JPG" border="0" /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;div&gt;Here it is - My rendition of a 2-axis light follower. I went ahead and clipped the IR Cam from the wiimote to cut down on weight. I put the camera along with the required oscillator in a project box (from radio shack). I also included an LED on the box; it lights up when light is seen by the camera. A serial port is used to connect the box to the microcontroller.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Here are some Pictures:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5463945322145565186" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 214px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_1r6RrGbFJ7A/S9PVUj6kygI/AAAAAAAAABc/xD7-z7nK5OM/s320/Inside+Camera.JPG" border="0" /&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a href="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S9PT4krRerI/AAAAAAAAABM/_MhNxiFirSc/s1600/Parts.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5463943741801855666" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 214px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S9PT4krRerI/AAAAAAAAABM/_MhNxiFirSc/s320/Parts.JPG" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div align="left"&gt;Here is a video:&lt;/div&gt;&lt;p align="center"&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-d44b6c572a31825c" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v5.nonxt8.googlevideo.com/videoplayback?id%3Dd44b6c572a31825c%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330180862%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D21F866D9DB9C7D0117538D1414D9B003C2F8E2B1.738C32B870A806203C342E739414228825E24F75%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Dd44b6c572a31825c%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dwwwx_g0IMsv9B-LqM_uooLQk2EA&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v5.nonxt8.googlevideo.com/videoplayback?id%3Dd44b6c572a31825c%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330180862%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D21F866D9DB9C7D0117538D1414D9B003C2F8E2B1.738C32B870A806203C342E739414228825E24F75%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Dd44b6c572a31825c%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dwwwx_g0IMsv9B-LqM_uooLQk2EA&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;a href="http://www.youtube.com/watch?v=y41o7KieRgw" target="_new"&gt;http://www.youtube.com/watch?v=y41o7KieRgw&lt;/a&gt;&lt;/p&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;Here is a link to the code:&lt;/div&gt;&lt;div align="left"&gt;&lt;a href="http://www.wiimoteproject.com/wiimote-accelerometer-and-motions-detecting-projects/light-follower-2-axis/"&gt;http://www.wiimoteproject.com/wiimote-accelerometer-and-motions-detecting-projects/light-follower-2-axis/&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br&gt;&lt;div align="left"&gt;Would you like me to build you a project box with a lovely Wiimote Camera? Let's talk!&lt;/div&gt;&lt;div align="left"&gt;&lt;a href="mailto:dwyer2bp@gmail.com"&gt;dwyer2bp@gmail.com&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8260024469636924539-9062468295593757629?l=ohmwardbond.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ohmwardbond.blogspot.com/feeds/9062468295593757629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ohmwardbond.blogspot.com/2010/04/light-follower-2-axis.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/9062468295593757629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/9062468295593757629'/><link rel='alternate' type='text/html' href='http://ohmwardbond.blogspot.com/2010/04/light-follower-2-axis.html' title='Light Follower - 2 Axis'/><author><name>Brian Dwyer</name><uri>http://www.blogger.com/profile/09292143349696415766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_1r6RrGbFJ7A/S9PUe7XjzfI/AAAAAAAAABU/f-UurdVX7lI/s72-c/setup1.JPG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8260024469636924539.post-3198886393571739407</id><published>2010-03-17T02:26:00.006-04:00</published><updated>2010-03-17T02:37:07.171-04:00</updated><title type='text'>Nintendo nunchucks as Orientation Sensors</title><content type='html'>My senior design project was to make a wirelessly controlled robotic arm, that mimics human arm movements. The closest we got was the movement of a shoulder joint and an elbow joint at a very high accuracy and low time delay.&lt;br /&gt;&lt;br /&gt;I made a sensor system out of 2 Wii Nunchucks, an Arduino and some external circuitry to switch between nunchuck sensor reading. At a deadline of one of our presentations, a plastic gear from our arm had chipped some of its teeth so we weren't able to give motion demos. I whipped up a program using Processing (processing.org) to communicate with the Arduino and move a 3D simulation of an arm based on the sensor outputs.&lt;br /&gt;&lt;br /&gt;I thought I'd share a few screenshots of the program. I'll have both the Arduino code, and processing code up soon.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S6B4G2CT81I/AAAAAAAAABE/cNgkTx4m0tA/s1600-h/wrist.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5449487608098059090" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 248px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S6B4G2CT81I/AAAAAAAAABE/cNgkTx4m0tA/s400/wrist.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_1r6RrGbFJ7A/S6B4C_-U9hI/AAAAAAAAAA8/YNpZSU9DGJs/s1600-h/uarmfarm.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5449487542046225938" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 332px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_1r6RrGbFJ7A/S6B4C_-U9hI/AAAAAAAAAA8/YNpZSU9DGJs/s400/uarmfarm.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S6B39677owI/AAAAAAAAAA0/s1wO-LhV--E/s1600-h/elbow.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5449487454794654466" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 338px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S6B39677owI/AAAAAAAAAA0/s1wO-LhV--E/s400/elbow.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Processing is a great program for doing graphical manipulations. It can also compile code to execuatable files.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8260024469636924539-3198886393571739407?l=ohmwardbond.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ohmwardbond.blogspot.com/feeds/3198886393571739407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ohmwardbond.blogspot.com/2010/03/nintendo-nunchucks-as-orientation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/3198886393571739407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/3198886393571739407'/><link rel='alternate' type='text/html' href='http://ohmwardbond.blogspot.com/2010/03/nintendo-nunchucks-as-orientation.html' title='Nintendo nunchucks as Orientation Sensors'/><author><name>Brian Dwyer</name><uri>http://www.blogger.com/profile/09292143349696415766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_1r6RrGbFJ7A/S6B4G2CT81I/AAAAAAAAABE/cNgkTx4m0tA/s72-c/wrist.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8260024469636924539.post-2238165218038318779</id><published>2010-03-17T00:03:00.001-04:00</published><updated>2010-03-18T16:40:55.444-04:00</updated><title type='text'>Wiimote light follower with servo</title><content type='html'>Everybody is familiar with the infamous Wiimote. When I look at it, I think about all the useful sensors/gadgets that this little 40$ package (new) comes with. Recently I've been playing with the IR Camera (It's really just a light sensing camera with an IR Filter).This particular camera is a standalone module that outputs coordinates of the 4 brightest "images", all via I2C communication.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_1r6RrGbFJ7A/S6BazwdoJGI/AAAAAAAAAAs/cZW5MVStAPk/s1600-h/top.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5449455394347295842" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 267px; CURSOR: hand; HEIGHT: 400px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_1r6RrGbFJ7A/S6BazwdoJGI/AAAAAAAAAAs/cZW5MVStAPk/s400/top.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I've only seen hacks with the Wiimote cam where the camera is desoldered/removed from the Wiimote. However, at 40$ a pop that seemed like a waste of a perfectly good Wiimote. Instead of removing the cam, I only made 1 small modification, which was drilling a very tiny hole near the camera and soldering a connection to it's "Clock" pin (which needs to be a 24MHz sine wave to replace the internal oscillator). Once you have this done, all you need to do is plug a cord into the Wiimote peripheral port to use anything on its I2C bus.&lt;br /&gt;Moving on, I attached the Wiimote on a homemade stand that was fixed onto a continuous-rotation servo motor (servo without feedback). Add a little duct tape, and that servo isn't moving for at least an hour.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_1r6RrGbFJ7A/S6BabP9NJMI/AAAAAAAAAAk/I1A_KZgQWww/s1600-h/side+view.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5449454973304513730" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 267px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_1r6RrGbFJ7A/S6BabP9NJMI/AAAAAAAAAAk/I1A_KZgQWww/s400/side+view.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Using an IR Camera library already created (thanks to Hobley – &lt;a href="http://www.stephenhobley.com/"&gt;http://www.stephenhobley.com/&lt;/a&gt;), I used an Arduino to receive points from the camera and follow the 1st object (light source) that's noticed. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;The code can be found here:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.wiimoteproject.com/wiimote-accelerometer-and-motions-detecting-projects/wiimote-light-follower-with-servo"&gt;http://www.wiimoteproject.com/wiimote-accelerometer-and-motions-detecting-projects/wiimote-light-follower-with-servo&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-8ad55a7e2d0cc6ca" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v22.nonxt4.googlevideo.com/videoplayback?id%3D8ad55a7e2d0cc6ca%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330180862%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D7AC42263A89CF948729A2B3508F8E442750DEC10.142E8E6D1F34CA2855F8759FE247C7173EBE8058%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D8ad55a7e2d0cc6ca%26offsetms%3D5000%26itag%3Dw160%26sigh%3DSmABZ7X1H6EqXKBe5j0CYKosxj0&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v22.nonxt4.googlevideo.com/videoplayback?id%3D8ad55a7e2d0cc6ca%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330180862%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D7AC42263A89CF948729A2B3508F8E442750DEC10.142E8E6D1F34CA2855F8759FE247C7173EBE8058%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D8ad55a7e2d0cc6ca%26offsetms%3D5000%26itag%3Dw160%26sigh%3DSmABZ7X1H6EqXKBe5j0CYKosxj0&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=Nj7UqjP-z6U"&gt;http://www.youtube.com/watch?v=Nj7UqjP-z6U&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8260024469636924539-2238165218038318779?l=ohmwardbond.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ohmwardbond.blogspot.com/feeds/2238165218038318779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ohmwardbond.blogspot.com/2010/03/wiimote-light-follower-with-servo.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/2238165218038318779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/2238165218038318779'/><link rel='alternate' type='text/html' href='http://ohmwardbond.blogspot.com/2010/03/wiimote-light-follower-with-servo.html' title='Wiimote light follower with servo'/><author><name>Brian Dwyer</name><uri>http://www.blogger.com/profile/09292143349696415766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_1r6RrGbFJ7A/S6BazwdoJGI/AAAAAAAAAAs/cZW5MVStAPk/s72-c/top.JPG' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8260024469636924539.post-3337908032153709744</id><published>2010-03-15T23:07:00.000-04:00</published><updated>2010-03-16T00:04:28.294-04:00</updated><title type='text'>Two Wii Nunchucks with one arduino</title><content type='html'>In the midst of a senior design project, it was decided that we wanted to use 2 Wii Nunchucks as accelerometers to measure orientation of a human arm ( 1 for the upper arm and 1 for the forearm). In understanding I2C communication, there is no way to use 2 Nunchucks on the same I2C bus without some sort of external circuitry. (All nunchucks have the same slave address, leaving nothing to distinguish between the two when attempting to receive data).&lt;br /&gt;&lt;br /&gt;I drew up a simple and cheap solution to interface two (or more) Wii Nunchucks on the same I2C bus. This is useful for projects that require multiple accelerometers at a cheap price.&lt;br /&gt;&lt;br /&gt;Here is all you will need:&lt;br /&gt;&lt;br /&gt;2 npn switching transistors (I used 2N3904)&lt;br /&gt;2 current limiting resistors (I used 200 Ohm)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S577VQjPWuI/AAAAAAAAAAU/le7UNHuUONI/s1600-h/diagram2nunchucks.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5449068941803477730" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 391px; CURSOR: hand; HEIGHT: 319px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S577VQjPWuI/AAAAAAAAAAU/le7UNHuUONI/s400/diagram2nunchucks.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Just connect all nunchuck Power (PWR), Clock (SCL), and Ground (GND) wires to the same corresponding spots on your microcontroller. The microcontroller's SDL can be connected to the outputs of both transistors. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;Programming notes: &lt;/p&gt;&lt;p&gt;&lt;br /&gt;In order to perform a read, all you have to do is set the pin of the corresponding transistor to HIGH (5v in our case), write/read to the I2C bus, then set that pin to LOW (0v)to disconnect that nunchuck from the bus. Also, during start up you must initialize each nunchuck individually in order to operate both nunchucks correctly.&lt;/p&gt;&lt;p&gt;Good luck,&lt;/p&gt;&lt;p&gt;B Dwyer (aka: johnnyonthespot)&lt;/p&gt;&lt;a href="http://1.bp.blogspot.com/_1r6RrGbFJ7A/S577Af4LyGI/AAAAAAAAAAM/nHgoQpCCIbg/s1600-h/diagram2nunchucks.jpg"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8260024469636924539-3337908032153709744?l=ohmwardbond.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ohmwardbond.blogspot.com/feeds/3337908032153709744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ohmwardbond.blogspot.com/2010/03/two-wii-nunchucks-with-one-arduino.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/3337908032153709744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260024469636924539/posts/default/3337908032153709744'/><link rel='alternate' type='text/html' href='http://ohmwardbond.blogspot.com/2010/03/two-wii-nunchucks-with-one-arduino.html' title='Two Wii Nunchucks with one arduino'/><author><name>Brian Dwyer</name><uri>http://www.blogger.com/profile/09292143349696415766</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_1r6RrGbFJ7A/S577VQjPWuI/AAAAAAAAAAU/le7UNHuUONI/s72-c/diagram2nunchucks.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
