Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-29-2011, 10:37 AM   #31 (permalink)
EcoModding Lurker
 
Join Date: Apr 2011
Location: India
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
How can I interface this thing with the Arduino board?
$25.90 - ELM327 USB Vehicle OBD-2 Scanner Tool - OBD/OBD2 Car Diag. Tools

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-30-2011, 09:18 AM   #32 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
This device being USB, I doubt you can. You would have to open it and check if they use a PIC with integrated USB (which is certainly the case), in this case you can not.
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Old 06-04-2011, 06:35 AM   #33 (permalink)
EcoModding Lurker
 
Join Date: Apr 2011
Location: India
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
http://opengauge.googlecode.com/svn/...obduino32K.pde

I'm trying to use this code for use with a serial cable - while compiling I'm getting errors. I'm using Arduino 22. I'vce little knowledge with programming, so please help me out
Quote:
sketch_jun04a:363: error: 'byte' does not name a type
sketch_jun04a:364: error: 'byte' does not name a type
sketch_jun04a:365: error: 'byte' has not been declared
sketch_jun04a:368: error: 'byte' has not been declared
sketch_jun04a:397: error: 'byte' does not name a type
sketch_jun04a:405: error: 'byte' does not name a type
sketch_jun04a:413: error: 'byte' does not name a type
sketch_jun04a:723: error: 'byte' does not name a type
sketch_jun04a:788: error: 'byte' does not name a type
sketch_jun04a:796: error: 'byte' does not name a type
sketch_jun04a:797: error: 'byte' does not name a type
sketch_jun04a:798: error: 'boolean' does not name a type
sketch_jun04a:799: error: 'byte' does not name a type
sketch_jun04a:800: error: 'byte' does not name a type
sketch_jun04a:801: error: 'byte' does not name a type
sketch_jun04a:802: error: 'byte' does not name a type
sketch_jun04a:805: error: 'byte' does not name a type
sketch_jun04a:806: error: 'byte' does not name a type
sketch_jun04a:810: error: 'byte' does not name a type
sketch_jun04a:811: error: 'byte' does not name a type
sketch_jun04a:868: error: too many initializers for 'screen_t'
sketch_jun04a:868: error: too many initializers for 'screen_t'
sketch_jun04a:868: error: too many initializers for 'screen_t'
sketch_jun04a:868: error: too many initializers for 'params_t'
sketch_jun04a:904: error: 'byte' does not name a type
sketch_jun04a:919: error: 'byte' does not name a type
sketch_jun04a:928: error: 'byte' does not name a type
sketch_jun04a:932: error: 'byte' does not name a type
sketch_jun04a:935: error: 'byte' does not name a type
sketch_jun04a:936: error: 'byte' does not name a type
sketch_jun04a:983: error: 'boolean' does not name a type
sketch_jun04a:992: error: 'byte' does not name a type
sketch_jun04a:993: error: 'boolean' does not name a type
sketch_jun04a:1014: error: expected constructor, destructor, or type conversion before '(' token
sketch_jun04a.cpp: In function 'void serial_rx_on()':
sketch_jun04a:1149: error: 'Serial' was not declared in this scope
sketch_jun04a.cpp: In function 'void serial_tx_off()':
sketch_jun04a:1160: error: 'delay' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:1171: error: 'boolean' does not name a type
sketch_jun04a:1196: error: variable or field 'iso_write_byte' declared void
sketch_jun04a:1196: error: 'byte' was not declared in this scope
sketch_jun04a:1205: error: 'byte' does not name a type
sketch_jun04a:1214: error: variable or field 'iso_write_data' declared void
sketch_jun04a:1214: error: 'byte' was not declared in this scope
sketch_jun04a:1214: error: 'data' was not declared in this scope
sketch_jun04a:1214: error: 'byte' was not declared in this scope
sketch_jun04a:1252: error: 'byte' does not name a type
sketch_jun04a.cpp: In function 'void iso_init()':
sketch_jun04a:1290: error: 'millis' was not declared in this scope
sketch_jun04a:1298: error: 'byte' was not declared in this scope
sketch_jun04a:1298: error: expected `;' before 'ISOSteps'
sketch_jun04a:1309: error: 'ISO_InitStep' was not declared in this scope
sketch_jun04a:1312: error: 'ECUconnection' was not declared in this scope
sketch_jun04a:1323: error: 'digitalWrite' was not declared in this scope
sketch_jun04a:1327: error: 'ISOSteps' was not declared in this scope
sketch_jun04a:1337: error: expected `;' before 'b'
sketch_jun04a:1339: error: 'Serial' was not declared in this scope
sketch_jun04a:1343: error: expected `;' before 'i'
sketch_jun04a:1343: error: 'i' was not declared in this scope
sketch_jun04a:1344: error: 'b' was not declared in this scope
sketch_jun04a:1344: error: 'iso_read_byte' was not declared in this scope
sketch_jun04a:1347: error: 'b' was not declared in this scope
sketch_jun04a:1359: error: expected `;' before 'b'
sketch_jun04a:1362: error: 'b' was not declared in this scope
sketch_jun04a:1362: error: 'iso_read_byte' was not declared in this scope
sketch_jun04a:1376: error: 'delay' was not declared in this scope
sketch_jun04a:1379: error: 'iso_write_byte' was not declared in this scope
sketch_jun04a:1386: error: expected `;' before 'i'
sketch_jun04a:1386: error: 'i' was not declared in this scope
sketch_jun04a:1400: error: 'ECUconnection' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:1622: error: 'byte' does not name a type
sketch_jun04a:1629: error: 'boolean' does not name a type
sketch_jun04a:1662: error: 'boolean' does not name a type
sketch_jun04a:2033: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void long_to_dec_str(long int, char*, int)':
sketch_jun04a:2035: error: 'byte' was not declared in this scope
sketch_jun04a:2035: error: expected `;' before 'pos'
sketch_jun04a:2040: error: 'pos' was not declared in this scope
sketch_jun04a:2042: error: expected `;' before 'i'
sketch_jun04a:2042: error: 'i' was not declared in this scope
sketch_jun04a:2049: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2049: error: 'struct params_t' has no member named 'use_comma'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2164: error: 'byte' does not name a type
sketch_jun04a.cpp: In function 'void clear_icons_tvss()':
sketch_jun04a:2168: error: 'byte' was not declared in this scope
sketch_jun04a:2168: error: expected `;' before 'i'
sketch_jun04a:2168: error: 'i' was not declared in this scope
sketch_jun04a:2169: error: 'tvss' was not declared in this scope
sketch_jun04a.cpp: In function 'void clear_icons_tmaf()':
sketch_jun04a:2173: error: 'byte' was not declared in this scope
sketch_jun04a:2173: error: expected `;' before 'i'
sketch_jun04a:2173: error: 'i' was not declared in this scope
sketch_jun04a.cpp: In function 'unsigned int get_icons(char*)':
sketch_jun04a:2181: error: 'byte' was not declared in this scope
sketch_jun04a:2181: error: expected `;' before 'nb_entry'
sketch_jun04a:2184: error: 'struct params_t' has no member named 'per_hour_speed'
sketch_jun04a:2187: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2197: error: expected `;' before 'i'
sketch_jun04a:2197: error: 'i' was not declared in this scope
sketch_jun04a:2199: error: 'tvss' was not declared in this scope
sketch_jun04a:2202: error: 'nb_entry' was not declared in this scope
sketch_jun04a:2205: error: 'nb_entry' was not declared in this scope
sketch_jun04a:2207: error: 'struct params_t' has no member named 'fuel_adjust'
sketch_jun04a:2223: error: 'boolean' was not declared in this scope
sketch_jun04a:2223: error: expected `;' before 'lowSpeed'
sketch_jun04a:2227: error: 'lowSpeed' was not declared in this scope
sketch_jun04a:2230: error: 'struct params_t' has no member named 'speed_adjust'
sketch_jun04a:2243: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2245: error: 'lowSpeed' was not declared in this scope
sketch_jun04a:2271: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2274: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2274: error: 'lowSpeed' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2291: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'unsigned int get_cons(char*, int)':
sketch_jun04a:2307: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2328: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2357: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2367: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2384: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_fuel(char*, int)':
sketch_jun04a:2394: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2407: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2422: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_waste(char*, int)':
sketch_jun04a:2432: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2445: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2460: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_dist(char*, int)':
sketch_jun04a:2470: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2483: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: In function 'void get_remain_dist(char*)':
sketch_jun04a:2518: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2531: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2544: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_max_vss(char*, int)':
sketch_jun04a:2549: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2561: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: In function 'void accu_trip()':
sketch_jun04a:2578: error: 'byte' does not name a type
sketch_jun04a:2579: error: 'byte' does not name a type
sketch_jun04a:2580: error: 'byte' was not declared in this scope
sketch_jun04a:2580: error: expected `;' before 'throttle_pos'
sketch_jun04a:2581: error: expected `;' before 'open_load'
sketch_jun04a:2588: error: 'PIDCacheCount' was not declared in this scope
sketch_jun04a:2595: error: 'millis' was not declared in this scope
sketch_jun04a:2603: error: 'get_pid' was not declared in this scope
sketch_jun04a:2612: error: expected `;' before 'i'
sketch_jun04a:2612: error: 'i' was not declared in this scope
sketch_jun04a:2623: error: 'has_rpm' was not declared in this scope
sketch_jun04a:2638: error: 'get_pid' was not declared in this scope
sketch_jun04a:2640: error: 'throttle_pos' was not declared in this scope
sketch_jun04a:2640: error: expected `;' before 'tempLong'
sketch_jun04a:2642: error: 'min_throttle_pos' was not declared in this scope
sketch_jun04a:2651: error: 'get_pid' was not declared in this scope
sketch_jun04a:2653: error: 'open_load' was not declared in this scope
sketch_jun04a:2660: error: 'throttle_pos' was not declared in this scope
sketch_jun04a:2660: error: 'min_throttle_pos' was not declared in this scope
sketch_jun04a:2660: error: 'open_load' was not declared in this scope
sketch_jun04a:2668: error: 'is_pid_supported' was not declared in this scope
sketch_jun04a:2671: error: 'get_pid' was not declared in this scope
sketch_jun04a:2692: error: 'get_pid' was not declared in this scope
sketch_jun04a:2694: error: 'get_pid' was not declared in this scope
sketch_jun04a:2696: error: 'get_pid' was not declared in this scope
sketch_jun04a:2708: error: 'struct params_t' has no member named 'eng_dis'
sketch_jun04a:2725: error: 'struct params_t' has no member named 'fuel_adjust'
sketch_jun04a:2726: error: expected `;' before 'i'
sketch_jun04a:2726: error: 'i' was not declared in this scope
sketch_jun04a:2743: error: 'tvss' was not declared in this scope
sketch_jun04a:2743: error: 'tindex' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2756: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_pid_internal(char*, int)':
sketch_jun04a:2768: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2770: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2772: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2774: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2776: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2778: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2786: error: 'get_engine_on_time' was not declared in this scope
sketch_jun04a:2834: error: 'nbpid_per_second' was not declared in this scope
sketch_jun04a:2840: error: 'eco_visual' was not declared in this scope
sketch_jun04a:2843: error: 'get_pid' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2846: error: variable or field 'display' declared void
sketch_jun04a:2846: error: 'byte' was not declared in this scope
sketch_jun04a:2846: error: 'byte' was not declared in this scope
  Reply With Quote
Old 09-12-2011, 04:08 AM   #34 (permalink)
EcoModding Lurker
 
Join Date: Sep 2011
Location: Germany
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Maybe this late, but I just started making my OBDuino.

I'm using the device from dealextreme:

It contains the elm327 with all necessary peripherie and an FT232BL.
The FT232 chip ist just an "virtual COM Port to USB"-Chip.

So you just have to wire your arduino to the RX/TX Pins of the FT232 and then the OBDduino will work!! Oh don't forget to connect ground

Pictures + Videos coming soon...
  Reply With Quote
Old 09-13-2011, 06:18 PM   #35 (permalink)
TeknO Moder
 
Join Date: May 2008
Location: Long Island Ny
Posts: 6

Tek Cruiser - '02 Nissan Altima s
Last 3: 28.13 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
Great project! will be trying this.
  Reply With Quote
Old 09-19-2011, 04:01 AM   #36 (permalink)
EcoModding Lurker
 
Join Date: Sep 2011
Location: Germany
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
One important point i did not mention is that the elm327 in dealextreme device is working with 38400 bau not 9600 baud. So you have to modify the elm_init function

from:

serial.begin(9600);

to

serial.begin(38400);
  Reply With Quote
Old 11-10-2011, 12:21 PM   #37 (permalink)
EcoModding Lurker
 
Join Date: Nov 2011
Location: Montreal, Canada
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Kingpin3k View Post
One important point i did not mention is that the elm327 in dealextreme device is working with 38400 bau not 9600 baud. So you have to modify the elm_init function

from:

serial.begin(9600);

to

serial.begin(38400);

Hi, I am interested in doing the same thing, cand you send me the link to the dealextreme product page please
  Reply With Quote
Old 11-10-2011, 12:28 PM   #38 (permalink)
EcoModding Lurker
 
Join Date: Sep 2011
Location: Germany
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
I'm not allowed to post links but it's the device archas mentionted a few posts before...

the sku is 28528

This is the device i used...
  Reply With Quote
The Following User Says Thank You to Kingpin3k For This Useful Post:
yawnbi (11-10-2011)
Old 12-17-2011, 11:46 AM   #39 (permalink)
EcoModding Lurker
 
Join Date: Nov 2011
Location: Montreal, Canada
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Kingpin3k View Post
Maybe this late, but I just started making my OBDuino.

I'm using the device from dealextreme:

It contains the elm327 with all necessary peripherie and an FT232BL.
The FT232 chip ist just an "virtual COM Port to USB"-Chip.

So you just have to wire your arduino to the RX/TX Pins of the FT232 and then the OBDduino will work!! Oh don't forget to connect ground

Pictures + Videos coming soon...
hi, just got the dealextreme elm, trying to compile de code, but i get errors, do i need to comment/uncomment thing (exept #define elm327) to make it work?
  Reply With Quote
Old 01-18-2012, 02:49 PM   #40 (permalink)
EcoModding Lurker
 
Join Date: Jan 2012
Location: USA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
is there a step by step instructrable version you can post to create your own obduino?

Thanks in advance!

  Reply With Quote
Reply  Post New Thread


Tags
obd2

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with Carbon Fiber larrydag Aerodynamics 17 10-25-2014 03:21 PM
Tips for working with plastic, Coroplast, polycarbonate orange4boy Aerodynamics 0 08-30-2008 04:15 PM
Glossary Not Working? Skroober Forum News & Feedback 3 06-28-2008 12:29 PM
SGII backlight not working? ch00f Instrumentation 3 06-18-2008 03:22 AM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com