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 is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other

0
votes
0answers
29 views

Control 24 stepper motors in same time via arduino

I want to do myself this project https://vimeo.com/174226879. I refer to this question I2C Master-Slave Arduino system to control array of steppers. In this question are use just 6 stepper motors but ...
0
votes
0answers
30 views

How to make Arduino + CAN-BUS as Adapter

Is it possible to make Arduino + CAN-BUS shield as adapter to PC ? Example: I have software "A", which needs CAN data (software gets data itself, and do everything itself). I connect CAN-HIGH, CAN-LOW ...
3
votes
1answer
42 views

Change operational mode of CAN transceiver

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. ...
1
vote
1answer
56 views

Powering Arduino Uno, CAN Crocodile and NeoPixels from Car

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 ...
0
votes
1answer
68 views

MCP2515 CAN bus with Arduino

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 ...
0
votes
0answers
72 views

Arduino & MCP2514 CAN bus

Trying to get this working, initially just to view and capture messages on the CAN bus in a Peugeot 407. Started with this: https://github.com/coryjfowler/MCP_CAN_lib/blob/master/examples/...
0
votes
1answer
14 views

How do I pull chip select pin up and down, when I have CAN shield and Newhaven Display 4.3CTP-SHIELD-N share the same chip select pin(10)?

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 ...
0
votes
1answer
21 views

Can Bus to receive and transmit on the same mcu

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 ...
0
votes
2answers
66 views

How to control two devices with Arduino? [closed]

I want to control two devices: AC Humidifier I have a DHT11 sensor for temperature and humidity. I want the AC to turn on when the temperature is greater than 30°C, and off when it's less than 20°C....
0
votes
0answers
70 views

Slave Select on Analog pin for Can Bus

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. ...
0
votes
1answer
250 views

Arduino-compatible micro-controller with both I2C and CAN

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 ...
2
votes
1answer
431 views

How does DDRD |= _BV(PD2) differ from digitalWrite(2,HIGH)?

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 ...
1
vote
1answer
169 views

bit_is_clear(ACSR, ACO) Instead of digital_read(1)==LOW

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 ...
-1
votes
1answer
170 views

Design vehicle tracking device

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 ...
1
vote
1answer
210 views

Possible error in CAN-Bus shield schematic?

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?
-1
votes
1answer
297 views

SPI conflict with two shields - IOREF?

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 ...
-1
votes
1answer
412 views

Connect Arduino to PLC (Data Exchange)

The Arduino should read data from a PLC. Has anyone experience with this? What would be possible interfaces? I would prefer OPC-UA, but all the research I did, only OPC-DA was mentioned. Thanks in ...
0
votes
1answer
1k views

Can I connect to a DALI network as a master node using an Arduino?

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 ...
0
votes
1answer
104 views

How might the SD library be reading phantom files?

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 ...
3
votes
1answer
240 views

Attempt stacking 'CAN-BUS' and 'USB Host' Shields on Mega 2560

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 ...
0
votes
1answer
706 views

Arduino due + mcp2551

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 ...
1
vote
1answer
500 views

Sparkfun Can-Bus Shield example not working

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 ...
3
votes
1answer
1k views

How to Implement Simple, Quick HMAC on Arduino

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 ...
1
vote
2answers
1k views

CAN communication with Arduino

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 ...
4
votes
1answer
556 views

Arduino CAN SPI Configuration problem

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 ...
1
vote
1answer
1k views

Problem receiving CAN messages using arduino, MCP2515 CAN module and multiprotocol radio shield

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 ...
0
votes
1answer
612 views

Car Control via OBD-II port

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, ...
1
vote
1answer
1k views

Can BUS Shield on Arduino Leonardo - Can't init CAN

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 ...
0
votes
1answer
176 views

Background processes - Arduino Mega and SeeedStudio CAN shield

I am attempting to interface an Arduino Mega 2560 with a system of four Black Jaguar motor controllers connected in CAN. I'm using the CAN shield from SeeedStudios to accomplish this. The way Jaguars ...
2
votes
1answer
598 views

Is it possible to setup a CAN-BUS Arduino Shield to communicate with SocketCAN for UNIX?

I have an Arduino + SparkFun CAN shield, and I was hoping to set it up to work with candump on an Ubuntu system. Is this doable, or is candump made specifically for raspberry Pi's?
1
vote
2answers
924 views

Connect the Sparkfun CAN bus shield with an RFduino

I have a problem which I am working on for some days now. I do have knowledge in electronics, but not extensively. I also posted this question in the RFduino Forum but couldn't get any good answers. ...
1
vote
1answer
2k views

CAN Bus without Transceivers

I am trying to set up a CAN-bus with its two nodes on the same Arduino. By Using an Arduino DUE without any transceivers. As my first experiment, I want to send a message from one CAN unit to the ...
4
votes
2answers
3k views

Can Bus Shield Not Receiving Data

I am trying to connect my Arduino Uno board with SeeedStudio Can Bus Shield to my 2006 325i BMW. After compiling and uploading the example program by SeeedStudio, the serial monitor returns "Can Bus ...
5
votes
2answers
4k views

How to program a CAN-BUS Arduino shield to control car windows?

My project is to control car windows using voice recognition. I have successfully controlled some LEDs using the EasyVR Arduino shield using and Arduino MEGA. Now I want to take control of the windows ...