Skip to main content

Questions tagged [can-bus]

CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other

Filter by
Sorted by
Tagged with
2 votes
2 answers
169 views

We are trying to get two Nanos to communicate via CANbus, using MCP2515 shields. I have decided to use the autowp/arduino-mcp2515 CAN interface library for the code. I've based my code off their ...
B_Seibel's user avatar
0 votes
1 answer
85 views

I am trying to brute force a CANBUS with ID's and values but my loop doesn't seem to change the ID. I am expecting the following when changing ID's 0x100 FF FF FF FF FF FF FF FF 0x101 00 00 00 00 00 ...
maxum's user avatar
  • 145
1 vote
2 answers
200 views

Is it allowed by Arduino Nano architecture, to develop a Sketch, divided into two segments: The one, that accepts through a CAN-bus a the new version of the firmware itself and writes it into the ...
Andrii's Quest's user avatar
0 votes
1 answer
134 views

Is there an established system, that, if a new version of the application is uploaded to Flash, switches to it automatically, but keeps the old one for the cases if, due to some problems, we need to ...
Andrii's Quest's user avatar
1 vote
0 answers
42 views

Hello fellow arduino users! I have a question regarding using the Sparkfun Canbus shield in conjunction with the LSM6DS33 sensor on a dual SPI configuration. I have managed to get theese two to ...
Paul Boutsiadis's user avatar
1 vote
0 answers
644 views

I am currently trying to read an existing canbus (Car) with my ESP32 Rev3. I got it to work fine with an external MCP2515 shield using a default library. But when i connect an transceiver and trying ...
C.E.'s user avatar
  • 119
-2 votes
1 answer
1k views

How does one read can packets from a VP230 Can Bus transceiver? I also have a MCP2515 which I've gotten to work, but the VP230 is a lot smaller. I haven't been able to find any information about ...
Gregor Gregoric's user avatar
1 vote
1 answer
220 views

i have a Arduino Mega 2560 R3 and a Sparkfun CAN Bus Shied. Im using the SparkFun_CAN-Bus_Arduino_Library-master. I want to communicate over SPI (they have diffrent SPI pins), so i had to change it in ...
Pablo's user avatar
  • 19
2 votes
2 answers
1k views

I tried searching code for an MCP2515 with Arduino on Arduino Forums, Instructables, Electronics Hub, YouTube, etc. All of them showed code for a transmitter node and a receiver node, sensors on one ...
spiders.here's user avatar
3 votes
2 answers
10k views

compared to the microchip's PICs: pic16f's does not have an onboard CAN peripheral. so you need an SPI - CAN controller (like MCP2515). some PIC18f's have an onboard CAN controller, and only need a ...
Fernando Ernesto's user avatar
2 votes
1 answer
809 views

I'm using a seeeduino V4.0 and a CAN-BUS shield v2.0 with industrial grade SD card. I'm using the default library given by the wiki of seeed. I've simulate a can bus with two mcp2515. I can read it ...
Thanatheos's user avatar
2 votes
0 answers
275 views

I am trying to communicate arduino uno with CAN bus using MCP2515 shield. Data sending and receiving both things are done. Whatever data received is displayed on LCD. CAN bus receive is done using ...
dev_elec's user avatar
0 votes
1 answer
1k views

I have a task where I should do SPI transactions in interrupt mode. Means I have to handle data in IRQ handler (both for tx and rx bytes). How should I approach? I have a arduino board (2560) and a ...
ProPlayerMaxUltra's user avatar
1 vote
0 answers
509 views

The Problem I've been working on a project that requires the use of a CAN Bus Shield v2 on an Arduino. For most of the time it has worked great, completely as intended. But recently, I was trying to ...
Martin Eldredge's user avatar
1 vote
0 answers
175 views

So, I'm trying to connect to my car's CAN-BUS (via the OBD2). I initially ordered a cheep shield then an even cheaper module to provide connection between my uno and the car. Using the module I was ...
Иво Недев's user avatar
1 vote
0 answers
601 views

I couldn't find any library for can bus for STM32duino (Maple Mini) on arduino or even on STMcubeIDE I found one library on github but it doesn't compile it has a lot of error (its a fork of the ...
Jwdsoft's user avatar
  • 111
1 vote
1 answer
628 views

I try to display the transmitted information from CAN bus on ESP32 web server. I saved the CAN.read() in a buffer receivedChars[i] and try to display the data by client.println(receivedChars[i]);}. ...
noah's user avatar
  • 21
