Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:practical:hardware:sut:stm32 [2024/03/02 21:02] – [Introduction] ktokarzen:iot-open:practical:hardware:sut:stm32 [2025/03/12 09:05] (current) – [Hardware reference] pczekalski
Line 1: Line 1:
-====== STM32 Laboratory Node Hardware Reference ======+====== SUT STM32 Laboratory Node Hardware Reference ======
  
 ===== Introduction ===== ===== Introduction =====
Line 5: Line 5:
 <note tip>Note that each node has a unique ID built into the chip, as well as unique MAC addresses for the Bluetooth interface. As STM32WB55 does not support WiFi, every nide has an additional ESP32-C3 mini module which works as a WiFi modem connected with the serial interface.</note> <note tip>Note that each node has a unique ID built into the chip, as well as unique MAC addresses for the Bluetooth interface. As STM32WB55 does not support WiFi, every nide has an additional ESP32-C3 mini module which works as a WiFi modem connected with the serial interface.</note>
 ===== Hardware reference ===== ===== Hardware reference =====
-The table {{ref>esp32sutnodehardware}} lists all hardware components of the SUT'ESP32-S3 node and hardware details such as connectivity, protocols, GPIOs, etc. Please note that some pins overlap because buses such as SPI and I2C are shared among multiple components.\\  +The table {{ref>stm32sutnodehardware}} lists all hardware components of the SUT'STM32WB55 node and hardware details such as connectivity, protocols, GPIOs, etc. Please note that some pins overlap because buses such as SPI and I2C are shared among multiple components.\\  
-The node is present in the figure {{ref>esp32sutnode1}} and reference numbers reflecting components in the table {{ref>esp32sutnodehardware}}.+The node is present in the figure {{ref>esp32sutnode1}} and reference numbers reflecting components in the table {{ref>stm32sutnodehardware}}.
  
 <figure esp32sutnode1> <figure esp32sutnode1>
Line 22: Line 22:
 | 5             | 2x16 LCD                                   | HD44780                      | Proprietary 4 bit control interface  | EN=D16 [PB_11], RS=A14 [PC5], D4=D29 [PB_12], D5=D34 [PB_13], D6=D33 [PB_14], D7=D32 [PB_15]                                    | 4-bit, simplified, one-directional (MCU->LCD) communication only                                                                                                                                 | | 5             | 2x16 LCD                                   | HD44780                      | Proprietary 4 bit control interface  | EN=D16 [PB_11], RS=A14 [PC5], D4=D29 [PB_12], D5=D34 [PB_13], D6=D33 [PB_14], D7=D32 [PB_15]                                    | 4-bit, simplified, one-directional (MCU->LCD) communication only                                                                                                                                 |
 | 6             | ePaper, B&W 2.13in, 250x122 pixels         | Pico-ePaper-2.13             | SPI                                  | SPI_MOSI=D11 [PA_7], SPI_CLK=D13 [PA_5], SPI_DC=D4 [PC_10], EPAPER_CS=D1 [PA_2], EPAPER_RST=D5 [PA_15], EPAPER_BUSY=D7 [PC_13]  | Memory size is 64kB (65536ul)                                                                                                                                                                    | | 6             | ePaper, B&W 2.13in, 250x122 pixels         | Pico-ePaper-2.13             | SPI                                  | SPI_MOSI=D11 [PA_7], SPI_CLK=D13 [PA_5], SPI_DC=D4 [PC_10], EPAPER_CS=D1 [PA_2], EPAPER_RST=D5 [PA_15], EPAPER_BUSY=D7 [PC_13]  | Memory size is 64kB (65536ul)                                                                                                                                                                    |
-| 7             | OLED, RGB colourful 1.5in, 128x128 pixels  | SSD1351                      | SPI                                  | SPI_MOSI=D11 [PA_7], SPI_CLK=D13 [PA_5], SPI_DC=D4 [PC_10], OLED_CS=D10 [PA_4], OLED_RST=D2 [PC_6]                              | 64k colours RGB (16bit)                                                                                                                                                                          |+| 7             | OLED, RGB colourful 1.5in, 128x128 pixels  | SSD1351                      | SPI                                  | SPI_MOSI=D11 [PA_7], SPI_CLK=D13 [PA_5], SPI_DC=D4 [PC_10], OLED_CS=D2 [PC_6], OLED_RST=D10 [PA_4]                              | 64k colours RGB (16bit)                                                                                                                                                                          |
 | 8             | RGB Smart LED stripe                       | 8*WS2812B                    | Proprietary protocol, one GPIO       | NEOPIXEL=D8 [PC_12]                                                                                                                                                                                                                                                                                                              | | 8             | RGB Smart LED stripe                       | 8*WS2812B                    | Proprietary protocol, one GPIO       | NEOPIXEL=D8 [PC_12]                                                                                                                                                                                                                                                                                                              |
-| 9A            | Light intensity and colour sensor          | TCS 34725                    | I2C address 0x29                     | SDA=D14 [PB_9], SCL=D15 [PB_8]                                                                                                  | The sensor is illuminated by RGB LED (9B)                                                                                                                                                        | +| 9A            | RGB LED PWM controlled                                                  | PWM                                  | LED_R=D9 [PA_9], LED_B=D6 [PA_8], LED_G=D3 [PA_10]                                                                              | Each colour can be independently controlled with PWM. The LED is integrated with another, illuminating the colour sensor (9A) so that controlling this RGB LED also directly impacts the other.  
-| 9B            | RGB LED PWM controlled                                                  | PWM                                  | LED_R=D9 [PA_9], LED_B=D6 [PA_8], LED_G=D3 [PA_10]                                                                              | Each colour can be independently controlled with PWM. The LED is integrated with another, illuminating the colour sensor (9A) so that controlling this RGB LED also directly impacts the other.  |+| 9B            | Light intensity and colour sensor          | TCS 34725                    | I2C address 0x29                     | SDA=D14 [PB_9], SCL=D15 [PB_8]                                                                                                  | The sensor is illuminated by RGB LED (9B)                                                                                                                                                        |
 | 10            | Standard miniature servo                   | SG90 or similar              | PWM                                  | SERVO_PWM=A3 [PA_0]                                                                                                             | Standard timings for micro servo: PWM 50Hz, duty cycle:\\ - 0 deg (right position): 1ms,\\ - 90 deg (up position): 1.5ms,\\ - 180 deg (left position): 2ms.                                      | | 10            | Standard miniature servo                   | SG90 or similar              | PWM                                  | SERVO_PWM=A3 [PA_0]                                                                                                             | Standard timings for micro servo: PWM 50Hz, duty cycle:\\ - 0 deg (right position): 1ms,\\ - 90 deg (up position): 1.5ms,\\ - 180 deg (left position): 2ms.                                      |
 </table> </table>
Line 31: Line 31:
 A suitable platformio.ini file for the correct code compilation is presented below. It does not contain libraries that need to be added regarding specific tasks and hardware used in particular scenarios. The code below presents only the typical section. Refer to the scenario description for details regarding case-specific libraries needed for the implementation: A suitable platformio.ini file for the correct code compilation is presented below. It does not contain libraries that need to be added regarding specific tasks and hardware used in particular scenarios. The code below presents only the typical section. Refer to the scenario description for details regarding case-specific libraries needed for the implementation:
  
-<code bash+<file ini platformio.ini
-[env:esp32+[env:vrelnextgen
-platform = espressif32 +platform = ststm32
-board = esp32-s3-devkitc-1 +
-board_build.mcu = esp32s3 +
-board_build.f_cpu = 240000000L+
 framework = arduino framework = arduino
-platform_packages = +board nucleo_wb55rg_p
-    toolchain-riscv32-esp @ 8.4.0+2021r2-patch5+
 lib_ldf_mode = deep+ lib_ldf_mode = deep+
-</code>+</file> 
en/iot-open/practical/hardware/sut/stm32.1709413350.txt.gz · Last modified: 2024/03/02 21:02 by ktokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0