<?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-3002971895079303499</id><updated>2011-11-27T15:57:09.652-08:00</updated><category term='microchip pic mplab installation'/><category term='lm2611 national product doesn&apos;t work'/><category term='fool things I have done'/><category term='structured programming unmodular code'/><title type='text'>MSP430-RF2500 Hello World</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-6288741699933131432</id><published>2011-08-03T23:36:00.000-07:00</published><updated>2011-08-03T23:36:24.440-07:00</updated><title type='text'>Ratterduino - (Hopefully) the End of the Rat as We Know It</title><content type='html'>Okay, that's my calling - ridding the world of the rat - put it on a pedestal like smallpox, keep it in the lab, etc. But, the fields and cities are out of bounds. (Mice too - coz they can evolve into rats super fast if rats are displaced (I think))&lt;br /&gt;&lt;br /&gt;The solution - autonomous robots that look like rats, that roam, have sensors (odour, hi-res cameras, audio) and will root out and destroy the rats they encounter.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-6288741699933131432?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/6288741699933131432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2011/08/ratterduino-hopefully-end-of-rat-as-we.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/6288741699933131432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/6288741699933131432'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2011/08/ratterduino-hopefully-end-of-rat-as-we.html' title='Ratterduino - (Hopefully) the End of the Rat as We Know It'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-4570040399466058571</id><published>2010-09-19T15:13:00.000-07:00</published><updated>2010-09-19T15:13:26.267-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='microchip pic mplab installation'/><title type='text'>The Microchip Menu</title><content type='html'>They already know where you want to install MPLAB - C: ! No choice at all! WTH?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-4570040399466058571?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/4570040399466058571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2010/09/microchip-menu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/4570040399466058571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/4570040399466058571'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2010/09/microchip-menu.html' title='The Microchip Menu'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-8262095013363588</id><published>2010-09-06T23:40:00.001-07:00</published><updated>2010-09-06T23:40:36.197-07:00</updated><title type='text'>Why You Should Not Buy the Samsung EPIC 4G Phone from Sprint</title><content type='html'>1) After searching, I could not find a way to capture Audio. With my Moto W490, it was 2 menus and about 5 button presses in all, and I thought THAT one was a crappy phone&lt;br /&gt;&lt;br /&gt;2) I don't know how to terminate an application. There doesn't seem to be a way.&lt;br /&gt;&lt;br /&gt;3) This whole idea of a gmail phone is a bit risky. On gmail, you enter a strong password each time. But, with your phone, once you've set your account up, anyone can get into your gmail if they know the 4 digit pin to unlock your phone. Nuts!&lt;br /&gt;&lt;br /&gt;4) You send 2 emails each time you send one from your phone. Go figure. Obviously the geniuses at Google don't work in the marketing department.&lt;br /&gt;&lt;br /&gt;5) I could not find a way to use the "Call phone" feature that gmail has. Obviously, the geniuses at Google don't work in the marketing department. If the phone is being marketed as a gmail phone or a google phone, you'd expect them to delight the customer with this thing up and ready. Go figure.&lt;br /&gt;&lt;br /&gt;6) I cannot select text (like a phone number) in the Email application or the gmail app.&lt;br /&gt;&lt;br /&gt;7) When using the gmail app, you don't get email address completion - which is ridiculous - on the PC, if you're using gmail, that's one of the best things about it. WTF? Really? WTF are they trying to prove to the world?&lt;br /&gt;&lt;br /&gt;8) In the mail application, the delete button doesn't delete the email. Go figure. Should you make your stuff intuitively easy to use or what?&lt;br /&gt;&lt;br /&gt;9) Sprint cannot import your contacts from your SIM card you used with an older phone.&lt;br /&gt;&lt;br /&gt;10) After umpteen attempts, this phone has failed to pair with my Plantronics 233 bluetooth headset. With my Moto W490, it takes about 5 seconds. Also, the EPIC SPH-D700 doesn't find my Moto when looking for devices. It looks like it can only pair with Sprint devices. WTF?&lt;br /&gt;&lt;br /&gt;11) It's not clear how to sign out of the email. I've got gmail and Email running and now, each one has an orgasm when a new email arrives.&lt;br /&gt;&lt;br /&gt;12) With the gmail app, you can't zoom in. You can with the Email app though.&lt;br /&gt;&lt;br /&gt;13) The phone is delivered to you (if you're as unlucky as me) with the USB Debugging enabled. Somehow, this doesn't prevent Linux from accessing the SD card. But, Windows has no clue what to do unless you put on your geek had and go into Notifications and turn USB Debugging off, so that, next time you plug in the cable, you can select the Mass Storage option.&lt;br /&gt;&lt;br /&gt;14) There is no way to rightclick. With the advanced technology available, you'd expect they'd have figured out a way (like Apple) to use multitouch to implement this, but no. In fact, it seems like multitouch only applies to zooming.&lt;br /&gt;&lt;br /&gt;15) Blogspot does not work cleanly. I could not tap in the post area and start entering text. It was terrible.&lt;br /&gt;&lt;br /&gt;Go iPhone guys! Go iPhone!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-8262095013363588?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/8262095013363588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2010/09/why-you-should-not-buy-samsung-epic-4g.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8262095013363588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8262095013363588'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2010/09/why-you-should-not-buy-samsung-epic-4g.html' title='Why You Should Not Buy the Samsung EPIC 4G Phone from Sprint'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-8953311805832260142</id><published>2010-08-28T13:28:00.000-07:00</published><updated>2010-08-28T13:28:44.304-07:00</updated><title type='text'>Microchip Delivers Where TI Fails</title><content type='html'>Finally, I achieve my wireless dream, with some help of course:)&lt;br /&gt;&lt;br /&gt;In TI's defense, it must be noted that TI's target board consisting of the MCU, radio, crystal and chip-antenna is about the size of MCP's radio board. MCP is using a trace antenna, then the radio board goes into a daughter pigtail that plugs into a full-fledged development board. Unseemly, but functional.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-8953311805832260142?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/8953311805832260142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2010/08/microchip-delivers-where-ti-fails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8953311805832260142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8953311805832260142'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2010/08/microchip-delivers-where-ti-fails.html' title='Microchip Delivers Where TI Fails'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-9007048628189780059</id><published>2010-08-22T15:21:00.001-07:00</published><updated>2010-08-22T15:21:17.167-07:00</updated><title type='text'>Microchip Quality Policy</title><content type='html'>Do they have one? Listen to this presentation by GK and you really wonder :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techtrain.microchip.com/webseminars/ArchivedDetail.aspx?Active=147"&gt;http://techtrain.microchip.com/webseminars/ArchivedDetail.aspx?Active=147&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-9007048628189780059?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/9007048628189780059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2010/08/microchip-quality-policy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/9007048628189780059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/9007048628189780059'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2010/08/microchip-quality-policy.html' title='Microchip Quality Policy'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-1832794677435483618</id><published>2010-08-22T13:24:00.000-07:00</published><updated>2010-08-22T13:24:24.372-07:00</updated><title type='text'>Microchip Thermosat Example</title><content type='html'>Okay, they show you how you can take an 80's mechanical thermostat and put their parts in. But, why not go all the way and put a link in explaining how you can add ethernet or Wi-Fi connectivity so you can monitor and set this thing from anywhere in the world? How to set a 6 digit PIN, etc.&lt;br /&gt;&lt;br /&gt;If you're out for the day, you sure want to turn the device off (or set the target so that you sae energy) and you want the thing up and running 10 minutes before you return home - so you'd ideally like to send the thing an email over the internet (how do you do a secure transaction unless you have the ability to put an embedded HTTPS server into your thermostat?) before you leave work.&lt;br /&gt;&lt;br /&gt;Why not put together a demo showing how you can accomplish all this with products readily available from MCP and give the source code away and show people how to hack it and include the cost of developing this in the cost of the product? Some people see things as they are and ask why; I see things as they may be and ask why not.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-1832794677435483618?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/1832794677435483618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2010/08/microchip-thermosat-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/1832794677435483618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/1832794677435483618'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2010/08/microchip-thermosat-example.html' title='Microchip Thermosat Example'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-8864506268501916852</id><published>2010-08-22T12:46:00.000-07:00</published><updated>2010-08-22T12:48:52.186-07:00</updated><title type='text'>What Microchip Doesn't Teach You</title><content type='html'>Okay, they have a PIC that you can directly connect to an RF45 ethernet jack. Nice. Now, what you want to do is go wireless. Or, even before that, how about putting an end-to-end demo like this :&lt;br /&gt;&lt;br /&gt;Requirements - laptop or desktop, router or modem with multiple ethernet ports, demo board&lt;br /&gt;&lt;br /&gt;Now, how do you connect this demo board to the router and get something to look at on your PC. Where is the source code so you can customize it?&lt;br /&gt;&lt;br /&gt;Ultimately, any application has to have a wireless backup just for security reasons. You simply cannot depend on a wire that people can snap. Always build in as much autonomy as you can. Energy harvesting is definitely a plus. This is why TI is ahead of Microchip and will continue to remain so.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-8864506268501916852?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/8864506268501916852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2010/08/what-microchip-doesnt-teach-you.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8864506268501916852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8864506268501916852'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2010/08/what-microchip-doesnt-teach-you.html' title='What Microchip Doesn&apos;t Teach You'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7759231255365617759</id><published>2010-01-13T21:54:00.001-08:00</published><updated>2010-01-13T21:54:27.571-08:00</updated><title type='text'>Customers</title><content type='html'>Maker,&lt;br /&gt;&lt;br /&gt;Thanks for the info.  I would like to get this setup working in our lab in x y so that we can do a better job of debugging yield issues.  How do I get these boards and software?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7759231255365617759?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7759231255365617759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2010/01/customers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7759231255365617759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7759231255365617759'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2010/01/customers.html' title='Customers'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-3048500652610479879</id><published>2009-09-13T09:37:00.000-07:00</published><updated>2009-09-13T09:39:09.334-07:00</updated><title type='text'>I2C and SPI with Arduino</title><content type='html'>Didn't look deeply into SPI, but, considering they're both supported by the AVR feature set (look at the datasheet on Atmel.com), it ought to be simple. The thing about Arduino is that there are only so many pins available for expansion - so you have to give something up. My question is - WTH do you have to give up analog pins - why not digital? Anyhow, here's a guy who's been through it :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://"&gt;http://www.neufeld.newton.ks.us/electronics/?p=241&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-3048500652610479879?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/3048500652610479879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/09/i2c-and-spi-with-arduino.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3048500652610479879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3048500652610479879'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/09/i2c-and-spi-with-arduino.html' title='I2C and SPI with Arduino'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-2022865889231430697</id><published>2009-09-09T22:29:00.001-07:00</published><updated>2009-09-09T22:32:36.023-07:00</updated><title type='text'>Mission Impossible</title><content type='html'>Alright, I've had it. I need this gadget now. This is no simple MCU hack of course but..&lt;br /&gt;&lt;br /&gt;See what you buy and where you prefer to buy it. Have a bar code reader on your fridge and check items in. Have one on your pantry door as well. Get an idea of the frequency at which you buy the stuff (so you don't have to install weight sensors:) On the other hand, you could check stuff out of the fridge as well - to keep track of usage. Anyway, bottom line is, your fridge will inform your gadget that you need item x.&lt;br /&gt;&lt;br /&gt;Then, in the course of your weekly movement, you gadget will alert you when you're close to your chosen store. Sometimes, taking the right exit makes all the difference in gaining that extra half hour of life to do with as you please.&lt;br /&gt;&lt;br /&gt;This is going to take GPS and a small form factor PC. But it will be done!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-2022865889231430697?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/2022865889231430697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/09/mission-impossible.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/2022865889231430697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/2022865889231430697'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/09/mission-impossible.html' title='Mission Impossible'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-8069056141070873768</id><published>2009-08-31T22:07:00.001-07:00</published><updated>2009-08-31T22:11:53.709-07:00</updated><title type='text'>Glitches Explained</title><content type='html'>Turned out it was the "noise" (in this case, deterministic unwanted patterns on some key voltages) in the noisy testmode in which there was a lot of switching going on. Thing of my chip as a spider on a thin web - the thin web is the supply and ground connections. Now, the spider has a fan that's out of control - and that keeps bouncing it all around by blowing air around uncontrollably. The solution, in this case, increase the moment of inertia of the spider by increasing it's mass - here, add bypass caps between supply and ground. Electrically, what you're doing to help out the spider is putting a sink that'll make the air the fan is blowing recirculate back to itself - so there can't be any uncontrollable bouncing. Clear analogy ja?:)&lt;br /&gt;&lt;br /&gt;Interestingly enough - on the node where the noisy switching signal was being muxed out - if I connected a long cable, I could make things more noisy - and get the glitches back. The extra current pulled from the supply in transient to work the capacitance of this cable was enough.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-8069056141070873768?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/8069056141070873768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/glitches-explained.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8069056141070873768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8069056141070873768'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/glitches-explained.html' title='Glitches Explained'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7909024757547992636</id><published>2009-08-29T10:42:00.000-07:00</published><updated>2009-08-29T11:09:22.514-07:00</updated><title type='text'>Glitches Galore</title><content type='html'>Damn! The thrill of getting something done evaporates when you see that it works most of the time, but there are cases when it doesn't. Tricky glitches screw you up one in 5 times and that's enough to make it look like crap. When it's all digital (or supposed to be) you expect stuff to work 100% of the time. Take this example. My chip takes a pulse to increment the register pointer. We use a board with push-buttons to generate these pulses. To go from state 0 to state 15, you hit the button 15 times. With software, it's trivial to write a function that takes an argument and goes to a specified state in a jiffy. Problem is, there are times it's off by 1 state - it sometimes rolls over into state 16. You get a feel for the mountain of work involved in testing something before you can sell it. Nothing like having many hands here to make work light. Eyeballs too of course - it's the information age.&lt;br /&gt;&lt;br /&gt;In this case, it's looking like the assumption of 100% digital is incorrect. One of the states sends a rather noisy signal to one of the pins and that might mess up my setup that has lots of parasitic inductance in the leads - rather than transmission lines to convey the signals cleanly. Probably a signal integrity thing here. Never had to deal with that before.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7909024757547992636?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7909024757547992636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/glitches-galore.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7909024757547992636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7909024757547992636'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/glitches-galore.html' title='Glitches Galore'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7468285963463619161</id><published>2009-08-27T21:44:00.000-07:00</published><updated>2009-08-27T21:53:42.284-07:00</updated><title type='text'>Maker Makes It</title><content type='html'>An end to end solution. That was fun - developing the software and hardware and delivering a complete solution - giving a demo. All in a day's work. Here you see the Arduino mating with a custom board delivered by ExpressPCB.com and assembled by me with parts from Digi-Key. Systems, here we come!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_sc_j6OoFYTQ/SpdiSqTjF8I/AAAAAAAAAU8/vxqTUq7v9rE/s1600-h/blog_shot.JPG"&gt;&lt;img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 275px;" src="http://3.bp.blogspot.com/_sc_j6OoFYTQ/SpdiSqTjF8I/AAAAAAAAAU8/vxqTUq7v9rE/s320/blog_shot.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5374872753023424450" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Of course, this is not the end. It's something I can use, but not something everyone can depend on, without doling out more TLC than they care to. Packaging is required - we need headers on the custom board to mate it with the Duemilanove with minimal effort. Plug and play is the name of the game. Anyone know how to launch a program on Win or Unix automatically when you plug something into USB? How does the PC know what you plugged in and what to launch? Good q.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7468285963463619161?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7468285963463619161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/maker-makes-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7468285963463619161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7468285963463619161'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/maker-makes-it.html' title='Maker Makes It'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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/_sc_j6OoFYTQ/SpdiSqTjF8I/AAAAAAAAAU8/vxqTUq7v9rE/s72-c/blog_shot.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-5398442229451354524</id><published>2009-08-25T21:19:00.000-07:00</published><updated>2009-08-27T12:10:04.557-07:00</updated><title type='text'>Sub-Microsecond Delays with Arduino</title><content type='html'>&lt;a href="http://www.arduino.cc/playground/Main/AVR"&gt;It's possible!&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Arduino delayMicroseconds() function creates the shortest delay possible from within the Arduino language. The shortest delay possible is about 2 us (microseconds). &lt;span style="font-style:italic;"&gt;Not true - I've tried and the shortest is about 4.5 us.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For shorter delays use assembly language call 'nop' (no operation). Each 'nop' statement executes in one machine cycle (at 16 MHz) yielding a 62.5 ns (nanosecond) delay.&lt;br /&gt;&lt;br /&gt;  __asm__("nop\n\t"); &lt;br /&gt;&lt;br /&gt;  __asm__("nop\n\t""nop\n\t""nop\n\t""nop\n\t");  \\ gang them up like this&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Really, why not a loop?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dat's vy :&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;If you write a C loop, it will change into NOP instructions and compares/increments for counters. So your timing will be off. Unrolling loops is a standard practice to get rid of the compares/increments.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Verdict :&lt;br /&gt;&lt;br /&gt;You also need to know stuff on this page : &lt;br /&gt;&lt;br /&gt;&lt;a href="http://arduino.cc/en/Reference/PortManipulation"&gt;http://arduino.cc/en/Reference/PortManipulation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you use digitalWrite(), a single write takes 4.5 us to execute. But using &lt;br /&gt;&lt;br /&gt;PORTB = PORTB &amp; B11101111;&lt;br /&gt;to set pin 12 low, with no intentional delay, I see a delay of about 400 ns. So much for being able to get 62.5 ns! If I put in 4 NOPs, I get the delay increasing to 620 ns. So we're on!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-5398442229451354524?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/5398442229451354524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/sub-microsecond-delays-with-arduino.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/5398442229451354524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/5398442229451354524'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/sub-microsecond-delays-with-arduino.html' title='Sub-Microsecond Delays with Arduino'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7864951068811404213</id><published>2009-08-25T18:11:00.000-07:00</published><updated>2009-08-25T18:44:03.253-07:00</updated><title type='text'>Space Left on Your Board - What to Tack On</title><content type='html'>Put some 0603 or 0805 land connected to some large pads that you can solder wires to. Same with some SOT23's since you can connect decent robust transistors to those. Then, you're all set to blue wire your board and cover up your mistakes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7864951068811404213?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7864951068811404213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/space-left-on-your-board-what-to-tack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7864951068811404213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7864951068811404213'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/space-left-on-your-board-what-to-tack.html' title='Space Left on Your Board - What to Tack On'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-2505514532293946430</id><published>2009-08-25T15:16:00.000-07:00</published><updated>2009-08-26T18:30:43.765-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lm2611 national product doesn&apos;t work'/><title type='text'>National Trips Up TI</title><content type='html'>LM2611 needs a min of 2.7V, didn't want that to limit the min VDD at which I could talk to my part, so I run if off my 6.6V rail that the TPS61085 is putting out. Not sure where my big mistake is, but the joy of getting the 61085 working after realizing that NXP puts stripes on the CATHODE of its Schottky diodes unlike the rest of the world soon evaporated when I saw what the LM2611 was doing to the boost output. That's a big lesson - you need to think about high current issues - a charge pump is probably way better off here in terms of working right off - especially when you've got a fixed voltage rail. What was I thinking? I thought - hey, a Qpump needs a regulated input, I'm better off with a switcher. What I didn't tell National in their feedback form was that the Cuk is pulling about 1A out of the boost. The table is getting hot!&lt;br /&gt;&lt;br /&gt;    I am using the LM2611A driven by an on-board boost (TPS61085) to realize a -5V voltage. I am using components according to the datasheet Figure 1. The boost output is correct when the LM2611 is disabled - it is 6.6V solid. However, when the LM2611 is enabled, there is large ripple on the boost output and the feedback node voltage of the LM is about 0.4V and the output is about 2V. The boost output average value is still 6.6V when the boost is overcompensated - with a 0 ohm and 1 uF cap on COMP. With 51k and 1 nF, the ripple is about 10V p2p. There is no other load on either the boost of the Cuk. Any help I can get in resolving this issue will be greatly appreciated.&lt;br /&gt;&lt;br /&gt;    Looking at the LM2611 datasheet - it looks like the startup current (despite what is claimed as soft-start) is way up there in the 1.5A range. So it could be that the 61085 is cycling in and out of UVLO all the time. So nothing really works. I wonder if a charge pump would really be better of here - if you can find a low current part, go with it.&lt;br /&gt;&lt;br /&gt;Their response :&lt;br /&gt;__________________&lt;br /&gt;&lt;br /&gt;The issue is you have a boost regulator (TPS61085) is driving a dynamic load (the LM2611). So first you should probably put a filter between them - for example a cap to further reduce any existing ripple from the boost regulator. The other thing to check is the inductor you've selected for the boost regulator. Depending on the current load of the LM2611, it will also determine the value of inductor of the TPS61085. Also, you probably should first check the LM2611A circuit by itself, with a test bench power supply, and then you can see thecurrent levels you can expect (both average current and the transients). From then you can optimize the boost regulator circuit inductor and other parts (output cap, etc) appropriately.&lt;br /&gt;_____________________&lt;br /&gt;&lt;br /&gt;What they missed (failing to see things from the customer's point of view can sometimes be fatal. But, a big outfit like NSM is probably safe) :&lt;br /&gt;&lt;br /&gt;1) I've done my layout already. If they know something like this probably won't work, why not specify the source better on their datasheet?&lt;br /&gt;&lt;br /&gt;2) Who really has the luxury of trying out different caps and inductors? That's nuts - this is not like running spice on your ckt.&lt;br /&gt;&lt;br /&gt;My mistake was in not using jumpers to isolate the different modules and allowing test-sources (clean, expensive) for verifying the modules. What I did try was to force the 6.6V output of the TI boost and see if that helped - but I was forcing through a really long cable, so it probably had almost no effect.&lt;br /&gt;&lt;br /&gt;Any, end of the story is that most of the bench triple supplies have a negative supply that you mostly can't use for anything else, so all I had to do - and here, my great idea of putting down some non-standard pads at the last minute really helped me out - I was able to put down a 2N7002, a resistor and some wires do give the MCU more control. Stuff works pretty well actually.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-2505514532293946430?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/2505514532293946430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/national-trips-up-ti.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/2505514532293946430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/2505514532293946430'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/national-trips-up-ti.html' title='National Trips Up TI'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7846098208808714038</id><published>2009-08-24T23:24:00.000-07:00</published><updated>2009-08-30T10:49:46.577-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fool things I have done'/><title type='text'>Maker Breaks It</title><content type='html'>Not only did my on-board boost not work (TPS61085), but the current it pulled from the supply was so weird in transient that it was the least I could do to 1) Turn off power, 2) Take that chip out. I saw straightaway some mistakes I had made in my design and approach :&lt;br /&gt;&lt;br /&gt;1) I had left the FREQ pin floating. Wonder how you catch stuff like that without an LVS?&lt;br /&gt;2) I didn't put in a jumper on the supply to the boost - I should have made it easy to cut this thing out - as it turned out I had to use the heat stream to get the chip off and there were still problems after that.&lt;br /&gt;3) Shame on me - knowing about the backgate diode and having PMOS pullups, I didn't put in a jumper to cut the PMOS pullup out - now that backgate diode is clamping on of my comm pins - but, somehow, though the scope doesn't pick it up, the interface still works.&lt;br /&gt;4) I should have put a jumper cutting the inverting boost off from the output of the boost. Childishly simple, but it's amazing what you can not-think of when you're under pressure. Lesson - think modular.&lt;br /&gt;5) I should have put more pads on the board to let me solder some wires to drive these functions from the outside in the event they didn't work. Lesson - think modular and what-if!&lt;br /&gt;6) In soldering (assembly), I should have thought modular too - start off with the boost and see if it's working.&lt;br /&gt;&lt;br /&gt;Weird, with an input supply of 3.5, and the chip removed, and supply passing through the boost inductor (3 uH) and then going into the Schottky, the other side of the Schottky diode was 0.45V. Wha?&lt;br /&gt;&lt;br /&gt;Also, the value for the FB node advertised on the TPS61085 datasheet is 1.24V, I was seeing a 0.6V that scaled with supply. What's going on?&lt;br /&gt;&lt;br /&gt;Atleast I didn't get 2A of current when I turned on the supply:)&lt;br /&gt;&lt;br /&gt;Otherwise, the interface works - the Maker has landed - in one week, a GUI running on a PC with it's own serial interface code, talking to the MCU and getting ACKs, MCU commanding the chip in test-mode. Not bad. I feels good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7846098208808714038?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7846098208808714038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/maker-breaks-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7846098208808714038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7846098208808714038'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/maker-breaks-it.html' title='Maker Breaks It'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7273688531692213071</id><published>2009-08-23T12:52:00.000-07:00</published><updated>2009-08-23T13:07:32.176-07:00</updated><title type='text'>Arrays in AHK</title><content type='html'>To learn how to work with arrays in AHK, read&lt;br /&gt;&lt;br /&gt;1) Help docs for StringSplit (tells you the convention - there's nothing set in stone, but you want to let var0 have the number of elements and var1,..,varN have the actual data&lt;br /&gt;&lt;br /&gt;2) This great &lt;a href="http://www.autohotkey.com/forum/topic36072.html"&gt;post&lt;/a&gt; from meister Infogulch : [lib] pgArray - A solution for Manipulating AHK's Arrays v2&lt;br /&gt;&lt;br /&gt;3) Look at the help on Arrays - you can search the Index for that.&lt;br /&gt;&lt;br /&gt;To create a string from an array, you're looking at something really nasty like&lt;br /&gt;&lt;br /&gt;string =&lt;br /&gt;Loop %var0%&lt;br /&gt;{&lt;br /&gt;  string .= var%A_Index%&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I know, you wish perl was easier to use on Windows, you with AHK was more like perl. But, what can you expect for $0.0? It's a great tool for the price.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7273688531692213071?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7273688531692213071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/arrays-in-ahk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7273688531692213071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7273688531692213071'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/arrays-in-ahk.html' title='Arrays in AHK'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-550810814527663403</id><published>2009-08-23T10:02:00.000-07:00</published><updated>2009-08-23T12:03:44.382-07:00</updated><title type='text'>Hello World Arduino GUI</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_sc_j6OoFYTQ/SpF2WxzuedI/AAAAAAAAAUc/_LCwzbcUcYs/s1600-h/led_gui.GIF"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 147px; height: 231px;" src="http://1.bp.blogspot.com/_sc_j6OoFYTQ/SpF2WxzuedI/AAAAAAAAAUc/_LCwzbcUcYs/s320/led_gui.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5373205964129204690" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Status :&lt;br /&gt;&lt;br /&gt;Basic GUI in AHK to talk to MCU - done&lt;br /&gt;String manipulation to give user visual feedback on chip state - pending&lt;br /&gt;&lt;br /&gt;Biggest headache was talking to the serial port in Windows. Sure, there are 1000's of GUI programs out there, but what happens when you want to write a program where you can push a button and get data out? Now you need a lite solution. Luckily, the dons on the AHK forum have cooked something up that calls the buildComDCB DLL from M$. It's not a 'lite' solution, but...&lt;br /&gt;&lt;br /&gt;Now I'm faced with a quandary - how do I process data - it was a snap in Perl, but AHK's emphasis is not on data manipulation, so it doesn't give you 'lite' methods :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-550810814527663403?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/550810814527663403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/hello-world-arduino-gui.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/550810814527663403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/550810814527663403'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/hello-world-arduino-gui.html' title='Hello World Arduino GUI'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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/_sc_j6OoFYTQ/SpF2WxzuedI/AAAAAAAAAUc/_LCwzbcUcYs/s72-c/led_gui.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-1793117277102991802</id><published>2009-08-21T22:04:00.000-07:00</published><updated>2009-08-22T21:17:17.766-07:00</updated><title type='text'>Leave Well Alone</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_sc_j6OoFYTQ/SpDCxP0eatI/AAAAAAAAAUU/KX90xqYmazo/s1600-h/coollogo_com_76142060.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 164px; height: 68px;" src="http://1.bp.blogspot.com/_sc_j6OoFYTQ/SpDCxP0eatI/AAAAAAAAAUU/KX90xqYmazo/s320/coollogo_com_76142060.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5373008506769009362" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I had given up on my USB/serial at home after my outfit's MCU dev board and the MSP430 failed to be installed properly. Learnt later that both used direct USB and I was always pointing windows to the virtual COM port drivers. I try half heartedly to plug in my Arduino today and - pleasant happenings - it works without me having to do a thing. There are some things you have to give M$ credit for. BTW, writing to the COM port from Autohotkey or anywhere (including MS-DOS command prompt) is the last link in my chain. There seems to be a ray of hope thanks to this post which I intend to scrutinize minutely :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.autohotkey.com/forum/post-187247.html#187247"&gt;Seial (COM) Port Console Script&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-1793117277102991802?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/1793117277102991802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/leave-well-alone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/1793117277102991802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/1793117277102991802'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/leave-well-alone.html' title='Leave Well Alone'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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/_sc_j6OoFYTQ/SpDCxP0eatI/AAAAAAAAAUU/KX90xqYmazo/s72-c/coollogo_com_76142060.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7984790448319090026</id><published>2009-08-20T18:42:00.000-07:00</published><updated>2009-08-20T18:47:02.098-07:00</updated><title type='text'>Arduino Trumps All</title><content type='html'>Gave up on my own outfit's microcontroller after the code they have on the website failed to compile on their own assembler. Tough one. Arduino is super easy to use. Great job by the azzuri on this one. The IAR rep who called me to follow up on my download of the kickstart version was also amazed.&lt;br /&gt;&lt;br /&gt;One disappointment was that, despite running off a 16 MHz clock, the Arduino cannot put out a pulse narrower than 4 us on one of its output ports. Might need something fancier than digitalWrite to accomplish that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7984790448319090026?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7984790448319090026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/arduino-trumps-all.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7984790448319090026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7984790448319090026'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/08/arduino-trumps-all.html' title='Arduino Trumps All'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-3263604923349102998</id><published>2009-07-25T09:05:00.001-07:00</published><updated>2009-07-25T09:06:05.493-07:00</updated><title type='text'>Pololu's GUI + Serial Tutorial</title><content type='html'>Be a power hacker :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.pololu.com/docs/0J4"&gt;http://www.pololu.com/docs/0J4&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-3263604923349102998?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/3263604923349102998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/07/pololus-gui-serial-tutorial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3263604923349102998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3263604923349102998'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/07/pololus-gui-serial-tutorial.html' title='Pololu&apos;s GUI + Serial Tutorial'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-3178042287808008080</id><published>2009-06-21T09:52:00.000-07:00</published><updated>2009-06-21T10:54:03.677-07:00</updated><title type='text'>RTFM Works</title><content type='html'>Last gasp accomplishment for the day - Friday. The inhouse software guru spoke - it's just RTFM. Use Zterm on the Mac to connect to the radio. Before that, open up the manual for Roving Networks' radio that Sparkfun is using. I keep claiming to want to be in RF, how come I never did that? Hmmm..&lt;br /&gt;&lt;br /&gt;Anyhow, in this case, the Mac never did pair with the modem - needed default passkey, not no passkey. So, Igoe should really have said to RTFM.&lt;br /&gt;&lt;br /&gt;What I have noticed with Zterm is this - you can power up the modem and use Zterm to talk to the modem in command mode - as long as TX/RX are not connected to the AVR. If they are, no hope.&lt;br /&gt;&lt;br /&gt;Then, if you have connected TX/RX to the AVR and are running the monski pong sensor reader program, you can't get the sensor values - no matter how many /r's you send - which is exactly what the Processing sketch does. Why? If I run the Processing monski_pong_handshake sketch, stuff works fine. And then, once the sketch is up and running, I can interrupt it and go into Zterm and continue reading sensor values using Zterm. What's going on??&lt;br /&gt;&lt;br /&gt;Whoops, and just like that, after my friend returns, stuff behaves. I can go into CMD mode arbitrarily, and even read sensor data through Zterm. The trick seems to be to wait a few seconds after powering up the Arduino setup. After that, the Mac has paired with the device and made the serial port available. Of course, once the Mac has seen the device, the serial port is always available. But, if you try connecting to it 5 seconds after you power up the bluetooth modem, you're out of luck.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-3178042287808008080?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/3178042287808008080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/rtfm-works.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3178042287808008080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3178042287808008080'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/rtfm-works.html' title='RTFM Works'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-2749413093956940481</id><published>2009-06-19T16:06:00.000-07:00</published><updated>2009-06-19T16:13:53.627-07:00</updated><title type='text'>Wireless Monski Pong</title><content type='html'>Alright Mr. Igoe, this is the first one that doesn't work.&lt;br /&gt;&lt;br /&gt;When I power up the setup, the LED near the RTS pin blinks (keeps) about 2x a second.&lt;br /&gt;&lt;br /&gt;If the MAC has already paired with the device once, then, if you run the program in processing, the LED near the CTS pin goes solid on.&lt;br /&gt;&lt;br /&gt;Then, if you stop the program, (it does draw the screen BTW, but no action), the LED near CTS goes off, and the one near RTS starts blinking at 1 Hz.&lt;br /&gt;&lt;br /&gt;Very hard to debug this one on the MAC - how to you know what's showing up on the serial port?&lt;br /&gt;&lt;br /&gt;A general question about the Arduino board - are the RX/TX pins on the header connected to the same ones that go to the serial-USB adapter chip?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-2749413093956940481?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/2749413093956940481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/wireless-monski-pong.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/2749413093956940481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/2749413093956940481'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/wireless-monski-pong.html' title='Wireless Monski Pong'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-9137301266046852344</id><published>2009-06-19T10:04:00.000-07:00</published><updated>2009-06-26T22:30:38.220-07:00</updated><title type='text'>So Much for Mac's Users Friendliness</title><content type='html'>I still remember a show on TV 20 years ago touting the Mac's user friendliness with a PC example - "abort,retry, fail?". Here's what I got from the Mac Mini today when I tried to run Arduino :&lt;br /&gt;&lt;br /&gt;uncaught exception in main method:&lt;br /&gt;java.lang.UnsatisfiedLinkError: /Useres/xx/arduino-0015/Arduio&lt;br /&gt;15.app/Contents/Resources/java/librxtxSerial.jnilib: no suitable image&lt;br /&gt;found. Did find:&lt;br /&gt;/Users/xx/arduino-0015/Arduino15.app/Contents/Resources/java/librxtxSerial.jnilib:&lt;br /&gt;no matching architecture in universal wrapper&lt;br /&gt;&lt;br /&gt;Leaves me helpless.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-9137301266046852344?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/9137301266046852344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/so-much-for-macs-users-friendliness.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/9137301266046852344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/9137301266046852344'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/so-much-for-macs-users-friendliness.html' title='So Much for Mac&apos;s Users Friendliness'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-5710685645221088822</id><published>2009-06-14T17:57:00.000-07:00</published><updated>2009-06-19T09:08:50.174-07:00</updated><title type='text'>Mission A.d : Push Button, Send LED</title><content type='html'>Accomplishes a Hello World version of Igoe's CatCam program. I can push a button on my Arduino board connected to the Mac and get my PC to send a mail to my gmail. Will post the code soon.&lt;br /&gt;&lt;br /&gt;With the help of a software guru of course :)&lt;br /&gt;&lt;br /&gt;Basically, following the lead from Tom Igoe :&lt;br /&gt;&lt;br /&gt;App running on the Arduino is very simple and just services a pushbuttom press and a very simple handshake with the PC over the serial port, which also serves in the debounce (PC implements a 2 second delay. Yuck!)&lt;br /&gt;&lt;br /&gt;PC runs a very simple program (in Processing code) to monitor the serial port and look for the secret byte. When it gets it, it fetches a PHP page from the webserver.&lt;br /&gt;&lt;br /&gt;Webserver, services that request by sending a mail using the simple port 25 protocal at mail.google that doesn't require authentication.&lt;br /&gt;&lt;br /&gt;Mail will be in your spam folder in your gmail because it looks like an obvious forgery.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-5710685645221088822?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/5710685645221088822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/mission-ad-push-button-send-led.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/5710685645221088822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/5710685645221088822'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/mission-ad-push-button-send-led.html' title='Mission A.d : Push Button, Send LED'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-3328352558969202293</id><published>2009-06-13T22:37:00.000-07:00</published><updated>2009-06-13T23:17:31.698-07:00</updated><title type='text'>VDIG Mirror</title><content type='html'>The whole setup - Arduino + processing is quite unreliable - no offense to the nice people who've put it together. It lacks the "heavyweight" quality.&lt;br /&gt;&lt;br /&gt;Anyhow, for those seeking VDIG - which lets you generate quicktime output from you webcam,  here's a mirror:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.eden.net.nz/7/20071008/"&gt;http://www.eden.net.nz/7/20071008/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Courtesy of Tim Molteno. Hero!&lt;br /&gt;&lt;br /&gt;One glaring error by Tom Igoe :&lt;br /&gt;&lt;br /&gt;Pg 298 - he's put "myCam" before width in his call to Capture. How????????&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-3328352558969202293?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/3328352558969202293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/vdig-mirror.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3328352558969202293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3328352558969202293'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/vdig-mirror.html' title='VDIG Mirror'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-1331106801680012055</id><published>2009-06-13T11:53:00.000-07:00</published><updated>2009-06-14T09:24:11.869-07:00</updated><title type='text'>The Best Apache PHP Setup Guide in the World</title><content type='html'>Here :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/"&gt;http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But, this is a mistake to install just Apache. Later you'll be installing PHP, etc. What you want to install is XAMPP. Check that out!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-1331106801680012055?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/1331106801680012055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/best-apache-php-setup-guide-in-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/1331106801680012055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/1331106801680012055'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/best-apache-php-setup-guide-in-world.html' title='The Best Apache PHP Setup Guide in the World'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-3792692288089182261</id><published>2009-06-04T15:00:00.000-07:00</published><updated>2009-06-04T15:26:56.072-07:00</updated><title type='text'>Arduino Igoe Monski Pong Prequel</title><content type='html'>Code for the book Making Things Talk is available online :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.makershed.com/ProductDetails.asp?ProductCode=0596510519"&gt;http://www.makershed.com/ProductDetails.asp?ProductCode=0596510519&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now, code for the example on Pg 59 is in the file called sensor_reader.&lt;br /&gt;&lt;br /&gt;Set Realterm to ASCII to see a presentable display. I used just resistors (no flex) and moved the probe (analog Pin 0 or 1) around VDD and GND to see that max code is 1023 and min is 0. Tells you it's a 10 bit ADC - neat. The last character appears weird it must be said.&lt;br /&gt;&lt;br /&gt;With a 1k to 5V and 10k to GND divider, I see codes ranging from 931 to 929 - 2 LSB's of p2p noise. About 10 mV of noise there p2p. That's within the ADC bandwidth. And what is that? Need to check the datasheet there. Gives an idea of the KT/C noise and the active device noise of the ADC? p2p noise is about 6x the rms noise?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-3792692288089182261?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/3792692288089182261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/arduino-igoe-monski-pong-prequel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3792692288089182261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3792692288089182261'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/arduino-igoe-monski-pong-prequel.html' title='Arduino Igoe Monski Pong Prequel'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-8436013908152110069</id><published>2009-06-04T00:01:00.000-07:00</published><updated>2009-06-04T15:10:35.552-07:00</updated><title type='text'>Arduino Serial Success</title><content type='html'>The big tip - screw what Igoe says - don't even look at Putty. Putty was busy with I don't know what when I clicked "Open" - not even a peep.&lt;br /&gt;&lt;br /&gt;Go straight for Realterm - probably the best serial comm tool ever written.&lt;br /&gt;&lt;br /&gt;Goes without saying - you can't have Realterm looking at your port and use the same port to write to the arduino simultaneously. You'll have to close the port in Realterm first - just press the button.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-8436013908152110069?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/8436013908152110069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/arduino-serial-success.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8436013908152110069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8436013908152110069'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/arduino-serial-success.html' title='Arduino Serial Success'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-8544636500497173691</id><published>2009-06-03T22:28:00.000-07:00</published><updated>2009-06-03T23:35:22.432-07:00</updated><title type='text'>Arduino Interrupt Handling</title><content type='html'>This stuff worked very cleanly in MSP430. Problem is that people are doing a lot more basic stuff with Arduino at the moment so interrupts don't seem to have caught on just yet.&lt;br /&gt;&lt;br /&gt;Anyhow, here's what I was trying to do :&lt;br /&gt;&lt;br /&gt;Push the button and get the uC to play the Melody. Didn't work, so then I say just blink the LED. That also doesn't work.&lt;br /&gt;&lt;br /&gt;This much I see :&lt;br /&gt;&lt;br /&gt;(stuff you have to know is that every program in Arduino has a "setup()" and a "loop()")&lt;br /&gt;&lt;br /&gt;I light up the pin 13 LED within loop.&lt;br /&gt;Then, I set the ISR to clear the LED, delay and the light it up again. &lt;br /&gt;&lt;br /&gt;Doesn't work - all I see is it clears the LED. Come on, this is really simple.&lt;br /&gt;&lt;br /&gt;Then, Lefty tells me that you can't use delay within your ISR.&lt;br /&gt;&lt;br /&gt;WTH!!&lt;br /&gt;&lt;br /&gt;The goal, BTW, is to get through Igoe's book. Great guy - saw him at Maker Faire. Seems to have done everything I want to do. Now, while the economy's got me down is the time.&lt;br /&gt;&lt;br /&gt;Anyhow, 11:35 at night, nailed the interrupt thing - can play Melody at the press of a buton. Now, to try out one serial example from Igoe's book and call it a day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-8544636500497173691?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/8544636500497173691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/arduino-interrupt-handling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8544636500497173691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8544636500497173691'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/arduino-interrupt-handling.html' title='Arduino Interrupt Handling'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-1643892519249217918</id><published>2009-06-03T22:24:00.000-07:00</published><updated>2009-06-03T22:26:57.462-07:00</updated><title type='text'>Arduino Here I Come</title><content type='html'>Okay, MSP430 sucks, Atmel rules. Yesterday was day one. BTW, Atmel and Arduino rule the Maker Faire (no one mentions Atmel of course). I asked on Dallas guy at the MF if he's considered MSP430 and he said no. No way.&lt;br /&gt;&lt;br /&gt;Anyhow, we put Arduino on a Compaq running XP yesterday and the performance was pretty crappy. You click the Tool menu and wait about half a minute.&lt;br /&gt;&lt;br /&gt;At some point, we're going to get some smart CS people from Eastern Europe to fix this. Italy doesn't seem to cut it yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-1643892519249217918?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/1643892519249217918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/arduino-here-i-come.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/1643892519249217918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/1643892519249217918'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/06/arduino-here-i-come.html' title='Arduino Here I Come'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-5700511800657587540</id><published>2009-03-11T14:25:00.000-07:00</published><updated>2009-03-11T14:28:22.473-07:00</updated><title type='text'>User Guide</title><content type='html'>Thanks, that helps. One thought - is there a compiler feature that can tell the user what clocks will be active with the program he has written and what current consumption he can expect? Users, like me, who are novices are more interested in creating apps than in optimizing them. Later, when we start thinking about optimization, we would want to know where the ducks are to shoot. Such a feature in the compiler might make the MSP430 more marketable. It might already exist.&lt;br /&gt;&lt;br /&gt;Replying to:&lt;br /&gt;&lt;br /&gt;Execution will suspend immediately. Code execution will pickup immediately after the device is awakened. So the lines of code will execute after the device wakes back up. The operating modes are described in Chapter 2 of the Family User s Guide. You can download this from the following link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://focus.ti.com/mcu/docs/mcuprodtechdoc.tsp?sectionId=95&amp;tabId=1201&amp;familyId=342&amp;techDoc=6&amp;documentCategoryId=6"&gt;http://focus.ti.com/mcu/docs/mcuprodtechdoc.tsp?sectionId=95&amp;tabId=1201&amp;familyId=342&amp;techDoc=6&amp;documentCategoryId=6&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please let me know if you need further assistance. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;If you have further questions please reply to this email.  And see the MCU Knowledge Base located at http://www-k.ext.ti.com/sc/technical-support/mcu-kbase &lt;br /&gt;&lt;br /&gt;-----Original Message----- &lt;br /&gt;Sent: 3/9/2009 05:45:43 PM&lt;br /&gt;To: support@ti.com&lt;br /&gt;Subject: eZ430-RF2500 demo app question&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am using this product from TI. My question is about the MSP430. What happens when the following line is encountered by the execution unit?&lt;br /&gt;__bis_SR_register(LPM3_bits+GIE); // LPM3 with interrupts enabled&lt;br /&gt;&lt;br /&gt;does it suspend operation immediately and go into a low power mode or does it finish execution of the current program before going into LPM3?&lt;br /&gt;&lt;br /&gt;If it suspends execution immediately, how does it make sense to suspend execution during a program containing :&lt;br /&gt;&lt;br /&gt;SMPL_Ioctl( IOCTL_OBJ_RADIO, IOCTL_ACT_RADIO_SLEEP, "" );&lt;br /&gt;__bis_SR_register(LPM3_bits+GIE); // LPM3 with interrupts enabled&lt;br /&gt;SMPL_Ioctl( IOCTL_OBJ_RADIO, IOCTL_ACT_RADIO_AWAKE, "" );&lt;br /&gt;&lt;br /&gt;or even :&lt;br /&gt;&lt;br /&gt;while (SMPL_SUCCESS != SMPL_Link(&amp;linkID1))&lt;br /&gt;{&lt;br /&gt;__bis_SR_register(LPM3_bits + GIE); // LPM3 with interrupts enabled&lt;br /&gt;BSP_TOGGLE_LED1();&lt;br /&gt;BSP_TOGGLE_LED2();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;In these examples, we say go into LPM3 and then we ask it to do other things. Does execution of the program pick up where it left off? Is there an online location I can find answers to such questions?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-5700511800657587540?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/5700511800657587540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/03/user-guide.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/5700511800657587540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/5700511800657587540'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/03/user-guide.html' title='User Guide'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-6567042059516086287</id><published>2009-03-09T21:22:00.000-07:00</published><updated>2009-03-09T21:46:35.920-07:00</updated><title type='text'>Surprise! P1DIR and Port_1 ISR</title><content type='html'>You can't use the push button on P1.2 of the eZ430-RF2500 to generate an interrupt if you have bit 2 of P1DIR set. Nice.&lt;br /&gt;&lt;br /&gt;And, BSP_init() - though supposedly a utility, will mess this up. So watch out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-6567042059516086287?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/6567042059516086287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/03/surprise-p1dir-and-port1-isr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/6567042059516086287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/6567042059516086287'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/03/surprise-p1dir-and-port1-isr.html' title='Surprise! P1DIR and Port_1 ISR'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-8493901469881593231</id><published>2009-03-01T21:55:00.000-08:00</published><updated>2009-03-01T21:58:25.807-08:00</updated><title type='text'>Stage 3 - Day 2 ATR</title><content type='html'>Okay, the documentation is horrendous, but, still, kudos to the TI team for atleast putting something together that works. I think they have what it takes to send TXN soaring. But, it'll have to be a team effort.&lt;br /&gt;&lt;br /&gt;In the demo app for the eZ430-RF2500, they're using a timer interrupt to wake the chip up and run the join-network, etc. Okay, figured that part out. Also, there's a lot of undocumented stuff scattered around like &lt;br /&gt;&lt;br /&gt;__bis_SR_register(LPM3_bits + GIE);     // LPM3 with interrupts enabled&lt;br /&gt;&lt;br /&gt;without it being really easy to find out what the effect of this will be. Now, if they had a PDF of the source code with hyperlinks... ummm.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-8493901469881593231?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/8493901469881593231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/03/stage-3-day-2-atr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8493901469881593231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/8493901469881593231'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/03/stage-3-day-2-atr.html' title='Stage 3 - Day 2 ATR'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-4080401629002131315</id><published>2009-02-28T14:58:00.000-08:00</published><updated>2009-02-28T15:16:26.853-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='structured programming unmodular code'/><title type='text'>Stage 3 - Push Button on End Device Toggles Access-Point LED</title><content type='html'>Turning out to be not so simple as the demo code for the eZ430-RF2500 is famously unmaintainable. Wish some of those folks had been exposed to some structured programming concepts. How's someone to take this :&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;br /&gt;         BSP_EXIT_CRITICAL_SECTION(intState);&lt;br /&gt;        }&lt;br /&gt;      }&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;}&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;[Wince:(] I'd rather see :&lt;br /&gt;&lt;br /&gt;        } // if( SMPL_R..&lt;br /&gt;      }   // for&lt;br /&gt;    }   // if( sPeer..&lt;br /&gt;    &lt;br /&gt;  }   // while(1)&lt;br /&gt;}     // main&lt;br /&gt;&lt;br /&gt;And it gets better - function definitions without any clues about what the h they do, code snippets in the main() that really should be separate functions... If we don't need to know what they do, why not put them in the .h files? Not the best way to sell MSP430.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-4080401629002131315?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/4080401629002131315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/stage-3-push-button-on-end-device.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/4080401629002131315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/4080401629002131315'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/stage-3-push-button-on-end-device.html' title='Stage 3 - Push Button on End Device Toggles Access-Point LED'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7174691958886099404</id><published>2009-02-28T13:50:00.000-08:00</published><updated>2009-02-28T13:53:04.794-08:00</updated><title type='text'>Stage 2 - Push Button Toggles LED on Same Board</title><content type='html'>Done. There is no quick way. You have to read a few posts and a bit of the datasheets. Nothing like being able to delegate:)&lt;br /&gt;&lt;br /&gt;Now, for the big kahuna - probably can just scale down the temp sensor monitor.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7174691958886099404?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7174691958886099404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/stage-2-push-button-toggles-led-on-same.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7174691958886099404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7174691958886099404'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/stage-2-push-button-toggles-led-on-same.html' title='Stage 2 - Push Button Toggles LED on Same Board'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7142118820454460786</id><published>2009-02-28T12:15:00.000-08:00</published><updated>2009-02-28T13:24:19.827-08:00</updated><title type='text'>Stage 1 - Flashing LED on Target Board</title><content type='html'>Found a thread that helped. I want to first use the pushbutton to do something on the target board itself before going wireless. Before that, Mann muss first ensure he can talk to the LED.&lt;br /&gt;&lt;br /&gt;Fortunately, that's a piece of cake if you use the flashing_LED example by Dannenberg. You'll have to change #include "msp430.h" to #include "msp430x22x4.h" as in Adrian's example &lt;a href="https://community.ti.com/forums/p/859/2554.aspx"&gt;https://community.ti.com/forums/p/859/2554.aspx#2554&lt;/a&gt;. And, you'll have to ignore the warning that derivative and target don't match (MSP4301x11 vs 2x44 or something like that, allow it to continue)&lt;br /&gt;&lt;br /&gt;But, moved the target board back to battery, and stuff works. A journey of a thousand miles, etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7142118820454460786?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7142118820454460786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/stage-1-flashing-led-on-target-board.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7142118820454460786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7142118820454460786'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/stage-1-flashing-led-on-target-board.html' title='Stage 1 - Flashing LED on Target Board'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-7284398395740521617</id><published>2009-02-28T10:29:00.001-08:00</published><updated>2009-02-28T11:39:09.197-08:00</updated><title type='text'>Wireless Hello World</title><content type='html'>What I define as the hello-world of the wireless world. Press a button here, light up an LED there. Duke's teach-science project tells you how to do this with a 433 MHz link, but you need to hook stuff up with wires and a breadboard. Or you could buy a garage door opener. Or, just use the eZ430-RF2500 from TI and do a little programming.&lt;br /&gt;&lt;br /&gt;My goal - push the button on the End-Device target board and light up the LED on the Access-Point board. It's not that trivial since you need to know a bit about the network protocol and such, but, atleast, no messy wires making a lab out of your house.&lt;br /&gt;&lt;br /&gt;Access-Point - connected to PC through USB for power only. Awaiting a packet that tells it to toggle the LED status.&lt;br /&gt;&lt;br /&gt;End-Device - connected to battery board. Polls (or awaits interrupt from) push button port to send a packet to the access-point with code indicating please-toggle-LED.&lt;br /&gt;&lt;br /&gt;What's missing in TI documentation :&lt;br /&gt;&lt;br /&gt;Block diagram of the eZ430-RF2500 - how is the MCU connected to the CC2500 - schematic diagram is overkill.&lt;br /&gt;&lt;br /&gt;Resources :&lt;br /&gt;&lt;br /&gt;SimpliciTI protocol &lt;a href="http://focus.ti.com/lit/ml/swru130b/swru130b.pdf"&gt;overview&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-7284398395740521617?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/7284398395740521617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/wireless-hello-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7284398395740521617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/7284398395740521617'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/wireless-hello-world.html' title='Wireless Hello World'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-3029062888968490544</id><published>2009-02-28T08:44:00.000-08:00</published><updated>2009-02-28T08:53:26.718-08:00</updated><title type='text'>Custom USB Apps</title><content type='html'>Answer to "How to tweak that app that runs on the PC?"&lt;br /&gt;&lt;br /&gt;there is a new version of the sensor monitor for the &lt;a href="http://focus.ti.com/lit/ug/slau273/slau273.pdf"&gt;eZ430-RF2500-SEH &lt;/a&gt;which includes the full source code and was built using free or open source software.  this might be a good start for you:&lt;br /&gt;&lt;br /&gt;It was developed using the open source &lt;a href="http://www.qtsoftware.com/"&gt;Qt&lt;/a&gt;&lt;br /&gt;cross-platform applications framework, &lt;a href="http://qwt.sourceforge.net/"&gt;QWT&lt;/a&gt;, and compiled using &lt;a href="http://www.microsoft.com/express/vc/"&gt;Microsoft Visual C++ 2008 Express Edition&lt;/a&gt;, which are all freely available.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-3029062888968490544?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/3029062888968490544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/custom-usb-apps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3029062888968490544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/3029062888968490544'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/custom-usb-apps.html' title='Custom USB Apps'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-6097633372718506877</id><published>2009-02-26T13:51:00.000-08:00</published><updated>2009-02-26T14:05:50.443-08:00</updated><title type='text'>Hello World Done</title><content type='html'>Took the out-of-box access point device (the one that's in the USB stick) and converted it into an end-device, did the opposite with the end device (one that's plugged into the battery board) and re-ran the demo sensor visualizer app. &lt;br /&gt;&lt;br /&gt;This used section 10.2 of the &lt;a href="http://focus.ti.com/lit/ug/slau227d/slau227d.pdf"&gt;SLAU227D &lt;/a&gt;app note (Feb 2009 revision). &lt;br /&gt;&lt;br /&gt;I would reword some of it:&lt;br /&gt;&lt;br /&gt;10.2 point # 2:&lt;br /&gt;&lt;br /&gt;existing : &lt;br /&gt;&lt;br /&gt;Select Open Existing Workspace, and browse for the demo application workspace (*.eww) file. The project is available on the CD or at http://www.ti.com/lit/zip/slac139.&lt;br /&gt;&lt;br /&gt;Problem :&lt;br /&gt;&lt;br /&gt;Windows needs to know that you want to look at extensions for Known File Types (once you've installed IAR, .eww is a known type - and so you will not see .eww, you will only see the other files that are .ewd .ewp (when you select All Files).&lt;br /&gt;&lt;br /&gt;Preferred wording :&lt;br /&gt;&lt;br /&gt;Select "Open Existing Workspace", and browse for the demo application file "eZ430-RF2500 Sensor Monitor Demo vX.YZ"&lt;br /&gt;&lt;br /&gt;Point #4 :&lt;br /&gt;&lt;br /&gt;Existing :&lt;br /&gt;&lt;br /&gt;Select &lt;strong&gt;Project -&gt; Debug in IAR&lt;/strong&gt; to download...&lt;br /&gt;&lt;br /&gt;Preferred :&lt;br /&gt;&lt;br /&gt;Select &lt;strong&gt;Project -&gt; Debug&lt;/strong&gt; using the Project menu in IAR to download...&lt;br /&gt;&lt;br /&gt;Point #6 :&lt;br /&gt;&lt;br /&gt;Exsting :&lt;br /&gt;&lt;br /&gt;Select &lt;strong&gt;Debug --&gt; Stop Debugging &lt;/strong&gt;exits the debug mode while leaving the target board executing code.&lt;br /&gt;&lt;br /&gt;Preferred :&lt;br /&gt;&lt;br /&gt;Select &lt;strong&gt;Debug --&gt; Stop Debugging &lt;/strong&gt;to exit the debug mode while allowing the target board to continue executing the program.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-6097633372718506877?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/6097633372718506877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/hello-world-done.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/6097633372718506877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/6097633372718506877'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/hello-world-done.html' title='Hello World Done'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-4338058174844173045</id><published>2009-02-26T10:25:00.000-08:00</published><updated>2009-02-26T10:27:48.820-08:00</updated><title type='text'>FET Vs IAR</title><content type='html'>The Flash Emulation Tool costs $100. But, what does it get you over just the eZ430-RF2500 hardware? Is it only that you can protect the firmware with fuse-blow for production purposes?&lt;br /&gt;&lt;br /&gt;How do I download code into the MCU from IAR? I don't see Project-&gt; "Debug in IAR" in the IAR. Maybe that's a typo. Probably means "Project-&gt;Debug" in IAR.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-4338058174844173045?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/4338058174844173045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/fet-vs-iar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/4338058174844173045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/4338058174844173045'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/fet-vs-iar.html' title='FET Vs IAR'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3002971895079303499.post-4141851723294074373</id><published>2009-02-26T10:18:00.000-08:00</published><updated>2009-02-26T10:21:47.852-08:00</updated><title type='text'>In IAR Workbench, Unable to "Set as Active"</title><content type='html'>Kudos : Brandon E&lt;br /&gt;&lt;br /&gt;Problem : App note &lt;a href="http://focus.ti.com/lit/ug/slau227d/slau227d.pdf"&gt;http://focus.ti.com/lit/ug/slau227d/slau227d.pdf&lt;/a&gt; says to right-click on "Access Point" project in IAR and select "Set as Active". But, that option is grayed out when I right click. Is there a physical difference between the access point board and the end device board? I switched them out of the box just to see if I could get the firmware download right as a hello-world example.&lt;br /&gt;&lt;br /&gt;Solution : Is the Access Point project name already in bold? Yes? That means it's already active.&lt;br /&gt;&lt;br /&gt;There is no physical difference between the boards. Behaviour is entirely dependent on the code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3002971895079303499-4141851723294074373?l=msp430rf2500.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msp430rf2500.blogspot.com/feeds/4141851723294074373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/in-iar-workbench-unable-to-set-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/4141851723294074373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3002971895079303499/posts/default/4141851723294074373'/><link rel='alternate' type='text/html' href='http://msp430rf2500.blogspot.com/2009/02/in-iar-workbench-unable-to-set-as.html' title='In IAR Workbench, Unable to &quot;Set as Active&quot;'/><author><name>Master</name><uri>http://www.blogger.com/profile/15429251949830905484</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><thr:total>0</thr:total></entry></feed>
