🧩 1.6 Connecting the Pieces

🧩 1.6 Connecting the Pieces#

πŸ”° Tutorial#

Warning

As a temporary workaround to the issue described in orgs/micropython#15112, add urequests_2.py [permalink] to your microcontroller, and change import urequests to import urequests_2 as urequests in the code below. See orgs/micropython#15112 and micropython/micropython-lib#861 for ongoing updates. The corresponding assignment will also be affected, but this can be addressed using the same workaround.

Warning

Recently, HiveMQ Cloud changed such that hivemq-com-chain.der (a Certificate Authority (CA) file) is not transferrable across different broker instances. The latest hivemq-com-chain.der file from self-driving-lab-demo will be hard-coded to the self-driving-lab-demo public test credentials (i.e., what is used in Module 1 - Running the Demo), so the tutorials should run without issue as long as you are using that file. However, the assignment requires you to have your own HiveMQ Cloud broker instance, so you will need to generate a hivemq-com-chain.der file specific to your instance and upload it to your microcontroller in place of the default one.

You’ve made it to the final module of this microcourse! Well done πŸ₯³. In this module, you will connect the pieces from previous modules into the β€œHello World” of self-driving labs, from microcontroller programming and Bayesian optimization to hardware-software communication and data logging.

../../_images/connecting-pieces.png

Workflow diagram showing how core pieces connect together in the β€œHello World” light-mixing demo.

βœ… Review the course overview to see how this module fits into the overall course structure

βœ… Review the tutorials from the earlier modules. Direct links to the tutorial pages are copied here for convenience:

  1. Running the demo

  2. Blink and read

  3. Bayesian optimization

  4. Hardware-software communication

  5. Data logging

βœ… Review the knowledge checks via the main course website

βœ… Review your assignment repositories. For quick access, see your ACC-HelloWorld GitHub organization repositories.

πŸš€ Quiz#

πŸ“„ Assignment#

Course Completion#

For those who have completed the course, thank you for your participation, and congratulations! πŸ₯³

Once you have completed all the modules, fill out the Certificate of Completion Request form through the School of Continuing Studies to receive your microcredential. This process may take up to 4-6 weeks. As a reminder, 70% is the required threshold to pass.

Please also consider filling out the final course evaluation form listed on your course syllabus as well as the learner equity survey.

Once you have received your microcredential, consider adding the corresponding badge your LinkedIn profile to promote your accomplishment. Likewise, we would love to see a social media post from you using the #AcMicrocourses hashtag with the Acceleration Consortium account tagged (@acceleration-consortium for LinkedIn and @acceleration_c for X).