Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||
Line: 90 to 90 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Line: 118 to 118 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||
Line: 30 to 30 | ||||||||
![]() | ||||||||
Added: | ||||||||
> > | The circuit diagram of the LiyGo T7 V1.4 and 1.5 can be found at https://github.com/LilyGO/TTGO-T7-Demo![]() | |||||||
!!! Attention !!!While the ESP32-wroom-32 uses GPIO 2 for its on-board user LED the ESP32-wrover-b uses GPIO 19. |
Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | |||||||||||||
Line: 117 to 117 | |||||||||||||
| |||||||||||||
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
| ||||||||||||
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||
Line: 108 to 108 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||
Line: 106 to 106 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||
Line: 155 to 155 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | ||||||||||||||||||||||||||||||||||||||||||||||||||
> > | The ESP8266 CPU card has the following pinouts:
| |||||||||||||||||||||||||||||||||||||||||||||||||
There are two different ESP32 CPU cards available for the WeMos D1 mini bus. The first card is based on an ESP-wroom-32 CPU while the second one uses the ESP-wrover-b chip.
Both cards have | ||||||||||||||||||||||||||||||||||||||||||||||||||
Line: 105 to 109 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | ||||||||||||||||||||||||||||||||||||||||||||||||||
< < |
| |||||||||||||||||||||||||||||||||||||||||||||||||
> > |
| |||||||||||||||||||||||||||||||||||||||||||||||||
-- ![]()
Comments | ||||||||||||||||||||||||||||||||||||||||||||||||||
Line: 137 to 154 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | ||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||
Line: 81 to 81 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < | Here is an overview table showing the devices and their connections: | |||||||||||||||
> > | Here is an overview table showing the devices and their connections: (see also the wemos.cc documentation![]() | |||||||||||||||
| ||||||||||||||||
Line: 89 to 89 | ||||||||||||||||
| ||||||||||||||||
Added: | ||||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||
Line: 104 to 104 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
-- ![]()
Comments |
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||
Line: 93 to 93 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||
Line: 16 to 16 | ||||||||
Here are photos of the boards:
| ||||||||
Changed: | ||||||||
< < | For more details please read the data sheet: | |||||||
> > | For more details, please read the datasheet: | |||||||
https://afnog.iotworkshop.africa/pub/IoT_Course_English/TheHardware/esp32-wroom-32_datasheet_en.pdf | ||||||||
Line: 30 to 30 | ||||||||
While the ESP32-wroom-32 uses GPIO 2 for its on-board user LED the ESP32-wrover-b uses GPIO 19. | ||||||||
Changed: | ||||||||
< < | The ESP32-wrover-b has a design flaw: GPIO 16 connected to pin D3 and GPIO 17 connected to pin D4 cannot be used to control sensors because these GPIO lines are used to control the PSRAM. This means that the CPU is incompatible with any shield using pins D3 and D4. Other GPIO lines should have been made available instead. | |||||||
> > | The ESP32-wrover-b has a design flaw: GPIO 16 connected to pin D3 and GPIO 17 connected to pin D4 cannot be used to control sensors because these GPIO lines are used to control the PSRAM. This means that the CPU is incompatible with any shield using pins D3 and D4. According to the LilyGo (provider of the CPU board) engineer GPIO 25 can be jumpered to D3 (GPIO 16) and GPIO 4 can be jumpered to D4 (GPIO 16). Doing this will allow to use the bus lines on the new GPIO connections. | |||||||
Changed: | ||||||||
< < | Checking the hardware table below shows that only the push button shield (D3) and the DHT11 (D4) use the forbidden pins. I therefore made hardware patches to connect their forbidden pins to D1. | |||||||
> > | Checking the hardware table below shows that only the push button shield (D3) and the DHT11 (D4) use the forbidden pins. I therefore made hardware patches to connect their forbidden pins to D1. Having had the LilyGo information before I could have left the boards unchanged and added jumpers to the CPU board. | |||||||
The Base Board | ||||||||
Changed: | ||||||||
< < | 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. | |||||||
> > | This board has no active elements, but it connects sensor shields to the CPU board. The connections are made in a Lego-based manner by just plugging modules together without any further cable connections or soldering. | |||||||
![]() Switches | ||||||||
Line: 49 to 49 | ||||||||
LEDs | ||||||||
Changed: | ||||||||
< < | 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. | |||||||
> > | On the CPU card, there is a user programmable LED, 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. | |||||||
![]() Temperature and Humidity Sensors and Barometric Pressure Sensor | ||||||||
Changed: | ||||||||
< < | 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. | |||||||
> > | There are several environmental sensors of which we will use the DHT11 and the SHT30 temperature and humidity sensors. We work with both sensors in the exercises because these shields use quite different communication protocols, which we want to study. | |||||||
Changed: | ||||||||
< < | 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. | |||||||
> > | 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. | |||||||
Real Time Clock and Data Logging | ||||||||
Changed: | ||||||||
< < | 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. | |||||||
> > | 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. | |||||||
Displays | ||||||||
Changed: | ||||||||
< < | 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. | |||||||
> > | Of course we can transfer the measurement data to a PC over the Internet and use the plotting facilities on the PC to graphically present the data but it may sometimes be interesting to show the data also on the micro-controller, without the need of Internet access. This is possible with TFT screens. The screeen we will use has a resolution of 128*128 pixels and text as well as simple pixel-graphics is possible with these devices. | |||||||
![]() Motors | ||||||||
Changed: | ||||||||
< < | You can also control different types of motors with the ESP32. To demonstrate this we use the motor controller shield. | |||||||
> > | You can also control different types of motors with the ESP32. To demonstrate this, we use the motor controller shield. | |||||||
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||
Line: 84 to 84 | ||||||||||||||||
Here is an overview table showing the devices and their connections:
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||
Line: 21 to 21 | ||||||||
https://afnog.iotworkshop.africa/pub/IoT_Course_English/TheHardware/esp32-wroom-32_datasheet_en.pdf
https://afnog.iotworkshop.africa/pub/IoT_Course_English/TheHardware/esp32-wrover-b_datasheet_en.pdf | ||||||||
Added: | ||||||||
> > |
For convenience, here is the pinout of the ESP32 CPU card:
| |||||||
!!! Attention !!!While the ESP32-wroom-32 uses GPIO 2 for its on-board user LED the ESP32-wrover-b uses GPIO 19. | ||||||||
Line: 128 to 133 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | ||||||||||||||||||||||||||
Line: 26 to 26 | ||||||||||||||||||||||||||
While the ESP32-wroom-32 uses GPIO 2 for its on-board user LED the ESP32-wrover-b uses GPIO 19.
The ESP32-wrover-b has a design flaw: GPIO 16 connected to pin D3 and GPIO 17 connected to pin D4 cannot be used to control sensors because these GPIO lines are used to control the PSRAM. This means that the CPU is incompatible with any shield using pins D3 and D4. Other GPIO lines should have been made available instead. | ||||||||||||||||||||||||||
Added: | ||||||||||||||||||||||||||
> > |
Checking the hardware table below shows that only the push button shield (D3) and the DHT11 (D4) use the forbidden pins. I therefore made hardware patches to connect their forbidden pins to D1.
| |||||||||||||||||||||||||
The Base BoardThis 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. | ||||||||||||||||||||||||||
Line: 75 to 80 | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
Changed: | ||||||||||||||||||||||||||
< < |
| |||||||||||||||||||||||||
> > |
| |||||||||||||||||||||||||
| ||||||||||||||||||||||||||
Changed: | ||||||||||||||||||||||||||
< < |
| |||||||||||||||||||||||||
> > |
| |||||||||||||||||||||||||
| ||||||||||||||||||||||||||
Line: 121 to 126 | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
Added: | ||||||||||||||||||||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
The HardwareThe CPU card | ||||||||
Changed: | ||||||||
< < | The CPU card features an Espressif ESP32-wroom-32 with | |||||||
> > | There are two different ESP32 CPU cards available for the WeMos D1 mini bus. The first card is based on an ESP-wroom-32 CPU while the second one uses the ESP-wrover-b chip.
Both cards have | |||||||
| ||||||||
Changed: | ||||||||
< < | Here is a photo of the board:
| |||||||
> > | The ESP-wrover-b additionally has 8 MBytes of external PSRAM (of which only 4MBytes are accessible at a given time) | |||||||
Added: | ||||||||
> > | Here are photos of the boards:
| |||||||
For more details please read the data sheet:
https://afnog.iotworkshop.africa/pub/IoT_Course_English/TheHardware/esp32-wroom-32_datasheet_en.pdf | ||||||||
Added: | ||||||||
> > |
https://afnog.iotworkshop.africa/pub/IoT_Course_English/TheHardware/esp32-wrover-b_datasheet_en.pdf
!!! Attention !!!While the ESP32-wroom-32 uses GPIO 2 for its on-board user LED the ESP32-wrover-b uses GPIO 19. The ESP32-wrover-b has a design flaw: GPIO 16 connected to pin D3 and GPIO 17 connected to pin D4 cannot be used to control sensors because these GPIO lines are used to control the PSRAM. This means that the CPU is incompatible with any shield using pins D3 and D4. Other GPIO lines should have been made available instead. | |||||||
The Base BoardThis 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. | ||||||||
Line: 91 to 100 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 109 to 118 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The Hardware | ||||||||||||||||
Line: 74 to 74 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The Hardware | ||||||||||||||||
Line: 65 to 65 | ||||||||||||||||
Here is an overview table showing the devices and their connections:
| ||||||||||||||||
Added: | ||||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Line: 73 to 74 | ||||||||||||||||
| ||||||||||||||||
Added: | ||||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The Hardware | ||||||||||||||||
Line: 77 to 76 | ||||||||||||||||
| ||||||||||||||||
Added: | ||||||||||||||||
> > |
| |||||||||||||||
|
Line: 1 to 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The Hardware | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Line: 55 to 55 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() Motors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< < | You can also control differnt types of motors with the ESP32. To demonstrate this we use the motor controller shield.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > | You can also control different types of motors with the ESP32. To demonstrate this we use the motor controller shield.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
with 3 different types of motors:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > | Here is an overview table showing the devices and their connections:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-- ![]()
Comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Line: 86 to 105 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
| |||||||
The HardwareThe CPU card | ||||||||
Line: 43 to 44 | ||||||||
Real Time Clock and Data Logging | ||||||||
Changed: | ||||||||
< < | 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 cat get a time stamp telling is when the data have been taken. | |||||||
> > | 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.
| |||||||
Deleted: | ||||||||
< < | ![]() | |||||||
DisplaysOf 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. | ||||||||
Line: 83 to 85 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The HardwareThe CPU card | |||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||
> > | The CPU card features an Espressif ESP32-wroom-32 with
For more details please read the data sheet: https://afnog.iotworkshop.africa/pub/IoT_Course_English/TheHardware/esp32-wroom-32_datasheet_en.pdf The Base BoardThis 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.
SwitchesTwo different types of switches are available as shields: a mechanical push button switch and a PIR sensor.
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.
Temperature and Humidity Sensors and Barometric Pressure SensorThere 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.
Real Time Clock and Data LoggingIn 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 cat get a time stamp telling is when the data have been taken.
DisplaysOf 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.
MotorsYou can also control differnt types of motors with the ESP32. To demonstrate this we use the motor controller shield.
with 3 different types of motors:
| ||||||||||||||||||||||||||||||||
-- ![]()
Comments\ No newline at end of file | |||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Hardware | ||||||||
Changed: | ||||||||
< < | Article text. | |||||||
> > | The CPU card | |||||||
-- ![]() |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
The HardwareArticle text.
--
Comments
|