ESC32v2 +CAN support

Info and Discussion about the ESC32 hardware and software

ESC32v2 +CAN support

Postby kinderkram » Tue Mar 18, 2014 11:33 pm

With the new version of the ESC32v2 including the CAN bus onboard coming up in a not so distant future this will be the main thread for that matter. So Q&A will go here.

You´ll also find info for DIYers who want to convert theirs for the CAN bus.
If necessary I will open a new subforum but I think a sticky will do for the moment...

Image

Menno already started a Wiki page here:

http://autoquad.org/wiki/wiki/esc32/can-bus/
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: ESC32v2 +CAN support

Postby kinderkram » Tue Apr 01, 2014 10:07 pm

New batch of ESC32 with CAN onboard available now!

http://flyduino.net/Autoquad-ESC32

And soon at https://viacopter.eu/multirotor-shop/es ... ontrollers
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: ESC32v2 +CAN support

Postby Jdmagoo » Thu Apr 03, 2014 9:09 am

To be clear, if the 5v option is selected and a (+) wire is connected to the 5v pad as shown above in the diagram, do we still need to connect a ground wire to the pad next to it? Or does it receive the ground connection from the lippo side?

Also, is there a need to use any resisters between the CAN L and CAN H lines if using the DIMU?

Cheers

James
Jdmagoo
 
Posts: 485
Joined: Sun Feb 17, 2013 8:35 am

Re: ESC32v2 +CAN support

Postby bn999 » Thu Apr 03, 2014 12:59 pm

You will want to run a signal ground wire independent from the main battery negative terminal.
bn999
 
Posts: 1559
Joined: Thu Jun 21, 2012 11:40 pm

Re: ESC32v2 +CAN support

Postby flyrobot » Thu Apr 03, 2014 1:54 pm

Will it has temp sensor on this version?

Thanks,

John
flyrobot
 
Posts: 64
Joined: Thu Jun 06, 2013 6:04 pm

Re: ESC32v2 +CAN support

Postby Jdmagoo » Fri Apr 04, 2014 4:29 am

bn999 wrote:You will want to run a signal ground wire independent from the main battery negative terminal.


Thanks Bill,

also in the wiki it says the DIMU will have a 120ohm resister built in but should I add a second resister to the CAN_L and CAN_H lines? My CAN wiring for each motor will be around 54cm long.

Please see attached on how i plan to wire it up, is the 120 ohm resister needed?

Cheers

James
Attachments
CAN Bus wiring.jpg
Jdmagoo
 
Posts: 485
Joined: Sun Feb 17, 2013 8:35 am

Re: ESC32v2 +CAN support

Postby joebar.rc » Fri Apr 04, 2014 6:20 am

Yes, the can bus must be terminated, total resistance should be between 50 and 70ohm, so in this case you need to place a extra 120ohm resistor somewhere on the bus. With 54cm you can place it anywhere, but maybe close to one of the esc's is best.
joebar.rc
 
Posts: 1084
Joined: Fri Jun 22, 2012 8:59 am
Location: The netherlands

Re: ESC32v2 +CAN support

Postby bn999 » Fri Apr 04, 2014 1:57 pm

With the relatively short network sizes that we are employing, where the bus termination resistance is placed is not very critical. Placing the extra 120 ohm resistor on the DIMU would likely be easier and should work just fine.
bn999
 
Posts: 1559
Joined: Thu Jun 21, 2012 11:40 pm

Re: ESC32v2 +CAN support

Postby Jdmagoo » Sat Apr 05, 2014 8:08 am

Thanks Bill and Menno much appreciated

Also, Im still waiting for the DIMU to arrive but i wonder if there is a way to test the CAN on the ESC32 without the DIMU? I have just spent more time than i thought soldering the first transceiver and cap and would like to test it before i continue onto the other 10 i have laying around. Is there a way to test through putty or GCS?
Jdmagoo
 
Posts: 485
Joined: Sun Feb 17, 2013 8:35 am

Re: ESC32v2 +CAN support

Postby aBUGSworstnightmare » Sat Apr 05, 2014 8:30 am

Jdmagoo wrote:Thanks Bill and Menno much appreciated

Also, Im still waiting for the DIMU to arrive but i wonder if there is a way to test the CAN on the ESC32 without the DIMU? I have just spent more time than i thought soldering the first transceiver and cap and would like to test it before i continue onto the other 10 i have laying around. Is there a way to test through putty or GCS?


Hi,

I think the cap is the trickiest part to solder. Use some (no-clean) flux, a small solder tip (I use a 0.4mm pencil type) and small solder wire (my recommendation: 0.35mm).

Testing a CAN bus without a CAN tester is a pain. Since you will need a CAN transceiver on the 'AQ6-side' (master) too you should wait for the DIMU to arrive (or- if you have the time/possibilities - you can build your own as described here: http://autoquad.org/wiki/wiki/esc32/can-bus/). I don't think you got the connectors (J1/J2) at hands, so again: be patient and wait for your DIMU.

In addition, you will also need some 'CAN multipart board' (bus splitter), i.e. something like these http://oshpark.com/profiles/joebar/page/2. I've made my own one which is shown here viewtopic.php?f=33&t=3069#p20024.

I'm in the same situation as you: although if have the DIMU and CAN transceivers on my ESC I need to wait for the PCBs to arrive to test the bus :oops:

Rgds
Joerg
aBUGSworstnightmare
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Next

Return to ESC32

Who is online

Users browsing this forum: No registered users and 3 guests

cron