element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Blog Sketching in Hardware 2013: Physical Computing with JavaScript
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fustini
  • Date Created: 31 Jul 2013 4:47 PM Date Created
  • Views 2085 views
  • Likes 1 like
  • Comments 8 comments
  • sketching
  • sketcking_in_hardware
  • beaglebone_black
  • sketching13
  • bonescript
  • bbb
  • BeagleBone
  • bb_black
  • beagleboard
  • beagle_bone_black
Related
Recommended

Sketching in Hardware 2013: Physical Computing with JavaScript

fustini
fustini
31 Jul 2013

I have attached slides from Jason Kridner's Physical Computing with JavaScript presentation at Sketching in Hardware 2013 (http://sketching-in-hardware.com/).

Attachments:
imageJason Kridner - Physical Computing with JavaScript.pdf
  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 12 years ago +1
    Great slides! Initially in the past I had been confused, because since Javascript runs on the browser, (and I hadn't heard of Node.js) I was a little confused and had thought that I'd need a browser opened…
  • fustini
    fustini over 12 years ago in reply to shabaz +1
    Jason told me he hopes in to add UART, SPI and I2C over the next few release so that Bonescript will be fully featured. Interesting post recently from the TinyG guys: https://plus.google.com/102479037893713042691…
  • fustini
    fustini over 12 years ago in reply to fustini +1
    https://github.com/giseburt/TinyG-node
Parents
  • shabaz
    shabaz over 12 years ago

    Great slides!

    Initially in the past I had been confused, because since Javascript runs on the browser, (and I hadn't heard of Node.js) I was a little confused and had thought that I'd need a browser opened on the BBB to make use of bonescript, so I'd ignored it all.

    Now it's much clearer that this is the Javascript engine, but doesn't need a browser to run in. It's very cool, since Javascript is a fairly friendly language (in the past, for what little I've done, I've relied on javascript libraries heavily to make sure that it works consistently across browsers, but I'm sure that has changed now - or at least is a non-issue in this case, since there is only one Node.js engine).

    It's also extremely powerful  that you can use other existing js libraries! That sounds pretty amazing. I can't wait to try that out. And create http based UIs without needing Apache and PHP.

    Possibly this can all be done with Python too (I don't know) but I'm convinced js+bonescript is worth paying a lot of attention to, to rapidly develop applications - and in a language that is literally designed for the web, so lots of knowledge reuse for those who will one day want to create web apps.

    The ideal scenario for some apps could be PRU<->C/C++ and then IPC with Node.js javascript (and bonescript for any direct hw control) for the http based UI.

    Also, I wonder how performance compares with a typical desktop browser running JS.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to shabaz

    shabaz wrote:

                           

    since Javascript runs on the browser, (and I hadn't heard of Node.js) I was a little confused and had thought that I'd need a browser opened on the BBB to make use of bonescript, so I'd ignored it all.

    Lua and server-side Javascript are the new BASIC. image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 12 years ago in reply to morgaine

    I've heard lots of good things about LUA over the past few years, how fast, compact and convenient it is. I'm looking forward to trying it sometime!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • shabaz
    shabaz over 12 years ago in reply to morgaine

    I've heard lots of good things about LUA over the past few years, how fast, compact and convenient it is. I'm looking forward to trying it sometime!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • morgaine
    morgaine over 12 years ago in reply to shabaz

    Extremely low barrier to entry and only one composite type, so an hour after flipping through its description you can be fully productive by jumping off from past programming experience.  Lua really and truly is a "KISS" language, and that helps its embeddability by keeping things small and simple.  I guess that's why so many engineers like it.  It's designed for this niche.

     

    "The new BASIC" is a really good metaphor for Lua. image

     

    PS. Naturally available in ARM Debian, but also in Angstrom which highlights how pervasive it is. (Lua 5.2 is in Debian, but only up to 5.1 in Angstrom --- that's fine though.  Lua is long-term stable, there is no upgrade treadmill.)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube