tag:blogger.com,1999:blog-66151602922802781402024-02-06T22:15:12.607-05:00Hands On - Make: ElectronicsJames Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.comBlogger130125tag:blogger.com,1999:blog-6615160292280278140.post-64786383284154080442014-05-14T13:45:00.001-04:002014-05-26T19:31:40.565-04:00Getting close!Getting close!<br />
<br />
Yes, I've decided to go ahead and work my way through the new book over at my new blog -- <a href="http://handsonmoreelectronics.blogspot.com/">handsonmoreelectronics.blogspot.com</a>. If you've followed along with this blog and wish to see what the new follow-up book by Charles Platt contains, I hope to have you covered. The book is listed as being released on May 29, 2014, but I'm heading to Maker Faire in California this weekend and hoping to get a copy in the Maker Shed while I'm there. (Otherwise, I'll order it online.)<br />
<br />
Once I get the book, I plan on spending some time examining the components list and finding the best and cheapest places to order it all.<br />
<br />
This will most likely be the last posting about the new book on this old blog as I transition to the new one. So, please join me over at <a href="http://handsonmoreelectronics.blogspot.com/">http://handsonmoreelectronics.blogspot.com</a> for more electronics training.<br />
<br />
Jim<br />
<br />James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com0tag:blogger.com,1999:blog-6615160292280278140.post-26535742649565113402013-11-15T12:38:00.003-05:002013-11-15T14:43:51.415-05:00It's been almost three years since my sign-off (below -- Jan 2011) of for Hands On - Make: Electronics! I cannot tell you how much that book did for my understanding of electronics. Over the last three years, I've soldered up a number of circuits of my own design, built some kits, and figured out a few repairs here and there... all because I have a better understanding of this topic.<br />
<br />
And now I've received word that author Charles Platt is planning on releasing an update titled <a href="http://www.amazon.com/gp/product/1449344046/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1449344046&linkCode=as2&tag=jamesfloydkel-20" target="_blank">Make: More Electronics</a> in early 2014. I don't have any more details, but you can click on the link and pre-order if you're really anxious to get your hands on it (like me).<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5F94UrMRjA5dDPBJcOSwsIAMfOsz9z2LvvgjCbPipz7tmZqiIM7P0_-m1ijPLMpiA9BVKIPzioiKFZ10-h6CCUHD_FTDRHShZpavDbKGA3Kst4HIfOs1ZTUxYtAWRC0ucVMdDitWTVZM/s1600/More+Electronics.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5F94UrMRjA5dDPBJcOSwsIAMfOsz9z2LvvgjCbPipz7tmZqiIM7P0_-m1ijPLMpiA9BVKIPzioiKFZ10-h6CCUHD_FTDRHShZpavDbKGA3Kst4HIfOs1ZTUxYtAWRC0ucVMdDitWTVZM/s320/More+Electronics.PNG" width="259" /></a></div>
<br />
<br />
My goal with this original blog was to work through all of the projects and document my thoughts, my observations, my mistakes... basically just sharing the experience with others. I've learned over the years that pairing a hands-on education with a careful documentation of my work helps cement what I've learned. I'm a tech writer -- I do articles, books, manuals... my job is to take complex ideas or tasks and to simplify them or at least reduce them to clear, concise statements that can be repeated by others. With this blog, my goal wasn't to rewrite the book -- I just wanted to fill in the gaps (BIG gaps) in my own understanding of electronics and maybe help a few others who might come after me to gather components, catch errors, and basically see someone else doing it first.<br />
<br />
And now along comes the follow-up book.<br />
<br />
So, the big question I've been pondering today is whether or not to tackle the new book and to blog about it.<br />
<br />
I'm going to get the book no matter what. And I'm going to work through it. That much has been decided. But will I blog about it?<br />
<br />
I must admit I did enjoy taking the photos and videos of my work and posting it for the world to see. And I must admit it was a lot of work. Time consuming. So I'm going to ponder this for a bit longer. I've got a few months or more before the book is to be released, so I don't have to decide today. But I REALLY want to do it.<br />
<br />
So...<br />
<br />
I have gone ahead and created a new blog as a holding spot. It will be called Hands On - Make: More Electronics and the URL is handsonmoreelectronics.blogspot.com. Yeah, it's a long URL. Sorry. Just trying to stay with the theme and format of the original. So... that's where any blogging for the new book will occur. (But I'll come back here and post my decision to blog or not.)<br />
<br />
If you haven't discovered <a href="http://www.amazon.com/gp/product/0596153740/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=0596153740&linkCode=as2&tag=jamesfloydkel-20" target="_blank">Make: Electronics</a> -- grab a copy! I've read dozens of electronics books over the years and never found any other book that approaches this level of quality and ease-of-understanding. You'll amaze yourself when you finish the book and ponder where you started and how far you've come!<br />
<br />
So, I'm signing off once more... and hopefully will be picking up over at the new blog when the book is released. Come join me!<br />
<br />
<br />James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com4tag:blogger.com,1999:blog-6615160292280278140.post-34318235624648825032011-01-15T09:14:00.004-05:002011-01-15T09:14:00.091-05:00Final ThoughtsI apologize in advance for the length of this "final" post - final in quotes because who knows... there may be reason to occasionally revisit this blog with updates. But before I leave and move on to the <a href="http://handsonarduino.blogspot.com/">next blog project</a>, I'd like to put down some overall thoughts on this entire experience.<br /><br />1. Should be required reading for all engineering students - I feel strongly that this book should be a standard textbook for all engineering students. I wasn't in the electrical engineering department, and my electronics training was mostly white-board theory and word problems in the back of chapters. One class did get us some hands-on time with a soldering iron and some resistors, but come on! I don't think any engineer should leave school without having this level of basic knowledge.<br /><br />2. Should be suggested reading for all high school students - We have these lists of books that we tell every high schooler they should read - mainly classics of literature. But how often do we provide those students who have a strong interest in math and science with a list of good technology books? <span style="color: rgb(204, 0, 0);">This is the book I WISH I had in high school</span> - it may very well have changed the course of my studies. I'm happy with my chosen vocation, but it took over a decade out of university for me to find the time and the right book to get my understanding of electronics to this level. So... high school teachers and parents - try to buy a few copies of this for your high school library. (I'd donate mine, but the picture I'm including here should give you an idea of how I've abused my copy - the spine is peeling away and every other page is curled and written on.)<br /><br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0EJ_LOIgX7YIT5Cx_NHc1wNhZviKbsoPfFOxW98tb2sETOFE1kX739luHoHWo8yLEisa2CnRgRQGaF_b5IYEo77gTijSOGKTUfP_e5U93-TzYbc2eaAM9VwubK0NQT1N6qWtL4M28SRs/s1600/P1020750.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0EJ_LOIgX7YIT5Cx_NHc1wNhZviKbsoPfFOxW98tb2sETOFE1kX739luHoHWo8yLEisa2CnRgRQGaF_b5IYEo77gTijSOGKTUfP_e5U93-TzYbc2eaAM9VwubK0NQT1N6qWtL4M28SRs/s320/P1020750.JPG" alt="" id="BLOGGER_PHOTO_ID_5562240036669937266" border="0" /></a>3. The cost to learn is high - I've read some comments about <a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MECP1&Click=37845">Component Packs 1 </a>and <a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MECP2">2</a> that Makershed sells... and there are concerns about the extra costs involved in finishing this book and its 36 experiments. Yes, the costs are high. But I'd estimate that for less than $300 you can have everything you need, including tools, to finish this book. That's the cost of a few college textbooks these days. It's also about the same cost as a LEGO MINDSTORMS robot kit which many parents buy for kids ages 8 and up. Consider this book, all the parts, and all the tools an investment in your education (or your child's education) and dive in. The tools will always be yours (and will last if you take good care of them). I simply refuse to worry about the costs I've incurred by working through this book. The education is priceless.<br /><br />4. I missed a few... argh! - A few of the experiments I never could get to work... and a few others I skipped (especially towards the end). But the important part is that I understand! I get it. I have never understood electronics before the way I do now. I am still in shock that a book like this has alluded me all these years, but I'm glad it's here now, and I have shared (and will continue to share) both the book and the skills I've learned with teachers, parents, and students.<br /><br />5. Learning by Doing... and Blogging - I've always had success learning a new skill when I'm actually doing something... I think most of us will agree that this method works. But I've also learned over the years that when I write something down... either my own explanation or at least my thoughts on something... it sticks better. By sharing my experiences - and reading your feedback/comments - I get to go back through each experiment again and further cement that knowledge. Maybe you'll consider doing something like this yourself - pick a book, create a blog, and document your work as you plow through the material. Reading a book is typically a solo endeavor, but I was surprised at how many folks tuned in to follow me work through this book. It was nice to know others were doing the experiments, getting their own results, and comparing them to mine... and those who helped me troubleshoot were a huge asset that you'll never get reading a book on a couch alone.<br /><br />6. Never stop learning - I've already picked my next blogging project, but for those of you not ready to leave the book after Experiment 36, you'll be happy to know that the author appears to be providing more experiments in the pages of Make magazine... I've already seen in the previous 2 issues (23 and 24) that the author has included new experiments to perform with all new components to investigate. Rest assured, if one picks my interest, I may grab it, do it, and follow up here with a post.<br /><br />Just a little over a year ago (Jan 6, 2010) I began this blog with the simple goal of using it to motivate me... if I posted my work for anyone to see, it'd light a fire under me to finish. I figured if I knew people were checking in on my status, it'd be hard to quit. Peer pressure can be a great motivator.<br /><br />So, here we are... Jan 15, 2011. Make: Electronics finished.<br /><br />Thank you, Charles Platt, for writing the book. I think it is one of the most valuable books I've ever read.<br /><br />Thank you, Make Magazine, for putting it out there and creating those components packs that have allowed many folks to perform the experiments. (I also want to thank you for supplying a nice bundle of Maker Notebooks to give away as prizes - I've kept a few for my own personal use in future projects.)<br /><br />Thank you, Readers... I've enjoyed your comments, and the results and obstacles you've shared. Good luck finishing the book (if you haven't already done so). I'll continue to receive notices when you post comments, and I'll do my best to reply to them. And please feel free to share (as a comment to this post) what you'll be doing next - any books of interest? Any project kits you've found that look interesting? Let me know.<br /><br />James Floyd Kelly<br />Atlanta, GA<br />Jan 2011James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com17tag:blogger.com,1999:blog-6615160292280278140.post-21227526235084569222011-01-14T21:06:00.003-05:002011-01-14T21:13:51.244-05:00Chapter 5 - Experiment 36I never could get my alarm system (Experiment 20) to work as planned, so I wasn't quite sure how to handle this last exercise. I've read over it 3 or 4 times, trying to understand the theory behind it... and it makes total sense. <br /><br />What I find interesting about this experiment is the how much of the circuit from experiment 20 goes away when you bring in the PICAXE chip... letting the chip handle the logic rather than all those logic chips just makes sense from both a cost perspective and a losing-my-sanity one. <br /><br />Take a look at page 201 at the circuit for Experiment 20... and then jump to the bit of code that allows the chip to determine if 7-4-1 has been pressed. It's a subroutine that's called by the code on page 313...and flashes of BASIC programming started flitting through my head. I was pleasantly surprised at how I understood the code and the logic behind it. Although I haven't rebuilt the alarm, it would be a rather simple matter to gut the box and recreate the alarm using just the PICAXE chip.<br /><br />Some of you (myself included) may be wondering 'Why didn't the author save the alarm project for the PICAXE section of the book?' and, of course, I totally understand the reasoning - having worked through Experiment 20 and understanding how those logic chips work, I can both appreciate the power of MCUs and the author's making us go that route and doing it "the hard way" first.James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-21312737064141829002011-01-14T20:53:00.004-05:002011-01-14T21:05:02.758-05:00Chapter 5 - Experiment 35 Completed<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx73xaamJ2iuDfr5rt_ToLs8fkTDCWLuWlr2G7KbmVxoZWtenhyphenhyphenl2NhyN4fV0wjiX6JzlNkaZfJPE_Dl9PPs0NGwOfoewDmBZUI3hXZO3ltBuGacM6tixTH01E000EnaNBH_fA0ycBCmE/s1600/P1020744.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 240px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx73xaamJ2iuDfr5rt_ToLs8fkTDCWLuWlr2G7KbmVxoZWtenhyphenhyphenl2NhyN4fV0wjiX6JzlNkaZfJPE_Dl9PPs0NGwOfoewDmBZUI3hXZO3ltBuGacM6tixTH01E000EnaNBH_fA0ycBCmE/s320/P1020744.JPG" alt="" id="BLOGGER_PHOTO_ID_5562226838405750386" border="0" /></a><br />Exercise 35 is pretty straightforward... you can see in the photo that I've added in the trimmer potentiometer to the circuit, making certain the center terminal connects to pin 5 on the PICAXE (logic pin 2).<br /><br />I ran through a few tests, taking a reading with my multimeter at various settings... the debug window screenshot I'm including here shows the potentiometer maxed out at resistance - that's what the 255 for b0 is referencing.<br /><br />I took about four different readings and compared the resistance readings on the multimeter to the chart on page 307... pretty close and the deviations are certainly due to the fact that this is an analog device and I'm turning a slot screw to increase or decrease the resistance... but I totally understand why the values you'd obtain with any trimmer would be linear in nature.<br /><br />The final step was to update the code to allow the LED to flash faster or slower based on the trimmer... I'm including a video here that shows those results. Pretty cool stuff. Make certain you understand that paragraph on page 309 that talks about how you can use this information to control things with major changes being done in the code versus in the circuit.<br /><br />Don't forget to read over the extras on page 310 that tell you about the different features that the PICAXE chips come with... I find it interesting that this little 08M chip has the ability to generate pseudorandom numbers and tones!<br /><br /><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/xucrU8UQH8s?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/xucrU8UQH8s?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-48023474696713093242011-01-13T20:42:00.005-05:002011-01-13T21:36:42.464-05:00What's Next?I must have missed the memo!<br /><br />In the last week, the following things have occurred:<br /><br />1. Arduino The Documentary was released.<br /><br /><iframe src="http://player.vimeo.com/video/18539129?title=0&byline=0&portrait=0" frameborder="0" height="225" width="400"></iframe><p><a href="http://vimeo.com/18539129">Arduino The Documentary (2010) English HD</a> from <a href="http://vimeo.com/gnd">gnd</a> on <a href="http://vimeo.com/">Vimeo</a>.</p><br /><br />2. <a href="http://makezine.com/cs/user/print/vol/36?x-t=downloads.view">Make magazine Volume 25</a> focuses on the Arduino. (I'd estimate 50-60% of the magazine is directly related or involves the Arduino in some manner - I have the PDF/digital version on my iPad, but the print version should be out by Jan 25.)<br /><br />3. <a href="http://www.amazon.com/Beginning-Arduino-Michael-McRoberts/dp/1430232404">Beginning Arduino</a> from Apress hit the shelves (once again, however, I got the digital version)<br /><br />4. Even The Ben Heck Show has coverage of the Arduino <a href="http://revision3.com/tbhs/cnc_pinball">in this week's episode</a>!<br /><br />Given that the Arduino seems to have multiple spotlights on it for the month of January 2011, I guess this is as good a time as any to announce that when I finish the Make: Electronics book (this week, I believe) I plan on continuing forward by learning (and blogging) about my experiences with tackling the 50 projects in the Beginning Arduino book (#3 above).<br /><br />Fifty projects?! I've scanned most of them and believe that I can do it... but I'm not setting a timeline and I'm most certainly not committing to doing all 50. A lot of it depends on costs (which I haven't figured out yet) of all the required components... and interest. The book looks great, but if I dig in and find myself getting bogged down or dissatisfied with the projects/book? Who knows?<br /><br />That said... I've been waiting a LONG time to begin my hands-on with the Arduino. I know what it is... I know how it works... sort of. But I've never actually done anything with one. So...<br /><br />I've ordered myself the Arduino Uno... and I may be ordering a few add-ons/accessories from the MakerStore shortly.<br /><br />But because this is a completely different topic and book, I'll be moving this discussion over to a new blog - <a href="http://handsonarduino.blogspot.com/">http://handsonarduino.blogspot.com</a> - I've already got 2 followers, so apparently some folks have already jumped in even before the announcement.<br /><br />As with this book, I'll be documenting my results - both successful and otherwise - and including photos and videos of my work. While I'm at it, I'll also do my best to build a running Google Spreadsheet that contains all the parts I've used (and where I bought them... and cost). Chime in if there's anything I've missed (or that you'd like to see me add) and I'll see what I can do...<br /><br />Now... back to Exercise 35 and that PICAXE...James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com4tag:blogger.com,1999:blog-6615160292280278140.post-7820536931678741622011-01-12T14:15:00.005-05:002011-01-12T14:28:30.686-05:00Chapter 5 - Experiment 34 Completed<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1ygyZwvE2v8pua8WlGOoj8L-fjxwsD081eC3YfRfKiN6pFU4QnGXdf9LN238KEpo-ohpvXpN6kVUz4exXo6ffi4EnfbH0x-ZV8hB0snKerVw8YHpLez-zB7h9GO-xuC0ZXeKGT3wAmYA/s1600/troubleshoot+1.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 202px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1ygyZwvE2v8pua8WlGOoj8L-fjxwsD081eC3YfRfKiN6pFU4QnGXdf9LN238KEpo-ohpvXpN6kVUz4exXo6ffi4EnfbH0x-ZV8hB0snKerVw8YHpLez-zB7h9GO-xuC0ZXeKGT3wAmYA/s320/troubleshoot+1.JPG" alt="" id="BLOGGER_PHOTO_ID_5561381671588987778" border="0" /></a><br />I've got a handful of videos for you here, but before I show you the final results I want to share a bit about the troubleshooting I had to perform to get the PICAXE software to properly download to the chip.<br /><br />The first bit of troubleshooting was mentioned in the previous post - I simply needed to test to make certain the voltage regulator was providing 5v across the circuit... it was.<br /><br />Next, I plugged in the USB cable to my laptop and to the stereo connector and clicked the Program button (to upload the program)... I got an error. (Of course.) The error window that popped up suggested I check to make certain I had the Options setting for COM port configured properly - I checked and it was (COM4) but then I noticed a button on the Option window that allows you to test the chip. The first screenshot I'm including here contains a set of short troubleshooting steps. I tested the voltage between pin 2 (the Serial Input Pin) and ground and it was 0. So far, so good. The second photo here shows that 0 volts is being read and the dark green dot (on the laptop screen) is turned off.<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPOcULYB3ruMcBehvX52aHM81e37pGFp7w_4EsTdpWd3TI2qVWC1X_68YRGResuD0zKIPZVULpOj_gS5FUYlCwHx2KiW1nmqoVhNIjKj4IBJ13ClhQo-w7hytWmWaIS_RbdbuMoe2qsJQ/s1600/P1020737.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPOcULYB3ruMcBehvX52aHM81e37pGFp7w_4EsTdpWd3TI2qVWC1X_68YRGResuD0zKIPZVULpOj_gS5FUYlCwHx2KiW1nmqoVhNIjKj4IBJ13ClhQo-w7hytWmWaIS_RbdbuMoe2qsJQ/s320/P1020737.JPG" alt="" id="BLOGGER_PHOTO_ID_5561382066819126994" border="0" /></a><br /><br />Next, I clicked on the dark green button (it turns to a bright green) and the voltage jumped to almost 5v (see the next photo).<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHwNhasCXCxPzED0r34Z_18EL70zVtslGJJQ6CGKcOrJDqj6rh5eDR1jU42di7fZrFo5DhoZLG08TlfPHyVm-vJ7KEd-Kej5P506bYfBsHlwiGA5bwL607hJ2A7jb-MB5px5r6x03TwUc/s1600/P1020738.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHwNhasCXCxPzED0r34Z_18EL70zVtslGJJQ6CGKcOrJDqj6rh5eDR1jU42di7fZrFo5DhoZLG08TlfPHyVm-vJ7KEd-Kej5P506bYfBsHlwiGA5bwL607hJ2A7jb-MB5px5r6x03TwUc/s320/P1020738.JPG" alt="" id="BLOGGER_PHOTO_ID_5561382267605840882" border="0" /></a><br /><br /><br /><br /><br /><br /> So that checked out, but for some reason the program still would not download to the chip. It took me about thirty seconds to figure out the very simple problem... and here it is:<br /><br />Make certain to insert the USB Cable jack into the Stereo Connector until you hear it CLICK! I didn't have it pushed all the way in (although it felt that way) and the final bit of movement requires a tiny bit of extra pressure to fully seat the jack.<br /><br />After that... the program downloaded just fine. The first three videos below are all variations of the first bit of code on page 301. The first video is with the code downloaded and the USB cable still connected. Second video is with the USB cable disconnected. The third video just shows the LED blinking faster after the code has been changed.<br /><br />The last video shows the results of the second program from page 304.<br /><br /><br /><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/DW50IAaMnPc?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/DW50IAaMnPc?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object><br /><br /><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/yjoc9PuZFv0?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yjoc9PuZFv0?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object><br /><br /><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/5pb8bZfnaP4?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5pb8bZfnaP4?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object><br /><br /><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/8wkCEUsMdvQ?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/8wkCEUsMdvQ?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-1119952885517164042011-01-11T17:38:00.003-05:002011-01-11T17:44:55.544-05:00Chapter 5 - Experiment 34 Circuit<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ9R_OdkTCfGV0A4Enbnpnxdd98T52qMyOht93AYONiEybR8Gy_7WiAxfNHgHurtPSidcexe4ieOdo3G3ot0ybaOuqH7gBFx3ahRlVCycFSko67JpMS4Bn7mUK2WOindcU2jCudYPDRhA/s1600/P1020700.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 240px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ9R_OdkTCfGV0A4Enbnpnxdd98T52qMyOht93AYONiEybR8Gy_7WiAxfNHgHurtPSidcexe4ieOdo3G3ot0ybaOuqH7gBFx3ahRlVCycFSko67JpMS4Bn7mUK2WOindcU2jCudYPDRhA/s320/P1020700.JPG" alt="" id="BLOGGER_PHOTO_ID_5561062640854274626" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg77tI7oBXqKSIViTg1Nnc-0pez6zQA4OvW8M9T5JrLsFG-t8TiT4-8bG7z-WMa03wh7wikL6MvX4HPshZhY3zCwK7PKKH21BYNCWCQFrGLNOnayFK748jlDY9oW0zfmeDc5QITCV3WDEo/s1600/P1020699.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg77tI7oBXqKSIViTg1Nnc-0pez6zQA4OvW8M9T5JrLsFG-t8TiT4-8bG7z-WMa03wh7wikL6MvX4HPshZhY3zCwK7PKKH21BYNCWCQFrGLNOnayFK748jlDY9oW0zfmeDc5QITCV3WDEo/s320/P1020699.JPG" alt="" id="BLOGGER_PHOTO_ID_5561062639169430146" border="0" /></a><br />I got to work on wiring up the circuit that will be used - the most time consuming part was simply soldering some wire so it touches both leads (twice) on the stereo socket, but I think I got that part done correctly.<br /><br />After wiring up the circuit, I ran a voltage test to make sure the voltage regulator was working, and one of the photos shows the 5v clearly.<br /><br />There is an error in the book (verified by the errata page) with a resistor shown at the bottom of the schematic - ignore it... no resistor goes there.<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjle65yQ4jpuMXVrZT2QagYoWv0NWebXyK9FzSQTc-gbzXfzn-J2iyPG9MeZ6dCpV0ao8XP6_qFmN7xLmMLxhpYEH3HXNCiz9dj2E6qysnaFrt9v_zYHYZJOWEmUIWUXbXndySlrGBYOkI/s1600/P1020701.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjle65yQ4jpuMXVrZT2QagYoWv0NWebXyK9FzSQTc-gbzXfzn-J2iyPG9MeZ6dCpV0ao8XP6_qFmN7xLmMLxhpYEH3HXNCiz9dj2E6qysnaFrt9v_zYHYZJOWEmUIWUXbXndySlrGBYOkI/s320/P1020701.JPG" alt="" id="BLOGGER_PHOTO_ID_5561062647225792242" border="0" /></a>Up next - typing up the code and then uploading it to the 08M.<br /><br />Note: You may have noticed in the last photo a clear box of jumper wires. I purchased a box of 150+ pieces for about $10 at a nearby electronics store and I love these things - should have bought a box at the beginning. You can see in the other two photos that I've relied heavily on these pre-cut and pre-stripped wires, ignoring any sense of style when it comes to color.James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-2386124807538048582011-01-08T22:10:00.007-05:002011-01-08T22:27:02.817-05:00Chapter 5 - Experiment 34 Driver Installation<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaXLEzpA1w-by1EXiAzDt3e6Zk_h8KdUZ7J6_cOTN_CZFuvG0V1sE7PMB7q9gQcxpsPDu8fFsYb2XGCzxFfD8eqKL12NGc-OI7KgcJOjPcZeuEnEKj886CKugNa3GdmWStjOsPlHA0z3A/s1600/picaxe+driver+detect.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 146px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaXLEzpA1w-by1EXiAzDt3e6Zk_h8KdUZ7J6_cOTN_CZFuvG0V1sE7PMB7q9gQcxpsPDu8fFsYb2XGCzxFfD8eqKL12NGc-OI7KgcJOjPcZeuEnEKj886CKugNa3GdmWStjOsPlHA0z3A/s320/picaxe+driver+detect.JPG" alt="" id="BLOGGER_PHOTO_ID_5560019234851147250" border="0" /></a><br />Before you get too far into this experiment, you must make certain to install the special USB cable driver on your computer. The USB cable fools the computer into thinking it's talking to the Picaxe chip with an old serial connection (versus actual USB).<br /><br />The instructions for doing this can be found on an included PDF file in the ZIP file you download, but I didn't have as easy a time installing it as the instructions suggest, so I wanted to walk through this in case there are others who encounter this issue. (Specifically, the screenshots in the PDF do NOT match what is seen on a Vista computer - they do include Windows 7 steps but my limited memory of using XP has me thinking the screenshots also DO NOT match the XP operating system - please feel free to correct me if you find the PDF is correct for XP.)<br /><br />First, you need to be aware that I'm installing the driver on a Window Vista operating system, so these instructions may not match exactly with your OS... but I think you'll be able to get the basic idea of how to get around any hiccups you encounter.<br /><br />The first thing you'll do (after downloading the driver - see previous post) is plug in the USB cable. My Vista laptop automatically detected it as seen in the first screen capture I'm including here. As you can see, it recognizes the cable as an AXE027 PICAXE USB device. But whereas the instructions show a nice little pop-up window that asks you to specify the location of the files, I never got this - I got an error message saying "Device Driver Could Not Be Found" and my only option was to click OK. So... it's off to the Device Manager (from a previous life as an IT consultant, I know my way around just enough to be dangerous and figure things out...)<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbCkPpYA-CklwCLg5MMU9pzIsjfYzJZltY9Ji4W0C7lPZLGSCAsftPEvoe7c1elIhhCHeCtey3ZL4oUX5RXR4X19xk_G64PQ06K_aoEXRjYRZCF6lHlt7AFI-7tCDhbN9anYsKCFAxdZE/s1600/driver+error.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 226px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbCkPpYA-CklwCLg5MMU9pzIsjfYzJZltY9Ji4W0C7lPZLGSCAsftPEvoe7c1elIhhCHeCtey3ZL4oUX5RXR4X19xk_G64PQ06K_aoEXRjYRZCF6lHlt7AFI-7tCDhbN9anYsKCFAxdZE/s320/driver+error.JPG" alt="" id="BLOGGER_PHOTO_ID_5560021180068346498" border="0" /></a>Open Device Manager by clicking Start, and then right-clicking on Computer and choose Properties. Click on the Device Manager option in the left column of the screen. As you can see in my 2nd screenshot, there's an exclamation point next to the device telling me there's a problem.<br /><br />Next, I right click the AXE027 PICAXE USB device and choose Properties. On the window that appears, I click the "Update Driver" button and a screen appears like the one in the 3rd screenshot.<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTP-IBKh-ptX77jx-Y6OzQPQHbhU1hWG7-VeNjp6HI8e8mer4NRRF0IoPC1Ps19yKaeQvpyQ4E1xhgfcmxC1phNDbVhrVa7IjyEupITY53AFow9JNeS-vwsH6oAtSIme9_cwDDE0bsm9w/s1600/driver+error+3.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 251px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTP-IBKh-ptX77jx-Y6OzQPQHbhU1hWG7-VeNjp6HI8e8mer4NRRF0IoPC1Ps19yKaeQvpyQ4E1xhgfcmxC1phNDbVhrVa7IjyEupITY53AFow9JNeS-vwsH6oAtSIme9_cwDDE0bsm9w/s320/driver+error+3.JPG" alt="" id="BLOGGER_PHOTO_ID_5560021622967544866" border="0" /></a><br /><br />Click the Browse button and find the AXE027 folder that you unzipped from the driver download. In the screen capture, click on the axe027 folder and click OK.<br /><br />If everything goes as planned, you should get a screen like the 4th screenshot tellign you the driver installed correctly.<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevOGRG17fsC__d3KLtnH5EoVS8Oxwyo44yklEG6dJxVVEZps_A5BV6IWUig_MarWLXfkJA7S5IsofSgpDKusUIjEsi5SKQWCl73tpbg3ScT5bc90Z9LDBkJwxgkc5sFFfJPq7b5aebJM/s1600/driver+error+4.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 236px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevOGRG17fsC__d3KLtnH5EoVS8Oxwyo44yklEG6dJxVVEZps_A5BV6IWUig_MarWLXfkJA7S5IsofSgpDKusUIjEsi5SKQWCl73tpbg3ScT5bc90Z9LDBkJwxgkc5sFFfJPq7b5aebJM/s320/driver+error+4.JPG" alt="" id="BLOGGER_PHOTO_ID_5560022060195364770" border="0" /></a><br /><br />Click the Close button and if you go back and look at the Device Manager screen, you should see that the device no longer has the little exclamation point next to it like my final screenshot here.<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga_qUoLbiuS3etbX_flG12X7KK5NXaNLl58PCQ0w-0D1rcCNERkuHd590NLzEdRIjqW7bLqr7GELUkWWzJqfj_NQJvqtIMN3R2JYGKOCDyoeTYRiwX0Se0lI6hK-i4WZu6FkwreW-dVR0/s1600/driver+installed.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 214px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga_qUoLbiuS3etbX_flG12X7KK5NXaNLl58PCQ0w-0D1rcCNERkuHd590NLzEdRIjqW7bLqr7GELUkWWzJqfj_NQJvqtIMN3R2JYGKOCDyoeTYRiwX0Se0lI6hK-i4WZu6FkwreW-dVR0/s320/driver+installed.JPG" alt="" id="BLOGGER_PHOTO_ID_5560022317397311266" border="0" /></a><br />And that's it... for the driver install. Next, I'll install the Programming Editor software and get the circuit wired up.James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com0tag:blogger.com,1999:blog-6615160292280278140.post-77928647118240131942011-01-06T10:16:00.003-05:002011-01-06T10:20:54.726-05:00Chapter 5 - Experiment 34 Software<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs3LUhLR-7epQcfEHtQiwQC5EbRzi7_9hl2mHMSCEXedSNPxuauuKU5Px_mJEO_xWLsmAgJBAoYdNLCz5GxjGNotEqwqkHIMVcJvg7BK-QQU6N13bW2e7Q5cU3UHWxeC2akE5Hkfaumog/s1600/picaxe+software.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 194px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs3LUhLR-7epQcfEHtQiwQC5EbRzi7_9hl2mHMSCEXedSNPxuauuKU5Px_mJEO_xWLsmAgJBAoYdNLCz5GxjGNotEqwqkHIMVcJvg7BK-QQU6N13bW2e7Q5cU3UHWxeC2akE5Hkfaumog/s320/picaxe+software.JPG" alt="" id="BLOGGER_PHOTO_ID_5559093185127797250" border="0" /></a><br />Before I get started with the circuit on page 299, I need to download and install the appropriate software and driver. The instructions for doing this are clearly explained on pages 296 and 297. I'm running Vista on my laptop, but be sure you click on the driver download that's appropriate for your operating system (Windows, Mac, and Unix all have links).<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKi94DYBscI2RSdvkXkVX2BaXUV_3arntpRK7xei6pbs6FKBA5O7Hc2qOqvo-ZkRk4A5-P91DDFq1HdZZUFV9G7JCRYHWAmOrB2e7tCZlKC53vUnuJRuEBjGaQrSachVTjzwwL7PlQRjM/s1600/picaxe+driver.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 82px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKi94DYBscI2RSdvkXkVX2BaXUV_3arntpRK7xei6pbs6FKBA5O7Hc2qOqvo-ZkRk4A5-P91DDFq1HdZZUFV9G7JCRYHWAmOrB2e7tCZlKC53vUnuJRuEBjGaQrSachVTjzwwL7PlQRjM/s320/picaxe+driver.JPG" alt="" id="BLOGGER_PHOTO_ID_5559093187199196114" border="0" /></a>The 60MB Picaxe software is downloading right now, but when it's done, I'll first install the driver (while the USB cable is plugged in) and then the software.James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-67516481545165417792011-01-03T20:08:00.005-05:002011-01-03T20:28:02.578-05:00Jumping to Experiment 34I spent a bit of time rewiring the entire circuit for Experiment 32... taking one of my readers suggestions that the protoboard could have a bad insertion area, I moved all the wires to new locations. I then replaced the 555 chip with a new one and used my multimeter to confirm that the relay was getting higher voltage on the coil when a microswitch was pressed. Finally, as a last ditch effort after these efforts produced no change in results, I swapped out the 47uF capacitor with a 100uF... increasing the size should have increased the length of the pulse, but in this case, I get the same results - the motor reverses only when the microswitch is held down.<br /><br />Argh.<br /><br />Okay... so... enough of this. I may choose to come back to it at a later time (things like this really bug me) but for now it's time to move forward and get this book finished. Which leads me up to my next announcement - I've read over Experiment 33 numerous times... lost count, actually. But I've decided I'm done with robots for right now. I understand what Experiment 33 does and how it works, and, more importantly, I understand how all those 555 chips work together.<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiYbinlGcnHyw_ZuJgbIHg7Bp-x5V0koMlT5OT0xPwwRw9A7D-Kd4_DPP6aW1ZnM8fWfWiDKG8SqaFN62oFf3RglmNmbKxi8YM1W1g5sUsE5XrcKDhMWtSoKKbQ9SesCBWxhXOSV6THb8/s1600/P1020678.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiYbinlGcnHyw_ZuJgbIHg7Bp-x5V0koMlT5OT0xPwwRw9A7D-Kd4_DPP6aW1ZnM8fWfWiDKG8SqaFN62oFf3RglmNmbKxi8YM1W1g5sUsE5XrcKDhMWtSoKKbQ9SesCBWxhXOSV6THb8/s320/P1020678.JPG" alt="" id="BLOGGER_PHOTO_ID_5558135938876259090" border="0" /></a>So... now it's time to get to Experiment 34. I've been looking forward to this for a while as my interest in programmable chips has been growing ever since I saw an Arduino in action controlling a remote control lawn mower (see Make issue #22). But I want to start slow... so I placed the order for all the required hardware for Experiment 34 (and 35) and it all arrived this afternoon (see the picture).<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8hKuEWjDUIjNbSlnlE6rK6ZCJW8HbbkmgA94YBw_63TQ8doG-Ykh1y5-LW7TZJAj2CI6FZEYHq6R4TTURgopzKaVAy6IiW39WXVoxn-HJ8-bmIsuwwuA9IszIs0-T-cSfaOcxe2PW64M/s1600/P1020680.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8hKuEWjDUIjNbSlnlE6rK6ZCJW8HbbkmgA94YBw_63TQ8doG-Ykh1y5-LW7TZJAj2CI6FZEYHq6R4TTURgopzKaVAy6IiW39WXVoxn-HJ8-bmIsuwwuA9IszIs0-T-cSfaOcxe2PW64M/s320/P1020680.JPG" alt="" id="BLOGGER_PHOTO_ID_5558135946191345986" border="0" /></a>I've got 3 of the 08M PICAXE chips, the special USB cable required, and the small stereo socket. Also included in the box was a handful of resistors and misc required to properly wire up the stereo socket. I need to download and install the software specified and I'm ready to go.<br /><br />Note: Inside the box, the company also sent a photocopied sheet that included a hand-drawing of the 08M wired up in a special manner, complete with resistors and voltage requirements. I'm including a close-up of that photo here, but it doesn't look complicated at all.<br /><br />More to come...James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-12776190490992561912011-01-01T17:08:00.002-05:002011-01-01T17:13:06.336-05:00Chapter 5 - Exercise 32 Still Drivin' Me Crazy!This circuit is still driving me up the wall... I triple-checked all my connections, but I'm fairly certain the connections are done properly as the motor behaves somewhat correctly - it spins forward until a microswitch is pressed and then reverses direction... but only for a split second.<br /><br />I used my logic probe to check the pulse on pin 3 but I'm honestly not 100% sure what I'm looking for...<br /><br />One thing I did do that puzzles me - I unplugged the motor as it's quite loud and was making it difficult to hear the relay switching... when I did this and I turn on the power, I don't hear the relay doing anything, but when I press a microswitch, I hear the relay click (once) indicating that the coil is getting power and reversing the direction of the motor... but when I release the microswitch, I don't hear the click indicating the relay has switched back... but when I release the power button, I do hear a click. Maybe this is normal, but I'm wondering if somehow the relay is not functioning properly.<br /><br />I've about decided to move on - I'll puzzle over it later tonight, maybe tomorrow... but if I can't find a solution, I'll move forward as I think I've gotten out of the experiment all I can.James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com6tag:blogger.com,1999:blog-6615160292280278140.post-55201068592700563532010-12-30T15:37:00.003-05:002010-12-30T15:41:34.438-05:00Chapter 5 - Experiment 34 Shopping ListJust an FYI - maybe save some of you some time...<br /><br />I priced out the components for Exercise 34 on both Sparkfun.com and phanderson.com - summaries below. The advancedmicrocircuits.com website didn't seem to have the 3.5mm stereo socket (Figure 5-126) and their search feature just plain stinks... took me a few minutes to find the USB cable but had to search for 'picaxe usb' to locate it...<br /><br />Total costs, with shipping are:<br /><br />Sparkfun.com - $40.89 - this price is for 2x of the 08M chip, 1x of the USB cable, and 1x of the stereo socket adapter.<br /><br />Phanderson.com - $38.35 - your price may differ as they use your zip code to estimate shipping costs... but this order comes with 3x of the 08m chip, 1x of USB cable, and 1x of stereo socket adapter.<br /><br />I placed my order with phanderson.com today. I probably should have checked mouser.com and others, so if any readers do so, please share your findings - thanks!James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com0tag:blogger.com,1999:blog-6615160292280278140.post-51601863535834672952010-12-30T14:58:00.004-05:002010-12-30T15:14:33.258-05:00Chapter 5 - Experiment 32 Do Over<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYgOvD-_cqkKivQAfEycFyh3L6BpQ9YkOlzMcwHRbxQFaPu-ycZUL-aXPM5aAAGnUvOfGvaIjunRq5Lj2AQ9gvC1MULcoY5XaDBPHn80wAhz6_8EEesm24nz3XC-MQUTqjMVPOJWaVtGQ/s1600/32_fig1.jpg"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYgOvD-_cqkKivQAfEycFyh3L6BpQ9YkOlzMcwHRbxQFaPu-ycZUL-aXPM5aAAGnUvOfGvaIjunRq5Lj2AQ9gvC1MULcoY5XaDBPHn80wAhz6_8EEesm24nz3XC-MQUTqjMVPOJWaVtGQ/s320/32_fig1.jpg" alt="" id="BLOGGER_PHOTO_ID_5556571185813404226" border="0" /></a><br />Well, I finally managed to grab some time to get back to the circuit on page 277... I bought a smaller breadboard that will allow me to mount to the robot (if I can ever get this thing working) and not have to solder every component... saving me some aggravation if debugging is required.<br /><br />As you can see from the video, I've made a giant step forward - the motor spins forward until either of the switches is pressed... if the switch is held down, the motor reverses direction and continues reversing until the switch is released. But...<br /><br />This isn't how it's supposed to work. When the robot hits a wall or table or other obstacle and a microswitch is pressed, the robot is supposed to reverse direction for about 5 seconds (more on that in a minute) and then move forward again... the wheel mounted to the moving pivot is supposed to help the robot find a different (random) direction to move.<br /><br />Now, a few things that may or may not be affecting this circuit - first, I don't have a 0.01 uF capacitor for C2 in the circuit - I have a 0.1uF ... but I do have a 47uF cap for C1. If I understand the 555 chip correctly (referring back to page 157 for monostable mode) - a 47uF cap is on pin 6... and I've tried the 100K potentiometer at both settings (using a screwdriver to maximize and minimize the resistance) but no change.<br /><br />I'm going to go back and take another look at my circuit, but I've double checked all of the circuits resistor values and all my wiring of the 555 and the relay. Because the motor is spinning forward UNTIL a microswitch is pressed, I think I'm close to getting this to work... but why it won't spin in reverse for the full 5 seconds still alludes me...<br /><br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/uILCwio0L-Y?hl=en&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/uILCwio0L-Y?hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-80207306363417958662010-10-20T15:09:00.003-04:002010-10-20T15:22:00.786-04:00Chapter 5 - Exercise 32 Update 5<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL4E2ozdy8q6AMDWNya46fJhj6UJWtl2ImRdBdz7vdUB-mAfIP3Ur-ZnvhKH4xk0zoNgOE7ZxyqHBsD63o5AimU6nSlHRUg_sXCMLLwFcFc6Hij-YxC0FAxSDpiP_G72Qd_LMZHwXqmhY/s1600/P1010918.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL4E2ozdy8q6AMDWNya46fJhj6UJWtl2ImRdBdz7vdUB-mAfIP3Ur-ZnvhKH4xk0zoNgOE7ZxyqHBsD63o5AimU6nSlHRUg_sXCMLLwFcFc6Hij-YxC0FAxSDpiP_G72Qd_LMZHwXqmhY/s320/P1010918.JPG" alt="" id="BLOGGER_PHOTO_ID_5530209766381473746" border="0" /></a><br /><br />Per <a href="http://handsonelectronics.blogspot.com/2010/10/chapter-5-exercise-32-debugging.html?showComment=1286673389274#c4852839439720181425">Retrophile's suggested tip involving my relay being wired incorrectly</a>, I changed the wiring and figured out my mistake (thanks Retrophile) - I assumed incorrectly that the relay's pins fit logically to the pin layout in the schematic... they don't. Going to the documentation for this particular relay verifies that Retrophile's pin layout is correct.<br /><br />The two photos here show the rewired circuit - same circuit but just a slight change in photo angle for you to get a better look.<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif-xB_l5N1SHrR5TuT47tgSkSN8MJOumDZde6mv1Pfc5tjS6dmCuye_yGTRVSgNKa7ekvTEG22fUkwKYiYjJJTYE5MxxymLOXuD6cfkheN4ZAbLjHWlAMPQ5Lykuup_tMoh7Fj-gzmjFw/s1600/P1010917.JPG"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif-xB_l5N1SHrR5TuT47tgSkSN8MJOumDZde6mv1Pfc5tjS6dmCuye_yGTRVSgNKa7ekvTEG22fUkwKYiYjJJTYE5MxxymLOXuD6cfkheN4ZAbLjHWlAMPQ5Lykuup_tMoh7Fj-gzmjFw/s320/P1010917.JPG" alt="" id="BLOGGER_PHOTO_ID_5530209762546284146" border="0" /></a>So, I've rewired the relay and as you can see in the first video below, the motor spins but the switches are still not causing the motor to stop and reverse. I used my multimeter to verify that I've got the switches wired correctly - the top and bottom pins are Normal Open (using the middle pin and bottom pin is Normal Closed and the multimeter shows a 1 when the button is NOT pressed... 0 when it is pressed). Per the schematic, we want the switches open, so I'm fairly sure I've got that wired correctly. I also replaced the 555 chip with a new one, just in case... but no luck.<br /><br /><object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/DMZ3C7qJhdQ?hl=en&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/DMZ3C7qJhdQ?hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"></embed></object><br /><br />So, my next step was to shoot another short video showing me using the logic probe on the 555 chip. My description here may not be 100% on the money, but as I understand the chip and the schematic, pushing a switch causes pin 2 to detect a drop in voltage... and causing pin 3 to allow current to flow (or is it just an increase in voltage - is voltage always present? Something to look into...)<br /><br />As you can see from the video, putting the logic probe on pin 3 and pushing the power button causes the probe to change in pitch... that should be right. But then when I press any switch, pin 3 should change in voltage and be detected by the probe... but nothing happens. Any thoughts?<br /><br /><object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/PG2kWsVGU0o?hl=en&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/PG2kWsVGU0o?hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"></embed></object>James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com3tag:blogger.com,1999:blog-6615160292280278140.post-33049806663862186532010-10-08T08:11:00.006-04:002010-10-08T08:35:01.720-04:00New Mouser.com web search tool<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD3GpqnKf6Njw_iso1Wcr5jCJMBqIT7gkvYWfKplzieOhSM9NEAoK5yMOl-kt64D_3Df0BjPKZxNak43H4j5-9F_lZGA084qwgjYb-9RqvibBwz2cbUUFuKVlPXQcOGo46YejoSjyzL5M/s1600/mouser.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 186px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD3GpqnKf6Njw_iso1Wcr5jCJMBqIT7gkvYWfKplzieOhSM9NEAoK5yMOl-kt64D_3Df0BjPKZxNak43H4j5-9F_lZGA084qwgjYb-9RqvibBwz2cbUUFuKVlPXQcOGo46YejoSjyzL5M/s320/mouser.JPG" alt="" id="BLOGGER_PHOTO_ID_5525647592196506242" border="0" /></a><br />I will say that, up to now, I have much preferred to use AllElectronics.com versus Mouser.com - mainly because I've found Mouser to be information overload.<br /><br />This morning I received an email from Mouser.com about a new web browser add-on for both IE and Firefox called the Mouser Search Accelerator... it'll basically allow you to highlight a component - a word, a part #, name, etc, - and then, without leaving the page you're on, perform a search of Mouser.com. Pretty slick, and I think I'll give it a try soon. Let me know what you think if you give it a spin.<br /><br />More information on it can be found <a href="http://www.mouser.com/accelerator/?utm_source=accelerator+Oct+10&utm_medium=email&utm_campaign=AcceleratorOct10_LearnMore_Features">here </a>- it is something that must be downloaded and installed on your computer, btw.<br /><br /><span style="color: rgb(204, 0, 0);">UPDATE:</span><br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2SLWlqKsGsVfkoBu17mxasd2mOXuVg0IgpXYGnEIIl8QO6E1vrbwd9lQ71xQsgZafDTU8HQP1gaB0azv-NHpGY1oMtitNXOUFZTiT6ybFWDtCyM96r6JGLa8KJIiAdkVRiN6WCfdCwt0/s1600/mouser2.jpg"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 188px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2SLWlqKsGsVfkoBu17mxasd2mOXuVg0IgpXYGnEIIl8QO6E1vrbwd9lQ71xQsgZafDTU8HQP1gaB0azv-NHpGY1oMtitNXOUFZTiT6ybFWDtCyM96r6JGLa8KJIiAdkVRiN6WCfdCwt0/s320/mouser2.jpg" alt="" id="BLOGGER_PHOTO_ID_5525652172993812898" border="0" /></a>Okay, I installed it on my Firefox (3.6) browser - as you can see, after highlighting an old part # from a previous post, I right click and select to search on Mouser.com - a little fly-out window appears with links to the part and a price... and look at that! The price hasn't changed since I ordered the part back in April 2010.James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-80283786437445907782010-10-07T20:36:00.004-04:002010-10-07T20:45:36.332-04:00Chapter 5 - Exercise 32 Debugging<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSdh8w026NgNct0G4Bt-YfQ9DJ3bjqG5NbCGoY7fYa_0Fkf_4YJKCPDcu9vKoWAufn90-ezJQvhPS0EvSAqWepb_h_5G4dBOrFSFcrATv9grxb3hpACnEG_8Xg973S6bZW_FDvOMuod98/s1600/P1010794.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSdh8w026NgNct0G4Bt-YfQ9DJ3bjqG5NbCGoY7fYa_0Fkf_4YJKCPDcu9vKoWAufn90-ezJQvhPS0EvSAqWepb_h_5G4dBOrFSFcrATv9grxb3hpACnEG_8Xg973S6bZW_FDvOMuod98/s320/P1010794.JPG" alt="" id="BLOGGER_PHOTO_ID_5525469463233813618" border="0" /></a><br />Suggestions are coming in on ways to test or fix the problems I'm encountering. Let me explain what's happening now.<br /><br />I've inserted the diode that j suggested... works! The buzzing has disappeared (see video below). So we're getting close. Right now, pushing either switch (that will serve the robot as a trigger to stop and back away from an obstacle) does not stop the motor from spinning - pushing either button is SUPPOSED to cause a drop in voltage on pin 2, so I think my next step is to use a chip tester to see if pin 2 is being triggered. (Right? No?)<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBrnr0OGvJip7NBYorxNDuakDoXSUawblFgRSMW9oQVYY27KgUuVDYz1v1qFb4fBrE2EEtTHnk7imQWngnY9OSUg8IIEjlfN960ZEak9e2dTHKCEMZhC1gT5tLi1r7Mq8MM7jZ_906xLk/s1600/P1010799.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBrnr0OGvJip7NBYorxNDuakDoXSUawblFgRSMW9oQVYY27KgUuVDYz1v1qFb4fBrE2EEtTHnk7imQWngnY9OSUg8IIEjlfN960ZEak9e2dTHKCEMZhC1gT5tLi1r7Mq8MM7jZ_906xLk/s320/P1010799.JPG" alt="" id="BLOGGER_PHOTO_ID_5525469468257278082" border="0" /></a>I'm including some pictures here - one is the schematic and the rest are close-up photos of my circuit - maybe I've got an unseen error in my wiring. Be warned - my use of the breadboard is obviously that of a newbie, so I've got wires running all over the place. If I can't figure this out soon, I think I'll start over and try to rewire a bit cleaner and closer to the layout of the schematic.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEN9RxeE7PqN89riD6kkkeMt6QcgjjXSRI8X_q-p3laR1T6dvZMeqxMGJCEFUgR9yAGitMu2DXJiQckPY4LOzZNjVfWP8OVAFM2I1_-hcgn_-m8-3XtAKwguOxSRR7cwI7lWWB4vnqN8Y/s1600/P1010800.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEN9RxeE7PqN89riD6kkkeMt6QcgjjXSRI8X_q-p3laR1T6dvZMeqxMGJCEFUgR9yAGitMu2DXJiQckPY4LOzZNjVfWP8OVAFM2I1_-hcgn_-m8-3XtAKwguOxSRR7cwI7lWWB4vnqN8Y/s320/P1010800.JPG" alt="" id="BLOGGER_PHOTO_ID_5525469465753410786" border="0" /></a>Thanks in advance for all your comments and suggestions - I love learning by doing... and making mistakes is another favorite technique of mine as I tend to remember what I did wrong versus what I did right... and that's what drew me to this book in the first place!<br /><br />First video below is WITHOUT the diode.<br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/UbKDzDuNTFM?hl=en&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/UbKDzDuNTFM?hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br /><br />Second video is WITH the diode.<br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/1YabylsYzQM?hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1YabylsYzQM?hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br /><br /><br />(FYI - family visiting this weekend so I may not get much more work done on this circuit until early next week.)James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com6tag:blogger.com,1999:blog-6615160292280278140.post-86931814042132340802010-10-07T16:14:00.003-04:002010-10-07T16:21:07.783-04:00Chapter 5 - Exercise 32 Update 4A short update today - only a small bit of progress... let me explain.<br /><br />First off, I've gotten over sharing my dumb mistakes with the world via this blog... when you decide to walk through a book and perform all the tasks/exercises/experiments and share your results, you've gotta expect to have the occasional embarassing moment. I've had plenty during my tour of Make: Electronics, and I'm not done yet...<br /><br />So, here's what happened - take a look at the schematic for Experiment 32 (if you have the book)... see that 50K trimmer there and how the left side of the resistor isn't connected anywhere? That's not an error... but I thought it was! So, I just connected that end where it felt right.<br /><br />And... of course... the video yesterday shows my results. So, after Mr. Platt explained this little techy bit to me, I pulled that wire and ran the circuit. The motor still spins, but THIS TIME the two microswitches, when pressed, stop the motor. Progress. But not fixed.<br /><br />Pressing either of the microswitches is supposed to reverse the motor's spinning for a short period of time. But it doesn't. Instead, pressing a microswitch causes the relay to buzz LOUDLY and the motor does stop rotating... almost. If you hold down the microswitch, the motor appears to stop but in reality it still rotates in the original direction but VERY slowly... almost impossible to see. Oh, and the relay buzzes LOUDLY! Release the microswitch and the motor begins rotating in the original direction again.<br /><br />So, don't connect the 50k trimmer on both ends... just the one shown in the figure. And if anyone has any ideas WHY my relay is buzzing AND why either microswitch doesn't cause a reversal in the motor spin, please let me know... I'm taking a step back to think about this for a bit.James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com4tag:blogger.com,1999:blog-6615160292280278140.post-21520811441575889572010-10-06T13:03:00.003-04:002010-10-06T13:10:17.317-04:00Components Pack 1 FrustrationsI just went over to the <a href="http://www.makershed.com/ProductDetails.asp?ProductCode=MECP1">Components Pack 1 webpage</a> to confirm the list of components in the kit... and I was surprised to find a large number of negative reviews... after reading over them, it appears that the kit has been out of stock for just over a month (earliest 1 star review was August 21... latest Oct 1).<br /><br />I'm not sure what's happening, but if you're trying to gather up the parts on your own, I've tried to include my Shopping Lists in previous posts, including part#s and sources. I may have missed a few, but hopefully there's enough information there to help you consolidate some shipping from multiple sources. (Click on the Shopping List label to the right of the screen to filter the blog and display my shopping list articles... if I've missed one, please let me know.)<br /><br />I know it's frustrating - I was already well into Chapter 4 when these kits became available and it would have been nice to have all these parts together in 2 kits. But hang in there - if you've got the book and are wanting to get into it, keep in mind that the Chapter 1 exercises are low-cost, really... I'm not counting the tools such as the breadboard, soldering iron, etc... I'm talking about the components like LEDs, batteries, a few capacitors, resistors... you can easily get deep into Chapter 1 before spending a lot of money and in that time, maybe Components Pack 1 will become available. (It looks like Pack 2 is still available.)James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com0tag:blogger.com,1999:blog-6615160292280278140.post-4597929959812091512010-10-06T11:01:00.004-04:002010-10-06T11:19:26.852-04:00Chapter 5 - Exercise 32 Update 3<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6b_aLptIFjssQ4h1SfDtWCnDaDPO3cDuoF1aBPLyxgUVcqmR7hY0k72bu0jmREbvbhyphenhyphenPsd_-Uq9LigDLDOHKYqhUYYTFajuKLstoEqsUQAm_vpAsXIPoBdVgOmJHm7rHKftll70OJHPg/s1600/P1010786.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6b_aLptIFjssQ4h1SfDtWCnDaDPO3cDuoF1aBPLyxgUVcqmR7hY0k72bu0jmREbvbhyphenhyphenPsd_-Uq9LigDLDOHKYqhUYYTFajuKLstoEqsUQAm_vpAsXIPoBdVgOmJHm7rHKftll70OJHPg/s320/P1010786.JPG" alt="" id="BLOGGER_PHOTO_ID_5524949829073967298" border="0" /></a><br />Before cutting out the wood for the shell of the robot, I figured it might be wise to actually wire up the schematic first and see if I can get all the electronics to work. As you can see from the video and picture, I've managed to wire up the motor - I've got a temporary push button that allows me to provide power to the circuit. I'll get an actual on-off switch once I get the circuit de-bugged.<br /><br />The circuit is definitely providing power (6V) to the motor, but the two microswitches are not working as desired. When one is pressed, it's supposed to drop the voltage on pin 2, triggering the coil and reversing the spin on the motor... but that's not happening. Pressing either switch does not reverse the motor. I'm using different microswitches than the ones seen in the chapter, but I don't think that's the issue.<br /><br />I also need to get out my chip tester and make sure that voltage is detected on pin 3 that runs to the coil.<br /><br />Obviously, any suggestions my readers may have will be appreciated.<br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/bT0fpcy-B0g?hl=en&fs=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/bT0fpcy-B0g?hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com12tag:blogger.com,1999:blog-6615160292280278140.post-53253070876190631372010-09-27T15:55:00.003-04:002010-09-27T16:00:03.520-04:00Chapter 5 - Exercise 32 Update 2<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO4UyjsrKdJU98utfjS9vzl6mO5EcyKcjovReKlE7uA7gM99V6ks8TsUmZJccOKhC0Ig8TwnNcAVCS6wJStwHsb5bSkcYt9G3H5VHgfiA-4DI7ooATi1bReStp-1qsJD8rx9OEi-NcrcA/s1600/P1010733.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO4UyjsrKdJU98utfjS9vzl6mO5EcyKcjovReKlE7uA7gM99V6ks8TsUmZJccOKhC0Ig8TwnNcAVCS6wJStwHsb5bSkcYt9G3H5VHgfiA-4DI7ooATi1bReStp-1qsJD8rx9OEi-NcrcA/s320/P1010733.JPG" alt="" id="BLOGGER_PHOTO_ID_5521685519485069666" border="0" /></a><br />My motor, wheel mount, and other bits arrived today. As with most electronics ordered, there's no paperwork on any of it. I can figure out most of it, but the motor has two unlabeled soldering points... my guess is that it DOES matter which wire goes where as the motor needs to spin in one direction specifically... so... I'll need to revisit the Solarbotics website shortly and see if they have any documentation. Otherwise, The Internets will need to deliver!<br /><br />I'm going to mark out the cuts tonight for the wood pieces that will make the shell. Not going for accuracy here, so I'll likely just use a handsaw and not flip the old tablesaw on for such small (and thin) plywood.<br /><br />More to come...James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-24464386541251471282010-09-22T15:52:00.003-04:002010-09-22T15:56:30.143-04:00Chapter 5 - Exercise 32 UpdateMy box of parts has shipped from Solarbotics, so it's just a waiting game now for the motor and other bits. I was ready to cut the 1/4" plywood but decided to wait until I get the motor and determine that it can actually be mounted properly, including the hole I'll have to drill for it to drive a wheel.<br /><br />In the meantime, I took a look ahead to the next robot that will require two photoresistors and two servos. I didn't find what I needed at Solarbotics, so I'm going to keep looking. One thing I'm finding is that servos on a lot of electronics websites come with almost no documentation or so much that you can't make sense of it. For those of you who have not yet started in on Chapter 5, just be warned that there's a fair bit of hunting involved - many of the key parts don't come in either Make: Electronics component kit 1 or 2... makes me think Make might want to consider a final kit titled "Chapter 5: The Missing Bits."James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-86757063525212987502010-09-19T17:50:00.003-04:002010-09-19T18:10:17.131-04:00Chapter 5 - Exercise 31 Final<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLJB5qlZtK0RcOF7uSm519EbHYPY4MSooBAR8qVHNYCfGZRJH1Hi3ljK1kVfHevgy9LW6RobaOu-_4V_pC3-ZIphqTgfoxvXAo1_CVYGeFsi2m2pMPJQZVlsbojYGSFdDsyPJgTDSBQe8/s1600/P1010706.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLJB5qlZtK0RcOF7uSm519EbHYPY4MSooBAR8qVHNYCfGZRJH1Hi3ljK1kVfHevgy9LW6RobaOu-_4V_pC3-ZIphqTgfoxvXAo1_CVYGeFsi2m2pMPJQZVlsbojYGSFdDsyPJgTDSBQe8/s320/P1010706.JPG" alt="" id="BLOGGER_PHOTO_ID_5518750109969429666" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuMsxGkRFpWt9I1_bke0LPnfqrh7JFGzNjNF6QoaLhMt4CRJcBApc4J7MnbCLoPHWDh_WTEY9Q6aLuhDd9Hm20ewik7w_iiDnYYxJJCg70W2uEPIpSAeA5z_lbVaO-fohsWUqVJgwpUmY/s1600/P1010704.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuMsxGkRFpWt9I1_bke0LPnfqrh7JFGzNjNF6QoaLhMt4CRJcBApc4J7MnbCLoPHWDh_WTEY9Q6aLuhDd9Hm20ewik7w_iiDnYYxJJCg70W2uEPIpSAeA5z_lbVaO-fohsWUqVJgwpUmY/s320/P1010704.JPG" alt="" id="BLOGGER_PHOTO_ID_5518750103381250258" border="0" /></a><br />So, it was a very nice afternoon today (a bit hot, though) in Atlanta - sunny sky, no clouds, no rain. I had a 3 year old helper who was very curious about all the wire and odd bits sitting on the deck table. After running some unshielded copper wire almost 80 feet and tying it off with the recommended polyrope to a tree, I wired up the remaining circuit as shown on page 265 in Figure 5-66.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbLSqR3fYOBMRbkfbAsuduJ9mo-GZ8r8kHMVZlA7-n-eEh20EUKj7eK8dFU5wNy1vSQktb8Ln9HOE19TdlI_mpq5GlfMK82Qy8ZJYuD_31dWatagkyukNpYF4hwtAPPPhtRAxtUF3ayEo/s1600/P1010705.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbLSqR3fYOBMRbkfbAsuduJ9mo-GZ8r8kHMVZlA7-n-eEh20EUKj7eK8dFU5wNy1vSQktb8Ln9HOE19TdlI_mpq5GlfMK82Qy8ZJYuD_31dWatagkyukNpYF4hwtAPPPhtRAxtUF3ayEo/s320/P1010705.JPG" alt="" id="BLOGGER_PHOTO_ID_5518750106790268194" border="0" /></a>With high hopes, I inserted my earphone and moved the gator clip down the wrapped bottle, trying each tap.<br /><br />No luck.<br /><br />So... I began troubleshooting. First, checked and then double-checked all my gator clip connections. They were good - and every time I clicked on a tap, I'd hear a slight electrical snap in the earphone... kinda like the crackle of static on a radio. Checked each tap again... nothing.<br /><br />Next I replaced the Germanium diode... I purchased a bunch so I swapped it out two more times, checking the taps. No luck, other than the crackle in the earphone again.<br /><br />At one point... maybe it was wishful thinking... I honestly think I heard something. Very faint... there just for a second and then gone. I played with various taps and checked all my connections again, but just had no luck picking up anything.<br /><br />Still... I had fun. And I understand the theory and what SHOULD have happened and WHY. I wish I'd had luck, but I honestly don't even know where the nearest AM broadcast is coming from... living in Atlanta, I've just assumed I'd pick up something!<br /><br />If any readers perform Exercise 31 and have luck, PLEASE let me know! I'd love to be able to share some pictures or video or even a recording of any transmission you hear with your project.<br /><br />Up next... I'm going to cut up the parts this week for the robot in Exercise 32... today I managed to swing into the local hardware store and picked up the following:<br /><br />1 piece of 2x4 1/4" Sandiply (sanded really smooth on both sides) $7.98<br />1 package of 2" utility hinges (3 per package) - $2.21<br />1 package 3" diameter felt circles (for under the feet of furniture) - $3.78<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha88ThvFvDOLozExzbiU1p9RyIkIaJedY0kXflFYKjchdaORc7XW-Nm4cHWmOmwQ0lbNkFTyVE0jbZccMUSGT7fCnenDCicf6IhvEcFf6ObJZp43SVqarXhCzKo80PYiujTCX2MgRnXVY/s1600/P1010708.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha88ThvFvDOLozExzbiU1p9RyIkIaJedY0kXflFYKjchdaORc7XW-Nm4cHWmOmwQ0lbNkFTyVE0jbZccMUSGT7fCnenDCicf6IhvEcFf6ObJZp43SVqarXhCzKo80PYiujTCX2MgRnXVY/s320/P1010708.JPG" alt="" id="BLOGGER_PHOTO_ID_5518750124226539746" border="0" /></a>Yeah, I know... felt circles? Well, they're 3" in diameter with no center hole drilled and they are very stiff and 1/4" thick. Perfect for the wheels (and, hey... they won't scratch my floor! Bonus!)James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-61855881496732355222010-09-18T20:19:00.002-04:002010-09-18T20:26:56.155-04:00Update and Exp32 Shopping List (Partial)I'm hoping for some good weather tomorrow (weather.com says YES) so I can head outside and put the finishing touches on Exercise 31... try out my little radio and see if I can pick up any of the AM band radio stations around Atlanta. I hope so... would be a nice surprise.<br /><br />In preparation for the upcoming Experiment 32 - you know the one if you've been looking ahead in the book like I did! - building the Little Robot Cart. After placing a few phone calls to a few places in Atlanta, I basically decided that with the $6.00 shipping that solarbotics.com charges, I'll end up saving some money if I just wait a week or so for the following components:<br /><br />1. DC Gear motor<br />2. Disc for motor<br />3. Two SPDT microswitches<br />4. 1 DPDT nonlatching relay<br /><br />In the meantime, tomorrow I'll also be heading up to my hardware store to buy some 1/4" hobby plywood. Yes, I know... the author recommends ABS plastic. But right now I'm not wanting to invest in a plastic bender and I'm comfortable working with wood and have the right tools to cut the proper pieces (see on page 275). Not sure about the wheels, but I'm fairly certain I can find some thin wood wheels at a Michael's or Hobby Lobby that will fit the bill. Otherwise, I'll invest in a 3" bore hole bit and cut my own. I may attach everything with screws or I may go ugly and just stick everything together with superglue or Gorilla glue... not really going for something to enter in a science fair, so not concerned about looks.<br /><br />If anyone finds these components elsewhere (and cheaper), please share with your fellow readers... in the meantime, I'm posting a screen capture here of the part #s and prices (and quantities) for Solarbotics.com.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgupDsbIEsmClq-y6XDazuhMFu6xr6V9LOmlA53paWgtXQLqZzRskjoTXKI10vgi2u7HPnNhRHxFn3Ei4hiP8W7ykC4gvr6VYJ3Xywz_IxuqPfguAeANaB_R_rqOLHDJ9PhvyYHChQm5R8/s1600/solarbotics_exp32.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 239px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgupDsbIEsmClq-y6XDazuhMFu6xr6V9LOmlA53paWgtXQLqZzRskjoTXKI10vgi2u7HPnNhRHxFn3Ei4hiP8W7ykC4gvr6VYJ3Xywz_IxuqPfguAeANaB_R_rqOLHDJ9PhvyYHChQm5R8/s320/solarbotics_exp32.JPG" alt="" id="BLOGGER_PHOTO_ID_5518414470677413442" border="0" /></a><br /><br />Kinda glad to have found some time to get back to the book - I apologize to my readers for such a lengthy delay in finishing up the exercises. Now let's finish this book!James Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1tag:blogger.com,1999:blog-6615160292280278140.post-77834609942683688142010-08-11T08:16:00.002-04:002010-08-11T08:20:26.264-04:00One Day Digital Book SaleO'Reilly has a great deal right now on some eBooks - for $9.99 you can get any of their Top 10 books and guess which book is on that list?<br /><br />That's right - Make: Electronics is available in digital format for only $10 (no shipping costs!) - if you've been considering purchasing a digital copy or know someone who's shown an interest in the book, this is a good price.<br /><br />I have the digital version on my iPad... I wish I could say that I've been referencing it a lot lately, but a certain 2 month old baby boy has been stealing MUCH of my attention. I keep promising to return and get back to work on the book and I am going to do my best to get back to it this week as I've got some downtime that's finally rolled around.<br /><br />Anyway - this is a ONE DAY deal, so strike now: http://oreilly.com/store/ddbst.htmlJames Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.com1