Page 1 of 1

CAN you dig it?

Posted: Sun Aug 23, 2020 2:44 pm
by Honest Don
Getting pieces together to play with the canbus capabilities on the MS. Moreso for datalogging various this and that, but ideas are rolling in.

Specifications

Microcontroller: ATmega2560
Operating Voltage: 5V
Input Voltage (recommended): 7-12V
Input Voltage (limits): 6-20V
Digital I/O Pins: 54 (of which 14 provide PWM output)
Analog Input Pins: 16
DC Current per I/O Pin: 40 mA
DC Current for 3.3V Pin: 50 mA
Flash Memory: 256 KB of which 8 KB used by bootloader
SRAM: 8 KB
EEPROM: 4 KB
Clock Speed: 16 MHz

I/O for days!

Re: CAN you dig it?

Posted: Sun Aug 23, 2020 8:53 pm
by pmbrunelle
Probably a large part of the project will be to cook up a suitable enclosure with connectors/strain reliefs robust enough for (I'm guessing) the cabin of a car.

Will you use the Arduino IDE, or will you be programming on bare metal?

Re: CAN you dig it?

Posted: Mon Aug 24, 2020 12:29 am
by Honest Don
Enclosures are pretty easy anymore. I either draw something up from scratch or in most cases, find an existing drawing somewhat close and modify to fit my needs. Not sure what I’m doing for connectors just yet.


I’ve had good success with IDE.

Re: CAN you dig it?

Posted: Mon Aug 24, 2020 8:49 am
by pmbrunelle
Oooh, a 3D printer. I'm sure it's a handy tool to have.

Re: CAN you dig it?

Posted: Mon Aug 24, 2020 12:25 pm
by Honest Don
pmbrunelle wrote: Mon Aug 24, 2020 8:49 am Oooh, a 3D printer. I'm sure it's a handy tool to have.
Yeah, it’s saved the day on a number of occasions.

Re: CAN you dig it?

Posted: Mon Aug 24, 2020 12:54 pm
by The Dark Side of Will
For an enclosure, my easy button would be McMaster.

Snazzy stuff; custom CANBus architectures is the future of hot rodding.

There's a WHOLE LOT of documentation out there about GM CANBus, but their modules only do specific things. There's a bunch of profe$$ional motor$port grade $tuff that can do ABS and similar data via CANBus...

I've been curious about doing real time tire temperatures. A bar near the face of the tire could hold IR temp sensors that could give real time inner edge/center/outer edge temperatures. Mount another one in the dust shield reading the surface of the rotor for brake temperatures. Would they work in the rain? Maybe?

Re: CAN you dig it?

Posted: Wed Aug 26, 2020 5:44 pm
by Honest Don
The Dark Side of Will wrote: Mon Aug 24, 2020 12:54 pm For an enclosure, my easy button would be McMaster.

Snazzy stuff; custom CANBus architectures is the future of hot rodding.

There's a WHOLE LOT of documentation out there about GM CANBus, but their modules only do specific things. There's a bunch of profe$$ional motor$port grade $tuff that can do ABS and similar data via CANBus...

I've been curious about doing real time tire temperatures. A bar near the face of the tire could hold IR temp sensors that could give real time inner edge/center/outer edge temperatures. Mount another one in the dust shield reading the surface of the rotor for brake temperatures. Would they work in the rain? Maybe?

What about *in* the tire? There’s a video going around where the guy actually managed to fit a gopro on the wheel and mount the tire over.

Re: CAN you dig it?

Posted: Wed Aug 26, 2020 7:46 pm
by FieroWanaBe1
The Dark Side of Will wrote: Mon Aug 24, 2020 12:54 pm For an enclosure, my easy button would be McMaster.

Snazzy stuff; custom CANBus architectures is the future of hot rodding.

There's a WHOLE LOT of documentation out there about GM CANBus, but their modules only do specific things. There's a bunch of profe$$ional motor$port grade $tuff that can do ABS and similar data via CANBus...

I've been curious about doing real time tire temperatures. A bar near the face of the tire could hold IR temp sensors that could give real time inner edge/center/outer edge temperatures. Mount another one in the dust shield reading the surface of the rotor for brake temperatures. Would they work in the rain? Maybe?
Hardware to do that is super cheap from china, I may have bought some years ago on small break out boards.
https://www.mouser.com/new/melexis/mele ... ermometer/

Re: CAN you dig it?

Posted: Wed Aug 26, 2020 10:01 pm
by pmbrunelle
A complicated programmable part with a 52-page datasheet (possibly containing errors)... and it's in an old-school metal can.

Image
Honest Don wrote: Wed Aug 26, 2020 5:44 pm What about *in* the tire? There’s a video going around where the guy actually managed to fit a gopro on the wheel and mount the tire over.
I suppose that the heating (via friction) and cooling (convection) of the tire tread happens on the outside, so wouldn't readings on the inside be a poor proxy of the external temperature, given the thickness of the tread?

Re: CAN you dig it?

Posted: Sun Nov 22, 2020 6:24 am
by ericjon262
I can dig it quite a bit. I'd be very interested in a CAN-bus gauge controller that could drive all of the factory gauges via MS-CAN, thus eliminating all of the redundant wiring in the console. I'm going to try and do this with a microsquirt, but I don't think it will be able to carry all of the gauges by itself.

Re: CAN you dig it?

Posted: Thu Dec 03, 2020 2:09 pm
by Honest Don
ericjon262 wrote: Sun Nov 22, 2020 6:24 am I can dig it quite a bit. I'd be very interested in a CAN-bus gauge controller that could drive all of the factory gauges via MS-CAN, thus eliminating all of the redundant wiring in the console. I'm going to try and do this with a microsquirt, but I don't think it will be able to carry all of the gauges by itself.
There's also the gpio board if you're brand loyal.

I'm mostly using this for additional data acquisition (trans temp, line pressure, coolant pressure, etc.) and maybe drive a few bright idiot lights that will hopefully get my attention before things go too wrong.

Re: CAN you dig it?

Posted: Sat Dec 12, 2020 3:19 am
by ericjon262
Honest Don wrote: Thu Dec 03, 2020 2:09 pm
ericjon262 wrote: Sun Nov 22, 2020 6:24 am I can dig it quite a bit. I'd be very interested in a CAN-bus gauge controller that could drive all of the factory gauges via MS-CAN, thus eliminating all of the redundant wiring in the console. I'm going to try and do this with a microsquirt, but I don't think it will be able to carry all of the gauges by itself.
There's also the gpio board if you're brand loyal.

I'm mostly using this for additional data acquisition (trans temp, line pressure, coolant pressure, etc.) and maybe drive a few bright idiot lights that will hopefully get my attention before things go too wrong.
it's definitely something I'm going to start researching soon, I don't think that the microquirt is really ideal for what I want it to do, but it does offer other things that I would later like to implement into my car. when I have the car running, I'll start worrying more about getting the controller developed.

Re: CAN you dig it?

Posted: Sat Apr 24, 2021 5:35 pm
by Honest Don
300psi sensor from Low Doller Motorsports. $35 and comes with a calibration chart.

Re: CAN you dig it?

Posted: Mon Apr 26, 2021 5:21 pm
by ericjon262
Honest Don wrote: Sat Apr 24, 2021 5:35 pm 300psi sensor from Low Doller Motorsports. $35 and comes with a calibration chart.
I'm using these same sensors on my car for fuel pressure and oil pressure, just at 100 PSI and not 300. so far they seem ok.