I was working on a Web Scada based on Beaglebone. Here is my first test. It’s really easy to create a web app using Cloud9 and Node.Js.
Here is a short demo video. In the future I’ll publish more details.
Here is the code to start a server
var bb = require('./bonescript');
setup = function() {
var server = new bb.Server(82, "myserver");
server.begin();
};
bb.run();
The folder myserver contains all js and html resources.
bonescript.js is a library provided by default. You can implement your using node.js and websockets.
If you want more information check these links (there are also links about Texas Instruments Linux distro):
- Web Matrix: http://processors.wiki.ti.com/index.php/Matrix_Users_Guide
- Sitara download: http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/sdk/AM335xSDK/latest/index_FDS.html
- HW: http://beagleboard.org/static/beaglebone/a3/Docs/Hardware/BONE_SRM.pdf
- Home BB: http://beagleboard.org/static/beaglebone/latest/README.htm
- Change the IP on BB Amstrong:
http://www.gigamegablog.com/2012/01/29/beaglebone-linux-101-configuring-angstrom-linux/ - Linaro distribution: http://releases.linaro.org/12.03/android/leb-imx53/
- Quick start: http://blog.makezine.com/2012/03/14/how-to-get-started-with-the-beaglebone/
- Serial programming: http://www.jpeterson.com/projects/project-weblightswitch/
- Led on/off: http://www.gigamegablog.com/2012/01/05/beaglebone-coding-101-blinking-an-led/
Hello Giulio, I have just ordered a beaglebone black. Thanks for the information as I am a beginner with this types of boards. It would be really awesome to have an easy Web Scada based on Beaglebone. Looking forward to more post about it. Thank you for your site.
You are welcome!
I tried it, but it is showing as ‘socket.io’ module not found…
Ananda, did you install socket.io module on node?
http://socket.io/#how-to-use
Oops…
…It’s working fine now, Thank you.
Cool! 🙂
cioa giulioggero I need your help I have the BBB then I need to make a scada system that take the measurements of preasure and temperature and show this in the display how can i make the comunications betwhen the BBB and the sensors please nedd your urgent
Hi, can you post the link about the sensor specifications?
level mpx5010dp and HC-SR04 ultrosonic
and temperature with termocuple type K
board BBB thanks for u help
the termocuple type k use and AD595