|
1 | 1 | ---
|
2 |
| - |
3 | 2 | title: 'Modulino Buttons'
|
4 |
| -description: 'Get started with using the Modulino Buttons' |
| 3 | +description: 'Get started with the Modulino Buttons using MicroPython' |
5 | 4 | author: 'Hannes Siebeneicher, Sebastian Romero'
|
6 | 5 | hero_image: "./hero-banner.png"
|
7 |
| - |
8 | 6 | ---
|
9 | 7 |
|
10 |
| -This article will show you how to get started with the Modulino Buttons, a three-button Modulino. |
| 8 | +In this tutorial, we will get started with the Modulino Buttons, a three-button Modulino. |
| 9 | + |
| 10 | +***Note that the installation of the Modulino package is not covered in this tutorial. For details on how to install this, visit the [MicroPython - Modulino Package Installation tutorial](/micropython/modulinos/installation).*** |
11 | 11 |
|
12 | 12 | ## Goals
|
13 | 13 |
|
14 | 14 | The goals of this tutorial are:
|
15 | 15 |
|
16 |
| -- learn how to connect a Modulino to the Arduino Nano ESP32. |
| 16 | +- learn how to connect a Modulino to an Arduino board. |
17 | 17 | - learn how to program the Modulino Buttons.
|
18 | 18 |
|
19 | 19 | ## Hardware & Software Needed
|
20 | 20 |
|
21 |
| -- [MicroPython Labs](https://lab-micropython.arduino.cc/) |
22 |
| -- [Arduino Nano ESP32](https://store.arduino.cc/products/nano-esp32?queryID=undefined) |
23 |
| -- [Modulino MicroPython Package](https://github.com/arduino/arduino-modulino-mpy) |
| 21 | +For this tutorial, we will need the following hardware: |
24 | 22 | - [Modulino Buttons](https://store.arduino.cc/products/plug-and-make-kit)
|
25 | 23 | - [Arduino Nano to QWIIC Connector Carrier]()
|
| 24 | +- [Arduino Nano ESP32](https://store.arduino.cc/products/nano-esp32?queryID=undefined) or [Arduino Nano RP2040 Connect](https://store.arduino.cc/en-se/products/arduino-nano-rp2040-connect) |
| 25 | + |
| 26 | +We will also need the following software: |
| 27 | +- [MicroPython Labs](https://lab-micropython.arduino.cc/) |
| 28 | +- [Modulino MicroPython Package](https://github.com/arduino/arduino-modulino-mpy) |
| 29 | + |
26 | 30 |
|
27 | 31 | ## Connect the Modulino
|
28 | 32 |
|
29 |
| -Before programming it, you need to first connect your Modulino Buttons to your Arduino Nano ESP32. Follow the diagram below to connect your Modulino Buttons and Nano ESP32. |
| 33 | +Before we start programming, we will need to connect our Modulino Buttons to our Arduino board. For this we can follow the circuit diagram below: |
30 | 34 |
|
31 | 35 | ![Circuit Diagram]()
|
32 | 36 |
|
33 |
| -## Code |
| 37 | +## Modulino Buttons Code Example |
34 | 38 |
|
35 |
| -Copy the code below and run it in Arduino MicroPython labs connected to your Arduino Nano ESP32. |
| 39 | +Copy the code below and run it in Arduino MicroPython labs, while connected to our board. |
36 | 40 |
|
37 | 41 | ```python
|
38 | 42 | from modulino import ModulinoButtons
|
|
0 commit comments