Arduino TETRIS Game With RGB LEDs

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ส.ค. 2019
  • $2 for 5PCBs (Any solder mask colour): jlcpcb.com
    I wanted to make this project of the Arduino based TETRIS game for a long time. I hope you will like it too. You have source code from Marginally Celver below and also my code with the extra parts for score and top score, music pause, etc... See tutorial below for step by step build, part list and schematic...
    Help my projects on Patreon : / electronoobs
    my Q&A page: electronoobs.com/eng_preguntas...
    Facebook page: / electronoobs
    Canal en Español: / electronoobs en español
    make an account on ELECTRONOOBS.io: electronoobs.io/
    -----------------LINKS-------------------
    Marginally Celver source code: www.marginallyclever.com/2015...
    Tutorial website: electronoobs.com/eng_arduino_...
    Also here: electronoobs.io/tutorial/30
    Part list: electronoobs.com/eng_arduino_...
    Schematic: www.electronoobs.com/eng_ardu...
    Code: www.electronoobs.com/eng_ardu...
    Mp3 files: electronoobs.com/images/Ardui...
    -----------------MATERIAL-------------------
    Arduino MEGA: ebay.to/2PcjynB
    WS2812 LED strip: ebay.to/2Zr4NNA
    7-segment display module: ebay.to/2zhCkze
    5V power supply: ebay.to/2Zf2phN
    DFplayer: ebay.to/340YwvR
    On/Off switch: ebay.to/2Ntge51
    Buttons: ebay.to/30xHumy
    Joystick: ebay.to/2ZnAM1a
    Small speaker: ebay.to/2HmaOoQ
    Wire: ebay.to/31Zj9q9
    PRINTERS FDM
    -------------------------------------
    All printers: bit.ly/2lPkaS7
    Tron X1 (only 89.5€): bit.ly/2kiqpx9
    Coupon: "U363AD0D5558D000"
    Creality Ender 3: bit.ly/2kLbJa7
    Coupon (169.9$): "1J6X3Z40U1"
    Alfawise U30 (145€): bit.ly/2kLtMNr
    Alfawise U20 (236€): bit.ly/2kBYZmi
    Alfawise U50 (181€): bit.ly/2kNSk8m
    Crealitu CR10 (345€): www.banggood.com/custlink/mvK...
    Creality CR20 (363€): www.banggood.com/custlink/KvD...
    TEVO Tarantula Pro (199€): bit.ly/2mcbeGn
    Anycubic MEGA- S (354€): bit.ly/2lSiQh8
    PRINTERS RESIN
    -------------------------------------
    Anycubic Photon SLA (400€): www.banggood.com/custlink/mKD...
    Alfawise W10 SLA (245€): bit.ly/2lOiQPf
    Longer Orange 10 (208€): bit.ly/2mkgCaN
    Like share and subscribe to motivate me. Thank you
    #Arduino
    #TETRIS
    #RGB
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 83

  • @ELECTRONOOBS
    @ELECTRONOOBS  4 ปีที่แล้ว +5

    Sign up at ELECTRONOOBS.io: electronoobs.io/
    Follow me on FACEBOOK for more: facebook.com/Electronoobs
    help me on Patreon: www.patreon.com/ELECTRONOOBS

    • @ayaweb
      @ayaweb 4 ปีที่แล้ว

      Electronoobs, 1 week ago?!?

    • @deepakjoshi6242
      @deepakjoshi6242 4 ปีที่แล้ว

      Have you encountered that audio clip-blip at 11:33 ??

  • @wardprocter2371
    @wardprocter2371 4 ปีที่แล้ว +2

    Cool project, thanks for sharing! You’re one of very few TH-camrs that offers relatively simple (but not boring) projects for beginners. I appreciate that and love the fact that you back it up with your website.

  • @TrickyNekro
    @TrickyNekro 4 ปีที่แล้ว +20

    You should paint the spacers (foam grid) black, color bleeding is extensive. Also try to make the frame a bit more rigit. Control panel is flexing like crazy.

    • @ELECTRONOOBS
      @ELECTRONOOBS  4 ปีที่แล้ว +2

      Thanks for tips!

    • @TrickyNekro
      @TrickyNekro 4 ปีที่แล้ว +1

      @@ELECTRONOOBS And thank you for the ideas and entertainment!!!

    • @TrickyNekro
      @TrickyNekro 4 ปีที่แล้ว +1

      @@ELECTRONOOBS BTW you could explore the idea of using a diffuser from an old TFT panel and maybe a clear glass on top of that. And then even use it as decoration, with a random selection prerecorded tetris games. And maybe even sell it also after the refinement, why not?

    • @amelee3
      @amelee3 4 ปีที่แล้ว +1

      @@TrickyNekro how would you have it play a prerecorded tetris game? that sounds interesting.

  • @Nono-hk3is
    @Nono-hk3is 4 ปีที่แล้ว +1

    I suggest cutting some hardwood or pine strips with mitred corners to make a frame around the unit, woodgluing it to the edge plywood and at the corners. Use a chisel or a coping/jewelers saw to cut reliefs for the switches and plugs along the side. It should add significant strength without much rework.

  • @RacoonMedia
    @RacoonMedia 4 ปีที่แล้ว

    Ha... Made something similar but a bit bigger 2 years ago. With a lot of sensors and extra pixel games.
    You had a interesting take on it. Well done

  • @JamesFraley
    @JamesFraley 4 ปีที่แล้ว

    Great video. Very instructive. Very thorough. Thank you for making it.

  • @MCsCreations
    @MCsCreations 4 ปีที่แล้ว

    Wow! Beautiful job, dude! Really nice!!! 😃

  • @stephanedenis5394
    @stephanedenis5394 4 ปีที่แล้ว

    Another great project. Thanks for sharing !

  • @rijden-nu
    @rijden-nu 2 ปีที่แล้ว

    Took me a while to get used to the accent, but once I did... Awesome video!

  • @NeonblueIndustries
    @NeonblueIndustries 3 ปีที่แล้ว

    Great Vid, as always Man! One good inprovement would be to put aluminum adhesive backed film on side edges around each LED cell quadrant. This stops the light spilling into the adjacent cell and makes for a more accurate representation of each object piece and more efficient use of the light. Why the Banana? Maybe I'm not getting the joke...?

  • @SteeveAustin
    @SteeveAustin 4 ปีที่แล้ว

    @Electronoobs Hello, thanks for this great project !! I trie to reproduce but when i press left or right bouton piece move but return
    instantly to it original place. Do u know whats wrong ? Thanks

  • @clarissearaujo1800
    @clarissearaujo1800 4 ปีที่แล้ว

    Hola!, tengo pensado hacer este proyecto pero me surgen algunas dudas, primero que nada ¿funciona si en lugar de 220v utilizo 110v? Y en lugar de el cable que usas para conectar los leds, se puede usar cable de red? Es el que suelo usar para mis practicas de electrónica, gracias por todo el proyecto esta genial 😊😉

  • @tomatexelon
    @tomatexelon 4 ปีที่แล้ว

    So cool, I need to build this..

  • @electronic7979
    @electronic7979 4 ปีที่แล้ว +1

    Excellent project 👍

  • @SnifterRoux
    @SnifterRoux 4 หลายเดือนก่อน

    Would a Teensy 3.2 work instead of the Arduino mega? The Teensy also has 256k flash

  • @corylarson1345
    @corylarson1345 ปีที่แล้ว

    What is the input latency on something like this? We want to build one 10' tall for an art project

  • @daveowen8933
    @daveowen8933 4 ปีที่แล้ว

    I built this with some mods, the biggest mod would be the grid is 20 pixels wide X 28 pixels High. the next is using buttons with resistors in place of pot-meters the last is commenting out the following buttons Left, Right, Drop, Rotate

  • @He4vyD
    @He4vyD 4 ปีที่แล้ว

    Any particular reason you put the joystick on the right side and the buttons on the left side? Maybe you are left-handed?

  • @Jobekol
    @Jobekol 3 ปีที่แล้ว

    Since u do a custom LED matrix couldnt't u make a proper classic tetris size 10x20?

  • @eleven_001_11
    @eleven_001_11 4 ปีที่แล้ว

    Great videos again and again and again...

  • @jmckenzie97
    @jmckenzie97 3 ปีที่แล้ว

    The DF player wiring didn’t make sense mine was different still can’t figure it out. Plus you don’t explain the mp3 file format and that info. Help?

  • @rolandodios1227
    @rolandodios1227 4 ปีที่แล้ว

    Esta genial, me gustaría hacerlo en mi mesa

  • @thesmartass
    @thesmartass 4 ปีที่แล้ว +1

    Some more matrix projects please😍😍😍...... But with normal LEDs not RGB.

  • @wintechblog6066
    @wintechblog6066 4 ปีที่แล้ว

    Really cool!!

  • @medmed-wz5ck
    @medmed-wz5ck 4 ปีที่แล้ว

    Great work

  • @lelandclayton5462
    @lelandclayton5462 4 ปีที่แล้ว +2

    Thats pretty cool but I would of used Black foam since the Light is bleeding into the other squares.

    • @SidneyCritic
      @SidneyCritic 4 ปีที่แล้ว +1

      There's also a slight gap under the grid where it goes over the LED flex, so maybe that is bleeding also.

  • @mesutkilic
    @mesutkilic 4 ปีที่แล้ว

    nice project

  • @TheJay6621
    @TheJay6621 4 ปีที่แล้ว

    Tetris will never be an OLD GAME.

  • @jaishankarm5920
    @jaishankarm5920 4 ปีที่แล้ว

    Nice work bro😁😁😁😁😁😍😍😍😍😍😘

  • @swiftrick15
    @swiftrick15 4 ปีที่แล้ว

    Maybe put a tint on the front screen and it will lessen the bleeding of the lights

  • @Danixu86
    @Danixu86 4 ปีที่แล้ว

    Why the joystick is at right side?, I think that on all consoles is at left side.

  • @BharatMohanty
    @BharatMohanty 4 ปีที่แล้ว

    Great...please make some rovers...

  • @jaechanglee5451
    @jaechanglee5451 3 ปีที่แล้ว

    MINI MP3 player citcuit needs to be changed. 5V should be connected to pin 1. Then you can listen to the music loud enough without AMP.

  • @TheTurbotommi
    @TheTurbotommi 4 ปีที่แล้ว

    Nice project, but wouldn‘t it be better to use black foam to separate the fields. I believe this would absorb the light and bring a lot more contrast

    • @ELECTRONOOBS
      @ELECTRONOOBS  4 ปีที่แล้ว +1

      Yes, that could improve

  • @gonzaloolguin7937
    @gonzaloolguin7937 4 ปีที่แล้ว

    You are awesome

  • @_adamalfath
    @_adamalfath 4 ปีที่แล้ว

    Placing main power cable near user joystick probably not very good idea, but cool project

  • @affohalassani3212
    @affohalassani3212 4 ปีที่แล้ว

    very good

  • @Drxxx
    @Drxxx 4 ปีที่แล้ว

    Amazing project. It is a little to bright? Or it's only Camera view?

    • @ELECTRONOOBS
      @ELECTRONOOBS  4 ปีที่แล้ว +1

      Camera view. In real life I can see the squares perfectly

    • @Drxxx
      @Drxxx 4 ปีที่แล้ว

      Perfekt!

  • @abeditani8293
    @abeditani8293 4 ปีที่แล้ว

    Nice . I want to try it with screen of Nokia screen . Is it possible ? ( Small size with nano )

    • @ELECTRONOOBS
      @ELECTRONOOBS  4 ปีที่แล้ว +1

      The code would be different. Try it

  • @SrJoaoMulti
    @SrJoaoMulti 2 หลายเดือนก่อน

    awesome

  • @deepakjoshi6242
    @deepakjoshi6242 4 ปีที่แล้ว +6

    Who else encountered that audio clip-blip at 11:33 ??

    • @ELECTRONOOBS
      @ELECTRONOOBS  4 ปีที่แล้ว +3

      Omg, what is that? I guess an error passed my final check...

    • @deepakjoshi6242
      @deepakjoshi6242 4 ปีที่แล้ว +2

      @@ELECTRONOOBS That's inspiring , everyone does mistakes. 😛😜
      Love your videos and thanks for all the great content and so much efforts.👌👏👏🙏🙏
      Can't become your patreon but I try to be a loyal subscriber/viewer.❤
      Love and support from India.🇮🇳🇮🇳

  • @uwezimmermann5427
    @uwezimmermann5427 4 ปีที่แล้ว

    It's a cool project, but you really should use a strain relief on the 240 V power cable. Using a regular feedthrough or cable gland which you can buy at the hardware store also has the advantage that it uses a round hole which is easier to drill than your squarish hole.
    upload.wikimedia.org/wikipedia/commons/thumb/1/14/Presse-etoupe.jpg/400px-Presse-etoupe.jpg

  • @diyunlimited833
    @diyunlimited833 3 ปีที่แล้ว

    Hi great project ! can this be ported to the uno or nano ?

    • @jaechanglee5451
      @jaechanglee5451 3 ปีที่แล้ว

      I made it using Arduino UNO but it works very well.

  • @SidneyCritic
    @SidneyCritic 4 ปีที่แล้ว

    The red ones look red, but all the others are bleached white. Any chance to PWM the other colours dimmer.

    • @uwezimmermann5427
      @uwezimmermann5427 4 ปีที่แล้ว

      it could just be the camera setting as well...

  • @noobcpep3147
    @noobcpep3147 4 ปีที่แล้ว

    joy stick has 5 pins, and on the schematic you only used ground, 5v , dx and dy how about that 1 extra pin on the joystick which is "SW"

  • @siddharthmali5841
    @siddharthmali5841 4 ปีที่แล้ว

    Great

  • @elabinnovations
    @elabinnovations 4 ปีที่แล้ว

    Please compare these three libraries
    Adafruit SSD1306,
    U8g2lib and
    U8g2_for_Adafruit_GFX

  • @pepesanchez8358
    @pepesanchez8358 4 ปีที่แล้ว

    Hello. Is possible put the Code in Arduino uno?

    • @jaechanglee5451
      @jaechanglee5451 3 ปีที่แล้ว

      I made it using Arduino UNO but it works very well.

  • @alexstone691
    @alexstone691 4 ปีที่แล้ว

    why did you have to use one of more expensive arduino boards

    • @RacoonMedia
      @RacoonMedia 4 ปีที่แล้ว +1

      Clones of the mega are cheap.. I used an Arduino Due for mine. Gives me a lot of expansion capabilities.

  • @ayaweb
    @ayaweb 4 ปีที่แล้ว +1

    Alex Gyver have already done this game) You are too late!

  • @sarthaksuman6554
    @sarthaksuman6554 4 ปีที่แล้ว

    ✌✌✌👍🏻👍🏻

  • @andrejladislavsmith
    @andrejladislavsmith 4 ปีที่แล้ว

    Mega is kinda overkill but ok

  • @hunkbol6154
    @hunkbol6154 4 ปีที่แล้ว +6

    i like this project but Sir today Is my last day
    I don't want live
    Reason is my financial status

    • @homo_sapiens_sapiens
      @homo_sapiens_sapiens 4 ปีที่แล้ว

      Lol he just loves your comment!

    • @jacks4321
      @jacks4321 4 ปีที่แล้ว

      Kya Hua Bhai Hamlog Hai Na help Kar Sakte Hai

    • @homo_sapiens_sapiens
      @homo_sapiens_sapiens 4 ปีที่แล้ว

      @@jacks4321 ***MICROWAVE BE LIKE MHMMMMMMMMMMM***

    • @ristomatti
      @ristomatti 4 ปีที่แล้ว +1

      What else could one give to a random commenter complaining about financial problems on a video about DYI electronics than a heart of empathy? (It seems like he has just added a heart to pretty much every comment.)

    • @homo_sapiens_sapiens
      @homo_sapiens_sapiens 4 ปีที่แล้ว

      @@ristomatti of course, probably just read i like your video... and clicked heart

  • @lalitham.p4231
    @lalitham.p4231 4 ปีที่แล้ว +1

    999th viewer

  • @danteparolatorres2260
    @danteparolatorres2260 4 ปีที่แล้ว

    Play

  • @Th3King86
    @Th3King86 ปีที่แล้ว

    I'd rather make tetris for an lcd screen. Fuck this.