View Single Post
  #4   Spotlight this post!  
Unread 05-03-2007, 21:46
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: RS 232 and Dashboard

To turn RS-232 serial data into numbers, I suppose you could design some sort of state machine out of discrete logic...but you really ought to be using a programmable computer with a serial port. Although building your own UAR/T might be a fun challenge, it's much easier and much less expensive to use what's already built in to most microcontrollers.

Bottom line: don't try to turn serial data into numbers yourself. Let the available hardware do it for you. Connect the receive pin to the incoming data, program the UAR/T for the proper bit rate, and read the incoming bytes as they arrive. Your first task should probably be to decide what kind of processor you have the ability to program, and then either to design a computer around it, or use an existing design like a BASIC Stamp or Gumstix system.