hello im pretty new to this arduino thing but im trying to control a servo with a pololu A Star micro and a WT901 gyro sensor to keep a object level.
So far i can make the servo move with the IDE software with a example servo code. but i have no clue on how to add the wt901 code and the code to make the servo move based off of the wt901 readings.
Have you looked on the support page?
Or the YouTube channel?
so this wt901 has to run though my pc? the a star cant read the outputs an adjust the servo accordingly without a PC?
Do the documents, specifications and videos agree with the manufacturer?
Im not 100% on what your asking tbh. the vids just show to to hook it up to a pc or phone. i dont have the bluetooth adapter.
i was under the impression this A Star micro could take the info from the wt901 sensor and control a servo without a pc hooked to it.
ok a little update i went back and wired up my LSM6DS33 Gyro sensor from pololu and now i have data coming in and showing up but now i need a way to get the data to work with and control the servo.
The A Star should be able to read the WT901's serial output through it's serial1 port.
Don't see how you will determine level by reading a gyro that reads rate of rotation and is subject to drift at standstill.
idk i just wired up the lsm6 and uploaded the code from pololu for it and the a star went right to readed the gyro data. it works lol now i just need a code to make the servo and the gyro all work together.
This thread is useful for how to determine tilt (pitch and roll) from the LSM6DS33 data. Post number 2 and 4 are most relevant.
https://wiki.dfrobot.com/How_to_Use_a_Three-Axis_Accelerometer_for_Tilt_Sensing
Once you have the tilt sorted out, you can figure out the servos to level the platform.
There are many tutorials available on line.
yeah i have no clue on where to begin with that lol i just got the lsm6 to read on the a star im at a loss from here on what to do. i was hoping this was gonna be a find a code thats alrdy writen an work off of it. bc i have zero coding skills or anything of the such.
if i had a code an someone said change these values to make this slow down or speed up i can handle with ease but im in way over my head at this point
i would pay someone to link on my pc and work it out.
i would pay someone
There is a posting category Jobs and Paid Consultancy
https://forum.arduino.cc/c/community/jobs/42
Your posting will need to be very clear about what what you want to achieve, what hardware you want to use, what you are willing to pay, and the timeline to do the work.
I would read through some of the postings in the category to see what the expectations are.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.