15. Interface and Application Programming

This week I documented the process of designing a web interface for my Networking and communications project. For Networking, I used the PBC Input and Output devices from those respective weeks. See links below for more details on each project.

Link to Input Devices
Link to Output Devices
Link to Networking and Communications
Week 15 Group Assignment

To start the assignment, I asked Claude.ai to generate a response based on the following prompt:

I have 2 xiao esp32c3 microcontrollers. The first is a switch connected to D0 and another switch connected to D1. The other esp32c3 has an 8x8 LED matrix connected to D0. for the first esp32c3, assign the hostname 'esp32c3_1' and the hostname 'esp32c3_2' for the second controller. write an html webapp for the devices to connect to and represent the desired functions. follow the following instructions: When switch D0 on esp32c3_1 is pressed, the LED matrix on esp32c3_2 displays "HI". When switch D1 on esp32c3_1 is pressed, the LED matrix on esp32c3_2 displays "BYE". in the webapp, allow speed, color and text to be customizable. Do not hardcode any messages or animations on esp32c3_2. It should be entirely dependent on input from the esp32c3_1 and the webapp.

Link to Claude.ai Session

Claude generated a data sheet detailing the step to accomplish the objective.

Now let me plan and build this system. I'll create three files: