Made on the basis of the Ch2i_RAK3172_Phy_PingPong project to which a display has been added.
Motivation:
When using two Ping-Pong devices in experiments with the reception range depending on various factors, It is useful, at least on one of them, to have an indication of communication quality parameters (Rssi, Snr, etc).
Hardware:
128*64 LED display module
Interface: I2C
Driver IC: SSD1306
Pin Definition: GND, VCC ,SCL, SDA
Pin Connection:
GND ->GND, VCC->3.3V, SCL->SCL, SDA->SDA.
Connect SCL and SDA pins to the PulUp resistors 5.1k, connected to 3.3V.
-
Power and communication unit.
For this unit I chose USB-to-Serial adapter and AMS1117-3.3V Power Supply Module for conversion VBUS (+5V) to +3.3V for RAK3172 VDD.
When connected to a PC via a USB cable, the unit provides Rx, Tx signals and 3.3V (from supply module but not from serial adapter). The signals level from serial adapter is 5V, but the Rx (PA3) and Tx (PA2) signals of the RAK3172 module, which uses STM32WLE5CCUx, are 5V tolerant (see tables 19 and 20 pages 52 and 54).
When the device operates without connecting to a PС, you can use a Power Bank and a short (25 cm) USB cable to power it.
Photo:
The photo shows the mock-up of the device in the experiment.
The device on the right is Feather_RAK3172_Phy_PingPong device.
Both devices are powered by Power Bank (Power Bank of the second device is not shown).