Old-School Radio: Integrating an FM Receiver into Home Assistant

  Рет қаралды 3,569

ResinChem Tech

ResinChem Tech

Күн бұрын

This is an overview of a couple of different low-cost FM receivers. I'll review the pinouts, how they are wired, explore some of the features and differences, run some tests and finally cover how a receiver can be integrated into Home Assistant for information and control. Be sure to check out the full video description below for more info.
Github Repo with Code/YAML: github.com/Resinchem/FM-Recei...
Chapter Links:
=============
00:00 Intro
01:24 The TEA5767 Overview and Pinout
01:56 Other Parts and Wiring Overview
03:02 Initial Test Wiring Setup
03:27 Test Code and First Test
04:55 Issue with the TEA5767
05:37 The SI4703 Overview and Pinout
07:34 SI4703 Wiring and Initial Testing
09:18 Optional Additional Components
09:54 Home Assistant Integration and MQTT
12:16 Wrap Up and More Info
Parts Used or Shown:
===================
TEA5767 FM Receiver: amzn.to/3uCjHpH
SI4703 FM Receiver with RDS: amzn.to/3GlISPP
Wemos D1 Mini (ESP8266): amzn.to/3QXOlRT
ESP32 Mini: amzn.to/3sSAg05
Dupont Jumper Wires: amzn.to/3GkrgUD
Oontz Angle 3 Speaker: amzn.to/3RlW39K
3.5 mm Audio Cable: amzn.to/49VrJKu
Micro USB Cable: amzn.to/46AUIR0
Rotary Encoder: amzn.to/3T31Q5x
Normally Open Pushbuttons: amzn.to/3RkzYIz
SSD1306 OLED Display: amzn.to/46K8RLO
ILI9341 TFT Touch Display: amzn.to/3RkKGyK
USB Power Adapter: amzn.to/3uAd5rL
Some of these links may be Amazon affiliate links. Use of these links will not affect your pricing, but as an affiliate this channel may earn a small commission if you make a purchase. All products were current at time of publication. If an item is discontinued, recommended alternatives listed on the original product page will usually suffice.
Additional Information:
======================
Radio Library by mathertel: github.com/mathertel/Radio
MQTT 101: Integrate your devices into Home Assistant: • MQTT 101: Integrate yo...
Adding an ESP32 and MQTT to a DIY Amp: • Adding an ESP32, MQTT ...
Touch Controls for the DIY Amp (ILI9341): • Local SiriusXM Server ...
If you'd like to help support this channel, or just say thanks, you can consider buying me a cup of coffee:
www.buymeacoffee.com/resinche...
#fmradio #mqtt #homeassistant

Пікірлер: 34
@smashimone
@smashimone 6 ай бұрын
Excellent work..... keep the ideas and video flowing!
@ResinChemTech
@ResinChemTech 6 ай бұрын
Thanks. I appreciate it!
@cncdavenz
@cncdavenz 7 ай бұрын
Thanks for the video. Looks like a project for over Christmas. Cheers Dave.
@ResinChemTech
@ResinChemTech 7 ай бұрын
You are welcome. Good luck with the project!
@WarmBadger
@WarmBadger 6 ай бұрын
Thanks for this video it was exactly what I was looking for, I was really surprised at how many stations it was able to pick up with no antenna. I plan on looking in to adding the touch screen next. Hopefully they bring this to ESPHome, my preferred method of interaction with the ESP32 but this was still fun and useful. Definitely Now a subscriber.
@ResinChemTech
@ResinChemTech 6 ай бұрын
Glad you found it helpful. I was also a bit surprised at the reception, especially since I was testing from my basement. I hope to add it to my next version of my DIY amp... with an improved touch screen over what I now have. Thanks for watching, taking a moment to leave a comment... and for the sub. Welcome to the channel!
@blakebowden955
@blakebowden955 7 ай бұрын
Very interesting project thanks for sharing!
@ResinChemTech
@ResinChemTech 7 ай бұрын
You are welcome. It's a pretty easy project and not for everyone, but I occasionally like to try out a new component and learn a little about it, even if I don't have a particular need for it at the time. Thanks for watching and taking a few moments to leave a comment. I appreciate it.
@Dorff_Meister
@Dorff_Meister 7 ай бұрын
Neat - I hadn't considered a FM board. My wife listens to FM in the car and some streaming. I very occasionally listen to it via streaming.
@ResinChemTech
@ResinChemTech 7 ай бұрын
Same here... don't listen to FM often. But it is a nice 'fall-back' for still having an audio source in the event of an Internet outage... or if one of your favorites streaming services suddenly becomes unavailable (you know the one!). Don't know when I'll actually get it integrated into the amp. But it will be a nice "backup" and alternative to have available.
@nehajain2974
@nehajain2974 7 ай бұрын
Great Video... thanks a lot for uploading such informative videos. Can you please make a video tutorial on "How to use esp32 as a radio player and then use Bluetooth speaker to hear that radio stream?". Thank you
@JulianMino
@JulianMino 7 ай бұрын
Nice! I was wondering if you made a video or wrote a blog about your cabinet lighting? I wanted to see your approach before tacking my project. Thanks again for the great content you create!
@ResinChemTech
@ResinChemTech 7 ай бұрын
Thanks! I haven't done a video specifically on my cabinet lighting, but I really used the same process that I show in this video on planning an LED install, where I install lights under my desk: kzfaq.info/get/bejne/ecyWhNOhkrC3faM.html In my case, since I had four 'segments' of cabinets... upper and lower on opposite sides of the kitchen, I ended up with four WLED controllers that I sync together. However, depending on how you want to run the wiring, you could use a single controller and use WLED segments if you wanted separate control (e.g. colors/effects) for different areas of the cabinets. There is one other note. I originally installed WS2812b 60 LED/m. For the under cabinet lighting (that actually lit up the counters), is wasn't as much light as I hoped, so I went back and replaced them with SK6812 144/m LEDs that have a true white channel. This provides much better working light. I believe I talk about LED selection in the above video as well. And as always, be sure to let me know if you have any questions.
@BELSERVICEMAN
@BELSERVICEMAN 7 ай бұрын
If you build and test in your finished basement and get good signal it seems quite good using the audio cable as the antenna
@ResinChemTech
@ResinChemTech 7 ай бұрын
Well, as would be expected, some stations are better than others, but the reception seemed on par with my regular audio receiver. And honestly, the TEA5767 with the included antenna had better reception, but the continuous background "clicking" noise was a non-starter for me. And I do like the RDS info I get with the SI4703. The question will be what the reception is like when integrated into my amp. For this test/video, I was using a 3 ft. audio cable (antenna). But I'd want something much shorter when integrated. That remains to be seen/tested. But thanks for the comment!
@glib01
@glib01 7 ай бұрын
Stereo to BNC adapters are available for those of us that use/need external antenna for some stations.
@aliemlek
@aliemlek 7 ай бұрын
👍👍👌👌
@ResinChemTech
@ResinChemTech 7 ай бұрын
Thanks!
@nyckid
@nyckid 7 ай бұрын
How close was your cell phone while you had the radio on? Nextel phones were notorious for alerting you to an incoming call by making your computer speakers pop and click, but newer phones still do it, though not as bad.
@ResinChemTech
@ResinChemTech 7 ай бұрын
Well, my phone was in the same room but not near or next to the FM receiver. And I probably spent about an hour messing with different wiring, etc. to see if I could get the clicking or popping to stop and I'm pretty sure I didn't receive a single call or text during that time. And at one point I took the setup to a different floor of my home to see if better reception would make a difference (it didn't), so it would have been at least a floor away from my phone. In a way, I'm kinda' glad it happened because I liked the additional feature of the SI4703, like RDS decoding, better than the TEA5767 anyway. But thanks for the tip and what might have been causing the issue.
@neilscotford6032
@neilscotford6032 7 ай бұрын
Have you tried using a different power supply for the wemos and the radio board ? Most likely picking up data from the wemos as the power supply isn’t the cleanest ……
@ResinChemTech
@ResinChemTech 7 ай бұрын
I did try three different power sources and also tried keeping the power supply cable as far away from the wires connecting the Wemos to the receiver as I could. The constant 'clicking' sound remained and upon doing some research, it was a common reported problem with the TEA5767. I didn't experience the issue at all with the SI4703, so I do think it is something specific to the TEA5767... or at least the board I had.
@neilscotford6032
@neilscotford6032 7 ай бұрын
@@ResinChemTech I’m not one for giving up on anything until I know the exact reason 🤣 OCD about finding problems and resolving them, as a professional designer it’s my thing. I’ll order one and see if I can help solve the issue 👍 great channel btw 👍🇬🇧
@giantbrain5793
@giantbrain5793 7 ай бұрын
when i add the dasboard.yaml , i found error, Configuration errors Error loading /config/configuration.yaml: in "/config/configuration.yaml", line 12, column 11: Unable to read file /config/dasboard.yaml.any suggestion
@ResinChemTech
@ResinChemTech 7 ай бұрын
You should not have a 'dashboard.yaml' file. If you are referring to the sample code from the Github repository, then the 'dashboard.yaml' file just includes sample code that contains the items that you would add through the normal Home Assistant dashboard editor. This is there for you to use an example to create your own dashboard. In fact, very little (if any) of the YAML code I provide can just be copied and pasted into your own Home Assistant. These files are just provided as _examples or guidelines_ for creating your own versions. This is especially true for any 'dashboard' examples. While these are written in YAML, they are not standalone '.yaml' files in your normal configuration. This shows that, for example, you would create a vertical stack card, that would then contain other cards listed, etc. via the dashboard editor tools.
@giantbrain5793
@giantbrain5793 7 ай бұрын
@@ResinChemTech Does this also apply to automations.script.yaml, helpers.yaml and mqtt_entities.yaml
@giantbrain5793
@giantbrain5793 7 ай бұрын
@@ResinChemTech when i upload mqtt_entitites yaml. i found error :Configuration warnings Integration error: mqtt_entities - Integration 'mqtt_entities' not found.
@ResinChemTech
@ResinChemTech 7 ай бұрын
Yes... this applies to all the YAML. It is provided as an _example_ for creating your own. You will almost always get errors and have issues if you just try to copy/paste YAML from someone else's Home Assistant configuration into your own. There are too many difference in how things are configured. You need to have at least a basic understanding of YAML, how it works and how it is configured before you can take someone else's configuration YAML and be able to adapt it for your own use. None of the YAML I provide in this repo can just be copied and pasted. You won't have your Home Assistant configured to use these file names (helpers.yaml, mqtt_entities.yaml, etc.). As the documentation in the Github repo clearly states: "It is unlikely that you will be able to just copy/paste these into your Home Assistant. Each entity or integration type should be placed in the appropriate location within your own Home Assistant (e.g. sensors, switches, automations, etc.)" So, you MUST take each of the helpers in the helpers.yaml file and place it in the appropriate location in your own configuration, renaming things as necessary. Same with all the other YAML files. You CANNOT just copy these YAML files and place in your /config folder in Home Assistant. That is never going to work.
@giantbrain5793
@giantbrain5793 7 ай бұрын
@@ResinChemTech finally work .thank you
@ecybernard-com
@ecybernard-com 7 ай бұрын
Have you ever heard or thought about an SDR (Software defined radio) plugs in via USB
@ResinChemTech
@ResinChemTech 7 ай бұрын
I have, although normally in conjunction with ADS-B aircraft tracking. But I know that they also work in the FM radio range. For my particular use case, I wanted a simple low cost option with a basic audio line-in for adding to my DIY amplifier. At about 1/4th the cost (or less), these little FM receiver boards fit my particular needs. But thanks for sharing an alternative. I may take a look at one somewhere down the road.
Improved Dryer Notifications for Home Assistant
15:47
ResinChem Tech
Рет қаралды 4,5 М.
Level Up Your WLED Projects: A Guide to adding Components (no code!)
43:37
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 6 МЛН
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 15 МЛН
Despicable Me Fart Blaster
00:51
_vector_
Рет қаралды 26 МЛН
“We Have Been LIED TO...” The Dr Banned For Speaking Out | Dr Aseem Malhotra
21:41
YOUR Project Improvements and Some Channel Tweaks
9:54
ResinChem Tech
Рет қаралды 1,2 М.
Easy DIY Wireless Boombox Solution For Starter
3:57
Arylic Audio
Рет қаралды 4,4 М.
MQTT 102: Add Home Assistant Discovery to your Devices
20:20
ResinChem Tech
Рет қаралды 21 М.
Motion and Distance Sensors for your DIY Projects
28:12
ResinChem Tech
Рет қаралды 3,5 М.
Home Assistant 101: How to Integrate MQTT Devices
28:52
ResinChem Tech
Рет қаралды 27 М.
Wifi Audio Notifier using ESP8266: Play MP3, TTS & RTTL
5:20
Home Assistant 101: Input Booleans and Timers
18:55
ResinChem Tech
Рет қаралды 12 М.
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 130 М.
Telefonu Parçaladım!😱
0:16
Safak Novruz
Рет қаралды 24 МЛН
Ноутбук за 20\40\60 тысяч рублей
42:36
Ремонтяш
Рет қаралды 323 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,9 МЛН