SLC OEM general I2C interface and possible wireless display

Official FreeEMS vanilla firmware development, the heart and soul of the system!
User avatar
ToxicGumbo
LQFP144 - On Top Of The Game
Posts: 474
Joined: Tue Jan 03, 2012 8:37 pm
Location: Manhattan, KS. USA

Re: SLC OEM general I2C interface and possible wireless disp

Post by ToxicGumbo »

joey120373 wrote:If I could figure out a way to implement a wireless I2C link that might make for a cool combination, a single (optionaly) battery powered micro running a display and possibly data logging talking wirelessly to to one or more O2 sensors that are simply an SLC, voltage reg and a $2 transmitter......
Image


-Jeff
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: SLC OEM general I2C interface and possible wireless disp

Post by Fred »

Neat! With a nice enclosure that'd be a great little project/product :-)

I'm going to go and drive my SLC equipped car pretty soon. Love Alan's gear, most of it is tip top :-)

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!
joey120373
QFP80 - Contributor
Posts: 39
Joined: Wed Oct 01, 2014 7:06 am

Re: SLC OEM general I2C interface and possible wireless disp

Post by joey120373 »

Time for an update!

Work has kept me busy so I had to shelf this project for awhile, however the last few days have been very productive.

Started playing with some very cheep radio boards, the NRF24l variants that can be had for a whopping $2 each.
Took a little fiddling to get them working but I am really impressed at how well they work.

I think the prototyping phase is over, I now have a fully functional wireless WBO2.
It consists of 2 arduino pro-minis, one 5 volt, one 3 volt. The 5volt mini interfaces and supplies power for the SLC OEM module, and the 3volt mini runs the 128x64 OLED (a cheep unit I got off eBay)

The radios are mini NRF24l+ units I also got off eBay, these are smaller than the standard units, they are about the size of a thumbnail. The only real drawback to these is the wiring header is .050inch not .1, makes connecting wires a tad tricky but not impossible.

I re-wrote the code for interfacing with the SLC module, cleaned it up a bit and modulised it, now I can choose how often I pole the different registers. I can now get an AFR update from the SLC around 1000 times a second. The OLED however is not able to update that fast with the little ATMEGA at 8mhz driving it, best I can get with the graphics I like is about 11 FPS, still quite useable, and actually noticeably faster than a name brand controller I have.

To test the radio I left the WB O2 sensor inside the cab of a truck ( doors closed ), Walked away with the display ( powered form a battery ) I was able to get over 50 yards away before I started loosing packets.
Now to get a case built for the display....
joey120373
QFP80 - Contributor
Posts: 39
Joined: Wed Oct 01, 2014 7:06 am

Re: SLC OEM general I2C interface and possible wireless disp

Post by joey120373 »

Pic of the display, pro-mini is mounted behind it, and radio is poking out the bottom.
Attachments
image.jpg
User avatar
Nige
QFP80 - Contributor
Posts: 61
Joined: Sat Aug 10, 2013 5:47 am
Location: New Zealand
Contact:

Re: SLC OEM general I2C interface and possible wireless disp

Post by Nige »

Seriously cool. Nice work :)
IRC nick: ignitionigel or Nige
joey120373
QFP80 - Contributor
Posts: 39
Joined: Wed Oct 01, 2014 7:06 am

Re: SLC OEM general I2C interface and possible wireless disp

Post by joey120373 »

I have some boards in the way, there are 3 total.
One board is the same width as the SLC, but slightly longer, the SLC mounts to the back side of the board and the Pro mini mounts to the front side. There is input voltage protection and a 3.3v regulator for the radio transceiver, it also has a header to mount the radio.

There is another even smaller board designed to install on top of the pro mini, this is intended to be an optional input board, there are 4 protected analog input circuits and an opto-isolated digital input intended for RPM signal. There is also a 3 position DIP switch that can be used to address the unit, so up to 8 O2 sensors can be accessed from 1 display.

The 3rd board is for the display, it's a similar "sandwich" layout, with the OLED mounting on the front and its Pro mini mounting on the rear, it also has a micro USB, a micro SD card slot, LI-Po charging circuit and a radio header.

I haven't written any code yet for the data logging, but hopefully when the boards arrive I can get a couple assembled and do more development in that area.

Hopefully there are no huge errors on the boards.
joey120373
QFP80 - Contributor
Posts: 39
Joined: Wed Oct 01, 2014 7:06 am

Re: SLC OEM general I2C interface and possible wireless disp

Post by joey120373 »

Moar pics:
Attachments
image.jpeg
image.jpeg
image.jpeg
joey120373
QFP80 - Contributor
Posts: 39
Joined: Wed Oct 01, 2014 7:06 am

Re: SLC OEM general I2C interface and possible wireless disp

Post by joey120373 »

First two pics are the SLC interface board, front and back. Not shown is the aux input board that will stack on top of the pro mini.

It has 4 protected analog inputs and an optoisolated tach input.

Lower pic is the battery powered display board, the values displayed are the real values ( scaled ) being transmitted from the SLC transmitter module.

I'll get a pick or two of the back of the module as well, to show the SD card and mini USB charging port.
Attachments
SD card slot and micro USB for charging.
SD card slot and micro USB for charging.
Back of display showing lipo battery
Back of display showing lipo battery
joey120373
QFP80 - Contributor
Posts: 39
Joined: Wed Oct 01, 2014 7:06 am

Re: SLC OEM general I2C interface and possible wireless disp

Post by joey120373 »

Only have the power button mounted for now, but there will be 3 more added, these will be used to start and stop data logging and to scale the various inputs.
Post Reply