The Temperature Sensor converts the physical ambient temperature into electrical signals as shown in this diagram. (Think back to what we learned about Analog to Digital conversion!)
Next, our goal is to build a simple robot that will cool itself based on ambient temperature. It does this by sensing the ambient temperature, converting it to degrees Fahrenheit, calculating the fan's rotations per minute (RPM) appropriate for the temperature, and adjusting the fan speed as appropriate. The schematic below shows adding a servo (the “fan”) to the device:
Throughout this lab, you will have an opportunity to team with AI and get help on various aspects of your code. Refer to Canvas for details instructions on authorized uses of AI throughout the Robotics Lab. Pay special attention to the instructions on how to create a custom CircuitPython Agent to help you with the lab on days 2-3. For lab activities 1-7 (in-class lab activities), you can essentially consider the Robotics Lab as a group project with your CircuitPython tutor and Soldering assistant. This means, as long as you use the grounding prompts provided and only use that chat/agent to complete an activity in or out of class, then you do not need to cite that. In contrast, Activity 8 (GenAI Activity) requires full and careful documentation.
If you get assistance from a person (classmate, roommate, teammate, team leader, etc.) or external AI on any activity outside of class, you need to cite that as you normally would and submit with the Activity 8 documentation.At the conclusion of that lab, you will be asked to provide a transcript of your chat for the Robotics lab. If you choose to create a custom agent for Activity 8, please be sure to include the system prompt you used, any screenshots of any other configurations. This is practice for the AI Final Project, so please take this seriously!