Skip to content

Commit e5c4464

Browse files
committed
Doc
1 parent 40ce1b8 commit e5c4464

File tree

3 files changed

+34
-24
lines changed

3 files changed

+34
-24
lines changed

examples/TEST/SI4844_ESP32C3_OLED/SI4844_ESP32C3_OLED.ino

+22-21
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
/**
2-
* This sketch runs on Seeeduino devices.
2+
* This sketch runs on ESP32C3 devices.
33
* I2C OLED Display and buttons Example
44
*
5-
* ABOUT SEEEDUINO XIAO and EEPROM
6-
* The Seeeduino XIAO does no have internal EEPROM.
7-
* To provide a convenient way to store and retrieve the reciver useful data, this sketch uses a library emulated-EEPROM with flash memory
8-
* See FlashStorage_SAMD Arduino library on https://github.com/khoih-prog/FlashStorage_SAMD
5+
* This Sketch was designed to be compiled and installed on the ESP32C3 (Super Mini).
6+
* However, it can be easily adapted for another ESP32 model, as well as a different
7+
* family of microcontrollers. Refer to the following table. It can guide you in making
8+
* the connections between the Si48XX and the ESP32C3.
99
*
10-
10+
* It is important to note that this project aimed at transforming receivers based on the Si4825
11+
* (with an analog interface) into receivers with a digital interface using the Si4827. However,
12+
* You can easily adapt it to an standalone project.
1113
*
12-
* SEEEDUINO and SI4844 pin connections
14+
* ESP32C3 and SI4844 pin connections
1315
*
14-
* | SI4844 pin | SEEEDUINO pin | Description |
16+
* | SI4827 pin | ESP32C3 pin | Description |
1517
* | --------- | ------------ | ------------------------------------------------- |
16-
* | 2 | 2 | SEEEDUINO interrupt pin |
17-
* | 15 | 6 | RESET |
18-
* | 16 | A4 (SDA) | I2C bus (Data) |
19-
* | 17 | A5 (SCL) | I2C bus (Clock) |
18+
* | 1 | GPIO2 | ESP32C3 interrupt pin |
19+
* | 9 | GPIO3 | RESET |
20+
* | 10 | GPIO9 (SDA) | I2C bus (Data) |
21+
* | 11 | GPIO8 (SCL) | I2C bus (Clock) |
2022
* | -----------| ------------- | ---------------------------------------------------|
2123
* | OLED | | |
2224
* | -----------| ------------- | ---------------------------------------------------|
23-
* | SDA | A4 | It shares the I2C bus with the SI4844 |
24-
* | CLK | A5 | It shares the I2C bus with the SI4844 |
25+
* | SDA | GPIO9 (SDA) | It shares the I2C bus with the SI4827 |
26+
* | CLK | GPIO8 (SCL) | It shares the I2C bus with the SI4827 |
2527
* | -----------| ------------- | ---------------------------------------------------|
2628
* |Push Buttons| | | |
2729
* | -----------| ------------- | ---------------------------------------------------|
@@ -45,18 +47,17 @@
4547
#include "DSEG7_Classic_Regular_21.h"
4648

4749

48-
4950
// OLED Diaplay constants
5051
#define I2C_ADDRESS 0x3C
5152
#define RST_PIN -1 // Define proper RST_PIN if required.
5253

53-
// Arduino Pin (tested on pro mini)
54-
#define INTERRUPT_PIN 2
55-
#define RESET_PIN 6
5654

57-
#define BAND_UP 7 // Next Band
58-
#define BAND_DOWN 8 // Previous Band
59-
#define VOL_UP 9 // Volume Volume Up
55+
#define INTERRUPT_PIN 2 // GPIO2
56+
#define RESET_PIN 3 // GPIO3
57+
58+
#define BAND_UP 6 // GPIO6 - Next Band
59+
#define BAND_DOWN 5 // GPIO5 - Previous Band
60+
#define VOL_UP 7 // Volume Volume Up
6061
#define VOL_DOWN 10 // Volume Down
6162

6263
#define MIN_ELAPSED_TIME 100

examples/TEST/SI4844_ESP32C3_TM1637/SI4844_ESP32C3_TM1637.ino

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
/**
2+
* This Sketch was designed to be compiled and installed on the ESP32C3 (Super Mini).
3+
* However, it can be easily adapted for another ESP32 model, as well as a different
4+
* family of microcontrollers. Refer to the following table. It can guide you in making
5+
* the connections between the Si48XX and the ESP32C3.
6+
*
7+
* It is important to note that this project aimed at transforming receivers based on the Si4825
8+
* (with an analog interface) into receivers with a digital interface using the Si4827. However,
9+
* You can easily adapt it to an standalone project.
10+
*
211
* ESP32C3 and Si4827 pin connections
312
*
4-
* | SI4844 pin | ESP32C3 pin | Description |
13+
* | SI4827 pin | ESP32C3 pin | Description |
514
* | --------- | ------------ | ------------------------------------------------- |
6-
* | 1 | GPIO2 | ESP32C3 interrupt pin |
15+
* | 1 | GPIO2 | ESP32C3 interrupt pin |
716
* | 9 | GPIO3 | RESET |
817
* | 10 | GPIO9 (SDA) | I2C bus (Data) |
918
* | 11 | GPIO8 (SCL) | I2C bus (Clock) |

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=PU2CLR SI4844
2-
version=1.2.1
2+
version=1.2.2
33
author=Ricardo Lima Caratti
44
maintainer=Ricardo Lima Caratti
55
sentence=Control your SI4822, SI4826, SI4827, SI4840, 4844A, and 4844B BROADCAST ANALOG TUNING DIGITAL DISPLAY AM/FM/SW RADIO RECEIVER.

0 commit comments

Comments
 (0)