Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MFS Animatronics SP25: Difference between revisions

From Randolph STEM
No edit summary
No edit summary
Line 2: Line 2:


= Week 1 =
= Week 1 =
[[File:mouse.jpg|thumb|LED eyes]]
==Resources==
==Resources==
* [https://www.arduino.cc/en/software Arduino IDE]
* [https://www.arduino.cc/en/software Arduino IDE]
Line 25: Line 26:
}
}
</syntaxhighlight>
</syntaxhighlight>
 
[[File:wiring.jpg|thumb|Week 1 Wiring Diagram]]
= Week 2 =
= Week 2 =
= Week 3 =
= Week 3 =
= Week 4 =
= Week 4 =

Revision as of 16:37, 5 February 2025

This Spring, an adult cohort is exploring animatronics. We'll post helpful resources and our progress along the way here.

Week 1

LED eyes

Resources

  • Arduino IDE
  • Install ESP32 boards in Arduino
  • Starter Code
    • #define BLUE_LED 2  // LED connected to D2
      #define RED_LED 4  // LED connected to D4
      
      void setup() {
        // Initialize the LED pins as outputs
        pinMode(BLUE_LED, OUTPUT);
        pinMode(RED_LED, OUTPUT);
      }
      
      void loop() {
        digitalWrite(BLUE_LED, HIGH);
        digitalWrite(RED_LED, HIGH);
        delay(100);
        digitalWrite(BLUE_LED, LOW);
        digitalWrite(RED_LED, LOW);
        delay(100);
      }
      
Week 1 Wiring Diagram

Week 2

Week 3

Week 4