VAG-COM + RaspberryPI + Arduino + Sensors...
#13
AudiWorld Newcomer
Join Date: Jul 2013
Location: Netherlands
Posts: 3
Likes: 0
Received 0 Likes
on
0 Posts
Thats an Arduino Mega with a Sainsmart 3.2 TFT-touch screen.
I have used the OBD adapter from ArduinoDev.com
It's also available at DFRrobot from HongKong.
My car is an Audi A4 2003(B6) not all the OBD data is available over CAN, but its nice to thinker with stuff like this.
I have used the OBD adapter from ArduinoDev.com
It's also available at DFRrobot from HongKong.
My car is an Audi A4 2003(B6) not all the OBD data is available over CAN, but its nice to thinker with stuff like this.
#14
Thats an Arduino Mega with a Sainsmart 3.2 TFT-touch screen.
I have used the OBD adapter from ArduinoDev.com
It's also available at DFRrobot from HongKong.
My car is an Audi A4 2003(B6) not all the OBD data is available over CAN, but its nice to thinker with stuff like this.
I have used the OBD adapter from ArduinoDev.com
It's also available at DFRrobot from HongKong.
My car is an Audi A4 2003(B6) not all the OBD data is available over CAN, but its nice to thinker with stuff like this.
Could you help me, please! I want to connect OBD2 UART adapter with Mega too. But I cant do it for long time ((((((( I cant do initialization for connect to OBD. I read some things but it doesnt work with my modul. I have same car as you. can you write me back at my email virtualcity@mail.ru. Please, explane me how can I initialize my gadget with car? Please, help me. I cant do it a half year. Thank you!
#15
AudiWorld Newcomer
Join Date: Jul 2013
Location: Netherlands
Posts: 3
Likes: 0
Received 0 Likes
on
0 Posts
picture of adaptor and part of code
#include <arduino.h>
#include "Wire.h"
#include "SPI.h"
#include "OBD.h" // https://github.com/stanleyhuangyc
#include <UTFT.h> // Electronics - Henning Karlsen
#include <UTouch.h> // Electronics - Henning Karlsen
#include <SD.h>
//---------------screen variables
UTFT sGLCD(ITDB32S,38,39,40,41);
UTouch tTouch( 6, 5, 4, 3, 2);
// Declare which fonts we will be using
extern uint8_t SmallFont[];
extern uint8_t BigFont[];
extern uint8_t SevenSegNumFont[];
int n,x,y,a[4];
bool Savedata = 0;
//----------------OBD variables
COBDI2C obd;
boolean CarConnected = false;
unsigned long lastTick = millis();
uint8_t vispids[2] = {0, 7};
uint8_t errors = 0;
int OBDvalue[6];
int mux =0;
void setup()
{
obd.begin();
randomSeed(analogRead(0));
sGLCD.InitLCD();
sGLCD.clrScr();
tTouch.InitTouch();
tTouch.setPrecision(PREC_MEDIUM);
a[0]= 10; a[1]= 11; a[2]= 8; a[3]= 9;
drawMain();
writelabels();
writevariables();
InitSD();
}
This is not all the code but it shows how to initialise the display and the adaptor.
#17
AudiWorld Newcomer
Join Date: May 2015
Location: Mesa, AZ
Posts: 8
Likes: 0
Received 0 Likes
on
0 Posts
Windows 10 IoT Core
Hello all, I've recently been informing myself of all the new tech stuff.
Its going to be a very exciting near future for technology.
With Windows 10 IoT, and graphene, and Stanene. The possibilities are endless.
The way I understand it IoT core will offer the ability for devices with different architectures to communicate via wifi.
So long term, all the work done on this thread will easily work on windows 10. Or so they say.
My input, is that id like to put a raspberry pi in my B6 A4, as a car stereo. Ill eventually replace it with a mini Itx motherboard, and dc/dc power supply, so ill have a 64 bit 16:9 computer in my center console. Not my trunk, or under the seat, or in the glovebox. The 6.7" by 6.7" mini itx boards are perfect for a car radio.
I do realize that I'm bringing up new topics, but they all relate.
If Joe programmer has a breakthrough on his linux arduino thingybox blah blah for vagcom, ill be able to utilize his hard work with my x86 64bit computer. Via a handful of interfaces, such as pcie, usb, wifi, and or bluetooth.
Again the possibilities are (theoretically) limitless.
Id like to see a community response on this topic, not to discuss the benefits of having (or not having) Windows 10, but rather how we can all benefit from each others work towards a dream of a pretty wicked car computer.
Thanks, and a good day to all.
-Catalyst
Its going to be a very exciting near future for technology.
With Windows 10 IoT, and graphene, and Stanene. The possibilities are endless.
The way I understand it IoT core will offer the ability for devices with different architectures to communicate via wifi.
So long term, all the work done on this thread will easily work on windows 10. Or so they say.
My input, is that id like to put a raspberry pi in my B6 A4, as a car stereo. Ill eventually replace it with a mini Itx motherboard, and dc/dc power supply, so ill have a 64 bit 16:9 computer in my center console. Not my trunk, or under the seat, or in the glovebox. The 6.7" by 6.7" mini itx boards are perfect for a car radio.
I do realize that I'm bringing up new topics, but they all relate.
If Joe programmer has a breakthrough on his linux arduino thingybox blah blah for vagcom, ill be able to utilize his hard work with my x86 64bit computer. Via a handful of interfaces, such as pcie, usb, wifi, and or bluetooth.
Again the possibilities are (theoretically) limitless.
Id like to see a community response on this topic, not to discuss the benefits of having (or not having) Windows 10, but rather how we can all benefit from each others work towards a dream of a pretty wicked car computer.
Thanks, and a good day to all.
-Catalyst
#18
AudiWorld Newcomer
Join Date: May 2015
Location: Mesa, AZ
Posts: 8
Likes: 0
Received 0 Likes
on
0 Posts
Can Bus Triple
Hello again everyone.
I did some research, and stumbled across this device. It is beyond spectacular, and I am avid to share with as many people as I can.
https://canb.us/
It's called the Canbus Triple. The canbus triple would be mounted somewhere (anywhere) in [any] vehicle. Then the wires would be run to the best patch spot on the can bus lines. You wouldn't want to patch them close to the bus itself, because it will not carry all of the data that we'd like to find.
However, with some useful searching, the best spot to get can High and Low, is somewhere between the two doors on either side.
In my project, I'll just connect it to my car computer via USB, and with anything USB or Bluetooth, you'd have the same functionality. To me, what this is doing, is turning Unlocking our cars. Like you would an Iphone. or an Android. Or a PC for that matter.
We can now pick those packets of data straight from the canbus. Either read them or write them! So with your device, you could turn on headlights, sound system, turn signals, interior lights. Not to mention read all of your gauges, and error codes in REAL TIME. Thats quite a ways down the road, but you guys hit on all of the right points. The CANBUS Triple allows you to have TOTAL control over your Can BUS.
Definitely check it out Audiworld!
-Catalyst
I did some research, and stumbled across this device. It is beyond spectacular, and I am avid to share with as many people as I can.
https://canb.us/
It's called the Canbus Triple. The canbus triple would be mounted somewhere (anywhere) in [any] vehicle. Then the wires would be run to the best patch spot on the can bus lines. You wouldn't want to patch them close to the bus itself, because it will not carry all of the data that we'd like to find.
However, with some useful searching, the best spot to get can High and Low, is somewhere between the two doors on either side.
In my project, I'll just connect it to my car computer via USB, and with anything USB or Bluetooth, you'd have the same functionality. To me, what this is doing, is turning Unlocking our cars. Like you would an Iphone. or an Android. Or a PC for that matter.
We can now pick those packets of data straight from the canbus. Either read them or write them! So with your device, you could turn on headlights, sound system, turn signals, interior lights. Not to mention read all of your gauges, and error codes in REAL TIME. Thats quite a ways down the road, but you guys hit on all of the right points. The CANBUS Triple allows you to have TOTAL control over your Can BUS.
Definitely check it out Audiworld!
-Catalyst
Thread
Thread Starter
Forum
Replies
Last Post
PSmalls::DoggieStyle
S4 / RS4 (B5 Platform) Discussion
5
01-22-2007 04:47 PM
S4Del
S4 / RS4 (B5 Platform) Discussion
6
01-25-2004 03:13 PM
Andy Hedin
S4 / RS4 (B5 Platform) Discussion
26
08-29-2001 02:11 PM