Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gavinlyonsrepo/tea5767_pico
Raspberry pi PICO RP2040 C++ SDK library for TEA5767HN, Low-power FM stereo radio.
https://github.com/gavinlyonsrepo/tea5767_pico
fm-radio library pico raspberry raspberry-pi raspberry-pi-pico raspberry-pi-pico-rp2040 raspberry-pi-pico-sdk raspberrypi rp2040 rpi-pico sdk tea5767 tea5767hn tea5767n
Last synced: about 1 month ago
JSON representation
Raspberry pi PICO RP2040 C++ SDK library for TEA5767HN, Low-power FM stereo radio.
- Host: GitHub
- URL: https://github.com/gavinlyonsrepo/tea5767_pico
- Owner: gavinlyonsrepo
- License: gpl-3.0
- Created: 2022-12-01T20:12:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T10:59:49.000Z (12 months ago)
- Last Synced: 2024-01-10T12:08:14.316Z (12 months ago)
- Topics: fm-radio, library, pico, raspberry, raspberry-pi, raspberry-pi-pico, raspberry-pi-pico-rp2040, raspberry-pi-pico-sdk, raspberrypi, rp2040, rpi-pico, sdk, tea5767, tea5767hn, tea5767n
- Language: C++
- Homepage: https://gavinlyonsrepo.github.io/
- Size: 154 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Overview
* Name: TEA5767_PICO
* Description: Library for TEA5767HN, Low-power FM stereo radio.
* Developed on and for
1. Raspberry pi PICO RP2040
2. SDK C++, compiler arm-none-eabi-g++ (15:10.3)
3. CMAKE , VScode
* Ported from mroger's arduino [ library](https://github.com/mroger/TEA5767)## Hardware
1. Picture of the Module used
![image ](https://github.com/gavinlyonsrepo/TEA5767_PICO/blob/main/extra/images/radio.jpg)
The TEA5767HN is a single-chip electronically tuned FM stereo radio for low-voltage
applications with fully integrated Intermediate Frequency (IF) selectivity and
demodulation. The radio is completely adjustment-free and only requires a minimum of
small and low cost external components. The radio can be tuned to the European, US,
and Japanese FM bands.The Module uses I2C for communication's.
Pins and I2C port can be set in the main.cpp. Default is I2C0 and GPIO4(data) GPIO5(clock)
This is a 5 Volt device both VCC/Logic and the PICO is 3.3 volt logic device to safely connect radio module to PICO use level shifting to shift voltage logic levels.The module has 4.7 pull up resistors on the SDA and SCLK lines.
So no resistors should be needed on 5 volt bus line.
On the 3.3 V bus side of the level shift , the PICO has its pull up resistors enabled these are 50-80KOhms. You may require a pull up resistor (1K to 10K on this side of bus) although during testing it worked fine without. It may depend on your Voltage shifting setup.1. Voltage shift setup used
![image ](https://github.com/gavinlyonsrepo/TEA5767_PICO/blob/main/extra/images/radio1.png)
## SoftwareThere are two example main.cpp which contains tests showing library functions.
There is also the library files (tea5767.cpp and tea5767.hpp)Switch between the two examples by editing add_executable(${PROJECT_NAME} in CMakeLists.txt
1. examples/Simple_Radio_FM/main.cpp
2. examples/Library_Demo/main.cpp