![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hi,
Can (and how) do I take a current reading from an AVO (or multimeter) and get it into a computer as a value? Background: I have made a (very simple) level indicator working of capacitance, basically I placed 2 brass plates a very close distance apart and placed it into a bucket (with changing oil level). I used a 555 timer diode pump circuit, and measured a current value in the circuit, as the capacitance changed so did the current. I now want to build on my project to look at situations with non-linear shaped vessels of oil, such as a cylinder on its side, the way I thought I would do this, is take the current value and get it into a computer, then using something as simple as excel, create some formulas that will tell me how full the vessel is, (ie half full, empty etc). Alternatively, I was thinking of using a set of LEDS that would maybe be all lit up when the vessel is full and when it is half full, half of the lights would be on, and so on. |
|
|
|
|
|
|
(permalink) |
|
Wow, that's an unusual-sounding application
OR for that matter, pass the current through the resistor to ground, and just put the ADC's input onto the top end of the resistor. Much simpler but AFAIR it's supposed to be a bit less accurate for some purposes (I forget why). You'd probably want an Op-amp follower between the resistor and ADC to buffer it though. Getting it into your computer is probably the harder part. Using a microcontroller (eg a PIC or an AVR or whatever else) with a MAX232 or similar (there are lots of clones and variants of MAX232) to send it to the serial port would probably be the easiest way. If you do this you can also use the microcontroller's ADC, if yours has one |
|
|
|
|
|
|
(permalink) |
|
You might consider changing the shape of the brass plates to get the response you desire. Experiment with a simple taper.
__________________
stevez |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Something like the 'angel wing' profile used on old radio tuning capacitors, to spread the band more evenly. Reference, using the possible metal tank as ground is not a good idea, consider cathodic/anodic corrosion problems you could have with the plumbing.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 20th September 2007 at 10:06 AM. |
||
|
|
|
|
|
(permalink) |
|
With regard to getting the data into a computer, I can recommend a good book - Visual BASIC for Electronic Engineering Applications - reviewed in the books section of this forum.
Brian
__________________
--------------------------------- Electronics Test Development Engineer --------------------------------- |
|
|
|
|
|
|
(permalink) |
|
Thanks for all your help so far, those are some really good suggestions!
I have also got hold of a copy of that book, so hopefully that will help. Anymore ideas will be greatly appreciated!! |
|
|
|
|
|
|
(permalink) |
|
Have you thought about using a microcontroller?
That way you don't need to worry about using a PC, all the processing can be done on board and it could control your LEDs too.
__________________
I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez |
|
|
|
|
|
|
(permalink) |
|
To be honnest, i really want to use a computer so i canget all then infomation on the screen. i found these
http://www.technobots.co.uk/acatalog...rfaces_65.html for interfacing with computers, and i was wondering if they are suitable for what i am trying to do? thanks for your help so far. |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
BTW, I use Liberty Basic for RS-232 and parallel port data collection. It's a cheap programming language and super easy to use, and you can make stand-alone apps with great looking graphic interfaces in no time. I think Just Basic, the freeware version of the same program, even has RS-232 (but not parallel port) support.* http://www.libertybasic.com/ http://www.justbasic.com/ *I just checked: yes, it does have RS-232 support - and the price is right! Last edited by Hank Fletcher; 20th September 2007 at 01:46 PM. |
|||
|
|
|
|
|
(permalink) |
|
this is subramanyam iam a final year btech student can uhelp me any way to succed in my final project
|
|
|
|
|
|
|
(permalink) |
|
send me a message weather u help in this context
|
|
|
|
|
|
|
(permalink) |
|
please i am finally take my hands from this so if u help me i will be great ful to u
|
|
|
|
|
|
|
(permalink) |
|
Wh at iz uproject I cantunderstand youverywell spaceout yourlet ers cor erctly.
Point is, What is your project and why should we help you? You seem like you are at a last second chance. You should use your time better if you want to suceed in life. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
If is a current reading, you can use a series resistor and measure the voltage drop across the resistor, which be proportional to the current flow. If you want to feed this voltage say, 0 to +5V into a PC, you can do so by driving/reading a Dual channel 12bit A/D convertor type MCP3202 connected to the PC's parallel port. I use a MCP on my parallel port, it gives an update rate of about 50 dual samples/second. The PC program for operating the MCP is written using Visual Basic 5. Does this help?
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) |
|
Hi subramanyam,
Please start a new thread for your questions.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| My professor screwed my final electronics project! | kungfusansu | Electronic Projects Design/Ideas/Reviews | 21 | 26th August 2007 09:57 PM |
| FINAL YEAR PROJECT! | erique82 | Electronic Projects Design/Ideas/Reviews | 18 | 15th April 2007 10:08 AM |
| A Microcontroller based Analogue Waveforms Analyzer Project | km | Electronic Projects Design/Ideas/Reviews | 76 | 30th June 2004 06:39 PM |
| Choosing a PIC for my project... | Beef41 | Micro Controllers | 6 | 19th March 2004 03:46 PM |
| I need a project idea based on my strength or interest. :) | janetsmith2000@yahoo.com | Electronic Projects Design/Ideas/Reviews | 10 | 11th November 2003 09:33 AM |