Session 2: Micropython and
Hardware access
Uli Raich
Formally CERN, Geneva, Switzerland
COPYRIGHT © 2024 by the contributing authors
Slide 1 of 7
The WeMos D1 mini CPU card
|
|
ESP8266 cost: 2.21 Euros |
ESP32 cost: 4.1o Euros |
COPYRIGHT © 2024 by the contributing authors
Slide 2 of 7
|
|
ESP8266 |
ESP32 |
Please note: The pin numbers IOxx on the ESP32 correspond
to the GPIO pin numbers
The pins in the white fields go to the WeMos D1 mini bus
and are also available on the ESP8266
The other pins are only accessible on the ESP32 CPU card
The pin numbers Dx do not correspond to GPIO pin numbers!
Please refer to the next slide for correspondence
COPYRIGHT © 2024 by the contributing authors
Slide 3 of 7
CPU pinouts for reference
COPYRIGHT © 2024 by the contributing authors
Slide 4 of 7
Meaning of pins on ESP8266
- GPIO: General Purpose Input Output.
Drives a single digital line which can be programmed input or output - SCL/SDA: The I2C bus:a 2 wire bus
interfacing sensors or actuators to the CPU
- SCL,MISO,MOSI,SS: SPI
the Serial Peripheral Interface. Used fast communication with external device |
|
COPYRIGHT © 2024 by the contributing authors
Slide 5 of 7
COPYRIGHT © 2024 by the contributing authors
Slide 6 of 7
How to program the processor
COPYRIGHT © 2024 by the contributing authors
Slide 7 of 7
Uli Raich - 2019-05-13
Comments
This topic: AFNOG
> WebHome >
AFNOGWorkshop2019 >
AFNOG-2019Slides >
WorkshopSlides > HardwareAccessAndMicropython
Topic revision: r3 - 2019-05-14 - UliRaich
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback