New!!OBD2 Com with Xsim3 and Arduino-New!!

Dashboard, gauge projects etc.
Please use the image gallery for your pictures, a short tutorial can be found here.
The first image in the first post will be shown in the project gallery.

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby RacingMat » Mon 2. Sep 2013, 11:34

Hi !

A nice "instructables" here about direct port manipulation to speed up arduino !
2 DOF playseat : arduino, motomonster, 12V truck wiper motors
http://www.x-sim.de/forum/viewtopic.php?f=37&t=943
User avatar
RacingMat
X-Sim Stage 2 edition
 
Posts: 456
Images: 147
Joined: Wed 20. Feb 2013, 21:30
Location: Marseille - FRANCE
Has thanked: 4 times
Been thanked: 130 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby yokoyoko » Mon 2. Sep 2013, 21:48

Hi Vicpopo and others,

I want to copy your brilliant dashboard. I have all parts together - incl. the big 7 segment display.
Unfortunatly I ordered the MC14543B as SMD part :roll: :oops: ---> No way to solder this! Can someone advise where I could buy this part in a normal size ( like yours)?

I searched the web alot now and have no luck finding this decoder :(

Thanks for helping me!
User avatar
yokoyoko
 
Posts: 392
Images: 28
Joined: Tue 7. Aug 2012, 03:16
Location: Germany / Bad Eilsen
Has thanked: 33 times
Been thanked: 13 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby sirnoname » Mon 2. Sep 2013, 22:12

If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby yokoyoko » Mon 2. Sep 2013, 22:25

Thx sirnoname!!! Good news. Now even I can find the item :-)
User avatar
yokoyoko
 
Posts: 392
Images: 28
Joined: Tue 7. Aug 2012, 03:16
Location: Germany / Bad Eilsen
Has thanked: 33 times
Been thanked: 13 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby vicpopo » Mon 2. Sep 2013, 23:07

Hi Sir and Yokoyoko,

Thanks for reply.An another solution is to use a max7219 with obviously changes in the code.
But the chip is more expensive (# 2€) and used just for one 7 segment digit it's a little bit waste.
One of its advantage is that with max7219 is easy to program and easy to wire ( 5 wires , vcc , gnd, load ,clock ,data in ).
Just for one digit the decoder 14543B is enough and cheap.

For my dashboard I want to test with the same arduino nano 4 max7219 cascaded, 3 for three lignes 7 segments display with 8 digit and one for a 8x8 leds matrix.I have 3 pinmode available left on my dashboarb with the arduino nano.I don't know if the refreshing all this displays will work( one big 7 segment , one tm1638 , 4 max7219 cascaded for displays described above).
User avatar
vicpopo
 
Posts: 645
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 39 times
Been thanked: 80 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby sirnoname » Thu 5. Sep 2013, 21:06

I have here a question.
I just installed the code and the RX and TX LEDs do only blink after 1-2 seconds.
I see in the codes "delays" with 500 and more ms.
Is this the reason? Normally my first code blinks in 30ms rhythm.
Or is this because of my missing display? I only have nano board loaded.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby vicpopo » Thu 5. Sep 2013, 22:19

sirnoname wrote:I have here a question.
I just installed the code and the RX and TX LEDs do only blink after 1-2 seconds.
I see in the codes "delays" with 500 and more ms.
Is this the reason? Normally my first code blinks in 30ms rhythm.
Or is this because of my missing display? I only have nano board loaded.

Hi,

I changed anything in the code except once the calculation for rpm but for a few weeks ago I changed it to go back to your originally code.
For the delay you are speaking from this line in the code : " for(int z=0; z < 500; z++) //500ms timeout should be enough "?

Never changed something to this.

For the question via pm , I'm sure that when I unchecked the 10 bit usb the autodetection for xpid 1.4 plugin worked great.Win xp.

Will test with extractor v2 both requests obd2 and plugin xpid

Regards
User avatar
vicpopo
 
Posts: 645
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 39 times
Been thanked: 80 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby vicpopo » Tue 10. Sep 2013, 22:21

Hi all,

New test with extractor v3 on test.
Notice : improved data communication , no more delay.Watch rpm values updates.

User avatar
vicpopo
 
Posts: 645
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 39 times
Been thanked: 80 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby yokoyoko » Tue 10. Sep 2013, 22:45

Good news!
Thx vic for testing and ofcourse big thx sir for fixing!
User avatar
yokoyoko
 
Posts: 392
Images: 28
Joined: Tue 7. Aug 2012, 03:16
Location: Germany / Bad Eilsen
Has thanked: 33 times
Been thanked: 13 times

Re: New!!OBD2 Com with Xsim3 and Arduino-New!!

Postby sirnoname » Wed 11. Sep 2013, 23:10

Great news there, the vid is very impressive.
Now yokyoko should verify the last patch with 1500 as timeout in the ino file with pcars or iracing and if it works we can make another release.
I hope all disconnects could get banned.

regards,
SirNoName
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

PreviousNext

Return to Peripheral Projects

Who is online

Users browsing this forum: No registered users and 1 guest