Skip to main content

All Questions

Tagged with
0 votes
1 answer
64 views

Resolving CAN Communication Issue: Decoding and Fixing 'BUSPASSIVE BUSWARNING'

I set up a communication system (J1939) using two MCP2515 modules connected to two Arduino UNO boards. Then, I added a PCAN USB interface to monitor messages using PCAN View Software. Everything was ...
Rupesh Verma's user avatar
1 vote
1 answer
160 views

CAN bus with 3 nodes problem

I am testing a CAN bus network with 3 nodes. What I mean by node is a esp32 which has a CAN controller and a tja1051 transceiver module. There seems to be no problem when here are just two nodes but ...
cr1tical1's user avatar
2 votes
3 answers
842 views

Sending a float type values over CANBUS

I need help in sending float-type values over CANBUS. I'm working on data acquisition of an fsae car. I'm using Teensy 4.1 and Teensy 3.5 using MCP2562 and MCP2551 CAN transceivers (respectively) to ...
megahgan's user avatar
2 votes
1 answer
1k views

I can't get my ESP32 to read a CAN bus through an SN65HVD230 in real time

I am working on a project based on the ESP32 processor and Arduino framework, which communicates with another board via CANBUS protocol. The bitrate is 125k so it is presumably "fast". I am ...
WikiLift's user avatar
1 vote
1 answer
238 views

Convert RS232 signal to I2C/CAN/MAVLink signal

I have an airspeed sensor that outputs a RS232 signal: https://www.aeroprobe.com/micro-air-data-system/. I want to connect this sensor to the Pixhawk in order to use the data for my controller ...
Simon Henn's user avatar
1 vote
1 answer
194 views

STM32 CANTX line always idle

I'm trying to learn about microcontrollers in general and at this point I'm trying to learn about the CAN bus standard by using it with an STM32 MCU in a NUCLEO-F767ZI board. For that end I want to ...
Hugo Pontes's user avatar
0 votes
2 answers
408 views

Problem interfacing SD card module and CAN bus MCP2515 module simultaneously on Arduino Uno

I am trying to log data received from a CAN bus to an SD card using an arduino Uno. Each module works perfectly on its own, but when joining both modules together the CAN bus receives data normally, ...
Mostafa Mahmoud's user avatar
4 votes
3 answers
4k views

Stand alone CAN bus module or STM32 embedded CAN?

I have spent days studying and trying to achieve simple communications with CAN bus from scratch using stm32f1, but I still have not achieved the desired results and it is difficult to understand and ...
Ricardo Casimiro's user avatar
0 votes
1 answer
1k views

MCP2525 not initialized for CAN bus implementation

https://github.com/coryjfowler/MCP_CAN_lib/blob/master/examples/CAN_loopback/CAN_loopback.ino I'm using this library to implement CAN bus and I am using the loopback mode example using a single ...
MANPREET SINGH AHLUWALIA's user avatar
1 vote
0 answers
1k views

CAN BUS circuit using arduino and STM32 not receiving data

I tried to connect arduino uno R3 to STM32 using MCP2515 CAN bus transceiver. This was the transmitter code: ...
Helix xxx's user avatar
0 votes
1 answer
69 views

Connecting two ports of arduino together

I want to implement the working of a CAN transceiver using Arduino. But the problem is - I have only one Arduino. So, I thought of sending and receiving signals using different ports of the same ...
Helix xxx's user avatar
0 votes
1 answer
263 views

Uninterrupted power supply for keeping arduino nano active always

I have an Arduino nano running some CAN Bus program which does certain things on my car's instrument cluster. The Arduino board is currently powered from the car's 12V cig lighter socket using a 12 to ...
Anil TG's user avatar
  • 21
0 votes
1 answer
513 views

CAN communication between mcp2551 & tja1050 transceivers

I am trying to have 2 arduinos one connected to mcp2515(controller)& mcp2551(transceiver) , the other is mcp2515(controller) & tja1050(transceiver). I tested the setup by sending CAN messages ...
Sundar Santhanam's user avatar
0 votes
2 answers
841 views

CAN bus communication. Issue with two slaves having same CAN ID

Does anyone know if it is possible to have CAN offsetting in case two slaves in same circuit transmits different data in same ID?? I have two slaves with same CAN ID transmitting data and I cannot ...
ElectronicsForLife's user avatar
-1 votes
1 answer
3k views

MCP2515 CAN Transceivers can't go higher than 125kbps

So firstly, you'll have to excuse my lack of electronic knowledge and popper terminology, this is my first crack at anything outside of the software world. I have 2 MCP2515 CAN Transceivers (the cheap ...
Liam G's user avatar
  • 101
1 vote
1 answer
608 views

CAN bus communication between RPi and Arduino

I am trying to communicate between Raspberry Pi and Arduino. In arduino I am using this program to transmit ...
Sundar Santhanam's user avatar
0 votes
1 answer
201 views

Connecting Can Bus Debugger with Arduino Uno

I'm currently trying to interface USB Peak Can with Spark fun can bus shield. So I'm trying to test sending data from the Shield to the USB Peak Can bus, but nothing is sent at all, the same for ...
andre's user avatar
  • 177
