Streaming Video From an SD Card on the ESP32.

  Рет қаралды 24,311

atomic14

atomic14

9 ай бұрын

Turned out to be a bit easier than expected - we can now play video from the SD Card! Once again we're using my custom PCB from www.PCBWay.com/?from=atomic
I really need to get a new board designed and manufactured - it's getting a bit bonkers now with all the wires...
The GitHub repo with the code is here: github.com/atomic14/esp32-tv
The Cheap Yellow Display I mentioned at the end of the video can be got here: s.click.aliexpress.com/e/_DFo...
It really is remarkably cheap for what you get. Audio needs a bit of tweaking, but it works.
---
If you'd like to help support the channel and help me buy more nonsense - I have a Patreon page: / atomic14
We've also got a shop now! shop.atomic14.com
And if you're shopping on AliExpress or Amazon then if you click on these links I will get a little bit of affiliate money:
Aliexpress - s.click.aliexpress.com/e/_Ac05mF
Amazon - www.amazon.com/?tag=atomic14-20
You can also join us on Discord here: / discord
There's also the Atomic14 newsletter here: atomic14.substack.com/
And don't forget about the MakerNews newsletter - makernews.substack.com/

Пікірлер: 82
@atomic14
@atomic14 9 ай бұрын
If you'd like to help support the channel and help me buy more nonsense - I have a Patreon page: www.patreon.com/atomic14 We've also got a shop now! shop.atomic14.com And if you're shopping on AliExpress or Amazon then if you click on these links I will get a little bit of affiliate money: Aliexpress - s.click.aliexpress.com/e/_Ac05mF Amazon - www.amazon.com/?tag=atomic14-20 You can also join us on Discord here: discord.gg/h2DDnDdjD2 There's also the Atomic14 newsletter here: atomic14.substack.com/ And don't forget about the MakerNews newsletter - makernews.substack.com/
@OMNI_INFINITY
@OMNI_INFINITY 8 ай бұрын
Had posted this question earlier, but it seems yt sadly censored it because it had a URL. Can have a look at this S3 board design I made and clarify what needs to be changed about it (if anything), aside from adding boot and reset buttons and a better USB port? Thanks in advance!: oshwlab dotto commo/allonesuncorp/esp32-board (Yes, the dotto commo is a . and a com)
@OMNI_INFINITY
@OMNI_INFINITY 8 ай бұрын
PS: Can TwoWire do 3 i2c bus instances or is it called TwoWire because it can only make 2? Trying to add an OLED to an ESP32 project that already has 2 sensors on 2 TwoWire i2c buses.
@carljay4021
@carljay4021 8 ай бұрын
How can I find this board?
@ChunkySteveo
@ChunkySteveo 9 ай бұрын
Awesome work, as always, Chris! Keep up the great work!!!!! My daughters have requested several versions of the tiny tv already!!
@atomic14
@atomic14 9 ай бұрын
Get them the bits and set them building their own version :)
@gearscodeandfire
@gearscodeandfire 8 ай бұрын
Great ad always- i’ve been waiting to binge these!
@raevod6361
@raevod6361 9 ай бұрын
I absolutely love this video, please keep it up.
@atomic14
@atomic14 9 ай бұрын
Thanks! More videos in the works - though I won't have quite as much time over the next few months.
@petebowcott8348
@petebowcott8348 9 ай бұрын
Brilliant, thanks for this Atomic14
@atomic14
@atomic14 9 ай бұрын
No problem - glad you liked it :)
@lastmagmarian9116
@lastmagmarian9116 9 ай бұрын
Fun fact: The particular adapter you are using already has the grounds connected.
@atomic14
@atomic14 9 ай бұрын
As soon as I read your comment I did think "doh, they'd have to be connected, they are both ground" - so easy to miss obvious things!
@BrianLough
@BrianLough 9 ай бұрын
Awesome work!
@atomic14
@atomic14 9 ай бұрын
Thanks Brian!
@SinanAkkoyun
@SinanAkkoyun 9 ай бұрын
Yes, another gem of a video!
@atomic14
@atomic14 9 ай бұрын
Thanks!
@arunsp4576
@arunsp4576 7 ай бұрын
I've been watching all of your videos recent times and you are really 👍 awesome i got plenty of knowledge from you sir ☺️ i would like to thank you for providing the stuffs which I've been stuck for a long time
@atomic14
@atomic14 7 ай бұрын
Thanks! That’s great to know.
@PsychogenicTechnologies
@PsychogenicTechnologies 9 ай бұрын
Cool, nice work! Going to be interesting updating the files on that hardwired SD card... maybe stream from the network, hah :-)
@atomic14
@atomic14 9 ай бұрын
The micro SD can be popped out from the adaptor. What would be really nice though is the ESP32 acting as a mass storage device when it's plugged in. Not sure if that's possible with an S3.
@BRUXXUS
@BRUXXUS 9 ай бұрын
Oooh, I'd like to try making a little wearable pin that plays videos! That could be a fun project. Maybe a little screen on a hat? :) Thanks for these fun projects!
@atomic14
@atomic14 9 ай бұрын
I've got a round display that I think would make a really cool badge. In theory, you could fit everything on a PCB behind it including the battery.
@BRUXXUS
@BRUXXUS 9 ай бұрын
@@atomic14 That could be so cool! I do live streams on Twitch and have a hat with some little ws2812b LEDs, and chat can control the colors and effects. I think it would be really fun to let them be able to play GIFs on a badge with a screen. :)
@SojournerDidimus
@SojournerDidimus 9 ай бұрын
Another crazy idea: "precompile" the video decoding on the PC, pushing effectively an ARM executable onto your SD card dedicated to this exact video playback.
@zoenagy9458
@zoenagy9458 9 ай бұрын
wow ton of work!
@atomic14
@atomic14 9 ай бұрын
Thanks! It was a fun project and came together surprisingly easily.
@rklauco
@rklauco 9 ай бұрын
Now you can use the same AVI format for streaming :)
@atomic14
@atomic14 9 ай бұрын
Might work - though AVI is definitely not designed for streaming. It could work a nice intermediate format though - maybe preprocess the videos into it before streaming.
@carlatashkadeh5890
@carlatashkadeh5890 9 ай бұрын
Very cool!
@atomic14
@atomic14 9 ай бұрын
Thank you!
@piconano
@piconano 9 ай бұрын
There are only a few ESP32 modules with built-in colour LCD I know of; MaTouch series, DIYmalls 3.5", and LILYGO T-Display (without the SD card or touch). I think I'll buy a DIYmalls. It's so damn impressive for only CAD $40 I plan to make a Wifi monitor for my security camera running RPi-Cam-Web-Interface. Thanks for the inspiration.
@atomic14
@atomic14 9 ай бұрын
The Cheap Yellow Display is very cheap - search for "ESP32-2432S028R" the audio is a bit crap, but there are some hacks to make it much better.
@piconano
@piconano 9 ай бұрын
@@atomic14 bought the "MaTouch_ESP32-S3 Parallel IPS with Touch 4.3" [google search] Made by same people at makerfabs but with an ESP32-S3, IPS capacitive touch... Cheap enough to give it a try. Keep up the great work.
@atomic14
@atomic14 9 ай бұрын
Great - there are so many really nice modules out there at really reasonable prices. And having everything already wired up removes so many annoying bugs with breadboard and dodgy jumper wires.
@piconano
@piconano 9 ай бұрын
@@atomic14 Agreed. Also, I wouldn't be able to build one for that price.
@jovialcupid9687
@jovialcupid9687 9 ай бұрын
Google "esp32c2 7" AliExpress"' They are relatively cheap, 30$
@ethzero
@ethzero 9 ай бұрын
Very nice 👍
@atomic14
@atomic14 9 ай бұрын
Thanks!
@bk-go6905
@bk-go6905 9 ай бұрын
What is the spi clock speed with LCD? What is frame rate, and are you redrawing the entire screen every frame?
@atomic14
@atomic14 9 ай бұрын
We're running the SPI at 80MHz and getting 15fps - with some tweaking I think we could reach 20-25fps. The whole screen is redrawn for each frame.
@kerogre256
@kerogre256 9 ай бұрын
I got a very bad experience with mosquitoes this year and decide I will make laser zapping auto aiming using microphones(using 4xESP32 as microphone ) in the room to triangulate position of flying mosquitoes .... I know i know it absurd but I need to try it, and it prabobly will not work due latency(all need to be done under 0.002s)
@atomic14
@atomic14 9 ай бұрын
That sounds absolutely fantastic!
@pwbarrett7
@pwbarrett7 7 ай бұрын
I've built the project to use the CYD - is there anything else I need to change to use the SD card instead of streaming?
@atomic14
@atomic14 7 ай бұрын
In the platformio.ini file Ithink it’s already set up to use the SD Card. You just need to select - cheap-yellow-display configuration when you build. If that’s not working can you raise an issue on GitHub repo.
@argentinomacrifuevidaltamb3772
@argentinomacrifuevidaltamb3772 7 ай бұрын
Excellent video, it works!!!! I have the cheap-yellow-display and it doesn't go more than 5 frames per second, any way to improve it? Thank
@atomic14
@atomic14 7 ай бұрын
There’s a weird conflict at the moment with enabling DMA on the display and using the SD Card. Need to investigate what the issues is as it feels like it should work.
@argentinomacrifuevidaltamb3772
@argentinomacrifuevidaltamb3772 7 ай бұрын
@@atomic14 Ok perfect, thanks for your quick response. Congratulations, your work is excellent. Best regards✌
@argentinomacrifuevidaltamb3772
@argentinomacrifuevidaltamb3772 7 ай бұрын
@@atomic14 I found this in a forum post SDcard and display use the different pins for spi interface. Display uses HSPI_HOST and DMA channel 1. SDCard uses VSPI_HOST an DMA channel 2. Change the DMA channel in the SDCard.cpp file this: ret = spi_bus_initialize(spi_host_device_t(m_host.slot), &bus_cfg, SPI_DMA_CHAN) ; for this one: ret = spi_bus_initialize(spi_host_device_t(m_host.slot), &bus_cfg, 2) ; SPI_DMA_CHAN fixed to 2. This changed a lot and the video is displayed much better with almost no frame loss. When the video is very long after 4 minutes it gets a little slow but very little I don't know if it is the final solution but the change is significant. Stay tuned to your comments. Regards
@argentinomacrifuevidaltamb3772
@argentinomacrifuevidaltamb3772 7 ай бұрын
@@atomic14 Corrected, in larger videos I only lower the quality and it works smoothly on the yellow screen.
@CharlieAmezquita-fc4vx
@CharlieAmezquita-fc4vx 25 күн бұрын
You should use a amplifier, because the esp32 will prob struggle with audio out
@jonathanr4242
@jonathanr4242 9 ай бұрын
Can you use CYD or Clem's big yellow display?
@atomic14
@atomic14 9 ай бұрын
Yep, it should work on pretty much any ESP32 board - the CYD is pretty handy as it's got the SD Card and display.
@MAYERMAKES
@MAYERMAKES 9 ай бұрын
Whats clems big yellow display?
@atomic14
@atomic14 9 ай бұрын
If anyone knows - it should be you! :)
@MAYERMAKES
@MAYERMAKES 9 ай бұрын
@@atomic14 i literally have no clue. Seriously.
@jonathanr4242
@jonathanr4242 9 ай бұрын
@@MAYERMAKES I thought you mentioned it on the discord? Maybe I’m just getting old.
@LaOwlett
@LaOwlett 9 ай бұрын
Bicycle live rearview camera?
@atomic14
@atomic14 9 ай бұрын
I'd have to make my build a lot more robust!
@LaOwlett
@LaOwlett 9 ай бұрын
@@atomic14 True. It was just the first thing that came to my mind watching your build lol. I wish my Garmin had one.
@ShadowDrag17
@ShadowDrag17 Ай бұрын
hey dude idk but is it possible to make it run games with a connected controller?
@atomic14
@atomic14 Ай бұрын
Yes, you can hook up a Wii Nunchuk to the QWIIC connector - and there’s also this: kzbin.info/www/bejne/nKCzaWSFaZ2Kd6s
@interestgainer9801
@interestgainer9801 5 ай бұрын
Can you attach a battery with it and make it portable And also mention the power consumption while it is running I need this information because I am doing a similar type of project like almost 80% same Please respond it will help me
@atomic14
@atomic14 5 ай бұрын
There’s a battery charger on the board. I have no idea how much current it draws when running.
@interestgainer9801
@interestgainer9801 5 ай бұрын
@@atomic14 Ok no problem But thank you very much to respond 😊
@missyoufr1770
@missyoufr1770 7 ай бұрын
What if I want to play only 1 video?
@atomic14
@atomic14 7 ай бұрын
Just put one video on the card. You can change the code so that it starts to play automatically.
@Yakroo108
@Yakroo108 6 ай бұрын
👍👍👍
@NotMarkKnopfler
@NotMarkKnopfler 9 ай бұрын
The young ones? Showing your age there! 😃
@atomic14
@atomic14 9 ай бұрын
I feel ancient somethimes!
@April2023-fb6pf
@April2023-fb6pf 6 ай бұрын
Tft shield please
@drbizzarow
@drbizzarow 9 ай бұрын
I have recently found on you tube ... and u are subscribed ..... and add me in your big admirer list .... lots of love and respect :).
@atomic14
@atomic14 9 ай бұрын
Thanks! Much appreciated.
@TheTurmanDreams
@TheTurmanDreams 9 ай бұрын
@atomic14
@atomic14 9 ай бұрын
👋👋👋👋
@tonydiamond4118
@tonydiamond4118 4 ай бұрын
Be me come up with idea for art project using esp32 and small tft displays end up on this video thinking this should help realize you don't have the knowledge or skill set to know wtf this dude is even talking about. Great video tho
@piconano
@piconano 9 ай бұрын
I just finished my ESP32 UFO and radiation monitoring project. The code is 950K which makes it my biggest project to date. After ESP8266, I divorced Arduino clowns.
@MAviation_com
@MAviation_com 9 ай бұрын
did it work?
@piconano
@piconano 9 ай бұрын
@@MAviation_com Yes on all acoounts
@atomic14
@atomic14 9 ай бұрын
That's a lot of code!
ESP32 SD Card Speedup With a Couple of Lines of Code
8:42
atomic14
Рет қаралды 9 М.
I made a VGA card that blew my mind
15:44
bitluni
Рет қаралды 422 М.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 77 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 72 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 14 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
ESP32 Super Fast JPEG Decoder - 20ms!
4:00
atomic14
Рет қаралды 10 М.
Open Source Mini Video Player (Arduino, ESP32, Electronics, PCB Design)!
12:41
Super Make Something
Рет қаралды 58 М.
Mini TV Remix
2:15
Megazoid's Hut
Рет қаралды 1,8 М.
465 Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
ESP32 SD Card Interfacing Fast!
7:07
ArtsyEngineering
Рет қаралды 49 М.
ROCKET that LITERALLY BURNS WATER as FUEL
19:00
Integza
Рет қаралды 601 М.
Play video and audio from ESP32!
6:48
That Project
Рет қаралды 18 М.
Most Interesting Addressable LEDs that I've Ever Seen
10:50
atomic14
Рет қаралды 12 М.
Minimalist Microcontroller: Building a Bare-Bones Dev Board
9:15
Don't be Fooled!! This Cheap Yellow Display Can Do a LOT!!
10:39
Talking Sasquach
Рет қаралды 17 М.
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 1,9 МЛН
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 2,9 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 432 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 36 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 656 М.