Arduino LED table demo and pict.

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • A better video demo of our Arduino LED table project.
    -
    While you are here, consider checking out my latest project, Webcam Plus, a free iOS app that lets you use your iPhone as a 1080p webcam for your Mac.
    You can find it here: webcamplus.app

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

  • @TommyMcDonald
    @TommyMcDonald 10 лет назад +1

    So rad! I bet that's a killer talking piece when you have guests

  • @hunter151
    @hunter151 11 лет назад

    This is incredible! When I first saw the lit up blocks, I thought to myself 'oh man, you could totally make them move and play tetris!'. Then you sir delivered like never before. Good show!

  • @iAgos46
    @iAgos46 9 лет назад +6

    Love how he used the original tetris theme

  • @chrisdrogaris
    @chrisdrogaris 12 лет назад +2

    Nice project! Really wish you had a tutorial on it, would love to do something similar.

  • @kallebanan1924
    @kallebanan1924 9 лет назад +36

    WHAT THE FUCK MAN?! WHY CAN'T I DO COOL SHIT LIKE THAT!

    • @bigdady2700
      @bigdady2700 9 лет назад +5

      anton adamson because awesome things cost monies

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

      julian lujan money, time, knowledge, and skill

    • @nykidxxx
      @nykidxxx 9 лет назад +2

      +Meccarox Patience and passion to get through the debug stage :P

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

      Ni Yao haha true

    • @boliveirapublico
      @boliveirapublico 8 лет назад +1

      phrase of the year

  • @antomeie
    @antomeie  11 лет назад

    You are correct! The arduino does not have enough outputs, which means that you have to use some sort of MUX :P The key here is to cycle over the different LED's turning them on and off one at a time. I use one led driver/16 LED's which means that every LED is only turned on 1/16 of the time, but if you cycle them fast enough your eyes wont notice it! I hope that answers your question. And also since i use 3 LED's in every square (Red/Green/blue) you have to divide the time by 3...

  • @Maclman1
    @Maclman1 11 лет назад

    i thought at the beggining: wow this guy wasted a ton of time making such an elaborate table that just lights up in random patterns.
    end: holy crap this is incredible!

  • @antomeie
    @antomeie  11 лет назад

    Well you are correct in a way. I use 3 transistors (one for each color) that I feed to the LED's. As long as you make sure that only one of them can be turned "on" at the same time (by hardware or code) you'll be fine. I think I mentioned this in another post, but the transistors are connected to the R/B/G-powerlines of the whole table. So I would first turn on the red power for the whole table and then go through all leds and set the brightness (PWM), then switch to green an do the same etc..

  • @Themindforest
    @Themindforest 12 лет назад

    Wow, freakin awesome! The mario and tetris demo was crazy too, you have the sound effects and everything playing as well. I would like to learn how to multiplex LED's like this someday with my arduinos, but what I tried to find out about it for learning how it is done was really confusing. Great job!

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

    Amazing. Tetris on a tabletop.
    The super mario made me giggle, but it's still awesome.

  • @adamross4838
    @adamross4838 10 лет назад +1

    YOU EVEN PROGRAMMED MARIO INTO IT GENIUS!!!!! :D

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

      pixel kam hai mario game ke liye .

  • @NeonblueIndustries
    @NeonblueIndustries 7 лет назад +2

    WohWohWeeWah!!. Sweet build! I love the look of how each block/pixel is lit. It's got that perfect candy like shine.
    Fantastic... I got to build a tetris / snake table now...!
    Which micro controller did you use? Arduino, Rasberry pi?
    Did you write the code yourself?

    • @antomeie
      @antomeie  7 лет назад +2

      Thanks. I used two Arduinos, one for controling the LED's and one for running the applications.

  • @stickmakerman
    @stickmakerman 12 лет назад

    i could see so many possibilities in your game of tetris that would make things easier

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

    the search is finally over, I found someone who suck at tetris more than I do! :)

  • @Mtaalas
    @Mtaalas 12 лет назад

    You're forgetting something: Tto achieve that increase in color depth one needs only 4*3 more bits per pixel and he achieves many many times more the color depth.
    After that you can do some calculations to find out that 1024 x 768 @8bpp @60fps needs something like 141.557.760bps data transfer (little over 140 Mbps).
    But when the screen is only 10x16 @12bpp @60fps the amount of data needs for 60fps is 43.200 bps (little more than 43 kilobytes per second) even at 12bpp color depth.

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

    A very ambitious and cool project. Fantastic creativity. Thank you for sharing it.

  • @captainspirou
    @captainspirou 12 лет назад

    Awesome 16x10 graphics! Can't wait until a high res display comes out of this!
    I'm kidding of course. It's an awesome project. I wish I had the time to do this sort of thing.

  • @edsonsilva7912
    @edsonsilva7912 8 лет назад +4

    I liked your project so much. Do you sell the kit?

  • @HillOrStream
    @HillOrStream 11 лет назад

    Pretty incredible for the limited power of an Arduino. Nice work!

  • @antomeie
    @antomeie  12 лет назад

    Well in order to display the different colors you have to have 3 LED's in every square (red, green and blue), but they are all in the same "casing" if you know what I mean. It is like a 3 in 1 LED. Of course, you have to power each color individualy and, as I said before, they can only be turned on once at a time.

  • @hadtomakeachannel
    @hadtomakeachannel 12 лет назад

    I agree this is loads cooler than just laying a TV on it's back...

  • @Lumibear.
    @Lumibear. 7 лет назад

    When you think to yourself, 'Ooh, maybe it might be cool looking to stick some flashing led lights making patterns under my glass table, I wonder if RUclips might have a video of someone doing something like that' then you find stuff like this and think 'I'm a total amateur'.

  • @ksmasterchif
    @ksmasterchif 9 лет назад +19

    i lost it when mario came on...

  • @IdealIdeas100
    @IdealIdeas100 10 лет назад +6

    This is cool, but imagine if you quadrupled the resolution. you could get so many more effects, and allow for more varieties of games on it.

    • @RyanJensenEE
      @RyanJensenEE 10 лет назад +9

      did you see the rat's nest of wires at the beginning? I'm guessing that this much processing is stretching the limits of those display chips already! xD

    • @Jaaxfo
      @Jaaxfo 10 лет назад +1

      Ryan Jensen You could make a simpler one these days using WS2812b integrated 5050 LEDs, only one wire from the Arduino to draw on every LED (Look up Neopixels on Adafruit, they're super useful for this kind of thing)

    • @pertinaxvolo
      @pertinaxvolo 10 лет назад +18

      Buy a TV if you want higher resolution.

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

    Imagine you are asked: - What are you playing?
    And you say, - on the table. :)

  • @KuasarG7
    @KuasarG7 10 лет назад +35

    SHUT UP AND TAKE MY MONEY

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

    Looks great! This would be perfect for the Breakout game.

  • @antomeie
    @antomeie  12 лет назад

    I run the games on a computer and send the info via a serial connection = no need for syncing.
    As you can see on the pictures I have two arduino's.
    The function of the first arduino is to control/cycle/sync the LED's to adjust their color/brightness. That is it's only task.
    For the second arduino I have written a syntax that I use when communicating with it over the serial connection. The second arduino will then pass that information about the LED colors over to the first arduino via I2C....

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

    this is an awesome table! its amazing that it has games built in

  • @Mtaalas
    @Mtaalas 12 лет назад

    Ah... harmless typo, I meant 36bpp but I made the calculations right none the less ;)
    Atmega328 can certainly push quite a bit of data with proper coding an usage of internal hardware modules and interrupt driven code. I'm in process of making LED cube that has 512 LEDs with 12bpp WM gray scale control so I have made the calculations and I could update that LED cube almost 4000 times per second if I needed to, so it's considerable amount of raw data throughput. :)

  • @antomeie
    @antomeie  12 лет назад

    I'd recomend that you run one arduino to render the table and a second one to run your application. You could of course run both on one but then your update frequency would depend on the speed of your application and if it starts to run slower for some reason your table would start flickering, like you said. Also if your app crashes then your whole table would crash :( I recently also made a music visualizer for it and that would be kind of hard to do on an arduino with the sound and all...

  • @_hiba_
    @_hiba_ 12 лет назад

    This makes me feel like *puking-rainbows* gr8 job

  • @MassCaMb0
    @MassCaMb0 10 лет назад +8

    most disappointing thing about this is that they got the tetris theme wrong... other than that, pretty neat!

  • @Gothulator
    @Gothulator 11 лет назад

    With some multi channels LED drivers. Each square need 3 channels for a RGB setup ;)

  • @antomeie
    @antomeie  12 лет назад

    @MaxMastaSmash
    I have 10 multiplexers that control one row of LED's each.
    Every multiplexer will loop through it's 16 LED's and adjust the color of them one at a time.
    Since the three colors (Red, Green, Blue) can not be turned on at the same time i also have to switch between the colors. First I update the whole table with only the red color, then I turn off the red color and turn on the Green color.. and so on..
    I

  • @FusionStream
    @FusionStream 11 лет назад

    I was like "No you fool! The staircase block should go to the right!"
    Then I was like "No you fool! The snake should move in a forward and reverse motion!"
    And finally I was like "Hello Mario. Did you lose weight?"

  • @f3k_tech
    @f3k_tech 12 лет назад

    Really cool! How did you manage to set the brightness of the LED's with the multiplexers? PWM?
    Keep up the good work!

  • @syrus3k
    @syrus3k 12 лет назад

    That's some serious arduino right there.

  • @175griffin
    @175griffin 9 лет назад +2

    Cant completely see the number on those chips, is that a TLC5940? i have been trying to make something like this for months but i cant get past the breadboard because i cant get a chip to work. How did you work around the problem that the TLC5940 can only sink 120ma, but it needs to control 16 cathodes at 20ma each? Is it multiplexed? Sorry for so many questions at once, would you mind sharing your code too? You could really help me out here

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

      ***** Yes they are TLC5940. I do multiplex them, row by row, so every chip will only have one LED illuminated at any given time. I dont have the code available at this time, sorry, they are on some backup somewhere :P But if you have any particular questions I might be able to help you.

    • @175griffin
      @175griffin 9 лет назад

      antomeie right now my biggest problem to solve is the colors mixing. im just trying to multiplex two leds right now, and even with a 5ms delay, the colors from on led mixes into the next. Seems like the TLC5940 isnt switching at the same time as the anode pins. any advice?

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

      ***** The way I do it is to have 3 transistors controlling the 3 color-powerlines to all LED's. I turn on the first transistor and then go through the whole table with that color. After that I turn off that color and turn on the next one and update the whole table with that. This is repeated for as long as it is running. My recommendation is to do it this way rather than to try and mix all the leds one by one with all colors. Does that help you? The ms delay that you talked about is not a "set in stone" value, instead you have to experiment with different values to find the one that works best with the current setup.

    • @175griffin
      @175griffin 9 лет назад

      Multiplexing by color was my first plan, but then I would need common cathode leds, correct? So the tlc5940s would control the common cathode while the colors are multiplexed? For the delay, I found that even if I set it to a whole second, the color still switches later than the anode. I think I'm doing my code wrong. Could you take a look at it and see what's going on? It's only about 30 lines so far

    • @175griffin
      @175griffin 9 лет назад

      antomeie​^^^^

  • @Betadel
    @Betadel 11 лет назад

    Thanks for the reply!
    Ah so you're using common cathode RGB LEDs? The cathode connected to a channel of the TLC5940 and the anodes connected each to one of the 3 transistors?
    I didn't think of that since the TLC5940 is designed to be used with common anode LEDs since it's a current sinker.

  • @ZenZeify
    @ZenZeify 10 лет назад +13

    Did this run Battlefield 4?

  • @maricate
    @maricate 11 лет назад

    You're real good, that's awesome! Congrats from Brazil

  • @x2xWiCkEdxShOtz
    @x2xWiCkEdxShOtz 11 лет назад

    you should deffenitly add a couple things to it like a draw that slides out with a joystick and buttons and put it to where you can play pacman as a game that would be amusing you already have video and sound

  • @antomeie
    @antomeie  12 лет назад

    Haha, because I added a delay in the code at some point for debugging purposes.. Then I did not bother to remove it because I think the game is hard enough as it is :P Might fix it later though..

  • @antomeie
    @antomeie  12 лет назад

    I don't quite get what you mean with "Will the arduino multiplex fast enough".. The only reason why I am using multiplexer is because the arduino itself does not have enough output pins to control the 160*3 = 480 LED's that I am using.
    The LoL shield that you mentioned seems to be using a totaly different method of controling the LED's. It look's like some kind of x,y - coordinate system where you activate x and y coordinates to light up one LED at a time. I have not looked in to it though....

  • @idkDRuMMER96
    @idkDRuMMER96 12 лет назад

    You should make a tutorial on How programming leds work :)

  • @DashMalone
    @DashMalone 11 лет назад +5

    Highly excellent.

  • @TechRedstone
    @TechRedstone 12 лет назад

    i wish adafruit would mass produce these like other screens

  • @tazzess
    @tazzess 12 лет назад

    Impressive....u keep me entertain....

  • @SteveMarksMusic
    @SteveMarksMusic 11 лет назад

    very nice mate.

  • @zachrussell9920
    @zachrussell9920 10 лет назад +2

    I was going to say that you should make the response of completing a line on Tetris quicker, but I have to give you some slack. I mean, you're playing Tetris on a TABLE. That's not something you see every day.

  • @gamereview3
    @gamereview3 12 лет назад

    lol brb ppl. Gunna play Tetris on my living room table! bitches love Tetris on a table!
    You are amazing good sir. on a serious note. you have a creative ability to make some awesome inventions there.

  • @piratapan
    @piratapan 12 лет назад

    Helt fantastiskt!

  • @otterdog97
    @otterdog97 12 лет назад

    How did you control each led individually? My friend and I are working on a similar project. Did you use shift registers?

  • @greatspacegibbon
    @greatspacegibbon 12 лет назад

    Hooray for multiplexers!

  • @antomeie
    @antomeie  11 лет назад

    I used 10 TLC5940. I cant remember what frequency i run the tlc's on.. I remember that I tuned it as low as I could before the LED's started flickering. Since the LED's are not on all at the same time you want to use a low frequency which will allow the LED's to shine longer before turning them off. A higher frequency will therefor lower the light intensity..
    The tlc's frequency is much greater than the speed i get over the serial connection anyway! On my music visualizer i get around 40-50 fps.

  • @tomasgodino4273
    @tomasgodino4273 7 лет назад +2

    Hi, this is awesome! I have been obsessed with multiplexing since the first time that i watched it.
    Could you pass me the code? please, is only for study it.
    Thank you.

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

    In what language has the program been programmed? Congratulations, great job
    Can you show the code?

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

    Currently building a similar project. How did you manage power distribution while multiplexing the LED's?

  • @Suntro
    @Suntro 12 лет назад

    I lost it at the end

  • @o.t.powell1142
    @o.t.powell1142 10 лет назад

    What driver are you using? Max7219? TLC5940?

  • @paulopdm13
    @paulopdm13 12 лет назад

    use a row of proximity sensors on each side so you can play pong with your own hands :)

  • @antomeie
    @antomeie  12 лет назад

    Actually I tried that on a few squares before I put the table together but it did not make that much of a difference so I skipped it. It also looks cooler in real life this way.

  • @MaxMastaSmash
    @MaxMastaSmash 12 лет назад

    Wow! those are a lot ofmultiplexers if i am seeing it right. Do you control every led simultaniasly?

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

    Incredible brother!

  • @bigchippa101
    @bigchippa101 11 лет назад

    that was way kool... i like it .. very nice job.

  • @greenoakst
    @greenoakst 12 лет назад

    Very nice! But why a full raw in tetris disappear soooooo sloooooooooow?

  • @pclinton95
    @pclinton95 10 лет назад +8

    Thats awesome! But you need to brush up on your Tetris skills. :P

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

    ppl used to play tennis table, now they can play tetris table :D

  • @virusgerm
    @virusgerm 11 лет назад

    Do you have a Blueprint for this nice Led Table? I think it's pretty cool if you take some touch sensors or something like that to Controll it.

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

    the flickering - i am wondering if its just from the cam ? or is grounding a problem ?

  • @Betadel
    @Betadel 11 лет назад

    I know this is old but I have a question.
    You say you only use one TLC5940 for each row of LEDs and you switch between the red, green and blue really fast... How are you doing this? Do you have actual switches that change between each of the pins of an RGB LED? How does that work?
    I just don't understand how you are only using one TLC5940 (16 channels) per row, when each row actually has 16x3 = 48 LEDs...

  • @Qbasic8
    @Qbasic8 12 лет назад

    How are you controlling this? I have an Arduino UNO + Mega. I have been trying to make this EXACT setup for some time now, but I don't want to order a bunch of parts that are not needed. Are you just using Shift registers? How are you driving the LED's? Any info would be GREATLY appreciated!!

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

    how did you program all these games into the arduino?

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

      +Kurt Barcelona he must have made different functions for different games or must have uploaded then one after the other lel

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

      Note that the" graphs" are all the same, so he might have reused many functions for different games. Each game as its own logic and music but the basics are all the same. Still I dont know if he have done it with a Arduino Uno or other how mutch memory he was running on. But its possible ... I'm also starting a game using just a led matrix. You can see it on my profile, I dont have an official channel...this is just for fun.

  • @7bir7
    @7bir7 12 лет назад

    Great work!!!

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

    I would love to buy one of these

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

    Is there a project page? How do u do tetris? Can you do it to the music? And why didnt u just use WS2812Bs (addressable leds)?

    • @antomeie
      @antomeie  8 лет назад +1

      +zerocool60544 I dont have a project page. I programmed Tetris myself. Regarding the WS282B, I made this table in 2010 and I am not sure if they were available back then. If they were then perhaps I did not see them. I probably wold not have gone with them either way..

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

      +antomeie Ya, didnt know about them back then either.
      Thanks, Check out some of my LED stuff with the WS2812Bs.
      -Joe

  • @ShgynLiong
    @ShgynLiong 10 лет назад +2

    How many Adruino board you use in this project? Just one or many?

    • @antomeie
      @antomeie  10 лет назад +3

      Two. One for controlling the LED's and one for serial communication. I use an I2C buss between the two.

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

      Ic. Thanks for the info

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

      Antomeie what did you use as a controller?

  • @yellowsmanharold4545
    @yellowsmanharold4545 12 лет назад

    Is there only one LED in each square that displays all of those colors? Or is it several in one hole? I want to get an arduino and an Arduino LoL LED shield for my birthday. One more quistion lol. Will the arduino multiplex fast enough or will I have to get a chip? Please reply. Thx :)

  • @JayrMagave
    @JayrMagave 11 лет назад

    Awsome! Congrats.

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

    Nice Video
    Make also LED Videos

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

    I want one NOW!!!

  • @Ziedin100
    @Ziedin100 11 лет назад

    lol very creative. i love it.

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

    Amazing

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

    awesome dude!

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

    Pretty Amazing !

  • @4uTechnik
    @4uTechnik 10 лет назад

    WOW, perfect work =)

  • @AlexAwwesome
    @AlexAwwesome 12 лет назад

    Very nice!

  • @Travestyalpha
    @Travestyalpha 12 лет назад

    Fantastic.

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

    That morie game lookes funnie on the boord. Can you maak a totorieo on how to make te boord plz?

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

    Light Emitting Diodes but not Diodic Light Emitters? I just basically said the same thing with the exception of one missing typing space. Is it an Em or En? M is for MOR€ MON€¥.

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

    It's AWESOME!! I want to know what code you use at tetris game!

  • @christophercutmore
    @christophercutmore 12 лет назад

    Well Done!

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

    snake und tetris aufen tisch zocken des isch ja mal geil :) good job

  • @lukay6230
    @lukay6230 11 лет назад

    What is the music when you play tetris please? It' awesome

  • @vanwinklebryan
    @vanwinklebryan 11 лет назад

    any way of you uploading a schematic of your PCB and a parts list? would love to build on my self

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

    Do it with a regular led screen tv

  • @Picmeo
    @Picmeo 11 лет назад

    wow! this is amazing!!!!

  • @brunoluiz1993
    @brunoluiz1993 11 лет назад

    Did you use RGB LEDs or 3 LEDs (Red, Green and Blue colored)?

  •  11 лет назад

    AMAZING !