Skip to content

[Solved] Better way of using stock amp with after market radio

Featured Replies

Hi,

In continuation to my earlier post 

I found better way of using stock AMP with after market radio.

 

Warning: DO AT YOUR OWN RISK. I WONT BE RESPONSIBLE IF YOU MESS UP.

 

What you need.

1.       Arduino UNO (I think you can use Nano also)

2.       CAN Shield 

https://www.dropbox.com/s/lmxbs6dnu5scp1b/MCP2515-CAN-Bus-Module-TJA1050-Receiver-SPI-Module-for-Arduino.jpg

3.       CAN Shield library (https://github.com/coryjfowler/MCP_CAN_lib)

4.       7808 Voltage regulator

 

Step 1:

Download and extract Arduino IDE and CAN shield library

 

Step 2:

Connect CAN Shield to Arduino as per below diagram

<img src="https://www.dropbox.com/s/7z3crd6gsj38xmw/Can-board-Pin-Outs.png?dl=0">
<img src="https://www.dropbox.com/s/7z3crd6gsj38xmw/Can-board-Pin-Outs.png?dl=0">

Step 3:

Connect  Arduino to PC, compile and upload below code to Arduino

 

#include <mcp_can.h>

#include <SPI.h>

MCP_CAN CAN0(10);     // Set CS to pin 10

void setup()

{

  Serial.begin(115200);

  // Initialize MCP2515 running at 16MHz with a baudrate of 500kb/s and the masks and filters disabled.

  if(CAN0.begin(MCP_ANY, CAN_100KBPS, MCP_16MHZ) == CAN_OK) Serial.println("MCP2515 Initialized Successfully!");

  else Serial.println("Error Initializing MCP2515...");

  CAN0.setMode(MCP_NORMAL);   // Change to normal mode to allow messages to be transmitted

}

void loop()

{

  // send data:  ID = 0x100, Standard CAN Frame, Data length = 8 bytes, 'data' = array of data bytes to send

  unsigned char stmp0[6] = {0x03, 0x00, 0x00, 0x00, 0x00, 0x00};

  byte sndStat0 = CAN0.sendMsgBuf(0x507, 0, 6, stmp0);

  delay(5000);   // send data per 5000ms

}

/*********************************************************************************************************

  END FILE

*********************************************************************************************************/

Step 4:

Build 7808 Voltage regulator, as per below diagram

<img src="https://www.dropbox.com/s/vlicyzg3k3a43bn/voltage%20regulator.png?dl=0">

Step 5:

Connect Arduino to car. I placed my Arduino inside amplifier(saved me extra wiring hassles)

<img src="https://www.dropbox.com/s/qb9vfeyu9apava1/amp.jpg?dl=0">

 

That’s it.. If all goes well you should hear sound from stock amplifier 

Edited by virgo79

  • 2 years later...
  • Author
On 08/05/2018 at 20:47, virgo79 said:

Hi,

In continuation to my earlier post 

I found better way of using stock AMP with after market radio.

 

Warning: DO AT YOUR OWN RISK. I WONT BE RESPONSIBLE IF YOU MESS UP.

 

What you need.

1.       Arduino UNO (I think you can use Nano also)

2.       CAN Shield 

https://www.dropbox.com/s/lmxbs6dnu5scp1b/MCP2515-CAN-Bus-Module-TJA1050-Receiver-SPI-Module-for-Arduino.jpg

3.       CAN Shield library (https://github.com/coryjfowler/MCP_CAN_lib)

4.       7808 Voltage regulator

 

Step 1:

Download and extract Arduino IDE and CAN shield library

 

Step 2:

Connect CAN Shield to Arduino as per below diagram


<img src="https://www.dropbox.com/s/7z3crd6gsj38xmw/Can-board-Pin-Outs.png?dl=0">
<img src="https://www.dropbox.com/s/7z3crd6gsj38xmw/Can-board-Pin-Outs.png?dl=0">

Step 3:

Connect  Arduino to PC, compile and upload below code to Arduino

 

#include <mcp_can.h>

#include <SPI.h>

MCP_CAN CAN0(10);     // Set CS to pin 10

void setup()

{

  Serial.begin(115200);

  // Initialize MCP2515 running at 16MHz with a baudrate of 500kb/s and the masks and filters disabled.

  if(CAN0.begin(MCP_ANY, CAN_100KBPS, MCP_16MHZ) == CAN_OK) Serial.println("MCP2515 Initialized Successfully!");

  else Serial.println("Error Initializing MCP2515...");

  CAN0.setMode(MCP_NORMAL);   // Change to normal mode to allow messages to be transmitted

}

void loop()

{

  // send data:  ID = 0x100, Standard CAN Frame, Data length = 8 bytes, 'data' = array of data bytes to send

  unsigned char stmp0[6] = {0x03, 0x00, 0x00, 0x00, 0x00, 0x00};

  byte sndStat0 = CAN0.sendMsgBuf(0x507, 0, 6, stmp0);

  delay(5000);   // send data per 5000ms

}

/*********************************************************************************************************

  END FILE

*********************************************************************************************************/

Step 4:

Build 7808 Voltage regulator, as per below diagram


<img src="https://www.dropbox.com/s/vlicyzg3k3a43bn/voltage%20regulator.png?dl=0">

Step 5:

Connect Arduino to car. I placed my Arduino inside amplifier(saved me extra wiring hassles)


<img src="https://www.dropbox.com/s/qb9vfeyu9apava1/amp.jpg?dl=0">

 

That’s it.. If all goes well you should hear sound from stock amplifier 

 

Use this connection diagram in step 2

https://www.dropbox.com/s/l2dg2v71oxnx3zv/Arduino Connection.jpg?dl=0

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.