2 votes
2 answers
3k views

Sending a double type value over CAN Bus

I need help to send a double value using a CAN Bus. I am working on a eletronic traction control and i need to send, by a CAN bus, the calculated values of speed of wheels. The problem start when the ...
BioByte's user avatar
  • 23
2 votes
1 answer
2k views

Rx Buffer overflow in MCP2515 CAN controller

Here is my context: I connect to automobile drivetrain CAN bus (Volkswagen Passat) and sniffer all the traffic. The problem is that when MCP2515 got a message from CAN and I read it via SPI, the ...
brigadir's user avatar
  • 273
2 votes
2 answers
160 views

Can we connect a DAQ to a micro-controller via a CAN bus?

I want to establish communication between an Arduino to a DAQ that I am using from DEWESOFT called the Dewe 43-A. The DAQ has 2 CAN bus ports according to its specs, and I was wondering if I can ...
Khushi Singh's user avatar
1 vote
1 answer
474 views

CAN Controller + PIC32

I have been trying to design a functional board which combines the hardware of the Elecrow Arduino Uno CAN bus shield with a microcontroller board, which functions like an Arduino except with ...
burton01's user avatar
  • 147
1 vote
1 answer
197 views

Change operational mode of CAN transceiver

I have two MCP2515 stand-alone CAN controllers with an SPI interface, two TJA1042 CAN transceivers, and two Arduino Uno boards. As you may know, TJA1042 has two operational modes: sleep mode normal ...
nrt's user avatar
  • 21
-3 votes
1 answer
2k views

Checking CAN Bus on oscilloscope [closed]

I'm using "Arduino MCP2515 CAN bus Module TJA1050 receiver" for sending and receiving frames. I connect the bus of 2 modules and send frame from one and receive from the other. I got the correct frame ...
nrt's user avatar
  • 21
3 votes
1 answer
4k views

Simple CAN bus design, communication issues

I am trying to get some simple communication between two boards that I've designed with an ATmega328P microcontroller and MCP2515/MCP2551 combination. The design is as follows: I have both ends ...
George TG's user avatar
-3 votes
2 answers
261 views

Setup for logging/displaying what command an OBD scan tool sends

I came across this video: youtube.com/watch?v=VtMvccqE8ks Any idea/resources how to build this setup? I am not much interested in monitoring the CAN bus for commands (headers or CAN IDs) of power ...
Soumya Sen's user avatar
3 votes
2 answers
815 views

Why is there a buffer before an SD socket?

I'm studying the SD card section of an electronic circuit of Sparkfun can bus shield that I have to connect on a Nucleo STM32F411RE. In the electriconic circuit, that you can see here. There is a ...
Bernheart's user avatar
  • 163
1 vote
3 answers
405 views

Data exchange over 5 meter cable

I have a microcontroller which needs to communicate over a cable, which will be approx. 5m long, with another very small microcontroller. The devices will be used outdoors in various conditions. The ...
perotom's user avatar
  • 163
5 votes
1 answer
2k views

Basic CAN-BUS circuit - what does this section do?

I'm currently learning how to make a circuit for CAN-BUS communication and came across the schematics of the Sparkfun CAN-BUS shield for Arduino (can be found here). I'm a little puzzled by this ...
I have no idea what I'm doing's user avatar
1 vote
2 answers
6k views

Interpreting CAN bus data from OBD port

I'm using an Arduino with MCP2515 and MCP2551 to read data from a CAN bus over the OBD-II port of my car, Honda Jazz 2012. From what I've read on other forums and the OBD wiki, I can transmit the PID ...
Lalit Kumar's user avatar
4 votes
3 answers
20k views

CAN bus simulation (automotive purpose) - tried Arduino and SparkFun

I repair electric powered steering systems for cars, especially Fiat, Alfa, and Lancya (Delphi manufacturers), and I'm in need of making some tool to test these reparations. I mean just turning it on, ...
Aaron Aguayo Martinez's user avatar
2 votes
1 answer
5k views

Single wire CAN // Saab 9-3 I-Bus // GMLAN

I'm trying to control an instrument cluster from a 2008 Saab 9-3. It has 2 pins marked for I-Bus (both wires are green, continuity test shows they are tied together as shown here: Some sites also ...
Zoszko's user avatar
  • 87
1 vote
2 answers
7k views

Reading from CAN bus of a Chevrolet Cruze using an Arduino Uno

I'm using the Arduino Uno, CAN bus shield, and OBDII to DB9 Cable using their provided libraries. I was only able to initialize it. Readings: While connected to the car: CAN-High: 2.7 V - 3.0&...
mabdrabo's user avatar
  • 185
5 votes
3 answers
6k views

Can I remap a car\bike ECU using CAN bus?

I am thinking to use something like this to connect an Arduino to a motorbike engine control unit (ECU): Arduino CAN-Bus Shield with uSD Card Holder. I never did something like this; using CAN bus, ...
AndreaNobili's user avatar
5 votes
1 answer
3k views

CAN bus bit timing with 16 MHz crystal

I'm trying to receive CAN messages from a radar, whose specification define the following data for bit timing: ...
Daniel's user avatar
  • 51