Tag Archives: mit app inventor

“Visual Development” system for Arduino

As you know, MIT App Inventor is a graphical-based programming system, or a “visual development” system where programs are constructed by dragging and dropping “blocks” onto a Blocks editor.

Arduino, which we mentioned in conjunction with our Bluetooth interface code, is a microcontroller system that is normally programmed in a language similar to the C++ programming language – which is text-based.

Mitov Softwware has introduced a new visual programming system for Arduino. I have not yet had a chance to try this out – the software is in “Beta” test phase and is not yet generally available.

The simplicity of an App Inventor type programming environment might then be available for Arduino applications. This is very exciting. It may be helpful for enabling more kinds of people, with different types of backgrounds than software developers(!) to write code for Arduino boards.

Program Arduino boards visually, fast and easy with Visuino #Visuino #Arduino

Source: Visuino – Visual Development for Arduino by Mitov Software

I have used this screen shot from their web site to illustrate the general idea – really looking forward to trying this out!

screenshot-03

MIT App Inventor usage triples during 2014-2015 school year

Source: MIT App Inventor usage for 2014-2015 Academic Year

As they point out, the cyclical ups and downs in usage suggest App Inventor is primarily used by students – with drop off in usage during school vacation periods.

That suggests an opportunity to expand usage of MIT App Inventor – by insuring that AI2 appeals to a wide audience of potential app developers and not just educational programs!

Subscribe to AppInventor.Pevest.com by email

I have added a new “Subscribe by email” feature to provide another way to be alerted to new posts on this web site.

Look for “SUBSCRIBE TO POSTS BY EMAIL” in the right column of this page, then enter your name and email address and click on Subscribe.

Check your email for a confirmation message and click on the link in the email to confirm your subscription. If you do not receive a confirmation email within a few minutes, check your Spam mail folder – and then check to make sure you entered your email address correctly!

I have only tested this feature with my own email address but hopefully it will work well for anyone who wishes to receive post alerts via email!

Facebook is a simple way to be alerted to updates, but you may also wish to use Twitter, our RSS newsfeed, or the new email subscription – or all of them! My intent is to make it simple for you to receive new posts in what ever way works best for you.

App Inventor Classic (version 1) to Shut Down on July 15 

Most users are already using AI 2 and are unaffected by this change. But if you are still using AI Classic (version 1), then this message is very important – please click through the link to read the full story!

May 24, 2015 — MIT App Inventor Classic will shut down on July 15, 2015. After July 15, 2015, you will not be able to access or edit your existing AI Classic projects. It will be impossible to create new AI Classic projects.This shutdown applies only to AI Classic (AI1). App Inventor 2 (AI2) will not be affected.

MIT will not automatically convert your AI1 projects to AI2 projects. But MIT will provide a conversion tool that will help you convert the AI projects that are important to you into AI2 projects. We expect to release this converter in about 2 weeks (i.e., around June 8).

Source: App Inventor Classic to Shut Down on July 15 | Explore MIT App Inventor

How do you know which version you are using?
Login to App Inventor and create or open a project. If the URL address in your browser begins with
http://ai2.appinventor.mit.edu/

then you are using Version 2.

“Why Learning to Code is So Damn Hard”

Click through for the full post at Viking Code School – as they say, the early part can be easy, then things get tougher, followed by a challenging learning period – until confidence and skills flourish.

What every beginner absolutely needs to know about the journey ahead

Source: Why Learning to Code is So Damn Hard

MIT App Inventor makes many things easier – but eventually one must learn to think like a software developer and become familiar with concepts like data structures, algorithms, design patterns, and software engineering design and project management.

How to connect App Inventor apps to Arduino using Bluetooth wireless

How to Connect App Inventor apps to Arduino Using Bluetooth

Bluetooth is a low power, short range wireless technology built in to many phones, tablets and other devices.

MIT App Inventor 2 supports a set of Bluetooth communication functions that may be used to send data between smart phones and tablets (see previous tutorials: Part 1, Part 2)

This capability may be extended so that App Inventor apps can communicate with Arduino-based devices and other embedded systems.

This tutorial describes how to interface App Inventor apps running on Android to Arduino devices, via the Bluetooth wireless link.

What is Bluetooth?

Bluetooth is an industry standard for low power, short range wireless communications between devices such as personal computers, printers, smart phones, tablets, wireless headphones, wireless stereo speakers, sensor systems (like in security alarms) and other applications.

To learn more about Bluetooth technology (and why it has a funny name!), please read our first tutorial on Bluetooth.

What is Arduino?

Arduino is an open hardware, open software platform for building small electronic devices. The Arduino board is a “microcontroller” – that is, a complete – albeit small, inexpensive and with limited function – computer. Arduino is a popular choice for do-it-yourself projects and is well established in the “Maker” community of DIY project builders. (Side note: I will be at the San Francisco Maker Faire on Saturday, May 16th, 2015).

This is not a tutorial about Arduino boards, software or electronics and presumes the reader is familiar with Arduino development. To learn more about Arduino (and you should learn more about it!) start at the Arduino web site.

This tutorial assumes you have the Arduino software development environment installed on your computer and are familiar with Arduino development.

HARDWARE: Setting Up Arduino for Bluetooth Wireless Communications

There are several versions of the Arduino board; I used the Uno version but others should work just fine.

The Arduino board does not contain Bluetooth hardware – to implement Bluetooth requires using a third-party Bluetooth module. I use the JY-MCU Bluetooth module . IMPORTANT – not all Bluetooth modules will work with App Inventor!  While new versions of Android support all versions of Bluetooth, App Inventor (at the time of this writing) supports “classic” Bluetooth only. In particular, App Inventor does not support the newer Bluetooth LE (Low Energy) version, at least it does not support the Bluetooth LE module that I have.

I can confirm that the JY-MCU Bluetooth module works but the Bluetooth LE modules I have do not work with App Inventor.  My phone can see the Bluetooth LE device but the App Inventor source code cannot communicate with the LE devices.

Where to buy the JY-MCU Module online: Amazon (Prime), Amazon (non-Prime)

The module is also available from other vendors.

Photo shows my Arduino UNO board, at left, a prototyping breadboard with a status LED set up, and the JY-MCU Bluetooth module, just above the breadboard.

DSC_1266Click through to  see how the Arduino and Bluetooth module are setup, and get the Arduino source code and the App Inventor source code!

Continue reading How to connect App Inventor apps to Arduino using Bluetooth wireless