SirPatrick 35 Posted January 5, 2013 Share Posted January 5, 2013 I have been working on a few different projects that could be described as wireless sensor nodes. Just to get something working I decided to hack a retail router to give my MSP430 wireless capabilities. The first step was to install OpenWRT Linux onto the router to make it configurable. After that I mounted the file system onto a flash drive that was using the built in USB port on the router. From there I broke out the convenient 3.3v serial connection and hooked it up to my MSP430. Currently I am working on a full write up that will include compiling OpenWRT from source and detailed step by step instructions to install all the needed packages. I am also finishing up some scripts that should automate the hard stuff and give your launchpad a wireless connection in no time. Decided I would add some some pictures and examples for everyone to look at while I finish the write up / automation scripts. This is by no means a finished or polished project. Here is a link to the Imgur album with short descriptions. http://imgur.com/a/xzga5 And here is a video of me using the wireless capabilities to trigger a relay. I will update this post when I finish everything else. http://www.youtube.com/watch?v=aU0LfrJBSKE pine, RobG, larryfraz and 2 others 5 Quote Link to post Share on other sites
cde 334 Posted January 5, 2013 Share Posted January 5, 2013 Neat. Other ways you can do it: bitbanged i2c on one of the spare gpio, to connect to the launchpad (To save the serial port for other use). Though honestly, at that point where you have openwrt and bitbangable gpio, you can skip the launchpad and run it direct. A nicer option is some the open/ddwrt routers with USB ports. The portable tp-link w703n for example. You could get the launchpad to plug in to usb, for both serial and debugging via mspgcc or something. That would be amazing. While googling, I mistakenly typed w740n instead of w703n, and found this: https://forum.openwrt.org/viewtopic.php?id=37368 This guy added usb to his tp-link router by scratching off part of the processor to access the unrouted pins! (Thankfully not bga). People have found ways of accessing hardware supported usb on embedded chips everywhere now a day. Quote Link to post Share on other sites
cde 334 Posted January 5, 2013 Share Posted January 5, 2013 Actually, your mr3220 already has usb. And usb is fully supported by openwrt on your router. Since you are using the usb (Flash drive? Or usb 3g modem?) you could use a hub and connect both! Quote Link to post Share on other sites
bluehash 1,581 Posted January 5, 2013 Share Posted January 5, 2013 Good! The TP link routers have been getting all the attention these days. What do you mean when you say you hooked the serial to the ethernet port? Quote Link to post Share on other sites
cde 334 Posted January 5, 2013 Share Posted January 5, 2013 Good! The TP link routers have been getting all the attention these days. What do you mean when you say you hooked the serial to the ethernet port? His picture shows that he cut the traces from the magnetics to one of the ethernet ports, and wired the serial port to the now unconnected pins. Quote Link to post Share on other sites
yyrkoon 250 Posted January 17, 2013 Share Posted January 17, 2013 And . . . the video is private . .. A picture may be worth 10,000 words, but a video says it all Quote Link to post Share on other sites
grodius 18 Posted January 18, 2013 Share Posted January 18, 2013 The following is a slight tangent on this network theme, but I've been using Bluetooth HC-05 modules for wireless UART connectivity. They are readily available for $5 shipped. I have only used them up to 115,200 but they probably can achieve 1 megabit per second and allow for connection to desktops or direct to Android devices while using UART hardware so not much strain on the processor. yyrkoon 1 Quote Link to post Share on other sites
Lord anubis 1 Posted January 19, 2013 Share Posted January 19, 2013 Hey Sir. The video is still private. Quote Link to post Share on other sites
SirPatrick 35 Posted January 19, 2013 Author Share Posted January 19, 2013 Fixed the private thing. Not sure how that happened. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.