![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, I am using a PIC microprocessor to detect a pulse. I have the MikroBasic code working 100% in an EasyPic5, no issues at all. The problem is that I am detecting a pulse from a separate circuit, with it's own power supply. The final version of the circuit will hopefully all be running off the same power supply. The pulses I am detecting are a 5V signal, so a great TTL source. However, to measure these pulses, I have to measure between this pin and 5V, with 5V connected to the EasyPIC GND. Obviously I cannot use the 5V line as the signal ground, so what do I do? Do I have to use two power circuits? I think a picture is now necessary to show what I mean.. (Copy and paste the following into notepad. Use Courier New as the font. Disregard the fullstop's). ............. ________ ........................... 5V --------->|........|................__________ .............|..Test..|................|...Easy..| GND--------->|.Circuit|................|...PIC5..| .............|........|................|.........| .............|........|<5V------------>|...GND...| .............|........|................|.........| .............|........|<Pulse Out----->|...RB0...| .............|________|................|_________| Please help. I need a low-tech solution, and I need it quick. | |
| |
| | (permalink) |
| How about using an optocoupler ? | |
| |
| | (permalink) |
| Why? What do the output pulses look like referenced its own ground? Perhaps if you posted the schematic of the test circuit (pulse generating circuit) it would shed some more light.
__________________ Go Trojans! | |
| |
| | (permalink) |
| I don't have a diagram of the test circuit. It is not my product. If you look at the output pulses referencing it's own ground, there is nothing to see. No pulses. Nada. | |
| |
| | (permalink) |
| As a previous post mentioned use an optocoupler. | |
| |
| | (permalink) |
| Thanks everyone. I will be using a 4N35. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| 230-250v Mains power supply problem | Xpongo | Electronic Projects Design/Ideas/Reviews | 2 | 10th April 2008 11:27 PM |
| AC/DC power supply problem | hardcore misery | Electronic Projects Design/Ideas/Reviews | 9 | 20th September 2007 02:25 PM |
| Power supply problem | Projectman | Electronic Projects Design/Ideas/Reviews | 10 | 24th July 2007 04:31 PM |
| PIC Power Supply Problem | Suraj143 | Micro Controllers | 17 | 9th May 2007 08:15 PM |
| Power supply problem | Scarr | General Electronics Chat | 2 | 28th June 2006 06:00 PM |