Jump to content

Junkyard Hall Effect Sensor


mikey

Recommended Posts

What sort of power supply are you using? Those motors can pull a fair bit if current... If its overloading your power supply, it could get mad voltage sag and beep due to under voltage.

I'll put mine on the logic analyzer and see how they are really driven and see how difficult it would be

Link to comment
Share on other sites

  • Replies 74
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Yeah, if we can get an ESC to run slow enough and at fixed speeds then I'll go that way. But at the moment it's looking easier to rip the guts out of the speedo and hook a stepper up to the needle. I can hook another stepper up to the odometer.

 

Just seems easier to me now? I'm reaching the limit of my know-how with driving the BLDC from the PIC I think, even with the L239D motor driver.  

Link to comment
Share on other sites

 

Yeah, if we can get an ESC to run slow enough and at fixed speeds then I'll go that way. But at the moment it's looking easier to rip the guts out of the speedo and hook a stepper up to the needle. I can hook another stepper up to the odometer.
 
Just seems easier to me now? I'm reaching the limit of my know-how with driving the BLDC from the PIC I think, even with the L239D motor driver.  

 

 

Nah don't do that.

 

I havent the time to look through all this but heres a BLDC motor driver chip. I don't think the one you're using is designed for BLDC?

 

http://www.ti.com/product/drv8313

 

fbd_slvsba5a.gif

Link to comment
Share on other sites

I have an ESC here thats the same as the one i dropped off to Mikey yesterday and me and the multimeter are tracing everything so i can draw up a schematic. Once i've done that, i'll be able to write/modify some code to see it i can get it to do something sensible :)

Stay tuned

Link to comment
Share on other sites

Havent done a lot of real work at work today.... have made this though

TqC7I.jpg

Not sure if its 100% correct, but it should be good enough to be able to have a play and see if i can make a motor do something sensible.

Another thing Mikey, if you get a motor with more poles, it will slow it down also. So will see what i can do, but when it comes down to motor buying, you probably want the lowest KV and highest pole count to get the best resolution and lowest speed etc.

Link to comment
Share on other sites

I think I'm gonna change tack. 

 

This BLDC thing seems quite tricky. So what is probably easier is driving the needle and the odo with little stepper motors I just pinched from old CDROM's at work:

 

IMG_20130730_095111.jpg

 

I even have a proof of concept we made whilst pissing around:

 

IMG_20130730_095700.jpg

Link to comment
Share on other sites

That looks cool as well. Would be handy for diesels ;) haha

Tonight was going to be trying to get the motor controller to do something sensible, but that idea would be a lot quieter etc as well. I mean getting an RC motor to spin at x RPM constantly has to make some noise of some description, but the stepper will probably be pretty quiet

Link to comment
Share on other sites

I did basically the same thing you're doing once upon a time with a mini speedo. I replaced the original odometer with a display though, so that part was much easier. I drove the needed with a VID29 stepper motor, straight from an arduino.

 

Ive got a bunch of left over VID29 stepper motors though: http://guy.carpenter.id.au/gaugette/resources/vid/20091026113525_VID29_manual_EN-080606.pdf

 

they're specifically for gauges, are internally geared to have a small degree of shaft movement per step. Run them with a proper controller, microstepping them, and you can make them completely seamless.

 

Your's if you want a couple to play with?

Link to comment
Share on other sites

Those look sweet!

I have 2 of these if you wanna play with them/have them

http://dx.com/p/5v-stepper-motor-uln2003-driver-board-set-158635

i tried playing with the ESC but broke one of the programming pins and decided to put it in the too hard basket for now, especially since i actually need those ESCs for my plane and dont want to destroy the code thats on them

Link to comment
Share on other sites


I did basically the same thing you're doing once upon a time with a mini speedo. I replaced the original odometer with a display though, so that part was much easier. I drove the needed with a VID29 stepper motor, straight from an arduino.

 

Ive got a bunch of left over VID29 stepper motors though: http://guy.carpenter.id.au/gaugette/resources/vid/20091026113525_VID29_manual_EN-080606.pdf

 

they're specifically for gauges, are internally geared to have a small degree of shaft movement per step. Run them with a proper controller, microstepping them, and you can make them completely seamless.

 

Your's if you want a couple to play with?




Oh mean! I actually just found these little suckers on ebay a couple of days ago. I've ordered one, hopefully it doesn't take too long to show up, they look perfect. Glad to hear I'm not the only one who's done something like this.

I pulled apart the speedo tonight and removed all the mechanical cable input. I mounted a stepper motor on the odometer and it spins the odometer and trip meter perfectly. So all I have to do is wait for the speedo stepper and mount that.

IMG_20130802_203251.jpg

 



Those look sweet!

I have 2 of these if you wanna play with them/have them

http://dx.com/p/5v-stepper-motor-uln2003-driver-board-set-158635

i tried playing with the ESC but broke one of the programming pins and decided to put it in the too hard basket for now, especially since i actually need those ESCs for my plane and dont want to destroy the code thats on them




Which reminds me, I have to drop off your other motor and ESC I have here. Thanks for letting me play with them, even though I wont be using them it was all part of the process of getting to this point.

When suits? Whats your addr?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...