[Not Mine] My weekend project: an Arduino, Raspberry Pi & Node.js robot
2013-01-07 04:52
429 查看
Page from : http://blog.jonathanberi.com/2012/10/my-weekend-project-arduino-raspberry-pi.html
When Checking, a proxy agent software is recommended.
Home
Raspberry Pi bot progress
My weekend project: an Arduino, Raspberry Pi & Node.js robot
Designing for Hangout Apps - Dimensions
How I manage my circles
What do I need to know about San Francisco?
Molding Google+: what devs should be able to do
Updating Node.js from source
'Gotcha' for running Cloud9 IDE on Cygwin
My NodeJS on Windows Setup
If I ran BD for Google TV...
Don't you need an email to log into Facebook?
Spotify Looking For A COO, Still Hoping For U.S. Launch This Year
Microsoft: include node.js in Windows
Google Voice's missing killer feature: dialing extensions
Captivating Examples of Sleeveface Photography
Who should buy, what to build [suggestions]
How I'd change Chatroulette: make it like Foursquare
Google Voice: Converging Mobile and Web
Why YQL?
First Post
My weekend project: an Arduino, Raspberry Pi & Node.js robot
Yes I know, I'll get more buzzwords when I my JavaScript creates Cloud Synergy - but after I Pivot.
I've been spending my wee few hours a week designing, tinkering and finally building my little robotics platform. I've had ideas brewing for a while but haven't had enough time outside of work to start hacking.
It all started when I first saw Rick Waldron's
Johnny Five framework for Node.js.
Sensors are asynchronous, so, ya, a node.js robot framework makes sense.
A few months later I started sketching designs, reading up on
firmata and buying my arduino & Pi.
Before the what & why, here's the basic BOM:
1 Arduino Uno R3 running firmata
1 original Raspberry Pi with Raspbian, Node.js & 4gb of storage
1 Magicians chassis
1 SN754410NE Quad Half H-Bridge to drive the motors
1 dual-output mobile
battery back
A custom mount for the Pi & some custom USB cabling for power
multiple boards via a USB hub and interpreting a bazillion inputs or adding vision with
OpenCV.
Internet of Things concept, it basically means physical things will be connected to the web. TVs, Thermostats and of course robots! The main interface for my robot is a web app and that app will continue to get more sophisticated. Due to latency concerns,
I wanted to control it over websockets, so Node.js was a good choice there. Plus, the more JavaScript in Node.js I write, the happier I am :)
power the Pi and drive the motors at the same time.
Rover 5 from Dagu. It is a tracked chassis that has 4 independent motors with optical encoders. It can also be converted to an omni-wheel bot pretty easily. That also means more inputs &
more inputs = Arduino Mega. Lastly, once I get the latest Raspberry Pi with more memory, I'll try out OpenCV for some basic blob detection.
Don't expect regular posts anytime soon. However, this is a pet project that I hope to take pretty far and hopefully inspire some weekend hackers along the way.
+Jonathan Beri
Posted
30th October 2012 by
Jonathan Beri
Labels:
javascript
node.js
robots
raspberry pi
0
Loading
When Checking, a proxy agent software is recommended.
beriberikix
Writing about niche JavaScript frameworks, obscure APIs and social media.This blog contains my opinions and do not reflect the opinions of my employer.
HomeRaspberry Pi bot progress
My weekend project: an Arduino, Raspberry Pi & Node.js robot
Designing for Hangout Apps - Dimensions
How I manage my circles
What do I need to know about San Francisco?
Molding Google+: what devs should be able to do
May 2nd, 2011
Updating Node.js from source
'Gotcha' for running Cloud9 IDE on Cygwin
April 5th, 2011
My NodeJS on Windows Setup
If I ran BD for Google TV...
Don't you need an email to log into Facebook?
Spotify Looking For A COO, Still Hoping For U.S. Launch This Year
Microsoft: include node.js in Windows
Google Voice's missing killer feature: dialing extensions
Captivating Examples of Sleeveface Photography
Who should buy, what to build [suggestions]
September 29th, 2010
September 23rd, 2010
How I'd change Chatroulette: make it like Foursquare
Google Voice: Converging Mobile and Web
Why YQL?
First Post
My weekend project: an Arduino, Raspberry Pi & Node.js robot
Yes I know, I'll get more buzzwords when I my JavaScript creates Cloud Synergy - but after I Pivot.I've been spending my wee few hours a week designing, tinkering and finally building my little robotics platform. I've had ideas brewing for a while but haven't had enough time outside of work to start hacking.
It all started when I first saw Rick Waldron's
Johnny Five framework for Node.js.
Sensors are asynchronous, so, ya, a node.js robot framework makes sense.
A few months later I started sketching designs, reading up on
firmata and buying my arduino & Pi.
Before the what & why, here's the basic BOM:
1 Arduino Uno R3 running firmata
1 original Raspberry Pi with Raspbian, Node.js & 4gb of storage
1 Magicians chassis
1 SN754410NE Quad Half H-Bridge to drive the motors
1 dual-output mobile
battery back
A custom mount for the Pi & some custom USB cabling for power
Why Raspberry Pi
The main controller is a Rpi. It turns 2 small motors by delegating instructions to an Arduino. Overkill? For now, yes. But by having a powerful machine at the helm, I can expand the robot's capabilities. That means bigger boards like the Mega with 54 I/O,multiple boards via a USB hub and interpreting a bazillion inputs or adding vision with
OpenCV.
Why Node.js
Short answer: Internet of things & I <3 Node. If you haven't heard of theInternet of Things concept, it basically means physical things will be connected to the web. TVs, Thermostats and of course robots! The main interface for my robot is a web app and that app will continue to get more sophisticated. Due to latency concerns,
I wanted to control it over websockets, so Node.js was a good choice there. Plus, the more JavaScript in Node.js I write, the happier I am :)
Hardware choices
Outside using a cheapo chassis to get started, you may wonder why I'm using a mobile battery pack. I had the idea because the Raspberry Pi needs 5v and connects via USB. That made running cables easier. The model I went with also has 2 ports, so I couldpower the Pi and drive the motors at the same time.
What's next
I've already alluded to more & bigger boards but I'll definitely need a bigger base. I'm currently eyeing theRover 5 from Dagu. It is a tracked chassis that has 4 independent motors with optical encoders. It can also be converted to an omni-wheel bot pretty easily. That also means more inputs &
more inputs = Arduino Mega. Lastly, once I get the latest Raspberry Pi with more memory, I'll try out OpenCV for some basic blob detection.
Don't expect regular posts anytime soon. However, this is a pet project that I hope to take pretty far and hopefully inspire some weekend hackers along the way.
+Jonathan Beri
Posted
30th October 2012 by
Jonathan Beri
Labels:
javascript
node.js
robots
raspberry pi
0
Add a comment
No more commentsLoading
相关文章推荐
- There was an error generating "MyProject.Data.MyDbContext". Try rebuilding your project?
- My first web project with Node.js
- nodejs&nbsp;learnyounode&nbsp;pass&nbsp;官方&nbsp;An…
- Node.js & Electron的扩展模块
- NodeJS http.ClientRequest & http.ClientResponse
- Node.js-Usage & Example
- [Node] Setup an Nginx Proxy for a Node.js App
- Prepare env for Nodejs & Angularjs
- why I was failed in nodejs project
- 深入浅出Node.js(二):Node.js&NPM的安装与配置
- Traversing an Array in Node.js
- nodejs Cannot find module"...\.js" 解决方法
- web Update node.js & npm on Mac
- NodeJS http.ServerRequest & http.ServerResponse
- js Date对象转成 对应格式的字符串 && NODE.JS从数据库读取的DATETIME对象 转成对应格式的字符串
- Eclipse:An internal error occurred during: "Build Project". GC overhead limit exceeded
- PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes
- 【node.js】本地模式安装express:'express' 不是内部或外部命令,也不是可运行的程序或批处理文件。
- Node.js在MySQL中存储数据 & 创建连接池