#3227170 - 03/07/11 05:32 PM
Re: DIY hall sensor ...
[Re: f15sim]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
Can I just cut the wires between the circuitboard and potentiometers, and solder the wires to the hallsensor instead..? Yes, but observe that pinout in HALL sensor is different from pots. Pots: +5v - SIGNAL - GND (invert +5v wires and GND to inverted response). HALL (A1302 - front view): +5v - GND - SIGNAL (invert wires to get inverted response is NOT allowed). http://www.leobodnar.com/products/BU0836X/A1302-BU0836.gifSo, check the datasheet of HALL that you buy for correctly pinout. A1302: http://www.leobodnar.com/products/BU0836X/A1302.pdfSokol1
|
|
#3227638 - 03/08/11 01:02 AM
Re: DIY hall sensor ...
[Re: f15sim]
|
Joined: May 2010
Posts: 108
julian265
Member
|
Member
Joined: May 2010
Posts: 108
|
If memory serves, I was getting a range of about .13 to 4.93 volts out of the one I used in the video. julian265, considering that most will use the "middle" 90 degrees of travel on something like this, is the fall off at the ends of the travel _really_ going to matter that much? Considering what the typical setup will lose just in mechanical slop, I suspect the difference would get lost in the noise. The Plasma MM2 is an _awesome_ device. Unfortunately Beta Innovations is no longer in business. Something bent him sideways and he closed his doors - I've never gotten an explanation. The software will allow adjustment of the response curve though. Eventually I'm going to get the Arduino firmware written to allow you to use an Arduino Uno (or similar) as a control input device. That will also have the ability to tweak the response curves. g. It really sucks when a good product disappears off the market! If you're going to use only the middle 90 degrees, then I agree that the loss of linearity won't be noticeable in-game - however if you do this with your current setup, you'll only be using the voltage range between ~.73 and ~4.3. This is fine if you are happy with the resolution that you will be left with, as long as you calibrate it to still reach 0 and 100% in-game. I am under the impression that most sticks don't have 90 degrees of travel though, and long-throw sticks use even less. Therefore you match the sensitivity of your sensor to the axis that it will measure (so it reads minimum and maximum voltage at the extents of movement), you can directly attach it (thus avoiding cogs and levers), and not have any mechanical slop at all - this was pretty much the reasoning that motivated me to build my stick, along with non-wearing, non-spiking sensors.
|
|
#3227643 - 03/08/11 01:06 AM
Re: DIY hall sensor ...
[Re: Bluedeath]
|
Joined: May 2010
Posts: 108
julian265
Member
|
Member
Joined: May 2010
Posts: 108
|
since these sensors are able to accept 6v power would this increase range? (linearity is already OK and centering is also, but I'm kinda curious) I'm not really sure what would happen. Different things might happen if you powered your A/D circuit with 6V as well, compared to just the sensor. I think it would depend on the design of the A/D circuit, and how well the A/D would work with something that can exceed its own supply voltage.
|
|
#3227646 - 03/08/11 01:11 AM
Re: DIY hall sensor ...
[Re: Bluedeath]
|
Joined: May 2010
Posts: 108
julian265
Member
|
Member
Joined: May 2010
Posts: 108
|
I ordered some A1302 from EBAY it turned out that they were china manufactured clones (i checked from the markings and thay are similar to allegro by spec sheet) ,but they work really well the only strange thing is that i can't get full travel in other words by using a 12 bit A/D i only get around 690 to 3700 (wich is anyhow fairly good by being more than 3000 discrete positions) instead of ideal 0 to 4096, the sensor is placed right in the middle of the "BIC assembly" and i used 5x5x5 neodimium magnets I tested by spinning the magnet assembly freely 360° several times and i never exceed thoose values. I laso tried to increase flux by adding magnets but the result not change. Im already satisfied with this setup but i was wondering if this is normal. One thing I forgot to mention - you can get 3000 steps over 180 degrees, but what can you get within the extents of the axis that you intend to measure? In other words if you are only measuring +/-30 degrees, you'll only have 1500 steps.
|
|
#3227853 - 03/08/11 08:48 AM
Re: DIY hall sensor ...
[Re: julian265]
|
Joined: Jan 2011
Posts: 658
Bluedeath
BS 62 "Pegasus" CAG
|
BS 62 "Pegasus" CAG
Member
Joined: Jan 2011
Posts: 658
|
@ Julian. The range that i get using the TM TQS travel is not full but is close to 2500~2800 steps, more than enough, I still have to build the assembly for the joystick I'll send some results when it's ready .
Last edited by Bluedeath; 03/08/11 08:49 AM.
"When you plan revenge best dig two graves" Confucius "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety" Benjamin Franklin
|
|
#3228226 - 03/08/11 05:29 PM
Re: DIY hall sensor ...
[Re: f15sim]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
This guy get 0 to 5 v output with this circuit: HALL Sensor is reused from 5" or 1.44" floppy drive. Magnets seen like ferrite ones... Trin pot allow easy find 2,5v center and adjust gain. Google translation: http://translate.google.com/translate?hl...55fcbdf2ddd393dEdit: Notice that magnet travel in this setut is ~40 degrees (+20, -20) Sokol1
Last edited by Sokol1; 03/08/11 05:33 PM.
|
|
#3229665 - 03/09/11 08:59 PM
Re: DIY hall sensor ...
[Re: julian265]
|
Joined: Aug 2007
Posts: 293
Brandano
Member
|
Member
Joined: Aug 2007
Posts: 293
Caput Mundi (well, it used to ...
|
... According to the spec sheet, the 1301/2 (like the 1321) output can be between 0.2 and 4.7V - which means you can't get the A/D converter to read less than 160 or more than 3850, even when you have plenty of magnetic flux. This just needs to be calibrated out in the operating system, unless you want to use a signal amplifier to get a true 0 to 5 V output.
Another possible approach would be to replace the positive and negative rail references for the ADC with values that allow to scan the whole range. The feasibility of this will depend on the ADC used, though. I believe it might be possible, but perhaps not for everyone. I tend to agree with Gene, if my joystick is fully swung in one direction it means I am not looking for fine input.
|
|
#3229715 - 03/09/11 09:37 PM
Re: DIY hall sensor ...
[Re: f15sim]
|
Joined: Jan 2004
Posts: 1,221
f15sim
More projects than sense!
|
More projects than sense!
Member
Joined: Jan 2004
Posts: 1,221
Graham, WA
|
I'm aware of what a flux ring does Brandano. My supposition was that it wouldn't likely provide any benefit in my case due to the proximity of the magnets to the sensor and their strength. If I was using ceramic or "standard" magnets, then a flux ring may be of some benefit. g.
|
|
#3230319 - 03/10/11 02:08 PM
Re: DIY hall sensor ...
[Re: Sokol1]
|
Joined: Jan 2011
Posts: 658
Bluedeath
BS 62 "Pegasus" CAG
|
BS 62 "Pegasus" CAG
Member
Joined: Jan 2011
Posts: 658
|
This guy get 0 to 5 v output with this circuit: HALL Sensor is reused from 5" or 1.44" floppy drive. Magnets seen like ferrite ones... Trin pot allow easy find 2,5v center and adjust gain. Google translation: http://translate.google.com/translate?hl...55fcbdf2ddd393dEdit: Notice that magnet travel in this setut is ~40 degrees (+20, -20) Sokol1 ANy change that someone is knows what are the resistorr values and what are the specific models of components needed?
"When you plan revenge best dig two graves" Confucius "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety" Benjamin Franklin
|
|
#3232002 - 03/12/11 02:15 AM
Re: DIY hall sensor ...
[Re: f15sim]
|
Joined: Jun 2007
Posts: 630
Ltfransky
Sith Lord
|
Sith Lord
Member
Joined: Jun 2007
Posts: 630
Peterborough, ON, Canada
|
The KMZ41 and UZZ9000 have been replaced by the KMA200. It has the amp on-board.
Please Heatware Me!Ours is not to reason why. Ours is to do or die. Tennyson I have slipped the surly bonds of earth And danced the skies on laughter-silvered wings.. Gillespie Magee, RCAF
|
|
#3232378 - 03/12/11 02:56 PM
Re: DIY hall sensor ...
[Re: f15sim]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
Ltfransky, You know how calculate the resistor values to desirable angle? Russian guys use KMZ41 plus MCP601/2, each cost about ~2,00. Unfortunately the only place where I find theses items is in mouser.com but the shipping for my address is U$ 40!!! Local Farnell dont have. Sokol1
|
|
#3232849 - 03/12/11 11:39 PM
Re: DIY hall sensor ...
[Re: f15sim]
|
Joined: Jan 2004
Posts: 1,221
f15sim
More projects than sense!
|
More projects than sense!
Member
Joined: Jan 2004
Posts: 1,221
Graham, WA
|
FYI, the A1321LUA-T is still available from Newark Electronics and some other vendors. The link is: http://www.newark.com/allegro-microsyste...?CMP=AFC-HEARSTThey're $1.62 each in single quantities and they've got 2800 in stock. julian265, would it be worth it to order these as replacements for the A1302's that I'm using now? tnx. g.
|
|
#3232869 - 03/13/11 12:23 AM
Re: DIY hall sensor ...
[Re: f15sim]
|
Joined: Jun 2007
Posts: 630
Ltfransky
Sith Lord
|
Sith Lord
Member
Joined: Jun 2007
Posts: 630
Peterborough, ON, Canada
|
Newark kills you on shipping. They have good prices, but they sure make it up in other places.
Actually Sokol1, I'll have to look into it. I'm not sure
Please Heatware Me!Ours is not to reason why. Ours is to do or die. Tennyson I have slipped the surly bonds of earth And danced the skies on laughter-silvered wings.. Gillespie Magee, RCAF
|
|
|
CD WOFF
by Britisheh. 03/28/24 08:05 PM
|
|
|
|
|
|
|
|
|
|
|