Menu
Out into the World and create a mobile app
  • 1 Overview
  • 2 MIT App Inventor webapplication
  • 3 Create the user interface of your mobile app (User Interface → Designer)
  • 3 Create the logic (blocks) of your mobile app (Programming → Blocks)
  • 3 Install and test your mobile app
  • Testing with MQTT Explorer
  • Zoeken in arrangement
    bèta
  • Colofon
  • Opties
    Gebruik
    • Download als PDF
    • Alle download opties
    • Kopieer arrangement
    Weergave
    • Menu links
    • Geen menu
    • Menu onder voor digibord
  • wikiwijs-logo
    • Over Wikiwijs
    • Wikiwijs Updates
    • Disclaimer
    • Privacy
    • Cookies
    Wikiwijs is een dienst van

 

Out into the World and create a mobile app (by Fabian Reifler)

1 Overview

Your group is tasked with developing a smartphone app to control the lamp in the doll's house, allowing you to turn it on and off. Once your app is ready for testing, you will collaborate with a team working on the doll's house.

You will create the app using MIT App Inventor.

To exchange data between the smartphone and the doll's house, you will use the MQTT protocol. MQTT is widely used in IoT devices because of its simplicity and efficiency. It enables remote control of actuators and the reading of sensor data over the Internet, making it ideal for this project.

1.1 Actuator Switching via MQTT Broker

With a smartphone, you should be able to switch the light (or another actuator) on or off in the dollhouse. This endeavor could be simplified via MQTT as follows:

1.2 Understanding the MQTT protocol

Unlike HTTP with its request/response method, MQTT implements a publish/subscribe architecture. In HTTP, a point-to-point connection with request and response is common. The transmission in MQTT works differently: devices that have something to report simply send their data to the broker (central server in the IoT system), that is, they publish their messages. The broker forwards these messages to other devices that have subscribed to these messages.

Devices that can be networked with MQTT include:

  • Smartphone (Android or iOS)
  • Raspberry Pi (Linux), built into the doll's house
  • Network-capable micro controller board (e.g. Wio Terminal or ESP32)
  • PC (Windows)
  • MAC (OS X)
  • Generally: Network-capable, intelligent units in which the MQTT protocol is implemented

All devices connected to an MQTT broker are also referred to as MQTT clients. An MQTT network thus consists of several MQTT clients and one MQTT broker.

Colofon

Het arrangement Out into the World and create a mobile app (by Fabian Reifler) is gemaakt met Wikiwijs van Kennisnet. Wikiwijs is hét onderwijsplatform waar je leermiddelen zoekt, maakt en deelt.

Auteur
Vetskilling
Laatst gewijzigd
2024-11-04 14:42:17
Licentie

Dit lesmateriaal is gepubliceerd onder de Creative Commons Naamsvermelding 4.0 Internationale licentie. Dit houdt in dat je onder de voorwaarde van naamsvermelding vrij bent om:

  • het werk te delen - te kopiëren, te verspreiden en door te geven via elk medium of bestandsformaat
  • het werk te bewerken - te remixen, te veranderen en afgeleide werken te maken
  • voor alle doeleinden, inclusief commerciële doeleinden.

Meer informatie over de CC Naamsvermelding 4.0 Internationale licentie.

Aanvullende informatie over dit lesmateriaal

Van dit lesmateriaal is de volgende aanvullende informatie beschikbaar:

Toelichting
MIT App Inventor
Eindgebruiker
leerling/student
Moeilijkheidsgraad
gemiddeld
Out into the World and create a mobile app (by Fabian Reifler)
en
Vetskilling
2024-11-04 14:42:17
MIT App Inventor
leerling/student

Downloaden

Het volledige arrangement is in de onderstaande formaten te downloaden.

  • pdf
  • json
  • IMSCP package

Metadata

  • Metadata overzicht (Excel)

LTI

Leeromgevingen die gebruik maken van LTI kunnen Wikiwijs arrangementen en toetsen afspelen en resultaten terugkoppelen. Hiervoor moet de leeromgeving wel bij Wikiwijs aangemeld zijn. Wil je gebruik maken van de LTI koppeling? Meld je aan via info@wikiwijs.nl met het verzoek om een LTI koppeling aan te gaan.

Maak je al gebruik van LTI? Gebruik dan de onderstaande Launch URL’s.

Arrangement

IMSCC package

Wil je de Launch URL’s niet los kopiëren, maar in één keer downloaden? Download dan de IMSCC package.

  • IMSCC package

Voor developers

Wikiwijs lesmateriaal kan worden gebruikt in een externe leeromgeving. Er kunnen koppelingen worden gemaakt en het lesmateriaal kan op verschillende manieren worden geëxporteerd. Meer informatie hierover kun je vinden op onze Developers Wiki.

Sluiten