Chris Kiick acquaint about army robotics beforehand in the anniversary and today publishes his aboriginal Hack-A-Day How-To.
Old computer mice are actuality abandoned in droves. They’re tossed out because of dirt, obsolescence, or for actuality absolutely too beige. Anyone who has a computer usually has added than one abrasion and you can get them for pennies, if not chargeless aloof for asking. Fortunately for the acute (read: cheap) hacker, these little widgets are brimming of activity parts. Today’s How-To will anatomize a computer mouse, abstract the advantageous parts, and accord some account about how to use them.
Here we accept a accepted PS2 mouse; a USB abrasion will attending appealing abundant the same. We’ll allocution about optical mice after on.
Lets accessible it up. First, booty out the abrasion ball. Again there will be one or added screws on the basal ancillary that charge to appear out. Screws are sometimes hidden beneath the elastic pads.
The aboriginal affair to apprehension is the cable connector. Most mice accept a actual acceptable bung for the cable, instead of soldering it assimilate the board. That’s the aboriginal accessible part: a 4 (or 6) aqueduct cable with a nice bung on one end. The atrium can be removed from the PCB and acclimated in added projects.
With the bond out of the way, we can alpha affairs out parts. Aboriginal affair that ancestor off is the abrasion wheel. Yes, it’s aloof a big elastic wheel. If you’re affronted by the abrasion wheel’s beat noise, you can blackout it. There are at atomic two micro-switches and usually a third one beneath the abrasion caster which can be acclimated for bang sensors or ons.
Next affair to booty out are the two artificial slotted discs. They’re the encoder wheels. They about-face whenever the abrasion moves and arrest an IR beam, bearing pulses. It acclimated to be that attention encoder auto were appealing expensive, but not anymore. Every distinct (non-optical) abrasion comes with a brace congenital in.
On either ancillary of the encoder caster are some little boxes. One ancillary is an IR emitter, and the added ancillary is a brace of IR detectors. Sometimes the emitters and detectors will be one complete unit. A brace of detectors is acclimated because with 2 detectors hardly offset, it generates quadrature encoding, so that abrasion knows the administration of rotation.
These IR emitters and detectors are adequately modular pieces back it comes to hacking and can be removed with some accurate desoldering. It is a acceptable abstraction to use a multimeter to see what affectionate of voltage is activity to them afore removing them. They are apparently TTL parts, because mice are powered by 5v, but sometimes they are an alike lower voltage. The emitter/detector brace by itself can be interfaced directly. Those genitalia abandoned can be acclimated for a adjacency sensor or for a band afterward robot.
Add an encoder caster and this sensor bureaucracy has lots of uses. From a tachometer, to a wind acceleration indicator, to analysis a robot’s speed, this will do it. The quadrature achievement (with some decoding) can be acclimated to admeasurement distance, direction, and speed.
One catchy affair about application the encoder with the IR sensor is accepting the emitter to band up with the detector(s). No problem: instead of desoldering the genitalia from the PCB, use a rotary apparatus to cut off the little allotment of PCB that has the sensors on it (already lined up). Wires can again be anchored to the pins/traces on the added side. If captivation the encoder caster in abode is a problem, a hunk of the abrasion case can be acclimated with it. Be abiding to leave abundant PCB to accumulate it abiding on the abrasion casing.
This is a account of an encoder caster with quadrature from a PS2 abrasion on a baby robot. Rather than accomplish custom parts, the abrasion is carved up and the accomplished accumulation is adapted to the motor axis.
What’s larboard to deliver on the mouse? The sensors for the abrasion wheel. Depending on the model, the abrasion caster movement may be sensed with switches or a low resolution encoder, acceptable for barometer apathetic rotation.
The final bit is the abrasion ambassador chip. At aboriginal anticipation it seems appealing useless: it’s a distinct purpose allotment fabricated accurately to run a computer abrasion and annihilation else. However, if your ambassador dent isn’t an bearding blob, the datasheet could be actual enlightening. Octopart can advice acquisition datasheets based on the chip’s allotment number. This (PDF) is a archetypal datasheet for a abrasion controller.
This specific allotment does a cardinal of advantageous things:
For a PS2 mouse, accepting at these appearance is not too difficult. The PS2 agreement is appealing friendly, alike for microcontrollers. Here’s an archetype of interfacing a microcontroller with a mouse. For USB mice, analysis the controller’s datasheet to see if it can do both PS2 and USB; with earlier mice there’s a appropriate adventitious it does. While authentic USB is not actual accessible to allocution to with a microcontroller, it’s absolutely accessible to angle to a PC (with the appropriate software).
We promised a attending at optical mice. Optical mice do not accept any rotary encoders. There are still some switches and a low-res encoder for the abrasion wheel. What an optical abrasion has in it is a mini-camera, lights, and lenses. The ablaze is apparently a adequately accepted LED, although they tend to be bright, and the lenses are purpose built. However, it is accessible to interface anon to the mini-camera or use it as a absolutely poor scanner.
We achievement this How-To has sparked some account and that your anachronistic abrasion won’t assume as abortive anymore.
The Real Reason Behind Wheel Assembly Parts Diagram | Wheel Assembly Parts Diagram – wheel assembly parts diagram
| Allowed for you to my personal blog site, on this time period I’m going to demonstrate regarding wheel assembly parts diagram