1 vote
1 answer
333 views

I'm trying to print the information, which is received from the other ESP32 by CAN transceiver, on an OLED. The CAN bus is working perfectly, as the 'HELLO WORLD' is already be received. But I can't ...
noah's user avatar
  • 11
0 votes
1 answer
299 views

I have been working on a problem for a couple of days that I can't figure out. I am using a Teensy3.6 with Arduino IDE to build a CAN Bus monitor for a car. For those familiar, I am trying to save ...
Sam H.'s user avatar
  • 3
1 vote
2 answers
4k views

I have a working code that uses MCP2515 CAN module. Wanted to minimize the size of required modules, so I went with VP230 CAN transceiver and I'm having trouble relaying the same data through ...
multifrag's user avatar
1 vote
0 answers
113 views

Function mcp2515_get_message appears the following instruction: uint32_t i1 = (uint32_t) spi_putc(0xff), i2 = (uint32_t) spi_putc(0xff), i3 = (uint32_t) spi_putc(0xff), ...
Gert Backhaus's user avatar
2 votes
2 answers
495 views

I'm new to Arduino and CAN bus. I'm studying some code examples which contain "tCAN message". My guess it defines a class for of CAN messages. I did a lot of search but found no information on it ...
Spring's user avatar
  • 23
1 vote
0 answers
2k views

I need to implement CAN communication between two STM32F103 microcontroller boards. I am finding it difficult to get libraries for the same. Can anyone please suggest where I can find working CAN bus ...
Jackie's user avatar
  • 51
2 votes
0 answers
722 views

I want to receive an extended CAN-Message. I send a extended CAN-Message, but nothing happens. Maybe somebody have an idea what the problem is.. It works with a standard CAN-Message. Thanks in ...
user avatar
1 vote
1 answer
881 views

I bought the CAN-Shield from Sparkfun https://www.sparkfun.com/products/13262 and I also got the Uno from Sparkfun just to be sure everything works fine. Some info about my car: BMW E91 2006 OBD2 is ...
Kasti96's user avatar
  • 19
1 vote
0 answers
2k views

So to try and speed up my project, I have moved from using two UNO's to a UNO on the receive side, and teensy 3.6 on the sender side. However, no dice. The UNO doesn't receive any data or even try to ...
Ross Hanna's user avatar
0 votes
2 answers
652 views

I am attempting to send data from an MPU6050 connected to an arduino uno to another uno via CAN bus, however i don't think this is a CAN bus specific issue. In short, i am sending two packets of 8 ...
Ross Hanna's user avatar
3 votes
1 answer
973 views

I have two MCP2515 stand-alone CAN controllers with SPI interface, two TJA1042 CAN transceivers and two Arduino Uno boards. As you may know TJA1042 have two operational modes: Sleep mode Normal mode. ...
mtp's user avatar
  • 31
1 vote
1 answer
154 views

I have purchased a cigarette adapter that gives me 2 USB ports, however this gives me 5v and up to 2.4A. Thats ok for powering the Arduino Uno, I need 12/24v to power the CAN crocodile. I also want ...
SPlatten's user avatar
  • 113
-1 votes
1 answer
647 views

I'm using MCP2515 CAN controller and TJA1050 transceiver. I want to send some square waves to TJA1050 with digital write and delay instruction of Arduino. How can I do that? I also read the MCP2515's ...
mtp's user avatar
  • 1
0 votes
1 answer
153 views

I am currently working on an Arduino project, which must be able to listen to the data going through CAN bus and display it on the Touchscreen LCD Newhaven Display 4.3CTP-SHIELD-N. Problem is that ...
Henrikas's user avatar
0 votes
1 answer
516 views

So I've been working on a project over the last few month using homemade boards on a CAN bus. It's working well when using a board as a sender and another one as receiver. I now have 3 boards and on ...
Undeadguy's user avatar
1 vote
0 answers
286 views

I have recently made a shield for an arduino mega2560 with among others sensors, a CAN interface (MCP2515 and ISO1050). The purpose is to create a CAN network with several arduino uno and one Mega. ...
Undeadguy's user avatar
0 votes
1 answer
1k views

