What I did in Week 15
This week I will use an ESP32 to power an electronic device via a mobile application that connects via Bluetooth. The electronic device I will use is a speaker.
- Grupal: compare as many tool options as possible
- Individual: write an application that interfaces a user with an input &/or output device that you made
Group page
Group page linkProcess
Phase 1 ·
For my assignment this week, I will first establish what I want my application to have. The goal is to turn on a speaker from a button on my mobile phone's application via Bluetooth.
Phase 2 ·
To achieve my goal I will use APP Inventor, which is a website that allows me to design and program mobile applications for different screen sizes.
Phase 3 ·
This online software allows me to add various things to my application such as buttons, images, text, and graphics.
Phase 4 ·
Creating my mobile application is very simple; I simply drag the spaces, buttons, or text where I want to place them, and I can change colors, text type, and other things depending on how I want my application to look.
Phase 5 ·
For the mobile app programming portion, App Inventor uses block-based programming where we select the available buttons and the actions we want them to perform. In this case, I have blocks to connect to Bluetooth and to turn on the lights.
Phase 6 ·
Once the mobile application interface is finished, the code for the esp32 is created, which will use Bluetooth, where we program the speaker to sound for 3 seconds when it receives the signal from the cell phone.
Phase 7 ·
Once the mobile application interface is finished, the code for the esp32 is created, which will use Bluetooth, where we program the speaker to sound for 3 seconds when it receives the signal from the cell phone.
Conclusions
With this exercise, I learned to use App Inventor, which is a very useful and easy-to-use software for creating mobile applications, especially when you want to control electronic devices. The ESP32 board also allows us to connect via Bluetooth, which makes everything easier.
← Main Page