Free Fall Detection / Direct Register Programming / ADXL345
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.
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!
Thanks for the feedback.
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.
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.
Thanks
I also subscribed your channel
I loved this video
I want see wiring diagram
And code
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
Awesome thanks for sharing 👍
You're welcome.
Good work
Thanks
Very interesting thank you very much
Very welcome
Great video!
Thanks for the visit
@@0033mer Any chance of using something like this on a drone for a parachute or inflatable device? You might have something here my man.
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?
It can run stand-alone with an external battery. The USB connection was used just to supply power.
Hey!! Can you provide a link of this code??
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?
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.
Thank you. I use Forth and find very interesting most of your videos. Can you show more code, ie for this control by keyboard?
You can see more code in this video: czcams.com/video/B4FNf_VODjQ/video.html
@@0033mer ThankYou very much! It is what i was looking for.
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
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.
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!
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.
Thank you
You're welcome
Can you please share the code for free fall detection.
hey! could you paste your Arduino code? Forward thanks!
Can you help me In order to write code Arduino adxl 345 led for projet bad sitting posture detection
Check out this video: czcams.com/video/hAFd1yK0DyQ/video.html
No code needed.
plz help to make this circuit and can we make it with attiny 85
plz help
Helllooo could you please have the code for this arduino project?
Monitor INT1 pin with GPIO of Nano, it changes when freefall occurs. I am changing registers interactively with Forth so there is no code.
can you share the code file please
Can you please share the source code.
: FF
BEGIN
Int1 high?
if pin8 high 4 seconds pin8 low
else pin8 low
then key?
UNTIL ;
Share the source code.
: FF
BEGIN
Int1 high?
if pin8 high 4 seconds pin8 low
else pin8 low
then key?
UNTIL ;
sir plz share code
: FF
BEGIN
Int1 high?
if pin8 high
4 seconds \ Led ON
pin8 low
else pin8 low
then key?
UNTIL ;