3828274838 1 Posted July 18, 2012 Share Posted July 18, 2012 12345 Quote Link to post Share on other sites
kylej1050 27 Posted July 18, 2012 Share Posted July 18, 2012 Very cool! I hadn't thought of doing this with a set of remote-controlled outlets that I picked up in the after christmas sale. Curious, does the remote controlled socket use a relay or some sort of solid-state alternative? I ask because if it uses a TRIAC or solid state relay and it can switch fast enough(probably limited by wireless protocol) you can rapidly switch it for pwm. Quote Link to post Share on other sites
3828274838 1 Posted July 18, 2012 Author Share Posted July 18, 2012 12345 Quote Link to post Share on other sites
kylej1050 27 Posted July 18, 2012 Share Posted July 18, 2012 How does it communicate with the remote? Infrared? Quote Link to post Share on other sites
3828274838 1 Posted July 18, 2012 Author Share Posted July 18, 2012 12345 Quote Link to post Share on other sites
cde 334 Posted July 19, 2012 Share Posted July 19, 2012 You know, it might work better if you went the ethernet route. No need to keep a pc on just as a server. Quote Link to post Share on other sites
3828274838 1 Posted July 19, 2012 Author Share Posted July 19, 2012 12345 Quote Link to post Share on other sites
mekanoo 0 Posted August 23, 2012 Share Posted August 23, 2012 I would like to use a Launchpad to control 8 relays, could this same code be used by making some more "ledPin"'s, one for every relay. Is the code converted to work on a MSP430, because it looks like it is done for an Arduino? Could someone give me some example how to edit the code so that it can be used for 8 relays? Quote Link to post Share on other sites
energia 484 Posted August 23, 2012 Share Posted August 23, 2012 Energia == Arduino for MSP430 so yes, the code will run without modification on a LaunchPad. Energia can be downloaded here: https://github.com/energia/Energia/downloads You can use the following code to toggle any pin on the LaunchPad: digitalWrite(, HIGH); digitalWrite(, HIGH); Replace with the pin name according to the silk screen e.g P1_4, P1_5, P2_1, etc. You can find the pin mapping here: https://github.com/energia/Energia/wiki/Hardware Robert 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.