TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Build a Robot Overlord Using Node.js, Twilio, and Arduino

75 pointsby jonmarkgoalmost 13 years ago

9 comments

zenoconalmost 13 years ago
That's cool. Incidentally, I'm building something related (incorporates node, Twilio, and Roving Networks WiFly). We launched a Kickstarter that did not make funding <a href="http://www.kickstarter.com/projects/daisyworks/internet-your-thing-0" rel="nofollow">http://www.kickstarter.com/projects/daisyworks/internet-your...</a> but I am continuing to build it out. It monitors sensors and alerts you when conditions are met. You can also control the RN WiFly to drive GPIO through the web browser using node, redis and SocketStream on the backend. The hardware we built also allows you to plug in an Atmel/Arduino with more sensors - so you could do things like drive a servo from your browser/phone, or control a robot.
评论 #4195184 未加载
thechutalmost 13 years ago
Great work! I don't have any experience with node.js but this looks very cool, and I love that you can just call it up.<p>From your writeup:<p>&#62;This code is mostly self-documenting, however the one area that confused me starting out was that you need to open a Serial port in order to use the WiFly module.<p>&#62;The one possible issue to note is that you cannot use the Serial monitor or the Serial.print commands because the WiFly has taken over the usual port.<p>If this was causing debug headaches for you I would reccomend checking out the NewSoftSerial library by Arduiniana[1]. It allows you to turn any digital pins on the Arduino into a UART serial (RX/TX) setup. I use it all the time with Bluetooth or Xbee projects. If you are using Arduino IDE 1.0 it's actually already included, you don't even have to donwload the library, it's called just "SoftSerial" in the library menu I believe.<p>[1]: <a href="http://arduiniana.org/libraries/newsoftserial/" rel="nofollow">http://arduiniana.org/libraries/newsoftserial/</a>
评论 #4195361 未加载
jonmarkgoalmost 13 years ago
If anyone has any other Twilio/Arduino tutorials they would like to see, please let me know! I'm working on another one at the moment but am always open to suggestions
hack_edualmost 13 years ago
Why in God's name is Node.js at all appropriate for this?!
评论 #4195181 未加载
评论 #4195314 未加载
jgrahamcalmost 13 years ago
Would be interested to know how much power those servos are pulling from the Arduino. The regulator on the Uno is fairly limited in power output and there's also the WiFi board to power as well.<p>Did you experience any problems with crashes on the Uno because of a lower power condition?
评论 #4194895 未加载
Bharath1234almost 13 years ago
Great one ! Thanks a lot !! Could you tell me how to connect some Input device like UI Screen with Arduino and get touch inout from it? Any links will be helpful!!
评论 #4195053 未加载
arrowgunzalmost 13 years ago
I love the idea and the project. It's so awesome. I am so happy to see NodeJS being used this way. +10 man.
评论 #4195396 未加载
ericmoritzalmost 13 years ago
this is basically the Rube Goldberg machine of robotics; which is cool in its own right.
评论 #4194866 未加载
eragnewalmost 13 years ago
holy crap, i need to build one of these. just to see how it works.
评论 #4194821 未加载