go_away

Author Topic: LPT & COM  (Read 937 times)

0 Members and 1 Guest are viewing this topic.

Offline yyyTopic starter

  • Jr. Member
  • **
  • Posts: 45
  • Helpful? 0
LPT & COM
« on: September 17, 2009, 01:38:06 PM »
How I can send or receive information through the LPT and COM
I search after electrical circuit sketch
and useful commands in C that can help me to program this
also I will glad to receive sites that talk about this problem

Offline Half Shell

  • Robot Overlord
  • ****
  • Posts: 225
  • Helpful? 0
Re: LPT & COM
« Reply #1 on: September 17, 2009, 07:39:55 PM »
What operating system?

What MCU?

Offline yyyTopic starter

  • Jr. Member
  • **
  • Posts: 45
  • Helpful? 0
Re: LPT & COM
« Reply #2 on: September 18, 2009, 03:01:41 AM »
Windows XP & PIC 18F

Offline Half Shell

  • Robot Overlord
  • ****
  • Posts: 225
  • Helpful? 0
Re: LPT & COM
« Reply #3 on: September 18, 2009, 07:56:31 AM »
There is a C library called Zephyr that I hear (I've never used it, as I am a Linux user) is pretty good. I've had some school mates build robots controlled by it.

Check the USART pages in the PIC18F data sheet for that part.

Now, make sure you use convert it from serial to TTL levels. If you need to do this manually, look up a MAX232 IC.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,659
  • Helpful? 169
    • Society of Robots
Re: LPT & COM
« Reply #4 on: September 20, 2009, 08:31:02 AM »
Why not USB? There are many USB to serial adapters for $10-$30 out there.

Just print out data through UART (tons of code online for this), and connect with HyperTerminal to view it.

 


Get Your Ad Here

data_list