EMS side serial implementation discussion and group design!

Official FreeEMS vanilla firmware development, the heart and soul of the system!
User avatar
AbeFM
Post Whore!
Posts: 629
Joined: Sat Feb 16, 2008 12:11 am
Location: Sunny San Diego
Contact:

Re: EMS side serial implementation discussion and group design!

Post by AbeFM »

Heh, sorry - I was just thinking that, if the serial code can be run at a decent speed and reliably, more and more sensors could be done with serial communications - making it possibly more robust and accurate. Does it matter? Probably not, but since I'm on a board with people who want to get 1/10th of a percent control over AFR's, I figure why not go for the gold? :-)
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: EMS side serial implementation discussion and group design!

Post by Fred »

http://www.maxim-ic.com/appnotes.cfm/ap ... umber/2141

We are at 1.376% so we should be OK. I had decent serial comms today after messing around for ages I realised that I was misinterpretting the minicom parity display... and had it wrong. Flawless with it set correctly now.

Will do something useful tomorrow and knock out another release with a built in long TODO list :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: EMS side serial implementation discussion and group design!

Post by Fred »

Image

She logs :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
AbeFM
Post Whore!
Posts: 629
Joined: Sat Feb 16, 2008 12:11 am
Location: Sunny San Diego
Contact:

Re: EMS side serial implementation discussion and group design!

Post by AbeFM »

Lost some sync there in the middle, time from 120 to 0000, did it reset or something? Anyway, it looks like you're spitting data out once a second? Is it much load on the cpu? Is there a thread to ask all these questions in?
Ah, you did reset it on purpose.... Anyway, awesome awesome. Nice to have some real data out!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: EMS side serial implementation discussion and group design!

Post by Fred »

Did you see this one :

Image

:-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: EMS side serial implementation discussion and group design!

Post by jharvey »

Some potentail points of interest. You don't need the max chip for PC serial. I know that EIA 232 specifies the gray region below 0V but I haven't found an application yet where about 3v wasn't already well out of no mans land. Often you can simply use a tansistor to send data. For those that want to be pure of heart, another tequnique is called power robbing. You can tap a little bit of power of the existing 232 line, save it in a cap, then use it to create the - swing when you transmit.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: EMS side serial implementation discussion and group design!

Post by Fred »

The max chip is already on the TA card though, so no worries even thinking about that really :-) Secondly, for those with a spare bit of cash, the preferred option would be usb > uart directly to the CPU pins bypassing rs232 and all of the problems that it contains. Good info for those on a seriously low budget building their own unit from scratch and not using the TA card though :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply