How to connect Microcontroller with Computer?

SDKING

SDKING

@sdking-03Di1M Oct 25, 2024
How To connect the Microcontroller with our computers??
My problem is that..
"I have created One Device using micro controller which reads the Temprature.Hence i want to send that reading to the Computer and Display using c++ programe on console." So How we can connect that contoller to the computer?????

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • SDKING

    SDKING

    @sdking-03Di1M Apr 11, 2013

    How To connect the Microcontroller with our computrs??​
    My problem is that..​
    "I have created One Device using micro controller which reads the Temprature.Hence i want to send that reading to the Computer and Display using c++ programe on console." So How we can connect that contoller to the computer?????​
    I also created one application using c programming bioscom function but that application display garbege value....​
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww Apr 11, 2013

    You have to use UART of microcontroller to interface with PC. and for that you need MAX interface chip too.
  • SDKING

    SDKING

    @sdking-03Di1M Apr 11, 2013

    UART means what?? i can't get you..Can you explain in brief...
  • Ibe

    Ibe

    @ibe-sHoGz0 Apr 11, 2013

    there should be an USB port within your microcontroller to be able to connect it with your computer like the arduino. if not, you should have your own MCU programmer.
  • Vishal Sharma

    Vishal Sharma

    @vishal-pysGmK Apr 11, 2013

    i think its USART not UART
  • arunchary

    arunchary

    @arunchary-VtqB3c Apr 11, 2013

    hi.please make a small circuit where it can connected to your USB or COM port(Db9)RS 232 connector,to make a connection between Microcontroller and PC.In 8051 or other controllers as it is so called the ISP configuration concepts as follows.
    <a href="https://www.dropbox.com/s/iy7nw3tb0q2i6bq/avr_isp_sch.jpg" target="_blank" rel="nofollow noopener noreferrer">Dropbox - avr_isp_sch.jpg - Simplify your life</a>
    <a href="https://www.dropbox.com/s/mzr186t8213ma2d/isp1_sch.gif" target="_blank" rel="nofollow noopener noreferrer">Dropbox - isp1_sch.gif - Simplify your life</a>
    <a href="https://www.dropbox.com/s/1nawb7ub0tjp9g9/dispens.gif" target="_blank" rel="nofollow noopener noreferrer">Dropbox - dispens.gif - Simplify your life</a>
    <a href="https://www.serasidis.gr/circuits/avr_isp/avr_isp.htm" target="_blank" rel="nofollow noopener noreferrer">AVR ISP programmer (In-System Programmer)</a>
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Apr 11, 2013

    Vishal0203
    i think its USART not UART
    There's USART & UART both.
    USART : Synchronous-Asynchronous (device requires data+clock)
    UART : Only ASynchronous (device requires data only)
  • SDKING

    SDKING

    @sdking-03Di1M Apr 11, 2013

    I connected that device to PC using RS-232 cable to COM port and hence the "bioscom.h" header file gives facility to get input from COM port so the c program get's that output but compiler displays garbege value...I want that Binary Value Which is generated by device display on consol..
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww Apr 12, 2013

    SDKING
    I connected that device to PC using RS-232 cable to COM port and hence the "bioscom.h" header file gives facility to get input from COM port so the c program get's that output but compiler displays garbege value...I want that Binary Value Which is generated by device display on consol..
    It would be great if you post a detailed reply which explains your current hadrware settings and task you want to implement.
  • Anand Tamariya

    Anand Tamariya

    @anand-tamariya-DnfjEX Apr 13, 2013

    SDKING
    ... compiler displays garbege value...I want that Binary Value Which is generated by device display on consol..
    You should brush up your programming knowledge first. Compiler just compiles the program - it CANNOT display garbage value.
  • SDKING

    SDKING

    @sdking-03Di1M Apr 20, 2013

    point anand...ri8..sorry boss nd thnx..