VAG-COM Discussion
Sponsored by:
Sponsored by:

VAG-COM + RaspberryPI + Arduino + Sensors...

Thread Tools
 
Search this Thread
 
Old 02-16-2015, 01:35 PM
  #11  
Audiworld Junior Member
 
scMaverick's Avatar
 
Join Date: Aug 2013
Location: CR
Posts: 14
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by 1900gte
Some more inspiration but now from an Audi owner.
What year is your car? is that an arduino talking via CAN?
Old 02-21-2015, 10:34 PM
  #12  
AudiWorld Newcomer
 
abt06's Avatar
 
Join Date: Feb 2015
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by scMaverick
What year is your car? is that an arduino talking via CAN?
it's Audi A4 2000-2005 m.y.
Old 02-22-2015, 08:43 AM
  #13  
AudiWorld Newcomer
 
1900gte's Avatar
 
Join Date: Jul 2013
Location: Netherlands
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
Default

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.


Old 02-28-2015, 11:07 AM
  #14  
AudiWorld Newcomer
 
abt06's Avatar
 
Join Date: Feb 2015
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by 1900gte
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.


HI!
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!
Old 03-04-2015, 08:46 AM
  #15  
AudiWorld Newcomer
 
1900gte's Avatar
 
Join Date: Jul 2013
Location: Netherlands
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
Default 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.
Old 03-06-2015, 11:27 PM
  #16  
AudiWorld Newcomer
 
abt06's Avatar
 
Join Date: Feb 2015
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
Default

Ok! Thank you so much!!!
Old 05-29-2015, 12:45 PM
  #17  
AudiWorld Newcomer
 
Audi_Catalyst's Avatar
 
Join Date: May 2015
Location: Mesa, AZ
Posts: 8
Likes: 0
Received 0 Likes on 0 Posts
Default 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
Old 06-20-2015, 05:10 PM
  #18  
AudiWorld Newcomer
 
Audi_Catalyst's Avatar
 
Join Date: May 2015
Location: Mesa, AZ
Posts: 8
Likes: 0
Received 0 Likes on 0 Posts
Default 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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
PSmalls::DoggieStyle
S4 / RS4 (B5 Platform) Discussion
5
01-22-2007 04:47 PM
SIPPERMAN
A4 (B6 Platform) Discussion
8
07-29-2002 11:32 AM
Andy Hedin
S4 / RS4 (B5 Platform) Discussion
26
08-29-2001 02:11 PM
AudiBiTurbo
S4 / RS4 (B5 Platform) Discussion
5
06-06-2000 09:12 AM



Quick Reply: VAG-COM + RaspberryPI + Arduino + Sensors...



All times are GMT -8. The time now is 01:35 PM.