View Single Post
Old 06-05-2009, 08:41 AM   #1553 (permalink)
Master EcoModder
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096

2k2Prot5 - '02 Mazda Protege5
90 day: 33.82 mpg (US)
Thanks: 0
Thanked 12 Times in 9 Posts
I would definately not scrap the idea of uart on a prototype. I transform ideas into prototypes into production boards for a living - the UART is a BIG help in the prototype phase and totally useless in production. It would be a really big help to see the streams of incoming data, intermediate calculations and output data. You COULD use it to change up the PI values and other scalars and safety limits, but just for data logging it is powerful.

It is not really that complicated to do an ugly, raw, one-way data stream out. I could email paul some automatically generated code for a freescale to run the uart by interrupts, but i don't have anything for the atmel. Usually it comes in the form of a couple simple ISRs and a simple software FIFO. I'll spend a few minutes googling to see if i can find something.
  Reply With Quote