Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [can-bus]

CAN (bus) relates to 'Controller Area Network'. Primarily used in vehicles to allow different microcontrollers to communicate with one another without a host computer.

0
votes
1answer
25 views

rpi2 jessie python-can

Trying to use python-can with raspi2 / jessie. I installed/tried to install python-can via pip3 can package. Install looks to be ok, but python does not find module. Tried searvhing google for help, ...
0
votes
1answer
58 views

Raspberry PI SPI interface

I'm looking at a Raspberry Pi and I am a bit new to Serial Peripheral Interface. I see the Rasperry Pi has two SPI interfaces on the GPIO pins. Can one SPI interface be programmed to connect to ...
0
votes
0answers
2k views

CAN Interface on Raspberry Pi 3 B+

I've followed this tutorial to configure my CAN module with Raspberry Pi 3 B+: https://vimtut0r.com/2017/01/17/can-bus-with-raspberry-pi-howtoquickstart-mcp2515-kernel-4-4-x/ After failing to bring up ...
0
votes
0answers
341 views

Raspberry Pi + Mcp2515

I used Raspberry Pi + Mcp2515 with CAN bus. In my code, When I lost request it will locked,then GUI will not working. msg = can.Message(arbitration_id=0x000601, data=point, extended_id=false) bus....
1
vote
1answer
433 views

Can't get `candump` to work

I've got the RPi 3 model B with raspian lite. I've got a PiCAN 2 shield attached to my RPi and I'm using the screw terminals to connect to an ECU with an oscillator to monitor to verify. With the ...
0
votes
0answers
75 views

Not able to view CAN dump

I'm using the PiCan2 shield from skpang. The manual for using it. I'm also using an oscilloscope to monitor the traffic of a connected ECU. I'm able to send a CAN message and I can see that change on ...
1
vote
2answers
1k views

CAN On Raspberry PI

I need some help with Can4Python/SocketCAN with Raspberry Pi. Currently, I am using PiCAN2. What I want to do is upon receiving a particular signal from transmitter, I would like to turn on/off LED (...
0
votes
0answers
630 views

Raspberry pi3 with MCP2515 CAN BUS MODE will crash

I use raspberry pi3 with mcp2515 can bus mode to connection inverter. When I open the raspberry pi3 frist then can bus will connect,but in few minute the can bus will crash! Then I can't get any ...
1
vote
1answer
315 views

Installing Kvaser Drivers(Linuxcan) for RPI

I have been attempting to install Kvaser drivers onto a RPI 2B and have been follwing the instructions listed in the following link: https://www.kvaser.com/developer-blog/building-canlib-linuxcan-...
0
votes
1answer
1k views

Cannot find device can0 with MCP25625

I have been developing an expansion board for my RPi Zero, which contains a power supply based on the buck converter TPS62130 (5V/3A) by Texas Instruments, a USB Hub and a CAN Controller/Transceiver ...
0
votes
1answer
488 views

NeoVi Fire and Raspberry Pi on Python

I am attempting to create a program that can read DTC codes from CAN-Bus devices connected to a Raspberry Pi via a USB to Serial connection. I am testing with a NeoVi Fire that I have hooked up, and ...
1
vote
1answer
619 views

Problem in Initialization of PICAN2 on RPi3

I'm trying to initialize my PICAN 2 on a RPi3. I have installed the Kernel 4.4.9-V7+ and after sudo apt-get update and sudo apt-get upgrade, I have edited /boot/config.txt by adding the following ...
1
vote
1answer
6k views

Unable to bring CAN interface up on Raspberry Pi 3

I followed a few tutorials on how to use CAN on Raspberry and most of them suggested I should add these lines to /boot/config.txt : dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=...
1
vote
2answers
637 views

Interfacing with CANBUS, screen and GPIO

I am working on an undergraduate project, looking to effectively create a car dashboard. As a result, my board would have to interface with: 1)A touchscreen, ideally touchscreen for control 2)...
1
vote
1answer
2k views

CAN-bus board w MCP2515

Has anyone tried this CAN board? It uses the Microchip MCP2515, but I don't see any docs or sample apps. Qunqi MCP2515 Controller Bus Module TJA1050 Receiver SPI Protocol for Arduino SCM 51 also ...
2
votes
1answer
847 views

cansend to a CANBus device doesnt work

I am trying to control an Elcon battery charger (http://www.elconchargers.com/catalog/item/7344653/7638003.htm ) which outputs a DC voltage and current and can be set through a CANBus adapter. I ...
1
vote
1answer
185 views

Can my RPi B+ control a Apto® CAN-BUS Shield for Arduino?

I would like to get started into the CAN-BUS world and therefore I am looking for some CAN boards. I came across two of them. Pican Apto for Arduino The second one would be the best from a "...