Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by GrandAlf

  1. G

    [SOLVED] pwm noob programming

    That explains a lot. Could not understand why a compiler would miss such an obvious error. Header files are not usually a good place to put variables unless you need to. If you want them to be available globally putting them in startup before main will normally do the trick. Better to use local...
  2. G

    [SOLVED] pwm noob programming

    Good to see you have it sorted. It is not good practice to not declare variable types as this can lead to all sorts of problems. I am surprised that your compiler did not give an error on this, I guess it must make them 16bit integers by default. If you are new to C, may I suggest looking up...
  3. G

    [SOLVED] pwm noob programming

    I cannot see where you have declared count and as what type. Probably the variable is overflowing if defaulting to int?
  4. G

    N-Mosfet Can it be Posible Vds<Vgs?

    Any particular reason you need to do it this way. More usual to use an optocoupler with appropriate led resistor I would suggest around 2k2 to give around 10mA depending on which opto you use of course. This is a cheap, reliable and effective way to do it.
  5. G

    circuit board to control a solenoid valve??? I don't know where to start

    I think this is probably a good project for a small 8 pin micro with an analogue port PIC12F683 as an example, there are many others. I know that it is a steep learning curve especially if you have to learn coding as well. This allows for great flexibility and is well worth the effort. You could...
  6. G

    Dc motor noise filtering techniques for micro-controller.

    Good to see you have resolved the problem. There are many ways other than the ones you have used but no one solution. Methods include Board layout with common ground point, psu decoupling, VDRs across motor, inverse parallel and series diodes, faster the better, shielded cable/motor etc. Good...
  7. G

    Block diagram, pic18f2550

    Gate/buffer is non inverting. Enable low = gate open. Enable high = gate closed. Active low in other words.
  8. G

    What value of resistor should I use with this reflective optical sensor

    Presume you mean the series resistor for the led. I think 60mA DC is probably around the max. If you want to play around I suggest around 220R is a safe starting point no lower than 56R if you need more output. Transistor Emitter to ground, Resistor from collector to +5v 10K is a good starting...
  9. G

    [SOLVED] what is the difference between MAX232 and RS232

    There is no difference in the RS232 format. Max RS232 is simply an IC with built in charge pump facility to give the required + - voltage levels for the RS232 standards. RS232 can be used at logic levels at both ends of the transmission link. You must never mix the two, you cannot connect a...
  10. G

    I2C High speed Adapter ( 1MHz and above)

    Tantalos is correct on this. Originally a low speed bus used for data transfer in consumer electronics. USB is a faster variant but protocols may not suit your requirements.
  11. G

    voltage flow - 1 direction only

    Not sure how you could measure the resistor in that situation. As it is in series you could only effectively measure between the cap and centre electrode and not the body of the plug. In effect you would be measuring just leakage from moisture/carbon deposits etc. A relatively low value resistor...
  12. G

    Decoding CANbus messages

    Thanks guys. I thought it may be a little difficult to get specific info. There are manufacturers that make specific units to say just extract engine running and give an signal output, but nothing that is specific to my needs. They do however claim compatibility for most vehicles which suggests...
  13. G

    Decoding CANbus messages

    I have been asked to look into extracting the following info from a vehicle CANbus and convert to relay output. Footbrake ON or OFF Handbrake ON or OFF Engine running (Rpm related >500 say?) Now hardware is not a problem, just a pic with a bit of interfacing. Am thinking of using CCS for the...
  14. G

    How to attach IR Receiver to PIC12F683 ?

    Thanks for the input guys, I had initially thought of polling but considered it may not be reliable due to timing constraints. Essential will be just using 3-4 buttons on remote and dumping them into a variable. My thoughts where on using a different timer to the pwm one and setting up after...
  15. G

    PC serial port precautions to be taken

    Opto is always nice for ultimate safety but not really needed. You can send from micro direct to PC but not from PC to micro as this is +-12v. You need to remove the - and clamp 12 to 5v. You can google for simpler circuits rather than MAX232 if you want, but the max is a good option as well.

Part and Inventory Search

Back
Top