Presentation: Arduino Rapid Prototyping with Python, C++, and Web Services

At this meeting we'll have a presentation by Robert Smallshire, Chief Software Architect at Roxar Software Solutions, on "Arduino Rapid Prototyping with Python, C++, and Web Services".


"The Arduino rapid prototyping electronics platform offers a low barrier to entry for hobby use of microcontrollers for art, control, automation and data logging projects. The so-called Arduino programming language is a thin veneer over C++.  Program changes - of which there are usually many during project development - require that code changes be re-compiled, uploaded to the Arduino over USB and the program restarted, a process which can quickly become tedious for programs with long calibration times or for systems which interact with the physical environment. The requirement for a physical USB connection can be awkward or impossible with the Arduino in situ. Finally, program and working space on microcontroller platforms is extremely limited, so it can be difficult to temporarily squeeze in debugging, logging and diagnostic code which won't be needed in the final version.

An alternative approach is to implement web service APIs on the Arduino and transfer control logic into a separate program running on a 'real' computer. This frees us from the constraint of using C++ so we can use more flexible languages such as Python during development, with access to debuggers, charting, logging and all the other good things which can transform the development experience compared to the sparse Arduino environment. Importantly, there is no need to restart the Arduino, and physical access is not required since we can use web services over WiFi.  Once the system is working and tuned, the control program can be recoded in C++ and uploaded to the Arduino once and for all.

I'll introduce Arduino and show the 'traditional' approach to development, then show how to implement web service APIs in C++ on the Arduino and access them from Python.  The talk will include live demonstrations using real Arduino hardware."


Join us for what promises to be an interesting talk.


Join or login to comment.

  • Robert S.

    Finally, here is the video of the web service Arduino controlled ventilation system, from the presentation:

    2 · November 18, 2012

  • Robert S.

    As promised, the code for the demos is here:

    Ardiuno sketch for LED beer thermometer:

    C++ program using Arduino libraries implementing a digital thermometer and LED control web service API and a Python program which used the API:

    The other demos were done with existing examples (e.g. Blink) that comes with the Arduino IDE.

    1 · November 17, 2012

  • Erick

    It was a very nice presentation

    November 16, 2012

  • Robert S.

    I've uploaded the slides from my presentation. Be warned that it doesn't make too much sense without the narrative...

    I'll get the code up soon.

    3 · November 16, 2012

  • Endre S.

    I liked the presentation quite a bit. Rob obviously had good grasp of the subject matter, and his little pet project was very nice!

    November 14, 2012

  • Robert S.

    For those asking about sourcing Arduino parts in Norway, I can recommend

    November 13, 2012

  • Robert S.

    I enjoyed presenting. Thanks to everyone for your enthusiastic support and useful questions.

    November 13, 2012

  • Bjørn Hell L.

    Great fun! I've long wanted to know a bit more about Arguing hardware and development, and this presentation was spot on. I also got to meet a couple of old colleagues which was an unexpected pleasure.

    November 13, 2012

  • Austin B.

    I'm looking at The Irishman for our venue. Does that sound OK for everyone? Are there any other suggestions?

    October 29, 2012

  • Austin B.

    Rob has promised that most of what he's presenting will be open-source, free, and available for download, though maybe not before the presentation itself.

    October 29, 2012

  • Stian L.

    This sounds interesting!

    October 25, 2012

  • Leif Bjarte J.

    Sounds really interesting! Too bad I am busy at that time.

    October 24, 2012

    • Austin B.

      You'll probably have access to the slides after the presentation, and we might even record it to video.

      October 24, 2012

    • Leif Bjarte J.

      Great :)

      October 24, 2012

Our Sponsors

  • Pluralsight

    25 free monthly subscription. Subscriptions for unemployed members.

People in this
Meetup are also in:

Create a Meetup Group and meet new people

Get started Learn more

Meetup has allowed me to meet people I wouldn't have met naturally - they're totally different than me.

Allison, started Women's Adventure Travel

Start your Meetup today

Act now and get 50% off.
Until February 1.

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy