Now we're talkin! There is a 9DoF MPU9250 which costs under $10. Same I2C protocol.
Thank you for the tips.
And so begins my journey.
Type: Posts; User: siredward
Now we're talkin! There is a 9DoF MPU9250 which costs under $10. Same I2C protocol.
Thank you for the tips.
And so begins my journey.
Accelerometer included. Its an MPU9250/6500. Didn't think the rate of change would be necessary since the servos can only update position so often... is there something else I should be considering...
Greetings Friends,
I am looking to map the positional readout of a Gyroscope sensor to the position of an object on a 3-Axis gimbal which is controlled by 3 servo motors.
From a hardware...
Yay!
Thank you so much to everyone on this forum for your support along the way!!
Many times was stuck, never gave up.
Learned so much
Youtube: https://www.youtube.com/watch?v=tZ0YGNv9pU0
Thanks Pete for pointing that out. I will dig a little deeper.
Hmm.. maybe. The SD is played by a Teensy 3.5 from the card slot direct. Should the sample rate by 44.1?
Hey all,
So, my code calls for reading a random .wav file named "01", "02", "03" etcetera up to 07
There is no need to include the code here because this is not a coding question. The code...
Mark!! IT WORKS!! (The last function in your post)
Thank you so much for your time and contribution. I am going to study what you did here and learn from it.
Now onwards to see if I can run it...
Ah yes. I added that line of code in currentMillis = millis(); . It produces a very erratic result however.
Here is the complete code -
I am trying to substitute a millis() based function for delay()
If the delay commands were to be uncommented, and the first two lines in the function servoSweep()...
Roger. Thanks for your time.
Can anybody tell me why my servo sweep function does not work? Its meant to be a simple mod of the generic servo sweep using millis();
Not shown--
In both the setup and loop:
currentMillis...
Okay, still working on my animatronics project.
Note that I am using a Teensy 3.5 and a custom PCB
Using PWMServo.h rather than Servo.h so that the servo motor runs simultaneously with the audio...
Hi Michael, thank you for your thoughtful reply. As I am just running 2 strings of about a dozen LEDs ea, so Paul's 2812 serial lib should work for this project. However before I go cutting traces...
Teensy 3.5. Custom PCB (not audio shield). I am an EE Tech I make my own shields.
OK! The source code below works! My animatronic skull model turns on when I trigger the sensor and the jaw...
Thank you Paul! This is extremely useful moving forwards. I will have a look at the options; would like to avoid cutting traces on my custom pcb; will reconvene with my programmer buddies.
...
Hi. Here is the source code. Teensy 3.5.
Basic servo test sketch (not included here) does work. Also note that I have a mosfet switch before the servo which is known to be working (indicator LED)...
A Weller or Hakko soldering iron should last you for 10 years or longer - get something with a good steady holster. Needle nose pliers. Rosin. Isopropyl. Fan. Desk lamp.
Hi. Here is the source code. Teensy 3.5. Note that my basic servo test sketch (not included here) does work. Also note that I have a mosfet switch before the servo. Finally, note that the serial...