CrazyEngineers
  • How to connect Microcontroller with Computer?

    SDKING

    Member

    Updated: Oct 25, 2024
    Views: 1.1K
    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?????
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • SDKING

    MemberApr 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....​
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberApr 11, 2013

    You have to use UART of microcontroller to interface with PC. and for that you need MAX interface chip too.
    Are you sure? This action cannot be undone.
    Cancel
  • SDKING

    MemberApr 11, 2013

    UART means what?? i can't get you..Can you explain in brief...
    Are you sure? This action cannot be undone.
    Cancel
  • Ibe

    MemberApr 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.
    Are you sure? This action cannot be undone.
    Cancel
  • Vishal Sharma

    MemberApr 11, 2013

    i think its USART not UART
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberApr 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>
    Are you sure? This action cannot be undone.
    Cancel
  • Abhishek Rawal

    MemberApr 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)
    Are you sure? This action cannot be undone.
    Cancel
  • SDKING

    MemberApr 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..
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberApr 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.
    Are you sure? This action cannot be undone.
    Cancel
  • Anand Tamariya

    MemberApr 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.
    Are you sure? This action cannot be undone.
    Cancel
  • SDKING

    MemberApr 20, 2013

    point anand...ri8..sorry boss nd thnx..
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register