Free Fall Detection / Direct Register Programming / ADXL345

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • This video will describe a Free Fall detection circuit using an ADXL345 Accelerometer together with an Arduino Nano. Direct register programming using Forth will be used for fast project development.

Komentáře • 43

  • @ShellacScrubber
    @ShellacScrubber Před 4 lety

    Another excellent video.Thank you for sharing it with us.
    I have to say, that in the process of learning the Forth language, I am revisiting a lot of your videos; the ones in which you share and explain your code and at last they're making sense to me !
    This Forth stuff with it's quirky back-to-front coding is very addictive!

    • @0033mer
      @0033mer  Před 4 lety

      Thanks for the feedback.

  • @coxsj
    @coxsj Před 4 lety

    Love your stuff. Thank you!! Have to say I'm not a big Forth fan, haven't used that for about 20 years and I find C/C++ much easier to follow.
    Thanks again, really appreciate you making these videos.

    • @0033mer
      @0033mer  Před 4 lety

      Thanks for the feedback. I started programming in C/C++ back in the day with Borland C/C+. I still do, but I like using Forth to control hardware. I know it's not mainstream but I have been doing it for a while.

  • @bikashgururandom
    @bikashgururandom Před 3 lety +2

    Thanks
    I also subscribed your channel
    I loved this video
    I want see wiring diagram
    And code

  • @shaunferris6063
    @shaunferris6063 Před 2 lety +2

    hello, this is amazing and simple exactly what i need for my rocket . im not coder but im looking for something this simple. I cannot find anywhere. will you perhaps share your code ? thank you

  • @StigBSivertsen
    @StigBSivertsen Před 4 lety

    Awesome thanks for sharing 👍

  • @d.k.ssanwariyacreation3733

    Good work

  • @kenappleman5444
    @kenappleman5444 Před 4 lety

    Very interesting thank you very much

  • @aaronblakeley9442
    @aaronblakeley9442 Před 3 lety

    Great video!

    • @0033mer
      @0033mer  Před 3 lety

      Thanks for the visit

    • @aaronblakeley9442
      @aaronblakeley9442 Před 3 lety

      @@0033mer Any chance of using something like this on a drone for a parachute or inflatable device? You might have something here my man.

  • @jzoutlaw7797
    @jzoutlaw7797 Před 4 lety

    Great video! Not too familiar with Forth though. Does the arduino nano have to stay plugged into the computer in order to work? Or could this work if disconnected as well?

    • @0033mer
      @0033mer  Před 4 lety

      It can run stand-alone with an external battery. The USB connection was used just to supply power.

  • @neeldalwadi3881
    @neeldalwadi3881 Před 3 lety +2

    Hey!! Can you provide a link of this code??

  • @markday3145
    @markday3145 Před 3 lety

    It didn’t look like the interrupt pin on the accelerometer is connected to the microcontroller. Are you polling the accelerometer’s register for the interrupt status?

    • @0033mer
      @0033mer  Před 3 lety

      Yes .. I was polling the register in that video clip but either way will work. I mentioned the external interrupt pin as an easier option for anyone who is new to coding.

  • @giuseppemascolo1494
    @giuseppemascolo1494 Před 4 lety

    Thank you. I use Forth and find very interesting most of your videos. Can you show more code, ie for this control by keyboard?

    • @0033mer
      @0033mer  Před 4 lety +1

      You can see more code in this video: czcams.com/video/B4FNf_VODjQ/video.html

    • @giuseppemascolo1494
      @giuseppemascolo1494 Před 4 lety

      @@0033mer ThankYou very much! It is what i was looking for.

  • @matthewschuler1636
    @matthewschuler1636 Před 2 lety

    Can a nano handle the 6dof which sets off a timer at FF then activates a servo/solenoid? Or is that too much for a nano… new to this

    • @0033mer
      @0033mer  Před 2 lety

      Actually for a simple free fall detector you can do it with just an accelerometer. When freefall occurs for a preset time period an output pin goes high which could activate a device. Check the data sheet for more details.

  • @brianmerle
    @brianmerle Před rokem

    This is amazing! Is there any way you could share your code for the free fall detection? I have the module working with a nano as well but can't figure out the free fall element. Thanks for the video!

    • @0033mer
      @0033mer  Před rokem +1

      I am running Forth and using direct register programming with my keyboard.
      flashforth.com/
      If you want code check out the Adafruit web site ADXL345 page.

  • @andri_ju
    @andri_ju Před 4 lety

    Thank you

  • @gauravbanerjee4222
    @gauravbanerjee4222 Před rokem

    Can you please share the code for free fall detection.

  • @zenonmartyniuk9975
    @zenonmartyniuk9975 Před rokem

    hey! could you paste your Arduino code? Forward thanks!

  • @rania2806
    @rania2806 Před 3 lety

    Can you help me In order to write code Arduino adxl 345 led for projet bad sitting posture detection

    • @0033mer
      @0033mer  Před 3 lety

      Check out this video: czcams.com/video/hAFd1yK0DyQ/video.html
      No code needed.

  • @mr.andmissblash8114
    @mr.andmissblash8114 Před 4 lety

    plz help to make this circuit and can we make it with attiny 85
    plz help

  • @dilshankasthuriarachchi4737

    Helllooo could you please have the code for this arduino project?

    • @0033mer
      @0033mer  Před 4 lety

      Monitor INT1 pin with GPIO of Nano, it changes when freefall occurs. I am changing registers interactively with Forth so there is no code.

  • @randybasil1715
    @randybasil1715 Před 3 lety

    can you share the code file please

  • @souheartlimited3657
    @souheartlimited3657 Před 2 lety

    Can you please share the source code.

    • @0033mer
      @0033mer  Před 2 lety

      : FF
      BEGIN
      Int1 high?
      if pin8 high 4 seconds pin8 low
      else pin8 low
      then key?
      UNTIL ;

  • @sarora8629
    @sarora8629 Před 2 lety

    Share the source code.

    • @0033mer
      @0033mer  Před 2 lety

      : FF
      BEGIN
      Int1 high?
      if pin8 high 4 seconds pin8 low
      else pin8 low
      then key?
      UNTIL ;

  • @sudamvagare2651
    @sudamvagare2651 Před 4 lety

    sir plz share code

    • @0033mer
      @0033mer  Před 4 lety

      : FF
      BEGIN
      Int1 high?
      if pin8 high
      4 seconds \ Led ON
      pin8 low
      else pin8 low
      then key?
      UNTIL ;