![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| so are you saying my nyquist frequency has to be half the frequancy i am sampling. how do i work out how often i need to sample a signal from the engine??? what sort of filter layout stops power spikes im guessing after the opamp there carnt be really any spikes becoz the max it can go to is 3.2v when the rail voltage is 5v but the spike could blow the opamp so i need to protect the opamp from high spikes with the filter | |
| |
| | (permalink) | ||||
| Quote:
Quote:
Quote:
Quote:
| |||||
| |
| | (permalink) |
| ok, i think i understand that the zener diode would stop the spikes but what would happen if you didnt filter the high frequancys going to the pic. if i was measuring the vehicle speed sensor which is a hall effect sensor that has a 5v ref and 0v gnd and the return signal puts out a 5v square wall, would i have to filter that or would i have to work out the highist frequancy it would produce at the highist vehicle speed and then filter out any frequancys above that | |
| |
| | (permalink) | |
| Quote:
You wouldnt need to use one of the A2D channels for this as its effectively a digital signal. | ||
| |
| | (permalink) |
| cool well i think that bit is easy then, maybe i should just make a digital speedo for my car and forget the rest. so what would happen if i didnt filter out high frequancys going into the pic from say the battery which has didnt frequancy being sent to it all the time by the alternator | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| ok iv looked at all the different things you have said and iv attached a circuit that iv made trying to take into consideration everything. am i on the right track wrong picture, ill do it again | |
| |
| | (permalink) |
| this is the circuit i think should work Last edited by jay543_uk; 28th November 2007 at 06:48 PM. | |
| |
| | (permalink) |
| That's getting something like (I'm presuming you're just not showing the power supply capacitors and filter components?. But like I've said before, you've still got bizarre feedback components round the opamp? - you're using it simply as a buffer for an attenuator, yet you're giving it a gain of two?. Remove both resistors and connect the output directly to the inverting input - giving a gain of one. | |
| |
| | (permalink) |
| if i dont have a gain on the opamp the voltage at the a2d when the battery voltage is 16v is 1.6v,is that not to low. when you say power supply caps and filters do you mean before the regulator because after i posted it i fault i just protect the regulator from spikes etc, could i do the same with another zener | |
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) |
| how do i no what will effect a sensor signal, ie if i used very low resistors i am guessing it would, what would you say is the lowist value resistors i should use on the sensor signal side. | |
| |
| | (permalink) |
| ok iv had a look at your tutorial processor board and i see the caps before and after the regulator, why does a cap stop the power spikes, does the cap absorb the spike because it trys to charge to the spike voltage. im gona spend this weekend going throught the whole of your tutorials. iv got a scope off ebay so im gona rig it up on the different sensors on the car and see what sort of spikes im getting as well. | |
| |
| | (permalink) |
| just found a good web site on cap filters, shows it removing ripples from the power supplie, im guessing your cap values are low because the opamp and regulator do not have much load so a low cap value will still discharge slowly and filter out powers upplie ripply. so if i look up on cap discharge to load i shold be able to get a rough idea of cap values depending on what circuits and loads im using. does this make sense or am i talking ball??? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Need help in my PIC project | andales | General Electronics Chat | 1 | 24th October 2007 01:50 AM |
| Uni Project Advice | 2-tone | Electronic Projects Design/Ideas/Reviews | 7 | 18th October 2007 01:11 AM |
| Can i make an Intelligent Switch by using PIC 16F84A | rukshankb | Micro Controllers | 3 | 22nd September 2007 04:58 PM |
| communication project with micro !!! | hossam mahanna | Micro Controllers | 1 | 20th July 2007 01:57 AM |
| Micro controller pinout for stand alone project????? | cubdh23 | Micro Controllers | 3 | 2nd January 2004 10:56 PM |