![]() |
![]() |
![]() |
|
|
|||||||
| 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) |
|
And please say exactly what it is you need help with.
Also, kindly refrain from making three posts in a row as I find it very annoying.
__________________
I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez |
|
|
|
|
|
|
(permalink) |
|
Ok Chaps, thanks for all your help so far, but i have to admit that my knowledge and understanding in this area is very limited and i am trying to do something a bit above my level, none the less, i still want to give it a go.
I have attached my circuit (i think) for measuring the capacitance, where cx is the unknown capacitor that is being created in the oil. Sorry about the missing values (and even the ones that are there might be a bit wrong, i'm afraid i have left my diagram somewhere.) I am prob expecting this to be much simpler than it is, but what i was hoping for was some sort of addition to my circuit that would allow me to basically plug my circuit into my computer and i would be able to see (and manipulate) data. By the sounds of thins HANKS liberty basic and just basic suggestion are the closest to what i was looking for. But i have to confess i don't know what RS-232 is? Also, is the parallel port that cable with the screw things in it? I have searched RS-232 on sites such as maplins and RS and have found millions of items ranging from pennys to hundreds of pounds and really don't have a clue what i am looking for. If its not too much to ask, can you break things down for me as i am a bit slow. Oh and by the way, i'm not a 'he' i'm a girly |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Ah, so is this 'Dual channel 12bit A/D convertor type MCP3202' like a component that i can add on to my circuit? If it is, that sounds good. If not, how do i use it? |
||
|
|
|
|
|
(permalink) |
|
Hello ? ? ?
|
|
|
|
|
|
|
(permalink) |
|
RS232 is a standard for voltages when sending serial data between systems.
You could use the MCP3202, but since most of the microprocessors include ADCs, it's probably not necessary to have a separate one. A separate one would be needed if you actually want up to 12-bit accuracy. Look at the smaller PICs and AVRs with ADC and serial ports. I think you can get some good beginner information on Jan Axelson's site. Last edited by mneary; 22nd September 2007 at 01:09 AM. |
|
|
|
|
|
|
(permalink) |
|
Hi again Helz15
Ok, let's see if we can get you up to speed with a sort of "computer ports primer"... *very deep breath* First detail in case you didn't know it: all the ports described here use digital signals of one form or another, rather than analogue. I trust you understand this ok so I won't go into it further here. RS-232 is the electrical standard used on computer "serial ports", aka "com ports". So the terms are often (perhaps wrongly?) used interchangeably. Most computers will have 2, 1, or maybe 0 (on very modern ones) serial ports! If you have any 9 pin "D-plugs" (see later images) around the back of your computer, probably next to your "parallel port", those would be serial ports. Note that the 2nd serial ports of some MUCH older computers have 25 pins instead, which can make those ones quite easy to confuse with the parallel port As you guessed, yes: "parallel ports" are one of the various ones whose connectors have the screws in. They're 25-pin D plugs, and their main use is in connecting (older) printers to the computer, so they're usually just called "printer ports". I mentioned that some very old computers also have 25-pin serial ports- if you have one (you'll see illustrated further on) then you can tell them apart by the gender of the connectors. My own personal, subjective and very very limited experience of interfacing circuits with parallel ports was not too great, but other people have managed ok and plenty of commercial hardware used to use them happily for all sorts of things. There's good reasons why my experience was quite probably irrelevant. Parallel ports use either 0-5V, or 0-3.3V signals (never heard of any other levels but I could be wrong). They have quite a few signal lines, mostly from the computer to the device (because they're mostly for printers). WHAT THEY LOOK LIKE: If you have a relatively modern computer with these ports, it should look a bit like this: http://www.vpedal.com/images/two_serial.gif (colours may vary?) Note that the TOP one there is the "parallel port" or "printer port", hence the printer icon. The other two smaller ones are the serial ports, hence the little "binary stream" icons next to them. That coverplate there ALSO has an icon for "monitor" next to one, because they make such plates for lots of different motherboards, and some would have a different connector there! If you have a MUCH older computer, your serial ports will probably look like on this page: http://computer.howstuffworks.com/serial-port2.htm But that's quite a big "if" As I said, I think SOME new computers don't have ANY RS232 serial ports, and maybe no parallel printer ports either! Ok, sorry that was so very long (maybe I should copy it to a page of my site for future), but it did sound like these details were new to you. Hope it helped! |
|
|
|
|
|
|
(permalink) | |
|
Quote:
As for that "yes and no, ish" answer, well ADCs come in various forms. The MCP3202 mentioned would be a single component to use in your circuit, yes. It'd be an integrated circuit (IC, a chip) like your 555 timer. But you can also get other brands and types of ADC, and you can build them yourself from parts (with effort), and many microcontrollers come with them built-in. Here, BTW, is another quite different idea, as all this might be getting a bit much for you perhaps, I dunno. You quite surely either have a sound card in your computer, or else on-board sound stuff built into the motherboard. AFAIK, basically all the interfaces for these also have a 15-pin port for joysticks (and also for MIDI), apart from the audio plugs. Yes, it's a bit odd that these are on sound cards, but that's not my fault I don't know exactly how doable this is though, in terms of hardware or programming. And very little sense of how to go about it. Anybody got any ideas? Could the current be sent directly if suitably scaled? I expect it'd read out nonlinearly if so? |
||
|
|
|
|
|
(permalink) | |
|
Quote:
Has Tomble answered your question OK, or do you want more information? The MCP3302 connects to the PC's printer port and controlled/output as SPI using a program in the PC. Get the datasheet for the MCP3202 from www.datasheetarchive.com
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) |
|
Thanks Chaps,
I think that is enough information to get me going, but i'm sure i will be back. Many thanks for all your help, its very much appreciated. H. |
|
|
|
|
|
|
(permalink) |
|
Hey cool, good luck!
BTW, did anybody have any thoughts on my joystick port suggestion up there? It may easily have got buried in the monstrous heap of info I'd gone and posted |
|
|
|
|
|
|
(permalink) |
|
For RS 232 you can use MAX 232 IC, this converts TTL voltage levels to RS 232 +12/-12 levels.
But I think you will still need a mcu for this, as RS 232 sends/receives ASCII characters, you could also develop a program in C to toggle the RS 232 port lines (namely RTS, DTR etc). If you are not interested in a mcu, you might find the parallel port easy to use, as the port contains several output pins and input pins. Control of these pins can be easily done through software. thanks a |
|
|
|
|
|
|
(permalink) |
|
Hi guys,
I have another question to go with this project. Will i need a buffer in the computor to store information? I was thinking of sending the infomation every couple of seconds. Thanks H. |
|
|
|
|
|
|
(permalink) |
|
There are multimeters with a port connection built-in. few of them were reviewed in the Elektor magazine in one of their recent issues.
__________________
Regards, Sarma. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
If this is the case, this sounds excellent, however, i don't think i will be able to do that, as this is a college project and it may make it a bit to 'thin on the ground'. Although it may be good for testing the initial part of my circuit. I may have simplified this too much, but it think the basic stages involved in my project are: - Set up the circuit as shown in the diagram (attached to a previous post) - Replace the AVO with a resistor (don't know what size) to get a voltage reading. - use an A/D converter (although i think this is in the chip) - use a MAX232 chip to make it that RS232 thing - plug into parrallel port - use a buffer to store data Have i understood what i have been told, or am i missing something? I was also reading through other posts to see if i could find anything simular and i found one where someone was talking about using an AVR or PIC microprocessor as a local controller. It said this would do the A/D conversion at a specified interval and log the data. Would this be suitable for my project? Thanks. |
||
|
|
|
|
|
(permalink) |
|
try ICL7109 applications and it should be possible to make a device to work with PC
__________________
Regards, Sarma. |
|
|
|
|
| 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 |