Nice video! I like that you show alternatives to microcontrollers. Usually, when I see a module I tend to think of an Arduino to interact with it, and here you provide a different and simple approach. Thank you!
Many many thanks for this video, I just built it and it works really nicely. I'm having problems with z at the moment though - I'm sure I'll work it out.....
excellent circuit presented in simple way. PL there are two more components in this on bread board, one pf capacitor (brown colour) and other is probably the PTC/NTC (black colour ) which are not shown in schematic and are not discussed, what are the values for these? And please share the suitable PULL UP resistor values? As I understand Module GY-61 has a voltage regulator chip that has output of 3.3V, It will only work on 5V? Thanks
A .47 uf capacitor from pin3 of Lm339 to ground and a 2.2 uf capaitor across power supply to ADXL335 for filtering. This is something I do and is not needed for circuit operation. Pull up resistors can be 10k and operating voltage of the module is 3.3 to 5 volts.
Feed the output of each comparator into a logic inverter IC like the CD4069 and you will get a 5v output when the LED turns on. You can also use a common CD4093 Nand with the inputs tied together to form four inverters.
@@0033mer Great stuff. Thanks very much, I'm really looking forward to this build. Any other "Arduino" boards you can run as analogue? I'm going to try the Pulsesensor heart rate monitor for starters....
Nice video. could you do the same with the z axis? Also can i use a ADXL345 it has different connections but is cheaper than 335? The 345 connections vcc, gnd. int 1, int 2, sdo,sda and scl.
btw I think axes are inverted or soemthing, x should be from the left to the right and y should be up and down orientation...I have impression that it is exactly the opposite...
I'd almost have thought any of the LEDs would have gone off once the tilting motion stopped - as the acceleration would had gone to zero G/unit time. But to me, I'm seeing a "tilt sensor", as LEDs stay on even when the tilt movement stops. Not to split hairs, but if this IC is about acceleration, isn't 'accelerating' (or 'decelerating') motion the trigger, rather than a tilt in orientation whose motion goes to 0? I can't see how either 'mode' can be selected given the pinout. Thx.
The force of gravity is constant so no matter how you orientate the IC there will always be a vector sum of 1g acting upon it. If we tilt the Y axis parallel to earth's gravitational pull we will get a constant 1g force on that axis. This is a good way to check calibration. During freefall we have zero g force and all outputs will go to zero volts. X and Y acceleration is measured when the Z axis has 1 g acting upon it. ( Board is laying flat not tilted ) Check out this video: ruclips.net/video/P6yNjAk0QUQ/видео.html
I'm confused now, all accelerometer, gyroscope and magnetometer look they do the same job which detect tilt effects! What is the actual difference between these modules?
A Magnetometer measures the earth's magnetic field using a Hall effect sensor, so basically a compass. An Accelerometer measures the acceleration of a device (mass) in "g"s F=ma ruclips.net/video/nDmlsHCuBlI/видео.html A gyroscope measures angular velocity or rotation. ( Coriolis force ) Both of these sensors use MEMS technology.
This is probably not what you think it is. It is not a speedometer. I measures gravity, that's why it has to be tilted. You may be wanting a GPS module if you want to know if your robot or drone is moving.
As the data sheet of the ADXL335B shows, it is a 3 axis accelerometer which can measure "g" forces. When the ADXL335 is tilted in the x and y direction it is exposed to 1 "g" of gravitational force and will output a corresponding voltage, turning on the leds. Where in the video is the word "speed" or "speedometer" mentioned? If you were looking for a GPS video here is a link. ruclips.net/video/aBVxSyyx8Fw/видео.html
Thank you for sharing this simple yet effective and robust project! Very nice approach, appreciate it!
You are very welcome!
This is prob the most amazing circuit i've seen yet
Nice video! I like that you show alternatives to microcontrollers. Usually, when I see a module I tend to think of an Arduino to interact with it, and here you provide a different and simple approach. Thank you!
Many many thanks for this video, I just built it and it works really nicely. I'm having problems with z at the moment though - I'm sure I'll work it out.....
You're welcome!
excellent circuit presented in simple way.
PL there are two more components in this on bread board, one pf capacitor (brown colour) and other is probably the PTC/NTC (black colour ) which are not shown in schematic and are not discussed, what are the values for these?
And please share the suitable PULL UP resistor values?
As I understand Module GY-61 has a voltage regulator chip that has output of 3.3V, It will only work on 5V?
Thanks
A .47 uf capacitor from pin3 of Lm339 to ground and a 2.2 uf capaitor across power supply to ADXL335 for filtering. This is something I do and is not needed for circuit operation. Pull up resistors can be 10k and operating voltage of the module is 3.3 to 5 volts.
Thank you so, much for prompt response and guidance.
Regards
Most welcome!
thank you for the video! Do you have an idea how can i mix the x and y Signal analog with an amplifier circuit , without a MC
Thank you... This was extremely helpful... If I want an output of 5v, along with turning on the LED, how can I do that?
Feed the output of each comparator into a logic inverter IC like the CD4069 and you will get a 5v output when the LED turns on. You can also use a common CD4093 Nand with the inputs tied together to form four inverters.
@@0033mer Thank you very much...
Any reason why I couldn't add an LM393 and run all 6 comparators from 2 trim pots?
Yes, you can add more comparators for individual control.
@@0033mer Great stuff. Thanks very much, I'm really looking forward to this build. Any other "Arduino" boards you can run as analogue? I'm going to try the Pulsesensor heart rate monitor for starters....
Nice video. could you do the same with the z axis? Also can i use a ADXL345 it has different connections but is cheaper than 335? The 345 connections vcc, gnd. int 1, int 2, sdo,sda and scl.
Yes, you can use the ADXL345 the same way and detect the Z axis.
ruclips.net/video/df2pC1LVduA/видео.html
Is there a capacitor with Adxl335b, and what is the value of that capacitor?
.1 uf on each axis output.
btw I think axes are inverted or soemthing, x should be from the left to the right and y should be up and down orientation...I have impression that it is exactly the opposite...
I'd almost have thought any of the LEDs would have gone off once the tilting motion stopped - as the acceleration would had gone to zero G/unit time. But to me, I'm seeing a "tilt sensor", as LEDs stay on even when the tilt movement stops. Not to split hairs, but if this IC is about acceleration, isn't 'accelerating' (or 'decelerating') motion the trigger, rather than a tilt in orientation whose motion goes to 0? I can't see how either 'mode' can be selected given the pinout. Thx.
The force of gravity is constant so no matter how you orientate the IC there will always be a vector sum of 1g acting upon it.
If we tilt the Y axis parallel to earth's gravitational pull we will get a constant 1g force on that axis.
This is a good way to check calibration. During freefall we have zero g force and all outputs will go to zero volts.
X and Y acceleration is measured when the Z axis has 1 g acting upon it. ( Board is laying flat not tilted )
Check out this video: ruclips.net/video/P6yNjAk0QUQ/видео.html
Can you help me please?
I did the same but it gives me other higher values example x 1741 y2101
z 1520 why?
What units are those values?
Any chance you could do a photo or a diagram of this circuit with parts list for someone just getting started? Best wishes to you.
Schematic diagram starts at 4:26.
how is it used to measure impact?
Check out this video: ruclips.net/video/nDmlsHCuBlI/видео.html
I'm confused now, all accelerometer, gyroscope and magnetometer look they do the same job which detect tilt effects! What is the actual difference between these modules?
A Magnetometer measures the earth's magnetic field using a Hall effect sensor, so basically a compass.
An Accelerometer measures the acceleration of a device (mass) in "g"s F=ma
ruclips.net/video/nDmlsHCuBlI/видео.html
A gyroscope measures angular velocity or rotation. ( Coriolis force )
Both of these sensors use MEMS technology.
Good video ,nice explanation .I have a project using a Arduino Nano ,I was looking for a way to test the module before using
the Arduino.
Bro love u so much
can it sense staright motion also ?
very nice - so simple
Good video. Thumbs up...PEACE
Good explanation, tnx fr the upload !
73 N8AUM
This is probably not what you think it is. It is not a speedometer. I measures gravity, that's why it has to be tilted. You may be wanting a GPS module if you want to know if your robot or drone is moving.
As the data sheet of the ADXL335B shows, it is a 3 axis accelerometer which can measure "g" forces. When the ADXL335 is tilted in the x and y direction it is exposed to 1 "g" of gravitational force and will output a corresponding voltage, turning on the leds. Where in the video is the word "speed" or "speedometer" mentioned? If you were looking for a GPS video here is a link. ruclips.net/video/aBVxSyyx8Fw/видео.html
great Idea
Nice
Thanks
Nice. Thanks
Thank you younger Jordan Peterson
A fellow Canadian!
Subbed