Laser Projected Asteroids: ESP32 Reinvents Classic Arcade Game!

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

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

  • @atomic14
    @atomic14  3 года назад +1

    Interested in ESP32 Audio: ruclips.net/p/PL5vDt5AALlRfGVUv2x7riDMIOX34udtKD
    Looking for all my ESP32 projects: ruclips.net/p/PL5vDt5AALlRdN2KyL30l8j7kLCxhDUrNw

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

    The most creative project i have ever seen with esp32... thanks a lot. This ia fun indeed.

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

    This is by far the best esp32 project I've ever come across, and I've researched many! Excellent work! Now a big fan of your channel! I researched ILDA esp32 a couple years back, and you've broken it down perfectly! Absolutely Epic!!

  • @docteurzoidberg
    @docteurzoidberg 4 года назад +1

    very nice ! rare to see complex esp code like this one, very instructing

    • @atomic14
      @atomic14  3 года назад +1

      Thanks - I hope it was all understandable - towards the end of the project it did start to get a bit hacky!

  • @pennalarto1
    @pennalarto1 3 года назад +1

    Magnificent work 💪thank you.
    Your subs are about to go astronomical!
    Unexpected Maker has given you a great shout out today.

    • @atomic14
      @atomic14  3 года назад +1

      Thank you! It was a lovely surprise to get a shout out. ~500 subs in one day is pretty amazing.

  • @medvidekkrupicka1404
    @medvidekkrupicka1404 4 года назад +2

    Epic project, congratulations!

    • @atomic14
      @atomic14  3 года назад +1

      Thanks! I had a lot of fun making it. Was nice to do a bit of games programming (even though it's a pretty simple game).

  • @Protorobo1
    @Protorobo1 4 года назад +3

    Awesome! Great work.

  • @dl8cy
    @dl8cy 4 года назад +1

    Thanx for sharing your knowledge!

    • @atomic14
      @atomic14  3 года назад +1

      No problem - it's great to be able to give something back.

  • @leef_me8112
    @leef_me8112 3 года назад +2

    You could use the rotary encoder AS-IS, just make one revolution of the knob LESS than one revolution of the ship.
    But really, it is awesome.

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

      I made a new custom encoder using a magnetic sensor: ruclips.net/video/1UmqNF65rck/видео.html

  • @hayfahvytsen
    @hayfahvytsen 4 года назад +1

    Well done! Great job!

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

      Thank you! Cheers!

  • @alanmarshall1090
    @alanmarshall1090 4 года назад +2

    This is brilliant!

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

    Nice, thanks for sharing!

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

    Wish the ultra-hightech-advanced Unreal Engine would mix sounds as well as you have on an ESP chip! I get dropped sounds all of the time. :p

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

    this is so cool, massive kudos!

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

    Excellent project with galvoscanner.
    I suppose that you are using 12-bit DACs for the ILDA galvanometer signals?

  • @RixtronixLAB
    @RixtronixLAB 3 года назад +1

    Cool video, thanks :)

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

      Glad you liked it!

  • @Randy2747
    @Randy2747 3 года назад +1

    You are much better at electronics and not at playing asteroids lol jk great video and info keep em coming 😉👍🏻

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

    I’ve only watched two of your videos and I’m just amazed. How and where can I learn to write software like that? Do you have any advice - I want to start making embedded systems and being able to write complicated software like that would be amazing but right now I only know how to code simple stuff, without much OOP.

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

    It would be great if you could make the game “thrust” from the bbc to run on the esp32. Also a gravity game

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

      I remember playing that game!

  • @HoopstarsGarage
    @HoopstarsGarage 4 года назад +1

    Fantastic work..!!
    Any chance you're going to sell the boards?

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

      Hey Paul, I am considering it, if I do I'd want to make it a bit more user friendly and include a USB socket. It might not make economical sense though - by the time you take into account shipping and then reshipping the boards work out quite expensive. I do sell a small microphone board already on Tindie and it really only just breaks even. I do have two spare boards which I could put up on the Tindie flea market.

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

    Ever heard of the old vector graphic game called Omega Race? This system would be perfect for that.

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

      I'd not heard of it - but found a good video of it. ruclips.net/video/7Y-t5E4D_Iw/видео.html Weirdly, it does feel strangely familiar. I must have played it at some point.

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

      @@atomic14 That's it! I had one, an actual stand-up arcade unit, in my apartment in the mid '80's. My roommate and I played the crap out of that machine.Great two-player game. I had to sell it when I moved. Wish I could have kept it!

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

    Do you think that this would be convertible to a standard ILDA output to drive commercially available laser projectors?

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

      I think it is ILDA. Differential voltages +/- 5V (both sides, 10V total) for galvanometers and 5V for laser power. That is ILDA standard.

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

    where's game source taken from? This project could be great with Atomic Pi SBC for best server/client app

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

      The code is all on GitHub - the link should be in the description. The game code is all original - but it is getting a lot of help from the Box2D library.

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

    Very cool! Just curious though, why are there bright corners/points on all the laser drawn objects? Is it because the laser is spending more time illuminating those spots while drawing, because it stops momentarily in those spots before a change in direction?

    • @atomic14
      @atomic14  4 года назад +1

      Hi Daniel, that's correct, there's still something not perfect in my tuning for how long it takes the laser to move. It's very non-linear and quite hard to model. So I think for short lines I'm still holding too long when I wait for the galvos to catch up.

  • @pascallongpre7797
    @pascallongpre7797 4 года назад +1

    Man, this is really impressive! Just out of curiosity, how many hours did it take you to build all this?

    • @atomic14
      @atomic14  4 года назад +2

      Looking at the git logs, started working on it 8th Jan - so elapsed time is about a month - actual time working on it, probably only a few weekends if you squash all the time together. I've used things like Box2D before and that saved a lot of time that would otherwise have been spent building a proper game engine.

    • @atomic14
      @atomic14  4 года назад +2

      And probably a couple of evenings - to be honest, probably way more time than I should have :)

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

      @@atomic14 you're really quick! There's a lot of work in there! Thanks for sharing! I always learn a lot with your videos!

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

      @@atomic14 Super cool!

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

      @@atomic14 And it will take more than a couple of evening for me to just understand, what you have created from scratch with so much ease.

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

    Vectrex is in the place! Just wondering: do you have to wear special googles to play this ?

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

      Do you mean for protection from the laser? I'm using a very low power laser diode - probably similar to what you'd find in a laser pointer so it's reasonably safe.

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

    Wow, this is an incredible project! I've got a question about the clipping, though. Why did you add it? Did you consider or tried using other types of soft clipping?

    • @atomic14
      @atomic14  4 года назад +1

      Hi Hugo, I'm afraid I didn't apply too much thought to it - I knew that it needed to be clipped and that tanh was a popular function to do this. I need to do some proper investigation into this area. There's a bit of a discussion here on Reddit that might be interesting to you - www.reddit.com/r/DSP/comments/9aode7/why_is_it_that_tanh_and_atan_are_suitable_for/

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

    Do they make RGB laser diodes yet?

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

      No, but you can get pretty cool modules that do RGB lasers by combining three lasers and mirrors/prisms - optlasers.com/rgb-modules/4w-rgb-laser-module-v2

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

    nice. which kind of motor are you using? you said galva but i cant find them

    • @atomic14
      @atomic14  4 года назад +2

      Ah sorry, my voice is probably not too clear. It's a galvo motor. If you search on eBay for "laser galvo" you'll find a lot of results that look like "20Kpps Laser Scanning Galvo Galvanometer Scanner Set". These sets come with the power supply, driver boards and the galvo mirror assembly.

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

      @@atomic14 thank you. indeed galvo is available even on aliexpress. i'm looking forward for 100" lunar lander!!!

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

    collect2.exe: error: ld returned 1 exit status