The Hardware

The CPU card

The CPU card features an Espressif ESP32-wroom-32 with

  • 2 low-powerXtensa®32-bitLX6microprocessors
  • 520 KB of on-chip SRAM for data and instructions
  • 4 MB of SPI flash
  • I2C, I2S, SPI interface
  • 3 UARTs, 12 bit ADC up to 18 channels, 8 bit DAC
Here is a photo of the board:

esp32.png

For more details please read the data sheet:

https://iotworkshop.africa/pub/IoT_Course_English/TheHardware/esp32-wroom-32_datasheet_en.pdf

The Base Board

This board has no active elements but it connects sensor shields to the CPU board. Like this the necessary connections are made in a Lego based manner by just plugging modules together without any further cable connections or soldering.

tripleBase.png

Switches

Two different types of switches are available as shields: a mechanical push button switch and a PIR sensor.

mechanical switch PIR sensor
button.png pir.png

LEDs

On the CPU card there is a user programmable LED which is used in the exercise on LEDs. This is a simple, single color (blue) LED.
In the series of shields we can also find an LED chain with 7 addressable WS2812 RGB LEDs.

leds.png

Temperature and Humidity Sensors and Barometric Pressure Sensor

There are several different environmental sensors of which we will use the DHT11 and the SHT30 temperature and humidity sensors. We work with both sensors in different exercises because these shields use quite different communication protocols which we want to study.

In addition to the temperature and humidity sensors we have a barometric pressure sensor, (which also allows to measure ambient temperature) the BMP180. With these 3 sensors we can construct a simple weather station.

DHT11 temperature and humidity sensor SHT30 I2C temperature and humidity sensor BMP180 barometric pressure sensor
wemosDHT11.png sht30.png bmp180.png

Real Time Clock and Data Logging

In order to store data taken with the environmental sensors we us a micro SD card supplied with the Real Time Clock and Data Logger card. With the Real Time Clock we can get a time stamp telling us when the data have been taken.

rtc.png sd_card.png

Displays

Of course we can transfer the measurement data to a PC over the Internet and use the plotting facilities on the PC to graphically show the data but it may sometimes be interesting to show the data also on the micro-controller without the need of an Internet access. This can be done with TFT screen sensors. The one we will use has a resolution of 128*128 pixels and text as well as simple pixel based graphics is possible with these devices.

tftScreen.png

Motors

You can also control differnt types of motors with the ESP32. To demonstrate this we use the motor controller shield.

motorController.png

with 3 different types of motors:

DC motor servo motor stepping motor
dcMotor.png servo.png stepper.png
-- TWiki Admin User - 2020-04-25

Comments

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng bmp180.png r2 r1 manage 132.7 K 2020-05-14 - 18:10 UliRaich  
PNGpng button.png r1 manage 279.6 K 2020-05-14 - 17:57 UliRaich  
PNGpng dcMotor.png r1 manage 52.1 K 2020-05-14 - 18:13 UliRaich  
PDFpdf esp32-wroom-32_datasheet_en.pdf r1 manage 512.3 K 2020-05-14 - 17:35 UliRaich  
PNGpng esp32.png r1 manage 225.8 K 2020-05-14 - 17:37 UliRaich  
PNGpng leds.png r1 manage 292.6 K 2020-05-14 - 18:00 UliRaich  
PNGpng motorController.png r1 manage 303.5 K 2020-05-14 - 18:13 UliRaich  
PNGpng pir.png r1 manage 319.4 K 2020-05-14 - 17:57 UliRaich  
PNGpng rtc.png r1 manage 172.2 K 2020-05-14 - 18:24 UliRaich  
PNGpng sd_card.png r1 manage 38.7 K 2020-05-25 - 18:23 UliRaich  
PNGpng servo.png r1 manage 143.0 K 2020-05-14 - 18:13 UliRaich  
PNGpng sht30.png r1 manage 123.1 K 2020-05-14 - 18:06 UliRaich  
PNGpng stepper.png r1 manage 134.6 K 2020-05-14 - 18:13 UliRaich  
PNGpng tftScreen.png r1 manage 144.4 K 2020-05-14 - 18:31 UliRaich  
PNGpng tripleBase.png r1 manage 196.1 K 2020-05-14 - 17:41 UliRaich  
PNGpng trippleBase.png r1 manage 153.3 K 2020-05-14 - 17:38 UliRaich  
PNGpng wemosDHT11.png r1 manage 113.4 K 2020-05-14 - 18:07 UliRaich  
Edit | Attach | Watch | Print version | History: r24 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2020-05-25 - UliRaich
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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