I am looking for a controller that works with Arduino (i.e. there is official or third-party support for the controller in the Arduino IDE and core libs) and has both built-in CAN and I2C buses. I was ...
eudoxos's user avatar
  • 169
2 votes
1 answer
2k views

I'm attempting to copycat the work of Louis Frigon's Toyota Aux Enabler. I have (with a lot of help on this site) managed to begin capturing and understanding messages on the AVC-LAN bus, but I can't ...
Bo Thompson's user avatar
1 vote
1 answer
2k views

I am attempting to create a program for the atmega328P which will enable the aux input of a Toyota Corolla stereo. In order to do this, I'm bitbanging AVC LAN. Nearly all of my research comes from ...
Bo Thompson's user avatar
0 votes
1 answer
346 views

I want to create an Arduino based vehicle tracking device which will be moved into a production board without Arduino later. Right now I have a few questions: What GPS module should I use for a best ...
Cvetomir's user avatar
1 vote
1 answer
424 views

This is a part of SeeedStudio CAN-Bus shield schematic. The vertical green line on the left seems suspicious to me. Am I missing something?
Jaroslav Záruba's user avatar
0 votes
1 answer
698 views

Update: I've refactored the code to be very resilient to boards missing or not being able to talk to them. Then I tinkered with a bunch of pins and learned that it all comes down to the IOREF pin ...
Tim Trampedach's user avatar
0 votes
1 answer
3k views

I have googled a lot, and mostly every website you can link me I have already explored, some are outdated and don't work, others aren't clear in their documentation, and use equipment too expensive to ...
nemewsys's user avatar
  • 225
0 votes
1 answer
255 views

I have the Sparkfun CAN Bus shield with integrated SD card writer attached to an Arduino Mega 2560. I can delete a logged file from the SD card using Windows, log more data using the SD library, then ...
J Collins's user avatar
  • 295
3 votes
1 answer
395 views

I've run into a case of 'In theory it works, but in reality'.... I'm using the CAN-BUS Shield V1.2 from Seeed studio. Many things are written in broken english, so I'm starting to wonder if I can ...
wookie4747's user avatar
0 votes
1 answer
2k views

I am currently using an atmega328 along with the mcp 2515 and the 2551 for CAN communication in my systems. However, I've now decided to upgrade to the arduino due for my operations. Can anybody tell ...
SerShubham's user avatar
1 vote
1 answer
799 views

I recently bought a Sparkfun Can-Bus Shield, and tried the SparkFun_CAN_Demo from here but the program only prints "CAN-Bus Demo" and then does nothing, even when I have it connected into my vehicle's ...
p7810456's user avatar
2 votes
1 answer
3k views

Hi I am a research student working on securing the communications in Controlled Area Networks (CANs), and I am using Arduinos to simulate one of these CANs. My goal is to use HMAC to implement ...
Zach King's user avatar
  • 141
1 vote
2 answers
1k views

I'm a member of a Formula SAE team and we use the Performance Electronics ECU which uses the CAN protocol with a speed of 250 kbit/s and works fine with our 2D Recording Systems Data logger, but ...
Yashasvi Karnena's user avatar
4 votes
1 answer
2k views

I am using an Arduino UNO along with a Cooking Hacks CAN Bus Module and Multiprotocol Radio Shield. The CAN module is connected to the radio shield which is plugged into the Arduino. I got this radio ...
Varun Raman's user avatar
1 vote
1 answer
2k views

I am using an arduino UNO and a Cooking Hacks CAN BUS module through a Cooking Hacks Multiprotocol radio shield. I plan to read the CAN messages through the car's OBD-II port. I have connected the ...
Varun Raman's user avatar
0 votes
1 answer
1k views

I was wondering if it is possible to send commands through the OBD-II on my car via an Arduino Uno Rev 3 with a CAN-BUS Shield from SEEDStudio. I am just going for basic functions i.e. lock control, ...
SWard's user avatar
  • 101
1 vote
2 answers
3k views

I'm hoping to get some help with this as I am unable to get the CAN to Initialize. I have the sparkfun Can-Bus shield: https://www.sparkfun.com/products/13262 and an Arduino Leonardo board. I'm ...
calcazar's user avatar
  • 113