I need serial cable

Discussion in 'General Electronics Chat' started by vead, Mar 26, 2014.

  1. vead

    Thread Starter Active Member

    Nov 24, 2011
    621
    8
    I want to burn hex code from Laptop to p89v51rd2. but I don't know which one cable is use
    laptop -aspire746
    os- window 7
    serial port
    microcontroller nxp89v51rd2
    compiler - keil
    programer software - flesh magic
    com port 1
    baud rate 9600
    interface - none ISP
    max RS232IC

    which cable is used to burn hex code?
    I have upload image
     
  2. MrChips

    Moderator

    Oct 2, 2009
    12,446
    3,362
    Laptops no longer have RS-232 ports.
    You need a USB to RS-232 serial adapter.
     
  3. vead

    Thread Starter Active Member

    Nov 24, 2011
    621
    8
    can I use this cable?
     
  4. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    What is that board in the first picture (post #1) Any link or product number. It could be that you can use the cable you posted. But first you must install the belonging driver. Then you plug the USB dingle in your computer. It will be assigned a virtual comport. You must setup your programmer software to use the latter port. This is something your teacher or school lab staff can help you with. You will not loose face if you ask for help on this
     
  5. strantor

    AAC Fanatic!

    Oct 3, 2010
    4,302
    1,988
    Mine does. That's why I have it.
     
  6. mcgyvr

    AAC Fanatic!

    Oct 15, 2009
    4,770
    970
    Does it still have the "If lost or stolen please contact Jesus" sticker on the back :)
     
    strantor likes this.
  7. Zerotolerance

    Member

    Sep 18, 2011
    56
    10
    Be careful on what USB to Serial Connector you buy as some don't seem to be compatible with certain devices, etc.

    You guys should see the brick I'm using at work to tap into my FPB's and VAV's. It's running Windows 98 :p. Battery only lasts for 15min. Surprised it still even holds a bit of a charge.

    LOL at Mcgyver
     
  8. MrChips

    Moderator

    Oct 2, 2009
    12,446
    3,362
    Try different brands until you find one that does the job.
     
  9. strantor

    AAC Fanatic!

    Oct 3, 2010
    4,302
    1,988
    Can you give a complete model # of your laptop?
     
  10. vead

    Thread Starter Active Member

    Nov 24, 2011
    621
    8
    Model - Acer Aspire 5745-Core i3
    Processor - Core i3-380M(3MB L3,1066Mhz,2.53)
    RAM - 2GB DDR3
    HDD - 500GB
    Optical Drive - DVD RW
    Screen - 15.6"(HD LED BL)
    Bluetooth - Yes
    WiFi - Yes
    Card Reader - Yes
    CAM /HDMI - Yes
    Weight - 2.6Kg
    Operating System - window 7

    Battery Backup - 5Hrs Battery Backup
     
  11. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Vead that board you show in the first picture post #1 should have come with a cable. And that cable should/must be used between the USB to RS232 converter that you show in post #3 and the board shown in post #1.
     
  12. vead

    Thread Starter Active Member

    Nov 24, 2011
    621
    8
    look at this picture there are two cable that is used for serial communication from laptop to db9 connector
    So I need two cable or only one usb to rs232 db9 serial cable
     
  13. MrChips

    Moderator

    Oct 2, 2009
    12,446
    3,362
    Learn the difference between DCE (Data Communication Equipment) and DTE (Data Terminal Equipment).

    Long before the internet and USB was invented, computers and terminals communicated with each other over telephone lines. People did not own computers. They used a data terminal to connect to a main-frame computer. They did this using a box called a modem (modulator/demodulator). The terminal was plugged into the modem using an RS-232 cable and the modem to the phone line.

    The terminal is called DTE.
    The modem is called DCE.

    Along came IBM with the IBM PC and threw a wrinkle into the skunkworks. They classified the PC as DTE. The standard RS-232 cable allows you to connect DTE to DCE. The wires in the cable are connected straight through, pin to pin, female pin to male pin.

    What is a NULL modem? This is a cable that allows you to connect DCE to DCE or DTE to DTE. Pins are crossed and you have to choose your sex (gender), male to male, or female to female. (NULL modem cable would have female connectors on both ends of the cable allowing you to connect PC to PC).

    The bottom line is you have to know what you are connecting to.

    Is it DCE or DTE?

    Your USB to RS-232 cable should have a male connector as in DTE.
    Your dev board should have a female connector as in DCE.
    The USB to RS-232 cable should plug directly into your dev board as is.
     
    Last edited: Apr 1, 2014
    vead likes this.
Loading...