PowerBroker2 / ELMduino

Arduino OBD-II Bluetooth Scanner Interface Library for Car Hacking Projects
MIT License
658 stars 126 forks source link

can it run on ESP32? #3

Closed vfebert closed 4 years ago

vfebert commented 4 years ago

Hi, was really happy to find this one, intending to do a "My own CO2 footprint" project. Could you please help me in providing an Arduino example running on an ESP32 - which has Bluetooth build in. When I compile the sample sketch, it simply gives "serial3 unknown" error. Sorry for being only a hobby programmer....

vfebert commented 4 years ago

big thanks to you for making it working perfectly now - My application based on your SW is up and running now also: "Visualize your daily CO2 footprint based on your car fuel consumption, heating, electricity, water"

PowerBroker2 commented 4 years ago

Glad to help! Do you have a link to your project build?

vfebert commented 4 years ago

not yet - working on it - will keep you posted

vsaravind007 commented 4 years ago

Hi @PowerBroker2, thanks for all the hard work on the library. I'm using an ESP32 Dev kit with Bluetooth ELM327 module. I'm using your example & the connection goes through correctly, but all I get is ERROR 7, even after 3 minutes: image

Tried sending the AT commands with the basic sketch, it works fine. Any ideas ?

Thanks

PowerBroker2 commented 4 years ago

Looks like you're getting a timeout error. So I can keep track of everyone's issues separately, please make a new issue describing your exact hardware setup, testing environment, library version, and complete code.

vsaravind007 commented 4 years ago

Sure, thanks!

vfebert commented 4 years ago

Hi PowerBroker,

finally I can answer your question: „do you have a repository for your solution?“ – it was about the project to read out mileage and fuel consumption fully automated.

Here it is: https://myco2.org/

The repository is: https://github.com/VolkerMyCO2/CarMileageFuel

Hope you like it and everything is ok for you. If not, just let me know.

Regards,

Volker

Von: PB2 notifications@github.com Gesendet: Dienstag, 3. März 2020 22:09 An: PowerBroker2/ELMduino ELMduino@noreply.github.com Cc: vfebert VolkerG@ebert-mail.de; Mention mention@noreply.github.com Betreff: Re: [PowerBroker2/ELMduino] can it run on ESP32? (#3)

You were able to connect to it via Bluetooth serial or did you have to modify the example for BLE? I'm interested only in how you were able to connect the ESP32 to the BLE OBD scanner (if that makes sense).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PowerBroker2/ELMduino/issues/3?email_source=notifications&email_token=AGMZSMCUCEVQKAMKQYCHSGTRFVWYTA5CNFSM4KSIR5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVFAOY#issuecomment-594169915 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGMZSMCSTR3QJV4QVK4ULO3RFVWYTANCNFSM4KSIR5EQ . https://github.com/notifications/beacon/AGMZSMEV6V7EKHPZ62UV7ALRFVWYTA5CNFSM4KSIR5E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVFAOY.gif