View Single Post
  #2   Spotlight this post!  
Unread 04-12-2003, 18:09
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: EduBot and USART ports

Quote:
Originally Posted by Dave...
The 2004 Edubot includes two serial ports (USART): USART1 is the programming port which has voltage conversion for interfacing with an RS-232 port, and USART2 is the TTL port on the Edubot. No dedicated handshaking line is available on the TTL port, although Innovation FIRST states that any of the digital I/O pins could be used for this purpose.

Has anyone succeeded in modifying the code to make use of the TTL USART2 port? I have a USART compatible sensor, but am just beginning to learn C and the Microchip 18F8520.

I miss the days of just hooking up a pot or analog sensor (gyro) and being able to read the value of a byte directly. Mechanical engineers get spooked around all this programming/computer science stuff.

Your help is appreciated.

Dave...
Yes, i have some experience with the USARTs. What kind of sensors are you using?
If u need some code i can do that. I can give you some code i wrote to read these sensors.
__________________
1139 Alumni