(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...
  • НаукаНаука

Комментарии • 38

  • @robertrobert5583
    @robertrobert5583 7 лет назад

    Thanks for posting this and sharing the code. I really like the clever way you have coded the scale and moving needle - very neat!

  • @TheOldmankk
    @TheOldmankk 10 лет назад

    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.

    • @rodlophus
      @rodlophus  10 лет назад

      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!

    • @TheOldmankk
      @TheOldmankk 10 лет назад

      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.

  • @soulkiss31
    @soulkiss31 9 лет назад

    Nicely done! Love it!

  • @alexmur2813
    @alexmur2813 9 лет назад

    Well done, thank you, definitely trying !!!
    Спасибо обязательно попробую.

  • @CT1JQJ
    @CT1JQJ 3 года назад

    Could I use a RDA5807 instead of TEA5767? Nice work, like the “vintage” scale. 73’s

  • @xgamerbih
    @xgamerbih 5 лет назад

    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.

  • @ramazanayten3758
    @ramazanayten3758 2 года назад

    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
    }

  • @SmartDevX
    @SmartDevX 2 года назад

    Can you please, share the wire Connecting Diagram?

  • @robertrobert5583
    @robertrobert5583 7 лет назад

    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.

  • @safernandez
    @safernandez 9 лет назад

    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?

    • @rodlophus
      @rodlophus  9 лет назад

      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!

    • @safernandez
      @safernandez 9 лет назад

      Thanks Radlophus! If a have a problem and going to write you! See you soon!

  • @matheuskrum4009
    @matheuskrum4009 8 лет назад

    É possível sintonizar frequências maiores que 108MHz ?

  • @josealfredobh
    @josealfredobh 7 лет назад

    Hi, what is that module that feeds the speaker? Is it an amplifier?

  • @Vindix007
    @Vindix007 9 лет назад

    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.

    • @rodlophus
      @rodlophus  9 лет назад +1

      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!

    • @Vindix007
      @Vindix007 9 лет назад

      +rodlophus Valeu.
      Obrigado.

  • @eudesfernandes4774
    @eudesfernandes4774 6 лет назад

    É possível fazer este mesmo sistema de "dial" e encoder para o TEA5757?

    • @rodlophus
      @rodlophus  6 лет назад

      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.

  • @smartrajful
    @smartrajful 5 лет назад

    Can this be used with nano board?

  • @yigitkadir3649
    @yigitkadir3649 3 года назад

    Can you proivde me the library ?

  • @chamshigamshi1265
    @chamshigamshi1265 8 лет назад

    can i use TEA 5767 FM receiver without a Arduino or micro-controller chip ?

    • @rodlophus
      @rodlophus  8 лет назад

      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.

  • @OneideJorgePaixao
    @OneideJorgePaixao 10 лет назад

    rodlophus, pode me enviar o código fonte que utilizou neste sitema? Gostaria de criar um semelhante.Obrigado

    • @rodlophus
      @rodlophus  10 лет назад

      Olá. Desculpe a demora. Você pode baixar o codigo fonte em: github.com/RodLophus/TEA5767_Radio/blob/master/TEA5767_Radio.ino

    • @OneideJorgePaixao
      @OneideJorgePaixao 10 лет назад

      Excelente.Muito Obrigado

  • @Adrian-PAseries
    @Adrian-PAseries 7 лет назад

    If i use rotary encoder 3-pin. How can i draw this project?(sorry, I can't speak English well...X(....)

    • @Adrian-PAseries
      @Adrian-PAseries 7 лет назад

      Oh, I have one. But my pin write is different of yours.
      My pin write is
      GND
      +
      SW
      DT
      CLK
      What can i do?

  • @josearmandoyanezparra5868
    @josearmandoyanezparra5868 8 лет назад

    Nice, can you give me the link of the code?

    • @rodlophus
      @rodlophus  8 лет назад

      +jose armando yanez parra Sure! The links are on the video's comment session.

  • @imayan9120
    @imayan9120 10 лет назад

    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.

    • @ryantoomey611
      @ryantoomey611 7 лет назад

      No, you also need a micro-controller such as an Arduino or ATMega chip.

    • @jam99
      @jam99 4 года назад

      www.sparkfun.com/datasheets/Wireless/General/TEA5767.pdf

  • @ПавелЗемсков-ь2з
    @ПавелЗемсков-ь2з 6 лет назад +1

    Круто! Полторы минуты крутить ручку!!!! Я в шоке!