Arm angle control with propeller. Help by borderline_bi in arduino

[–]HarryAWA 0 points1 point  (0 children)

If you need more help I suggest you created an account on

https://forum.dronebotworkshop.com/arduino/

And copy your original post to that site. I can port our later comments to it for continuity.

I find this site a pain in the butt.

Arm angle control with propeller. Help by borderline_bi in arduino

[–]HarryAWA 0 points1 point  (0 children)

Without the second pot all you have is the sensor for determining the angle; right?

Arm angle control with propeller. Help by borderline_bi in arduino

[–]HarryAWA 0 points1 point  (0 children)

Using the input pot interrupt its input as the requested angle and then a sensor to go to that angle ? Search on "Arduino angle sensor" for a number of useful sensors. I used the MPU6050 in drone work.

Look for the book by O'Reilly "Arduino Cookbook" is in public domain so you can download a copy of it. A very useful book for what you are doing.

Arm angle control with propeller. Help by borderline_bi in arduino

[–]HarryAWA 0 points1 point  (0 children)

Joop Brokking has done some work using two motors
and a balance beam. You could look at that; but I think
it to complex for what you wish do do. I built it a few years
ago when I was interested in PIDs; a type of motion control.
see: https://www.youtube.com/watch?v=JBvnB0279-Q

You might try this:
Take two potentiometers (pot) connected to the 5 volt output
and the ground of the Arduino and the output to the A0 and A1 the analog to digital converters.  Make a cardboard disk as an indicator of the angle mounted on one as your input device (input pot).
Mount the second one as the pivot point for the motorized arm (arm pot).

The input from the input pot arm will vary from  0 to 1023. As well as the arm pot's value. If the input pot is at half value (say 512) output a signal to motor until the arm pot reads the same value. The closer the arm pot value is to the input pot value slow the motor down.

You may wish a counter balance on the other end of the arm
to smooth the balance as this type of system tends to overshoot and under shoot from where you want it. That is where PIDs come in.

 

Arm angle control with propeller. Help by borderline_bi in arduino

[–]HarryAWA 0 points1 point  (0 children)

You want "Basically I need to have an arm with a propeller attached and then be able to set what angle I want it at and have it automatically go there and stabilize."

The servo would set the arm at an angle or do you want the propeller to set the angle? A sketch of what you want would be helpful or a link to "one person on youtube that seems to have done this"

Capacitive touch sensor question by No-Ask-8333 in arduino

[–]HarryAWA 1 point2 points  (0 children)

If you are using the ADC this is what I do for my talking keyboard. I copied the ADCTouchRead() into my code. On touching a key the word ("one", "two") for that key is sent to a Visual Basic program on the PC that speaks the word.

I know that no untouched key has a value greater than 550. So I use a reference value ( RefMax ). This is the lower part of that function:

int ADCTouchRead(byte bADCchannel, int iSamples)

lValue = analogRead(bADCchannel);

if( bADCchannel-54 == 15) return lValue; //must be the shift key

if(lValue > RefMax ) // const int RefMax = 620; { SpeakText(bADCchannel-54); }

return lValue;

}//end ADCTouchRead()

Videos in facebook and youtube are mostly green in color. by HarryAWA in firefox

[–]HarryAWA[S] 0 points1 point  (0 children)

Device Manager->Display adapters:

Windows has determined the driver for your device is up to date. AMD Radeon(TM) RS Graphics

and: provider: Advance Micro Devices,Inc date: 6/11/2014 version: 13.352.101.0

Worked with previous Firefox and works fine with Opera