(yet another) Arduino TEA5767 FM Radio
HTML-код
- Опубликовано: 5 окт 2024
- A simple sketch I wrote as a review for some DX itens:
TEA5767 FM Radio module (SKU: 142975)
dx.com/p/fm-rec...
Rotary encoder (SKU: 176924)
dx.com/p/new-ar...
Freeduino Leonardo (SKU: 161227)
dx.com/p/freadu...
840 points breadboard (SKU: 118355)
dx.com/p/840-po...
Beadboard jumpers (SKU: 118826)
dx.com/p/breadb...
(LCD display and encoder knob from a local store)
Sorce code:
Original version (for Arduino Leonardo): github.com/RodL...
Arduino Uno version: github.com/RodL... - Наука
Thanks for posting this and sharing the code. I really like the clever way you have coded the scale and moving needle - very neat!
Many thanks Pal. Got your beauty FM Radio DIY partially worked with the Arduino Nano v3. The Auto Search seems a little odd behave, I had 1k ohm Resistor and 47nF Cap before Rotary Encoder SW pin, able to pushbutton and switch mode, have 'A' display on the LCD display panel. Somehow, the forward Auto-Search FM stations still don't work quite well.
Hi there! If you can tune the radio well in “Manual” mode (I mean: if the frequency on the display goes up and down smoothly when you turn the encoder), you can try to adjust the tuner´s scan threshold level (the minimum power a station must have to be detected in auto mode). If it is too low the scan will stop all the time (even on frequencies where there is no station broadcasting). If it is too high it will pass over some good stations. Unfortunately, the Arduino TEA5767 library does not provides a way to adjust this threshold from the user´s code. You must edit the library files (TEA5767.cpp and TEA5767.h) directly. There are tree threshold levels defined on TEA5767.h: TEA5767_SRCH_HIGH_LVL, TEA5767_SRCH_MID_LVL and TEA5767_SRCH_LOW_LVL. You can change which one is used editing the file TEA5767.cpp (look into functions “search_up” and “search_down”). On this scketch I am using “TEA5767_SRCH_HIGH_LVL” in TEA5767.cpp, and I defined it as 0x60 in TEA5767.h (If I remember well, I found the module to be very sensitive, and I need to increase the original value substantially). Thanks for watching and good luck!
Thanks for your help. I am so happy, got my Toolbox TEA5767 Radio sound perfectly on a Class-D amp output for almost two months based on your great sketch. Now, occasionally powered by 7w 5v Solar Panel. Yeah, managed to solve the Rotary Encoder frequency drift problem.
Nicely done! Love it!
Thank you!
Well done, thank you, definitely trying !!!
Спасибо обязательно попробую.
Alex Mur Thank you!!
Could I use a RDA5807 instead of TEA5767? Nice work, like the “vintage” scale. 73’s
The code simply doesn't work for me, the rotary encoder goes haywire, now it wants to move, now it doesnt, the frequency doesn't change, it says on the LCD that it changed, but the radio doesnt pick up anything, even I can confirm that the frequency is correct, also the signal strength doesn't work properly, changes just so, doesn't matter if it picked up aynthing or not.
Hello, I am making a radio with the rrd-102v2.0 module, I have a question, I want to light the led when there is a frequency empty interference sound, how can I do this?
//example
if(frequency_noise==true)
{
//led on
}
Can you please, share the wire Connecting Diagram?
Hi - I'm having rotary encoder issues - no matter which way I turn the shaft the frequency increments upwards. I notice that on the jpg of the wiring your breakout board includes VCC. I am using a 3 contact (A/Gnd/B = no VCC) encoder - with cap/ resistor debounce. Might the lack of VCC be the issue? I which case where would I attach that? Thanks for any advice you can give.
Excellent . I wonder if you used some power module ? You got the diagram of connections ? I'm interested. Greetings and thanks! PS: Is there any place where you have placed the step by step?
Santiago Fernandez Hi! I used no power module - just a regular PC speaker (with built-in amplifier). I have no wiring diagram, but the connections are described on the source code. Thank you!
Thanks Radlophus! If a have a problem and going to write you! See you soon!
É possível sintonizar frequências maiores que 108MHz ?
Hi, what is that module that feeds the speaker? Is it an amplifier?
Rodlophus, onde vc comprou esse soquete do TEA5767?
Comprei um soquete de CI e quando cheguei em casa, vi que ele é menor em largura que o TEA5767...sniff.
Olá, +Vindix007! Eu comprei um soquete DIP de 28 pinos "largo" (600mil de largura, do tipo usado em EEPROMs) e cortei um pedaço. Esse tipo de soquete está disponível a partir de 24 pinos (os de 24 e 28 pinos têm as duas opções: normal e largo. Acima de 28 pinos são todos largos). Prefira soquetes do tipo "torneado": são melhores para soldar os fios por cima. Boa sorte!
+rodlophus Valeu.
Obrigado.
É possível fazer este mesmo sistema de "dial" e encoder para o TEA5757?
Olá! É sim. Não usei esse sistema o TEA5757 e no YST936 porque estava interessado apenas em ver como eles funcionavam, mas ele pode ser usado em qualquer rádio.
Can this be used with nano board?
Can you proivde me the library ?
can i use TEA 5767 FM receiver without a Arduino or micro-controller chip ?
Hi! TEA5767 must be controlled via an I2C bus, so it is intended for use with micro controllers. For a non-microcontroller, 100% analog FM radio you could use, for example, the TDA7088 or TDA7000 instead.
rodlophus, pode me enviar o código fonte que utilizou neste sitema? Gostaria de criar um semelhante.Obrigado
Olá. Desculpe a demora. Você pode baixar o codigo fonte em: github.com/RodLophus/TEA5767_Radio/blob/master/TEA5767_Radio.ino
Excelente.Muito Obrigado
If i use rotary encoder 3-pin. How can i draw this project?(sorry, I can't speak English well...X(....)
Oh, I have one. But my pin write is different of yours.
My pin write is
GND
+
SW
DT
CLK
What can i do?
Nice, can you give me the link of the code?
+jose armando yanez parra Sure! The links are on the video's comment session.
Could someone tell me what the TEA5767 does exactly?
Does it also provide what is displayed on the LCD Screen?
Would be greatly appreciated if anyone knowledgeable enough would respond, thanks.
No, you also need a micro-controller such as an Arduino or ATMega chip.
www.sparkfun.com/datasheets/Wireless/General/TEA5767.pdf
Круто! Полторы минуты крутить ручку!!!! Я в шоке!