Alternatives to potentiometers - hall sensors, etc

Re: Alternatives to potentiometers - hall sensors, etc

Postby mike43110 » Sat May 23, 2015 8:22 pm

Did the geometry changes help?

I am busy making my own PCB... I don't normally do this >_< I amusingly haven't needed to yet!

One disadvantage to rolling your own design for the mounts - can't just use your PCB! BUT lots of fun anyway :)
Could I perhaps get the CAD files for your PCB? I need to have specific mounting holes and such so it would be a great help if possible. If not I just have to figure out how to do this!

What was the advantage with the aligned sensors? i.e. can't you just have no deadzone and the initialisation code deal with it?
mike43110
 
Posts: 21
Joined: Fri Apr 24, 2015 11:45 pm

Re: Alternatives to potentiometers - hall sensors, etc

Postby zdayton » Mon May 25, 2015 10:25 pm

Got my sensors mounted and hooked up.

Image

I haven't had time to print new mounts so I just stuck them on with some double sided tape. Perfect alignment isn't necessary with the way I have the magnets mounted.

These sensors output a sinusoidal voltage, so I had to do some math to convert to an angle.

Code: Select all
float theta1 = (asin(constrain((p1ADC-267) * 2 * .00191204 -1,-1,1)))/2 + 0.785;
zdayton
Site Admin
 
Posts: 81
Joined: Wed Dec 24, 2014 6:20 am

Re: Alternatives to potentiometers - hall sensors, etc

Postby jeruw » Fri Aug 07, 2015 5:58 pm

I've been pretty busy. We bought a house, moved, and still have a condo to remodel to rent out ASAP, but I'm going to get going again on my build soon.

Ordered the capacitors, rest should arrive by next Tuesday. I can then get the boards I ordered way back when soldered up and start building my 2nd throttle.

I'm going to need to look over more of these threads and see what else I should incorporate. I'm intrigued by the counter springs and other mods people have been doing.
jeruw
 
Posts: 80
Joined: Tue Feb 17, 2015 3:10 pm

Previous

Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron