Skip to content

Commit a2c4a8f

Browse files
authored
Update README.md
1 parent 22ad5d6 commit a2c4a8f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[TEA5767](https://www.sparkfun.com/datasheets/Wireless/General/TEA5767.pdf) is one of the cheaper FM radio receiver modules, which allow you to build DIY FM radios real quick. It comes with an antenna with a 3.5mm audio jack but with does not have volume control.
66

7-
This is the driver for MicroPython on ESP8266/ESP32 boards. I've tested it on NodeMCU V2 and WeMos D1 mini (ESP8266s running firmware v1.11) as well as BPI:bit and DOIT ESP32 DevKit V1 (ESP32 running v1.11).
7+
This is the driver for MicroPython on ESP8266/ESP32 boards. I've tested it on NodeMCU V2 and WeMos D1 mini (ESP8266s running firmware v1.11) as well as BPI:bit and DOIT ESP32 DevKit V1 (ESP32s running v1.11).
88

99
## Wiring
1010

@@ -15,7 +15,7 @@ This is the driver for MicroPython on ESP8266/ESP32 boards. I've tested it on No
1515

1616
From personal experiments the TEA5767 works better (have better reception/sound quality) in 5V with sufficent power supply. The power from most MCU boards alone might give you a lot of noise.
1717

18-
## Import and Initialization on ESP8266
18+
## Import and Initialize on ESP8266
1919

2020
To import and initialize the module:
2121

@@ -45,9 +45,9 @@ radio = Radio(i2c, addr=0x60, freq=99.7, band="US", stereo=True,
4545
* noise_cancel: stereo noise cancelling (default True)
4646
* high_cut: high cut control (noise control, default True)
4747

48-
## Import and Initialization on ESP32
48+
## Import and Initialize on ESP32
4949

50-
It's basic the same as ESP8266, however you may need to assign different SCL and SDA pins:
50+
It's the same as ESP8266. SCL and SDA can be set to any 2 GPIO pins:
5151

5252
```python
5353
from machine import Pin, I2C
@@ -57,8 +57,6 @@ i2c = I2C(scl=Pin(22), sda=Pin(21), freq=400000)
5757
radio = Radio(i2c, freq=99.7)
5858
```
5959

60-
Other parameters are as same as above.
61-
6260
## Set/Change Frequency
6361

6462
Tuning to a specific frequency:
@@ -111,7 +109,7 @@ Mute is simply turning off the sound output. If you want to save power, use <b>r
111109

112110
The TEA5767 also allows you to turn off right and/or left speaker, but I did not implement these functions.
113111

114-
## Read Data
112+
## Read Data From the Module
115113

116114
You can retrieve some info from the TEA5767:
117115

@@ -135,7 +133,7 @@ my_variable = radio.signal_adc_level
135133
* radio.is_stereo: stereo mode status (True/False)
136134
* radio.signal_adc_level: station ADC resolution (0, 5, 7 or 10)
137135

138-
## A Simplified Version Without Using Module
136+
## A Simplified MicroPython Version Without Using This Driver
139137

140138
If you just want to tune the frequency of TEA5767, you can use code as short as below (simply paste it into your script):
141139

0 commit comments

Comments
 (0)