Noob spending money

Works perfect, thanks :mrgreen: !

[code]main:
hservo [cLFFemurPin\upperFemurPos\150,cLFTibiaPin\upperTibiaPos\150]
repeat
pause 20
until HSERVOIDLE(cLFFemurPin) AND HSERVOIDLE(cLFTibiaPin)
Pause 3000
hservo [cLFFemurPin\lowerFemurPos\150,cLFTibiaPin\lowerTibiaPos\150]
repeat
pause 20
until HSERVOIDLE(cLFFemurPin) AND HSERVOIDLE(cLFTibiaPin)
Pause 3000
goto Main

Handle_WKP5:
disable WKPINT_5 ; only interrupt once per leg…
_bWhichWKP = 5
hservo [cLFFemurPin\hservopos(cLFFemurPin)]
hservo [cLFTibiaPin\hservopos(cLFTibiaPin)]
hserout HSP_DEBUG, "Foot down: ", sdec _bWhichWKP, " at Femur: ", sdec hservopos(cLFFemurPin), " Tibia: ", sdec hservopos(cLFTibiaPin) ,13 ]
Enable WKPINT_5
resume[/code]

a simple, cheap and working footswitch whith no force on the switchhousing:

First i make a “window” in the tube, nicely fitting the switch:
http://nc.sverige.net/nc/robot/DSC09403.JPGhttp://nc.sverige.net/nc/robot/DSC09404.JPG

I am using simplest possible smallest possible microswitch
http://nc.sverige.net/nc/robot/DSC09411.JPGhttp://nc.sverige.net/nc/robot/DSC09412.JPG

i make the lower hole oval so the adaptor can move enought for the switsh to work:
http://nc.sverige.net/nc/robot/DSC09415.JPGhttp://nc.sverige.net/nc/robot/DSC09417.JPG

attach some wires…
http://nc.sverige.net/nc/robot/DSC09418.JPGhttp://nc.sverige.net/nc/robot/DSC09424.JPG
http://nc.sverige.net/nc/robot/DSC09425.JPG

And i have a working footswitch !! 8)
http://nc.sverige.net/nc/robot/DSC09426.JPGhttp://nc.sverige.net/nc/robot/DSC09427.JPG

Now i just have2 find a way to glue the microswitch to the ínnertubing … but that is a small problem

Why don’t you just drill a hole and put a screw ?

Realy like your idea :slight_smile:

Nice work! :wink:

Great work, how does it perform when the foot isn’t perpendicular to the ground?

I dont notice any problem at all in the needed up/down-motion upto 45 deg, and the “rubberhat” works very nice
I did cut the switchleveler alitte short, bot it dont seem to matter for the function
(I didnt find the rubberhat at first, it was the cat who had taken it from my desk and was playing whitht it in the corridor :laughing: )

Hi Hi…!

Hehe, you are a pro !

Hi PappaNiklas,

I have some experience with such struts from my days as an RC pilot.
one of the problems that i encountered when trying to design and use a strut like yours was a very high mechanical wear and tear of the aluminum parts rubbing against each other.
a solution for that was to use a different metal for one of the parts in order to reduce the friction factor (aluminum - aluminum friction factor is very high).
If its possible, you can produce the smaller (feet) part out of brass that will have a very low friction factor with the aluminum.
furthermore, you can use a silicone based lubrication paste to reduce the friction.

not giving a though to this matter, you will end up finding yourself trying to tighten the bolts attempting to reduce the gaps generated by the friction.

Raviv.

Nice, I was jut thinking of redoing the feet, to minimize the slack against the tube … brass is a good idea, and some kind of greeze is a must
I dont think it is at all the same quallity of the Alu in the tubing as in the foot, but as you say, it is better whith brass

I was thinking about friction too…
I don’t know if there is a way to add linear bearings… maybe someone who know that can help.

Or manufacture a 2 pieces sleeve that is high tolerance… !

a 5V pullup-board, especially usefull when WKP0 to WKP3 is sitting on the 6V supplyline

http://nc.sverige.net/nc/robot/DSC09428.JPG