When&What to use...!!! simple questions?!


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2005
    Posts
    5

    Cool When&What to use...!!! simple questions?!

    Does anyone know any answer to some quick Q's for me?

    1) When do you have to use a serial controller like the Maxim232. Is it always neccesary to use USART?

    2) What’s the best device to "drive" a TTL signal from a pic chip? Are there any chips out there that will accept a variable/noisy/crappy signal and output a nice clean, powerful, crisp +5V signal? Or should this be a "buffer"

    3)What’s a good way to use one power supply and separate it into 2 power sources? In a current project of mine, I have a PIC chip controlling a H-Bridge. I would like to use one power supply for both devices, but the H-Bridge puts lots of noise into the circuit. I need a way to isolate them. I was thinking about using an optoisolator, but am not sure if it will pass noise through it as well.

    Thanks so much!
    Alan J Jurim

  2. #2
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    31


    Did you find this post helpful? Yes | No

    Smile

    1. Have you read the PBP manuel HSERIN? Have you been reading the datasheet for MAX232? Have you been reading something about the RS232 Standard(EIA232)? If not try to search the net, here is a link to start with:
    http://www.engr.uky.edu/~jel/course/.../rs232std.html

    2. I'm not quite sure that I understand what you mean, but could it be a Schmitt Trigger that you are looking for?

    3. How do you know that you are having a noise problem, do you have some failures that indicates noise problems?



    Regards
    Gert K.
    Last edited by Sharky; - 20th June 2005 at 09:47.
    *Let's do it*

  3. #3
    Join Date
    Jun 2005
    Posts
    5


    Did you find this post helpful? Yes | No

    Default followup

    I have read many datasheets about MAX232 but my true questions is: What is the advantage of using it? In other applications I have not used it and have has serial comm. work. Why add more to my work??

    In the second issue, specifically this is what is happening. I want to setup a IR receiver that would give "momentary" control over an electric motor. When the IR decoder receives a signal from a button being pressed and held, the test circuit is really turning the corresponding control port on + off really fast, instead of just on. So this is where im getting that crappy, sort of on w/noise signal.

    I know I am having noise problems cause when my motor initially starts, its put reverb back into my whole design but maybe after 1 sec it goes down and it works. This is why I want to somehow isolate the motor ground from the rest of my design to help "clean up" the remaining part.

    Thanks for any input,

    Alan J

  4. #4
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello Alan,

    Alan>>I know I am having noise problems cause when my motor initially starts, its put reverb back into my whole design but maybe after 1 sec it goes down and it works. This is why I want to somehow isolate the motor ground from the rest of my design to help "clean up" the remaining part.<<

    Put 2 diodes opposing across the Positive and negative of the motor... That will quite the noise down considerably. The diodes will help take care of the "spikes" and noise of the motor. If you are using a Mosfet, it will greatly reduce the heat/power needed by the Mosfet.

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  5. #5
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Default

    Using the max232 is a simple and safe way to convert the signals out of the pic into RS-232-compatible signals (including inverter!). There is no MUST, but it is the most used way ...

    I prefer to use the hardware-UART inside a PIC for receiving data, because it uses not so much CPU-time. You can receive fast messages at high baudrates. And setting up the sender in hardware is very easy....

Similar Threads

  1. Simple RF remote control code
    By Bruce in forum Code Examples
    Replies: 13
    Last Post: - 22nd January 2014, 10:45
  2. Simple Blinking LED - WTF!!
    By johnnylynx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st February 2010, 06:19
  3. Quick simple capacitor questions
    By The Master in forum Off Topic
    Replies: 0
    Last Post: - 1st April 2008, 10:59
  4. Hi Everyone! Some newbie questions :-)
    By guest_05 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th October 2006, 22:24
  5. Newbie has some questions
    By bartman in forum General
    Replies: 43
    Last Post: - 5th October 2005, 16:51

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts