Control Arduino with App Inventor

FunduinoPublished on

Eigene Android-Apps für Arduino-Projekte bauen

Mit dem MIT App Inventor entstehen Android-Apps im Browser: Module werden per Maus auf eine Arbeitsfläche gezogen und ihr Verhalten mit Blöcken festgelegt. Programmierkenntnisse sind nicht nötig.

Für Maker ist das interessant, weil sich damit Befehle vom Smartphone an einen Arduino senden lassen. Am Mikrocontroller genügt dafür ein Bluetooth-Modul vom Typ HC-05 oder HC-06.

Diese Seite führt in die Oberfläche des App Inventor ein und zeigt, was du dafür vorbereiten musst.

Arduino with Bluetooth module and smartphone app
Control Arduino via Bluetooth from your smartphone

Control Arduino with a smartphone

With MIT App Inventor you can build your own apps for Android smartphones in your browser - without writing a single line of code. What’s especially interesting for makers is that you can send commands from your smartphone to an Arduino.

All you need on the microcontroller is an HC-05 or HC-06 Bluetooth module.

Arduino with Bluetooth module and smartphone app
Control Arduino via Bluetooth from your smartphone

What you need to prepare

  • A Google account - already available to Android users
  • An Android smartphone with the “MIT AI2 Companion” app from the Play Store
  • An Arduino setup with an HC-05 or HC-06 Bluetooth module

Open App Inventor

Go to the App Inventor page and click “Create apps!”. Then sign in with your Google account - or continue without one by following the alternative instructions.

You’ll then be taken to the user interface. The most important sections are:

  • Projects - select an app or start a new project
  • Gallery - ready-made projects you can copy and customize, including an app from Funduino that you can use as a starting point for Arduino projects
  • Designer and Blocks modes - in Designer mode, drag components onto the workspace; in Blocks mode, change how the app behaves
MIT App Inventor homepage with the Create apps button
Click “Create apps!”
App Inventor user interface in Designer mode
The interface in designer mode
1 / 2
Rate the instructions

Comments

Ask a question or share an experience

Contact us if something doesn’t work. Please include your board and the error message.

We review every comment before publication. Your email address remains with us.