Thank you for making the fonts on your sketch large enough for us to read! When people do a simple screen capture, the text is so small you can't read it. Also, your explanation is excellent. Thank you, you saved me lot of work on my next Arduino project.
Thanks Ahmad! Your content is really high quality. For having prepared course material in the past, I'd say you've put lots of time and effort into making this video (as well as all your others videos I've seen so far). Merci beaucoup!
Hi. Great Video. Can you advise the programming if i require the starting angle to start at 0 degrees when powered up, regardless of the actual angle. This is so i can set an alarm when the angle changes sufficiently, although the actual starting angle is not important. It's only the change in angle that i am interested in recording.
I bought this sensor but I get some strange readings now. (only using Vo) when the sensor is horizontal like yours in the demonstration. -108 when horizontal and the reading only changes when I tilt the sensor to the vcc side. it goes from -108 to 22 degree when it is actually at 90 degree, to -108 again. do you have an idea why I get those readings and it is not working to the other side?
You are welcome. The best thank you for me is to subscribe to my channel. Your subscription is stamp of approval and my videos will be suggested to more people and this will help me. I appreciate it. thanks❤️
Hi, wow. land leveling. I am not sure if gps signal would give enough accurate signal for that purpose. land leveling would mean different thing for different application. for agriculture it would mean with accuracy of 20cm (perhaps) but for other purpose it would need different accuracy. But it is possible.
Ahmad, is this solid state gyro based? Can it accurate measure angle while being accelerated and jostled about. Im trying to do something with an RC electric boat that is very fast.
Nice video. Is the data ragarding the angles sent out of the card as a pair of 4-byte integers then? How quickly does the chip update? AKA, how frequently does the chip send out it's angle data?
Hi Ahmad, I want to measure how much a person's body rotates or when a person is slouching. Do you think this will help me do that? I don't have a robotics background. Thanks
Thank you for this video. Do you by any chance know an orientation capteur as simple as this one. I mean, this sensor rotate on X axe, but I am looking for a sensor which rotate on Z axe. A sensor which can say if a car go left or right. I hope I make me understanding. Than k you in advance.
Thank you great video, please how we can do a control on the tilt angle by giving an input angle and the dc motor response to this order to reach the required angle
that is very interesting. it needs the code to be written totally from ground up. This video shows controlling DC motor speed with temperature ruclips.net/video/5xQ8vLavWKQ/видео.html you may learn from it.
Hi. modified code used in this video to switch on and off 2 relays depending on the inclination and angle. Going to use this in an environment with some vibration (a vehicle) and by shaking the sensor up and down i have noticed that it sometimes switches off when it should not since angle changes for a split milisecond. Tried various combinations with delays and it somehow worked but i stopped getting almost immediate response from the sensor so when i tilted from left to right faster than the delay it was lagging to much. Is there a tilt sensor or any other multi-axial sensor that would fit my application for an environment with some vibrations? I am willing to have a go with a double SCA60C on one board (will try to combine 2 SCA60Cs to avoid buying more sensors). Learned a lot from this video :) thanks
Just got my SCA60C. Downloaded your sketch. When laying flat on a desk angle is 102 when I tilt it 90 degrees it shows 92 degrees. Adjustable pots do nothing. D02 led on all the time Do I have a defective unit
never heard of that product. But I found it on Sparkfun and it says: Retired Product This product has been retired from our catalog and is no longer for sale. This page is made available for those looking for datasheets and the simply curious.
Thank you for this amazing video!! I'm new to this and it helps me with my final project. But I just wanted to ask one thing. Does this sensor able to be set to trigger an LED once it reaches a certain angle??
you are welcome. the whole point of the code is to do something with the angle. In the code I have provided two alarm meaning do something if angle is reached at certain value. you may use if(angle >45) { //do something here } if you don't know the conditional statement, then Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
Hello Robin, I just write the code for you and created a new page for it. The code is to control a relay or buzzer. Take action at certain angle. the link is added to the main code page and here for you. robojax.com/L/?id=217 good luck
Yes you can if you somehow keep the power and all wires connected and also rotate the module. The sensor is on the motor and it needs to move to detect. that's why you can only rotate 360 easily. More than that would be hard but not impossible.
hi Robo, If i move this module in one direction in which you change angle but keeping angle the same, would i get 'fake' angle due to acceleration? Thank you
Sir i ordered 2 products both are run with this program but the angles have a huge error and right side led was not blinking when i tilted to right In zero degree it reads -60 degree Please helpe me☹️☹️
good video, but I have a question for this device that the angle is not very accuracy compare to other inclinometer or protractor, how can I fix this problem? thks
Very cool.. I wonder if there is a way to send the angle signal to a simple dual digit LED readout . I made a power spoiler for my vehicle with a linear actuator to help increase down force on the highway. to know what the angle of attack is I thought about doing something like this ( would have to wate proof it of course ) . My other thought was just to have a camera up there that also acts as eyes from the roof and back.
sorry what is "signal to a simple dual digit LED readout "? do you mean LED Seven Segment display? if so you need this TM1637 dispaly to just display the number ruclips.net/video/cJqmXjERwkQ/видео.html this video is part of my Arduino which has over 200 projects Arduino Step by Step Course (over 100 lectures) Starts here ruclips.net/video/-6qSrDUA5a8/видео.html
@@robojax yes I meant a 7 segment sorry. I suppose I could always use one and it would show me the 10ths place of the value? My other thought is I could make a custom animation showing the angle of the spoiler to like a Nextion lcd screen hooked to a potentiometer pot. I do like the classic look of simple 7 segment though lol.. anyway thanks for all you share! I'm new to arduino obviously so about to explore a new world.
@@robojax on second thought I just realized maybe an angle sensor is not the best idea because the values would change at every gradient in the road lol... will have to use a position knob or something.
may be rotary encoder where it shows the angle on the LCD ruclips.net/video/6xVLbNlmK-g/видео.html or you could use OLED dispaly to show an arrow with direction or angle.
@@robojax yeah that was my thought but I realized my linear actuator has no feedback ( the white/yellow breakout ) its only a power/ground type you would run on a DPDT switch. I bought a cheaper elegoo R3 and a Nextion 2.4" ... The nextion I've seen can store images so I can make a custom gauge basically like an animation which is really cool. I just have to learn more and how I would assign values .. have been watching the videos. I did want something basic but after seeing what the nextion could do I couldn't resist. My thinking is this .. I've seen the laser range sensors ( smallest option compared to sonar and infrared ) so I could put that on the bottom of the spoiler or the top of the roof aimed at the spoiler to get my values then they would have animation assigned. Would jus thave to find a way to waterproof the range sensor.. Then I will just leave the momentary switch separate from the arduino and right to the actuator. If youre curious this is what the setup is... here crudely setup for testing the range and stuff... Just a project I wanted to do to add some adjustable stability to my van on the highway lol and setup a system.. I was just going to use a backup cam that can see behind and incidentally see the spoiler but it wasnt interesting enough. ruclips.net/video/DicdpP5Bct0/видео.html
I haven't looked at how it behaves in higher elevation. May be look at this module which is very accurate and it is from TDK ruclips.net/video/mzwovYcozvI/видео.html
'accelerometer" from the name we know it senses the acceleration on an object in 3-D space. the angle sensor is very simple way to get angle. We have gyroscope which is better than this module in the video with more precise angle for precise projects. this module however is excellent for most projects.
@@robojax Thanks, but not I have another question. What is the difference between adxl345 and mpu6050? Wich one is doing a better job and why? (I have this question because I saw mpu6050 having an accelerometer + a gyro, and is not clear for me why)
that is the main reason we use it to detect specific angle and take action or do something. Yes. Jus watch it carefully and do not skip. I have not said extra stuff in the video.
@@robojax ok so i can direct asking here .. What of type sensor to connect the arduino Uno for specific to measure the angle ? Example to measure the angle for injection ? 10 degree, 25 degree ,45 degree , and 90 degree? Please answer sir .. Thanks ..
Thank you for making the fonts on your sketch large enough for us to read! When people do a simple screen capture, the text is so small you can't read it. Also, your explanation is excellent. Thank you, you saved me lot of work on my next Arduino project.
You're very welcome! I am glad you found it useful. Please subscribe if you haven't done yet.
Thanks Ahmad! Your content is really high quality. For having prepared course material in the past, I'd say you've put lots of time and effort into making this video (as well as all your others videos I've seen so far). Merci beaucoup!
My pleasure!. Yes most viewers have no idea how much effort is put to make a video.
Vary good explanation and tutorial Thank you.
Thank you Ahmad :)
Hi. Great Video. Can you advise the programming if i require the starting angle to start at 0 degrees when powered up, regardless of the actual angle. This is so i can set an alarm when the angle changes sufficiently, although the actual starting angle is not important. It's only the change in angle that i am interested in recording.
Nice video
Thanks
I bought this sensor but I get some strange readings now. (only using Vo) when the sensor is horizontal like yours in the demonstration. -108 when horizontal and the reading only changes when I tilt the sensor to the vcc side. it goes from -108 to 22 degree when it is actually at 90 degree, to -108 again. do you have an idea why I get those readings and it is not working to the other side?
Gorgeous
You are welcome. The best thank you for me is to subscribe to my channel. Your subscription is stamp of approval and my videos will be suggested to more people and this will help me. I appreciate it. thanks❤️
Sir I am big fan of all of your projects kindly make GPS land leveling system with arduino...
Hi, wow. land leveling. I am not sure if gps signal would give enough accurate signal for that purpose. land leveling would mean different thing for different application. for agriculture it would mean with accuracy of 20cm (perhaps) but for other purpose it would need different accuracy. But it is possible.
Bonjour Mr Ahmed ;
Est ce que ce type de capteur peut fonctionner par Wi-Fi ?
Good one. Thanks!
You are welcome.
Ahmad, is this solid state gyro based? Can it accurate measure angle while being accelerated and jostled about. Im trying to do something with an RC electric boat that is very fast.
Nice video. Is the data ragarding the angles sent out of the card as a pair of 4-byte integers then? How quickly does the chip update? AKA, how frequently does the chip send out it's angle data?
Hi Ahmad, I want to measure how much a person's body rotates or when a person is slouching. Do you think this will help me do that? I don't have a robotics background. Thanks
Thank you for this video. Do you by any chance know an orientation capteur as simple as this one. I mean, this sensor rotate on X axe, but I am looking for a sensor which rotate on Z axe. A sensor which can say if a car go left or right. I hope I make me understanding. Than k you in advance.
I think I have explained it, this is used for any axis.
@@robojax Thank you.
Thank you great video, please how we can do a control on the tilt angle by giving an input angle and the dc motor response to this order to reach the required angle
that is very interesting. it needs the code to be written totally from ground up. This video shows controlling DC motor speed with temperature ruclips.net/video/5xQ8vLavWKQ/видео.html you may learn from it.
Hi.
modified code used in this video to switch on and off 2 relays depending on the inclination and angle. Going to use this in an environment with some vibration (a vehicle) and by shaking the sensor up and down i have noticed that it sometimes switches off when it should not since angle changes for a split milisecond. Tried various combinations with delays and it somehow worked but i stopped getting almost immediate response from the sensor so when i tilted from left to right faster than the delay it was lagging to much.
Is there a tilt sensor or any other multi-axial sensor that would fit my application for an environment with some vibrations? I am willing to have a go with a double SCA60C on one board (will try to combine 2 SCA60Cs to avoid buying more sensors).
Learned a lot from this video :) thanks
Hi, Thanks for sharing your experience. Good luck with your project. Stay safe.
@@robojax any other sensor i can try that is not going to be influenced by vibrations as much as this one used in the video?
there are mot complicated 3 axis sensors such as this ruclips.net/video/mzwovYcozvI/видео.html or this ruclips.net/video/uhh7ik02aDc/видео.html
@@robojax Hi. Will go with the simpler one... the 1 axis didnt work that well for me
Just got my SCA60C. Downloaded your sketch. When laying flat on a desk angle is 102 when I tilt it 90 degrees it shows 92 degrees. Adjustable pots do nothing. D02 led on all the time Do I have a defective unit
2 degrees is not bad. how do you do know the surface you are putting it or the surface you are starting is correct?
Superb.......
Thank you.
Thank you very much , can I use the gy-61 sensor instead and without calibration?
this code is written specifically for this module. Won't work on anything else.
Can you post a tutorial with RPI 1031…
never heard of that product. But I found it on Sparkfun and it says: Retired Product
This product has been retired from our catalog and is no longer for sale. This page is made available for those looking for datasheets and the simply curious.
Thank you for this amazing video!! I'm new to this and it helps me with my final project. But I just wanted to ask one thing. Does this sensor able to be set to trigger an LED once it reaches a certain angle??
you are welcome. the whole point of the code is to do something with the angle. In the code I have provided two alarm meaning do something if angle is reached at certain value. you may use if(angle >45) { //do something here }
if you don't know the conditional statement, then Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
@@robojax Okayyy thank youu
What does the values 96,927,-90,90 mean on the map() function ? Thanks for the video really helpful with my solar project
Hello and you are welcome. here is the details and example of map() function www.arduino.cc/reference/en/language/functions/math/map/
What is the advantage against an MPU6050?
6050 is 3-axis angle sensor. this is different. no library, no calibration and very simple.
Hello great video, wondering how to connect to buzzer for 2 specific angles
Thank you
Hello Robin, I just write the code for you and created a new page for it. The code is to control a relay or buzzer. Take action at certain angle. the link is added to the main code page and here for you. robojax.com/L/?id=217 good luck
can it detect rotation in clockwise n anti clockwise, if supposed installed on roration disk
Yes you can if you somehow keep the power and all wires connected and also rotate the module. The sensor is on the motor and it needs to move to detect. that's why you can only rotate 360 easily. More than that would be hard but not impossible.
Great tutorials. Wonder if the sensor will be reliable when is tilted on x and y axis at the same time.
it doesn't detect the other axis. so it should not affect it.
@@robojax Thank you!
Great video. Can i use it as automobile tilt sensor? Is it sensitive to vibration?
thanks. I am not sure if can be used in automotive. Check the datasheet on the resources page for this item, on page 7 they mention it in the Note2.
hi Robo,
If i move this module in one direction in which you change angle but keeping angle the same, would i get 'fake' angle due to acceleration?
Thank you
I haven't tested it but I believe acceleration is not affecting it.
@@robojax can you tried it. Idlike to implement it into my bike
Sir i ordered 2 products both are run with this program but the angles have a huge error and right side led was not blinking when i tilted to right
In zero degree it reads -60 degree
Please helpe me☹️☹️
just add or subtract some value so you can get actual number.
@@robojax still no change sir i tried two pieces bought from amazon
good video, but I have a question for this device that the angle is not very accuracy compare to other inclinometer or protractor, how can I fix this problem? thks
is accurate by 1 degree. if you need further accuracy, use different module.
Very cool.. I wonder if there is a way to send the angle signal to a simple dual digit LED readout . I made a power spoiler for my vehicle with a linear actuator to help increase down force on the highway. to know what the angle of attack is I thought about doing something like this ( would have to wate proof it of course ) . My other thought was just to have a camera up there that also acts as eyes from the roof and back.
sorry what is "signal to a simple dual digit LED readout "? do you mean LED Seven Segment display? if so you need this TM1637 dispaly to just display the number ruclips.net/video/cJqmXjERwkQ/видео.html this video is part of my Arduino which has over 200 projects Arduino Step by Step Course (over 100 lectures) Starts here ruclips.net/video/-6qSrDUA5a8/видео.html
@@robojax yes I meant a 7 segment sorry. I suppose I could always use one and it would show me the 10ths place of the value? My other thought is I could make a custom animation showing the angle of the spoiler to like a Nextion lcd screen hooked to a potentiometer pot. I do like the classic look of simple 7 segment though lol.. anyway thanks for all you share! I'm new to arduino obviously so about to explore a new world.
@@robojax on second thought I just realized maybe an angle sensor is not the best idea because the values would change at every gradient in the road lol... will have to use a position knob or something.
may be rotary encoder where it shows the angle on the LCD ruclips.net/video/6xVLbNlmK-g/видео.html or you could use OLED dispaly to show an arrow with direction or angle.
@@robojax yeah that was my thought but I realized my linear actuator has no feedback ( the white/yellow breakout ) its only a power/ground type you would run on a DPDT switch. I bought a cheaper elegoo R3 and a Nextion 2.4" ... The nextion I've seen can store images so I can make a custom gauge basically like an animation which is really cool. I just have to learn more and how I would assign values .. have been watching the videos. I did want something basic but after seeing what the nextion could do I couldn't resist. My thinking is this .. I've seen the laser range sensors ( smallest option compared to sonar and infrared ) so I could put that on the bottom of the spoiler or the top of the roof aimed at the spoiler to get my values then they would have animation assigned. Would jus thave to find a way to waterproof the range sensor.. Then I will just leave the momentary switch separate from the arduino and right to the actuator. If youre curious this is what the setup is... here crudely setup for testing the range and stuff... Just a project I wanted to do to add some adjustable stability to my van on the highway lol and setup a system.. I was just going to use a backup cam that can see behind and incidentally see the spoiler but it wasnt interesting enough. ruclips.net/video/DicdpP5Bct0/видео.html
What the specific name on proteus for sca60c angle sensor??
that name is so expensive, I never go towards it.
Hi will this show all 360 degrees of angles? Thanks
Hi, remember nothing. This very basic question and must have explained it in the video. Please watch fully.
@@robojax minus 10 would be 190 degrees?
what if you flip it forward or backward ? will it show readings ?
Yes it will read in any position. But you have set in the code from the rest or home position. I have explained it. You may watch the video again.
@@robojax ok thank you so much , I may have skipped that part 😅
Can it measures angle in a rocket at 10.000 feet ?
I haven't looked at how it behaves in higher elevation. May be look at this module which is very accurate and it is from TDK ruclips.net/video/mzwovYcozvI/видео.html
What is the diference between tilt sensor and accelerometer sensor? why is one better that the other?
'accelerometer" from the name we know it senses the acceleration on an object in 3-D space. the angle sensor is very simple way to get angle. We have gyroscope which is better than this module in the video with more precise angle for precise projects. this module however is excellent for most projects.
@@robojax Thanks, but not I have another question. What is the difference between adxl345 and mpu6050? Wich one is doing a better job and why? (I have this question because I saw mpu6050 having an accelerometer + a gyro, and is not clear for me why)
@@akun2500 any update on this comment
Do you guys have one that can beep if it goes over 180
that is the main reason we use it to detect specific angle and take action or do something. Yes. Jus watch it carefully and do not skip. I have not said extra stuff in the video.
@@robojax Do you have an email I can contact you on?
What is the sampling frequency?
the output is not digital. Resolution and values have been demonstrated and I believe we have the datasheet link in the details page.
How i can contact you sir? Please ..
Sorry, you have no time to communicate.
@@robojax ok so i can direct asking here .. What of type sensor to connect the arduino Uno for specific to measure the angle ? Example to measure the angle for injection ? 10 degree, 25 degree ,45 degree , and 90 degree? Please answer sir .. Thanks ..
@@robojax because i will soon to do the project regarding automated injector with coding and connect to arduino Uno