??? 11/08/04 09:34 Read: times |
#80649 - Golden Rule Responding to: ???'s previous message |
ant cosier said:
1. if you use a hall sensor how would the micro read it
2. can the micro (89c51rd2hba) measure voltage or current The Golden Rule for all questions like this is to consult the Data Sheet(s) for the device(s) concerned, and then to look for Application Notes, examples, etc on the manufacturer's website. 1. if you use a hall sensor how would the micro read it As Michael has already said, there are many different Hall sensors on the market with a number of different output formats - maybe Voltage, PWM, frequency,... Thus, for specific information on interfacing a specific sensor, you will need to start with the Data Sheet. 2. can the micro (89c51rd2hba) measure voltage or current The Data Sheet will tell you precisely what features the micro has - probably right on the front page! Note that many micros today do have built-in analogue input capabilities (notably Silicon Labs & Analog Devices); if your particular device doesn't (the Data Sheet will tell you), then you must provide the capability externally - as Steve has already said, you can do this with "a couple of external bits and a comparator, or a dedicated AD [Analogue-to-Digital converter]." |