Page 1 of 1

DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 7:01 am
by wewerica
Hello everyone,
I was trying to find info about connecting DIYPNP to Arduino with CAN-BUS shield. I was trying to find pins for CANH & CANL on DIYPNP.
Image

1. How to connect those together?
2. Can they connecto over DB9 connectors(DIYPNP and CAN-BUS shield)?

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 8:37 am
by grom_e30
the CANH & CANL on DIYPNP are found on the 18 pin center header you should be able to jumper those to un used pins on the loom side and then connect these to your shield. the db9 on the ecu is rs232 serial so dont connect that to you can shield bad things may happen.

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 8:52 am
by wewerica
Image

what about pins 10 & 12.

pin 18 is Flex.

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 9:12 am
by grom_e30
thats the pinout for the microsquirt module. you want the 18pin connector on the main board.

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 9:22 am
by wewerica
I know Im stupid can you pls post a pic of the board and the pin.
I am looking at the board and don't see pin 18 :(

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 9:25 am
by grom_e30
arrow shows where you pick the canh and canl signals up, then its up to you where you jumper them to.

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 9:38 am
by wewerica
found them thanks a lot.
can I jumper them to DB15 connector?
I have read in manual that need 120ohm resistors, do I need them here?

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 9:58 am
by grom_e30
you can run wires and jumper them to any spare pins you like. the 120 ohm terminator resistor will more than likely be on you can shield

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 10:34 am
by wewerica
thanks a lot :)

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 10:36 am
by grom_e30
what you making any how?

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 11:03 am
by wewerica
I want to connect my MS to arduino with LCD and display some data on it.
I have rs232 bluetooth but for some reason it stoped working.
Image
I get error that some file cannot be found on the server, something like that.

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 11:17 am
by grom_e30
if you connect the arduino by can-bus you can have a display and still have the computer connected by rs232 at the same time.

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Apr 24, 2016 11:26 am
by wewerica
thats true :)
I have already bought all electronics need for LCD dash :)
20x4 character LCD display :D

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sat Jan 07, 2017 12:23 pm
by wewerica
If its possible I wont open new thread for similar question.
I have wired CANH & CANL from board to DB15 connector and DB15 connector to CAN BUS Shield.
But dont know how to get it to work?
What do I have to setup to get it to work?

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Jan 08, 2017 3:20 am
by grom_e30
wewerica wrote:If its possible I wont open new thread for similar question.
I have wired CANH & CANL from board to DB15 connector and DB15 connector to CAN BUS Shield.
But dont know how to get it to work?
What do I have to setup to get it to work?
what ecu? what arduino and can-bus setup are you using?

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Jan 08, 2017 1:06 pm
by wewerica
grom_e30 wrote:
wewerica wrote:If its possible I wont open new thread for similar question.
I have wired CANH & CANL from board to DB15 connector and DB15 connector to CAN BUS Shield.
But dont know how to get it to work?
What do I have to setup to get it to work?
what ecu? what arduino and can-bus setup are you using?
Im using DIYPNP 1.5b with 3.4.2 firmware
Arduino UNO with elecfreaks canbus shield - http://www.elecfreaks.com/estore/can-bus-shield.html

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Jan 08, 2017 1:31 pm
by grom_e30
ah ok that shield does work i'm using the same one, did you turn on 'real time data broadcasting' in the can bus settings so the ecu is sending out the data via can-bus?

have you got the arduino lib set up and a sketch to read the data?

Re: DIYPNP, Arduino with CAN-BUS shield

Posted: Sun Jan 08, 2017 1:53 pm
by wewerica
Yes I did, I have uploaded receive_check sketch but nothing happens :(
Can you share some code/sketch with me? :)
pm/email