Pick up the following components

17
Pick up the following components: Make sure Thonny is able to connect to your ESP32

Transcript of Pick up the following components

Page 1: Pick up the following components

Pick up the following components:

Make sure Thonny is able to connect to your ESP32

Page 2: Pick up the following components

EN 1: Engineering in the Kitchen

Steven Bell28 September 2021

Page 3: Pick up the following components

Breadboards (1)Examine the breadboards being passed around,and draw a schematic for this circuit:

Assume a 5Vsource here

Page 4: Pick up the following components

Breadboards (2)

Page 5: Pick up the following components

Breadboards (3)

Page 6: Pick up the following components

Breadboards (4)

Page 7: Pick up the following components

Breadboards (5)

Page 8: Pick up the following components

Breadboards (6)

Page 9: Pick up the following components

Build this circuit on your breadboard

ESP32

330Ω

LED

D2GND

(Orange-Orange-Brown)Flat side

Shorter lead

LEDs have polarity!

Page 10: Pick up the following components

Controlling an LED

from machine import Pin # import necessary library

led = Pin(2, Pin.OUT) # set up `led` to control pin D2

led.on() # turn pin on (high / 3.3V)

led.off() # turn pin off (low / 0V)

Page 11: Pick up the following components

Wire up a switch

ESP32

Digital input

What's thevoltage here?

(Ground - "GND" pin in ESP32)

Page 12: Pick up the following components

Wire up a switch

ESP32

Digital input

What's thevoltage here?

(Ground - "GND" pin in ESP32)

3.3V

Page 13: Pick up the following components

Controlling an LED

from machine import Pin # import necessary library

switch = Pin(2, Pin.IN, Pin.PULL_UP)

print(switch.value())

Page 14: Pick up the following components

You will design and build your own microwave control panel.It must:

Project 2: building a microwave control panel

Allow a user to specify different amounts of time to cookIndicate the time remaining in some wayTurn off the microwave if the door is opened(https://twitter.com/i/status/1418413938115371011)

Page 15: Pick up the following components

For Thursday

Make revisions to your disassembly guidesExperiment with Python, LEDs and switches

Email me if you want to keep your project partner for project 2

Page 16: Pick up the following components
Page 17: Pick up the following components