Arduino Nerf Target Alarm Clock (Intro to Piezoelectricity)

Поделиться
HTML-код
  • Опубликовано: 5 фев 2017
  • Project and Video by Chris Guichet
    Learn to make a Nerf Dart Sensor using a piezo crystal!
    Table of Contents:
    0:50 - Piezoelectricity
    2:10 - Oscilloscope
    4:33 - Clock Build
    Music by On Ice
    / on-ice
    3D Printer: Ultimaker 2+
    Modeling Software: Fusion 360
  • НаукаНаука

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

  • @pglax
    @pglax 7 лет назад +18

    Awesome build! And thanks for showing how different a dart impact and finger tap look on the oscilloscope. Very cool!

  • @JeffreyWeidner
    @JeffreyWeidner 7 лет назад +3

    Loved the video and hopefully the following will encourage more. I have an 11 year old son who has just completed his first solo Nerf mod today, then I found this video. Obviously my son is not ready to take this on himself, but it inspired me to post a link and the following commentary to my FB friends: Had an interesting discussion with my son, Ivan, tonight. He asked me,"What's it like to be a scientist?" I shared with him about the first time I worked in a real research lab at UF over the summer when I was 16. About 2/3 of the way through the program, after I'd learned enough of the basics to be given a real experiment to do, I was meeting with my faculty mentor to go over the data and my understanding of what it might mean (as you might imagine, it was baby steps compared to most of what I've done professionally) was this, "I want you to remember this moment, because this is science. It won't always be like this and certainly every experiment doesn't work. But you ran the experiment, collected the data and did the analysis and until you told my you knew something that no one else in the world, perhaps in the history of the world knew." As you might imagine, those were very inspirational words for an impressionable, young "scientist" all of 16. As I told Ivan the story, I reflected back on his big accomplishment of today, his first solo mod of a nerf gun and how well it had turned out. It struck me that there are many professions (engineering, writing, cooking, art, music, ...) that offer that challenge of figuring something out for the first time, so after he went to bed, I thought I'd explore youtube for other examples and very quickly found this. My question for everyone is, do you have a similar story to share? At it's heart I see very strong parallels to the scientific method in all the examples that I could think of and all I want is to help him ultimately find a career/calling that he will love, so it's a passion and not a job. But this my friends is why I believe we need to teach our kids about science early and often.

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

      Thanks for the nice words Jeff! A big part of why I make these videos is to expose kids to making/engineering before they have to choose their major. It's not for everyone, but hopefully everyone at least has some exposure so they can make an informed decision.

  • @JeremyCook
    @JeremyCook 7 лет назад +7

    Nicely done! Such a good job on the housing.

  • @pacowang283
    @pacowang283 6 лет назад +1

    I just found this channel and wow, this is great. I hope all is well. I see it has been 11 months since your last video. Hope to see more. Thank you for these!

    • @TheNormalUniverse
      @TheNormalUniverse  6 лет назад +1

      PacoWang thanks for the nice comment! Work got crazy but I’m FINALLY making progress on the video for how to program the clock. Should be done in a few weeks.

  • @BettermentBites
    @BettermentBites 5 лет назад +1

    This is amazing, a really cool a really wise application for the piezo.

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

    This video is underrated!

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

      Haha thanks well not in my case I rate myself 5 out of 5 😎👌

  • @thiagoabsc
    @thiagoabsc Год назад +1

    Nicely explained and done! Keep up!

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

    Was thinking about a DIY nerf targets for my son and myself, so thanks for the inspiration on using piezo as impact sensor. Result by now two nerf targets in different game modes. 1.8 TFT attached for display a healthbar and infos using Arduino Nano connected to a Pi Zero (so you can set up Game Details via Website). You can set the targets to friend or enemy. One more is in progress.

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

      Wow awesome!! I think you're the first person who replicated this project. In retrospect I think I overengineered it and would just use a microswitch if I did it again. But it was a good opportunity to chat about piezo crystals.

  • @emilyguichet5248
    @emilyguichet5248 7 лет назад +6

    Absolutely amazing -- But all I understand is your shooting the alarm clock.

  • @DanielBoa
    @DanielBoa 7 лет назад +3

    Wow great job, would be really interested to see the code

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

    Very Underrated Channel On youtube. Amazing work!

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

    Hey bud, did you ever release that video where you go in depth with the 'dart sensor FSM' ? I'm working on a similar project and it would really help. Thanks!

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

      Hey! I didn't make a video about the dart sensor FSM in particular, but I did make a really detailed video about how to do state machines on Arduino. Check the video "Multitask Arduino with State Machines"

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

    Amazing design work! Thanks to this my black friday's 9 euros Nerf gun will leave the drawer :)

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

    Just found this channel through a google search on DIY gym bag. Thanks for the fun tutorials! also, how much could I pay you for one of these nerf clocks?? Brilliant!

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

      Mika Rose thanks for the nice comment! Haha no clock is not for sale, but I hope to sell one of my creations in the future. Whatever it is.

  • @petezel
    @petezel 7 лет назад +1

    Coming from HaD, excellent video - thanks for showing the clamping effect of the LEDs on the scope and the difference between finger vs dart. Is it possible that a smaller lump of cardboard would oscillate at a higher frequency? it should be an under damped spring-mass system right? thanks for the video!

  • @manuelpalmeira1923
    @manuelpalmeira1923 7 лет назад +3

    Really liked this project! Do you have an Instructables page or something like that for it? I'm really thinking about doing something like this :D

    • @TheNormalUniverse
      @TheNormalUniverse  7 лет назад +7

      I may compile the CAD and code to share. I'll let you know if I do.

    • @krijnverbruggen1081
      @krijnverbruggen1081 7 лет назад +3

      Please do :)

    • @anthonyb8113
      @anthonyb8113 5 лет назад +1

      @@TheNormalUniverse Any chance you decided to share the code? I would love to learn how you coded to ignore the finger taps.... Awesome videos by the way!

    • @TheNormalUniverse
      @TheNormalUniverse  5 лет назад

      Anthony B hi Anthony sorry I don’t plan to share this code. It’s too messy and I can’t navigate it anymore.

  • @twoatsea
    @twoatsea 6 лет назад +2

    Brilliant!!!

  • @andreaslekas5786
    @andreaslekas5786 6 лет назад +1

    Did this ever get a follow up? I've been looking around and would love some detail on the programming of the dart sensor. Great work and thanks!

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

      Andreas Lekas hey not yet! I’m almost done, it’ll be a video on State Machines. Here’s a quick video test for the follow up. ruclips.net/video/yHnQxAeRhqU/видео.html

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

      Awesome! Looking forward to it. Subscribed!

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

      Follow up ready! It’s my latest video on State machines

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

    This is the future

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

    Subscribed to get the code in the next video :). Great project. And I'll add to the requests to post the CAD for folks to remix/modify etc. Posting .stl is fine, but something that folks can easily modify without having to go back from mesh to solid is awesome.... so either .step or .iges. And yes, I'm guilty of this as well - we should all commit to posting source files in several formats. Again - great project. And thanks for taking the time to make the production value high - good sound is often overlooked.

    • @TheNormalUniverse
      @TheNormalUniverse  7 лет назад +1

      +LosGuysLive hey thanks a lot. I'm working on a follow up with just the things you're thinking of. Been swamped with work for a few months, sorry to take so long!

  • @Lyncheese
    @Lyncheese 7 лет назад +1

    Cool !!! And a creative way in interfacing the alarm configuration using only led colours and a potentio (I guess?) Anyway, I didnt see any RTC. Is arduino is accurate enough as a clock, lets say for a month ?

    • @TheNormalUniverse
      @TheNormalUniverse  7 лет назад +1

      Charles Lyncheese hey Charles. It happens to be a rotary encoder. I thought about using a potentiometer but it wouldn't be precise enough to control 60 LEDs (1023 pot values / 60 LEDs = ~ 17 pot values per LED).
      Nice catch! Yup no RTC used. I'm not sure how accurate it is. It can keep time for about a week, but I haven't done a long test. I only use it for coarse time keeping in the garage, so it doesn't need to be dead on. I currently don't know how to interface with an RTC, gotta learn that.

    • @charleshung157
      @charleshung157 7 лет назад +1

      I see... Thank you for the answer and the correction. I personally, never used a rotary encoder before. Will look into that. Happy Learning !

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

    You're way too smart!

  • @ilovetheletterB
    @ilovetheletterB 7 лет назад +1

    This is brilliant.

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

      Brendan C. Thanks Brendan! Follow up video incoming, sorry it's taking forever!!

  • @JohannRohn
    @JohannRohn 7 лет назад +1

    Thats really cool. Love the basic interface! Whats the wood called or where did you get it from?

    • @TheNormalUniverse
      @TheNormalUniverse  7 лет назад +1

      Hey Johann you're looking for "Adhesive Backed Wood Veneer" I got it on Amazon.

    • @JohannRohn
      @JohannRohn 7 лет назад +1

      Thanks!

  • @MrRube007
    @MrRube007 6 лет назад +1

    nice :) , can you put a esp32 in it to sync with for multiple alarms ?
    btw good job ^^

  • @clemd.7012
    @clemd.7012 7 лет назад

    Hi ! This clock is amazing !
    But, i wonder: is there no difference for the piezo crystal between the cardboard and the 3D printed support ? Or did you have to adjust your arduino code according to your support

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

      +Clem D. I actually never checked that on my oscilloscope. Once I connected the printed sensor I twiddled with thresholds until it started working. I need to dig deeper because it has some false positive and false negative problems. I think the cardboard is better because it's much springier than the plastic.

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

    That is pretty cool. Haven't taken one step further what if you made it into a nerf Night light where in order to turn on or off the nightlightHe required a Nerf dart?

  • @goatxrd7
    @goatxrd7 2 года назад +1

    How would I build this myself at home and what is the programming for it
    (I reaaaaalllly want to build it and I am quite new to Arduino so if anyone can respond to this I would be sooooo happy)

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

      Hi Sherville. I think I made this project way more complicated than it needed to be. I would cancel all the piezo stuff and use a microswitch. A microswitch is just a button with a very sensitive push you you can trigger it easly. So maybe put a microswitch between a piece of cardboad. The dart will push on the cardboard and activate the microswitch

  • @zandrolc2209
    @zandrolc2209 Год назад +1

    Hello
    I would like to know how did you write the code for Arduino.

  • @john-doe-r
    @john-doe-r 6 лет назад +1

    You could do a voltage divider for 2.5V middle point.

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

    could i do something similar but instead of nerf darts you can throw a ball at it? was wondering if you could help me out.

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

      Hi Anythony thanks for asking. I'm sure you can make something work. Actually in retrospect the piezo crystal method is too complicated for this project. There is a simpler option, it's called a microswitch. It's a switch that has a very soft trigger shaped like a paddle that actuates the switch when the paddle is pushed. So just connect the paddle to your target and you should be good to go. Good luck!

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

    Do you have more information in how you did the housing? This clock looks really awesome :)

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

      +Andrea Koo I modeled it with Fusion 360 (free from Adobe). I'll probably make a video on that sometime

  • @Mljohns80
    @Mljohns80 3 месяца назад

    Awesome video. Was wondering if you could give me guidence or tips on something similar?

    • @TheNormalUniverse
      @TheNormalUniverse  3 месяца назад +1

      Sorry I don’t have the energy to give more help right now, the video was my contribution. Good luck on your project! The one piece of advice I always give though is to get the book “getting started with arduino” by Banzi if you’re just starting out

    • @Mljohns80
      @Mljohns80 3 месяца назад

      @@TheNormalUniverse I completely understand. Thank you so much for responding and I will def check out the book! Have a great night

  • @gustovmesen-jarquin371
    @gustovmesen-jarquin371 5 лет назад

    Hi, Normal Universe,
    My 9 year old showed me your video, which is awesome by the way.
    We are wondering where we could find detailed instructions on building this nerf alarm arduino clock.
    Could you point us in the right direction?

    • @TheNormalUniverse
      @TheNormalUniverse  5 лет назад

      Gustov Mesén-Jarquín hey thank you for your interest! The best I have is my video on state machines, which describes the method I used to think about and organize the code for this clock. Unfortunately, I don’t have specific step by step instructions for this clock and don’t plan to make any since I’ve moved onto new projects.

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

    are you selling these or how much would it be to request one built?

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

      Hey Dom! I'm glad you like it. Sorry I'm not selling these. It takes me so long to make one I would need to charge hundreds/thousands of dollars (it took me 40-50 hours the first time). Worse it's not reliable enough to justify the cost. I do want to make and sell synthesizers in the future though! I have something in the works.

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

      okay, thank you for replying anyway! im gonna make a more simplistic version for my GF and i that just will be a pressure switch on the wall that snoozes our normal analog alarm clock.

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

      @@dommatryx4660 awesome! Ya I think my clock was way overengineered, I just needed a project to learn with. I think the realistic way to do this is use a microswitch as the dart sensor. Buy an alarm clock and replace the snooze button with your microswitch on the end of a long wire. I'd love to see it on instagram @LesGuichets if you want to share it when you're done. Have fun!

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

    Hello, congratulations for this project which gave us a great idea!
    We realized with my son of 9 years the electronic part as well as the code and a cardboard prototype. Would it be possible to have the plans for the 3D part imprinted? Thank you in advance.

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

      +Laurent Martens hi lauren I'm working on a follow up video that will include the code and the model.

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

    Awesome project! Have you thought of Kickstarting it and selling it? But even if you don't I'd love the code and possibly an in-depth tutorial so popped who are as well versed on technology could make them, you've got something big here because the IR alarm clocks don't work because... You know... IR isn't exactly good at not bouncing...

    • @TheNormalUniverse
      @TheNormalUniverse  7 лет назад +1

      +MagicCookie deeyoope. Follow up incoming with all those things (will take a few weekends). No plan to kickstarter it.

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

      +Normal Universe Awesome, can't wait, congratulations on your success with the final project! And sorry about my comment being so hard to read, I typed it fast in class and didn't proof read.

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

    Should be able to program it for ping pong balls too, right?

  • @keepsix8367
    @keepsix8367 7 лет назад +1

    brilliant

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

    Amazing! can you go through the steps on how you made it in details? software wise. I wanna make one for myself I really like it

    • @TheNormalUniverse
      @TheNormalUniverse  7 лет назад +1

      +Yasser Alshalaan hi yasses im working on a follow up video which will detail the code and I'll probably have the 3d ready to share too.

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

    Really cool.

  • @r5bc
    @r5bc 5 лет назад +1

    Still waiting for the video with the explanation of the algorithm...

    • @TheNormalUniverse
      @TheNormalUniverse  5 лет назад +2

      Angel Cellfride oh sorry to keep you waiting for so long. I ended up pivoting a bit and making that video about how to program state machines, I believe it’s a more fundamental description of how I programmed this than just going over this code line by line. I used a state machine to implement the concepts I described in this video, where I count the number and frequency of peaks and use that to detect dart hits.
      Edit: I flash up the state machine diagram for the dart sensing toward the end of that video.

  • @saswatnanda3481
    @saswatnanda3481 7 лет назад +1

    can u please share the code of arduino you used. excited to build this awesome project

    • @TheNormalUniverse
      @TheNormalUniverse  7 лет назад +3

      Hi Saswat, the code is a little janky and not ready for sharing. I'll share it when I have some time to clean it up.

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

    code details in description ?! call me stupid but where can i find the code for this project?

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

      I didn't release this code exactly, it's too janky for public release. If you look at my video on state machines I talked all about how I structured the code and have some examples there for how I coded switches with that structure.

  • @selah2613
    @selah2613 7 лет назад +1

    what about programming

  • @australianpride2164
    @australianpride2164 6 лет назад +1

    very good education make me make good arduino one XD ty

  • @jenniemp2561
    @jenniemp2561 Год назад +1

    I wanna buy one its soo cool

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

    Very nice video! I just subbed. I recently started playing with the Arduino, and I just got a 3d printer, so I'm hoping to get a lot out of this channel! It would be awesome if you decided to upload the code for us to try!

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

      Jeff Cournoyer Jeff Cournoyer awesome! Glad to hear you're tinkering. I plan to cover more introductory topics in the future so hopefully that will help. I'll upload code samples once I get the video done explaining the code.

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

    How can I learn about piezoelectricity. From Where do I start from zero..

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

      I know one great resource, unfortunately it's expensive: Handbook of Modern Sensors by Jacob Fraden. If you can't get your hands on that then I suggest lots of googling.

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

      @@TheNormalUniverse thanks mate 😊

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

    please post follow up! very interested in code. love the build

    • @TheNormalUniverse
      @TheNormalUniverse  7 лет назад +1

      Brandon Edwards thanks! Follow up coming in a couple weeks.

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

    I'd like to recommend you a new alarm clock ⏰ 🏃‍♂️ 🏃‍♀️

  • @1ts7ust7osh
    @1ts7ust7osh 5 лет назад +1

    Please Start Making More vids
    There Great!!!

    • @TheNormalUniverse
      @TheNormalUniverse  5 лет назад +1

      Thanks man! I appreciate the encouragement. I burned out a bit on the state machine video, it took almost a year once you factor in work life balance. I'm going to reset and start making simple videos again just to get the juices flowing. Lately I'm more interested in sewing though so there won't be electronics vids for a while.

    • @1ts7ust7osh
      @1ts7ust7osh 5 лет назад +1

      Good to Hear!
      Can't wait, Take as much time as you need.

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

    I think I will have fun shooting and continue to sleep afterwards.

  • @BettermentBites
    @BettermentBites 5 лет назад +1

    Are you posting the code?

    • @TheNormalUniverse
      @TheNormalUniverse  5 лет назад

      Eddy Luna hi eddy, sorry to plan to post the code, it’s not good enough to share. I did make a really detailed video about state machines which is what I used to program this. The video is in my channel.

    • @BettermentBites
      @BettermentBites 5 лет назад +1

      Normal Universe Sorry to ask one more question. I saw those videos and I thank you for the detailed explanation. I don’t have an oscilloscope, do you believe this is something I can accomplish without it

    • @TheNormalUniverse
      @TheNormalUniverse  5 лет назад

      @@BettermentBites yes I think it's possible, but it will be tricky. Without an oscilloscope it's hard to see what's happening in your circuits. One thing you could do is program the arduino to repeatedly read an analog pin and print the value. Then you could take that string of values and plot them in excel or something to see what the analog pin is seeing.

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

    Genius

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

      Thanks Woodrow! I was nice meeting you and seeing your studio a while back! I still need to upload the video I made. Any quadrant events coming up I can help shill for?

    • @woodywiest
      @woodywiest 6 лет назад +1

      Another woodrow I presume? Nice, one could say we are not such a common breed. To my surprise a quick 'woodrow, quadrant' query into the depth reveals cinematic brilliance! Thank's for the tip, however unintended :)

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

      Woodrow Wiest haha amazing. Somebody in the thumbnail of your video looks like my friend David, who played the clones in Quadrant. (FYI Quadrant the movie doesn’t exist. My friend David and his friend Woodrow just made trailers)

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

      Normal Universe , what’s your story? The event machine programming video is spectacular and the first I have seen of its kind. That kind being a clear and thorough multitasking video which is entertaining to watch and interesting to implement. What’s your background? Where are you in the world?

    • @TheNormalUniverse
      @TheNormalUniverse  6 лет назад +1

      Thanks again! That multitasking video is definitely my mastahpiece so far. It took me over a year with work life balance and stuff. Being technical and 30 minutes long it’s for a small audience, but people are still watching it and leaving nice comments which is great.
      I did mechanical engineering at UC Berkeley and learned arduino/electronics from RUclips videos (especially Collin’s Lab!). Right now I work as a Mech E at one of those mega tech companies near San Francisco. The videos are my hobby because I want to brainwash the kids to make things, and especially get into engineering (if it’s right for them). I think I got my early internships/jobs because I was one of the only college students who had made projects and could talk about those stories at my interviews, so ya I hope to motivate people to get crafty.

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

    Make Trampoline (or anything) that you need to jump on it 10 times to stop it. That will wake you up.

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

    Can u share codes please!! :)

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

    the fuck am i watching :PP

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

    This made me depressed please stop

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

    so much work... just for nothing.