Project 3 Introduction

 Project 3: Emotive Object

Project 3 Document

Requirements

  • At least one sensor
  • At least one motor/servo
  • At least one behavior
  • Express an emotion somehow
Initial thoughts:
        Inspiration:

Inflatable tube guy to express joy with a proximity sensor
--> did not want to include a fan, so will make waving cardboard arms to emulate that

Programming practice: turning on a light with the raspberry pi pico
Code:
from machine import Pin
import time
led = Pin(17, Pin.OUT)

while True:
    led.toggle() #can also use led.value(1) for on, 0 for off
    time.sleep(1) #in seconds

Comments

Popular posts from this blog

Project 3 Result!

Final Project Continuation: Lightbox Layers

Final Project: Final Result