Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

code for Uart communication

hey there i am doing a Train ticket FPGA based vending machine and i want to print a ticket using a printer. tell me what to do.

I am thinking of using a PC as medium to print the ticket is that possible.

another issue is am using DE2 board only.

anyone to help?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If DE2 has Ethernet, just print directly over the network instead.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Which printer do you use? Some printers take simple control signals or even print chars they get over RS232.

    Using a PC as go-between could help, send chars over rs232 (relatively easy to implement) and write software on the PC to print (I have no idea how to go about doing that).