Searching \ for '[EE] Computer CAN Interface' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=computer+can+interface
Search entire site for: 'Computer CAN Interface'.

Exact match. Not showing close matches.
PICList Thread
'[EE] Computer CAN Interface'
2009\05\07@185823 by solarwind

picon face
I need a way for my computer to participate in my CAN network. This is
how I imagine it will work:

computer <---> RS232 - TTL UART tranceiver <---> TTL - RS485
tranceiver <---> CAN bus

Will this work?

Now all I need is the software.

Or.... I might just be able to use a CAN module.

-- [ solarwind ] -- http://solar-blogg.blogspot.com/

2009\05\07@205641 by M. Adam Davis

face picon face
CAN is not RS-485.  You'll need to get a CAN transceiver and,
probably, a CAN controller - then hook these up to your computer.

-Adam

On Thu, May 7, 2009 at 6:58 PM, solarwind <spam_OUTx.solarwind.xTakeThisOuTspamgmail.com> wrote:
{Quote hidden}

> -

2009\05\07@213036 by Xiaofan Chen

face picon face
On Fri, May 8, 2009 at 8:56 AM, M. Adam Davis <.....stienmanKILLspamspam@spam@gmail.com> wrote:
> CAN is not RS-485.  You'll need to get a CAN transceiver and,
> probably, a CAN controller - then hook these up to your computer.
>

The software is tricky part as well.

Cheaper commercial tools:
http://www.can232.com/
http://www.canusb.com/

To make your own, maybe you can copy Microchip's design.
http://www.microchip.com/can
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en537141&part=MCP2515DM-BM

But I have not used this. The other CAN demo boards from Microchip
seems to use CANking software.
http://www.kvaser.com/prod/canking/canking.htm

--
Xiaofan http://mcuee.blogspot.com

2009\05\07@213848 by Bob Blick

face
flavicon
face


Xiaofan Chen wrote:
> On Fri, May 8, 2009 at 8:56 AM, M. Adam Davis <stienmanspamKILLspamgmail.com> wrote:
>> CAN is not RS-485.  You'll need to get a CAN transceiver and,
>> probably, a CAN controller - then hook these up to your computer.
>>
>
> The software is tricky part as well.

How about SocketCAN, it uses the Microchip interface:

http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver

I have no idea about the project, but it's what Google finds for a
current Linux CAN project.

Cheers,

Bob

2009\05\07@221207 by Xiaofan Chen

face picon face
On Fri, May 8, 2009 at 9:38 AM, Bob Blick <.....bobblickKILLspamspam.....ftml.net> wrote:
> How about SocketCAN, it uses the Microchip interface:
>
> http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver
>
> I have no idea about the project, but it's what Google finds for a
> current Linux CAN project.
>

Yeah maybe this can be an option. But I think it is too complicated for
SW unless he wants to buy the board (looks not cheap). And
apparently this is Work In Progress and has not been integrated
to the main line Linux kernel.
www.armadeus.com/wiki/index.php?title=APF9328DevFull
http://www.armadeus.com/wiki/index.php?title=Controller_Area_Network

The Microchip board (2 for US$55) seems simpler and everything
is open so SW can probably build it by himself.


--
Xiaofan http://mcuee.blogspot.com

2009\05\07@221714 by Bob Ammerman

picon face
How about:

computer <--> RS232 <--> PIC <--> CAN bus

-- Bob Ammerman
RAm Systems

{Original Message removed}

2009\05\08@013806 by Sean Breheny

face picon face
You can also check out B&B Electronics. They sell a huge variety of
protocol/interface translators (the probably have a CAN to USB
adapter)

Sean


On Thu, May 7, 2009 at 10:17 PM, Bob Ammerman <EraseMErammermanspam_OUTspamTakeThisOuTverizon.net> wrote:
> How about:
>
> computer <--> RS232 <--> PIC <--> CAN bus
>
> -- Bob Ammerman
> RAm Systems
>

2009\05\08@073242 by Xiaofan Chen

face picon face
On Fri, May 8, 2009 at 1:38 PM, Sean Breheny <shb7spamspam_OUTcornell.edu> wrote:
> You can also check out B&B Electronics. They sell a huge variety of
> protocol/interface translators (the probably have a CAN to USB
> adapter)

No they do not seem to have one. They are apparently RS485 and USB
expert but not too much on CAN. The two CAN related product are CAN
to Fibre and CAN isolated isolator.
http://www.bb-elec.com/products.asp


--
Xiaofan http://mcuee.blogspot.com

2009\05\08@073348 by olin piclist

face picon face
solarwind wrote:
> computer <---> RS232 - TTL UART tranceiver <---> TTL - RS485
> tranceiver <---> CAN bus
>
> Will this work?

No for several reasons.  A PC can't do the tight real time manipulation of
the signal, and it doesn't have access to the CAN lines thru a serial port
the way it would need to anyway.

Surely there are USB CAN driver boxes out there.  I've never really looked
around, but the few I've bumped into seem to be for implementing a
particular higher level protocol on CAN, but I suspect there are policy-free
CAN I/O adapters out there somewhere.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

2009\05\08@103657 by Funny NYPD

picon face
Our DCB (J1939 Data Center) layout has the capability to translate CAN bus to RS232 signal,
However you still got to understand what CAN is and handle all CAN frame messages in your PC application software:
www.auelectronics.com/System-DCSJ1939-001.htm
www.auelectronics.com/images/DCB-CAN-00001.JPG
www.auelectronics.com/images/J1939DataCenter.JPG
http://augroups.blogspot.com/2009/02/au-sae-j1939-data-center-system-user.html

It is not too hard we can modify the firmware from current DCB design to suite some "CAN<--->RS232" application.

Actually the following product uses the same firmware. It is just the PC GUI and application are different:
www.auelectronics.com/System-MCSJ1939-001.htm
www.auelectronics.com/images/MCB-CAN-00001.JPG
www.auelectronics.com/images/MCSJ1939-001.JPG
http://www.auelectronics.com/UserManual-MCSJ1939.htm

Funny N.
Au Group Electronics, http://www.AuElectronics.com




________________________________
From: Xiaofan Chen <@spam@xiaofancKILLspamspamgmail.com>
To: Microcontroller discussion list - Public. <KILLspampiclistKILLspamspammit.edu>
Sent: Friday, May 8, 2009 7:32:42 AM
Subject: Re: [EE] Computer CAN Interface

On Fri, May 8, 2009 at 1:38 PM, Sean Breheny <RemoveMEshb7TakeThisOuTspamcornell.edu> wrote:
> You can also check out B&B Electronics. They sell a huge variety of
> protocol/interface translators (the probably have a CAN to USB
> adapter)

No they do not seem to have one. They are apparently RS485 and USB
expert but not too much on CAN. The two CAN related product are CAN
to Fibre and CAN isolated isolator.
http://www.bb-elec.com/products.asp


--
Xiaofanhttp://mcuee.blogspot.com

2009\05\09@103805 by Alan B. Pearce

face picon face
>CAN is not RS-485.

But the physical layer levels are such that it is possible to use an RS485
transceiver as a CAN transceiver.

I'll sort out a schematic on how we did this, to answer Rubens query, when
I'm back at work next week, got a couple of days off dealing with M-in-law
visit and house refurbishment.

2009\05\09@231411 by Xiaofan Chen

face picon face
On Sat, May 9, 2009 at 10:38 PM, Alan B. Pearce
<spamBeGoneAlan.B.PearcespamBeGonespamstfc.ac.uk> wrote:
>>CAN is not RS-485.
>
> But the physical layer levels are such that it is possible to use an RS485
> transceiver as a CAN transceiver.
>
> I'll sort out a schematic on how we did this, to answer Rubens query, when
> I'm back at work next week, got a couple of days off dealing with M-in-law
> visit and house refurbishment.
>

I think this is rather an exception than norm. The price difference is
rather small between a CAN transceiver and a 485 transceiver.
And you normally do not want to mix the CAN network with a
485 network but rather use a gateway or similar device.

Here is an example of using 485 transceiver for CAN.
osdir.com/ml/hardware.bus.can/2005-08/msg00041.html
http://osdir.com/ml/hardware.bus.can/2005-08/gifclxZAfjDDE.gif


--
Xiaofan http://mcuee.blogspot.com

More... (looser matching)
- Last day of these posts
- In 2009 , 2010 only
- Today
- New search...