Using the V2 adapter with esp8266

Inquiry and support for Arduino OBD-II Adapter
pkn
Posts: 3
Joined: Mon Dec 19, 2016 4:43 am

Using the V2 adapter with esp8266

Postby pkn » Mon Dec 19, 2016 4:57 am

Hi,
I've recently ordered and received the OBD-II UART adapter V2 and wanted to try it out today.
Unfortunately I haven't been able to get it to work with my wemos D1 mini pro (esp8266) board.

When trying the basic RPM example, the board just gets stuck in some kind of boot loop (soft WDT reset, rst cause: 2, boot mode: 3 6).
The reboot seems to be caused by .begin() or .init(), but I'm not too sure about that. Code compiles without errors, of course.

I've tried everything I could think of but now I'm out of ideas.
Do you have any advice for me? What could I possibly do wrong? Does the adapter (or the library) for some reason not work with an esp8266 board?


Regards

stanley
Site Admin
Posts: 537
Joined: Sat Mar 01, 2014 3:15 am

Re: Using the V2 adapter with esp8266

Postby stanley » Tue Dec 20, 2016 8:55 am

Did you disconnect USB cable from esp8266? It has only one usable hardware serial just like UNO.

pkn
Posts: 3
Joined: Mon Dec 19, 2016 4:43 am

Re: Using the V2 adapter with esp8266

Postby pkn » Tue Dec 20, 2016 11:26 pm

Yes, I've tried it with the USB cable unplugged, but that doesn't help either. It still reboots continuously.

stanley
Site Admin
Posts: 537
Joined: Sat Mar 01, 2014 3:15 am

Re: Using the V2 adapter with esp8266

Postby stanley » Sun Jan 08, 2017 11:22 am

Did your esp8266 board receive anything from serial?

pkn
Posts: 3
Joined: Mon Dec 19, 2016 4:43 am

Re: Using the V2 adapter with esp8266

Postby pkn » Tue Jan 10, 2017 6:23 am

Hi,

after trying around for quite some time now, I've finally got it to work and can now read the RPM values with the engine running.

In OBD2UART.h, I've commented out the following lines:

#ifndef OBDUART
#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega168P__)
#define OBDUART Serial
#else
#define OBDUART Serial1
#endif
#endif

and instead inserted following:
#ifndef OBDUART
#define OBDUART Serial
#endif


Although I can't be a 100% sure, I think that's what got it working finally.
I've connected an LED and an OLED display, the LED turns on when RPM is >= 1500, the display shows the RPM values. Works.

I've also discovered that the pin serial seems to be prioritized over the USB serial, so it wouldn't matter if I had the USB cable plugged in, but I haven't tested this specifically since I won't use USB to power the esp anyway. I could be wrong here.

Nevertheless, I got it working! Great stuff. Thanks for helping me out.

DurhamCarpet
Posts: 37
Joined: Thu May 25, 2017 4:18 pm

Re: Using the V2 adapter with esp8266

Postby DurhamCarpet » Thu May 25, 2017 4:28 pm

http://www.technologyforreal.com It is normally apparent that to survive and additionally thrive on the real property industry in these days, real auctions and real estate agents must incorporate every part of technology and additionally remain upon the require to continually modernize their platforms.
http://www.techspecially.com There are many distinct opportunities to make sure you advance any radiology career if you suffer from one or further areas about specialization. Extra specializations you've gotten, the a great deal more competitive you'll certainly be in your responsibilities market.
http://www.travelascend.com This month's account takes us to western Ough. S. state about Oregon and certain fantastic snow boarding. First a small amount of background relating to the state about Oregon its own matters. Begin by having a little prehistory by after this link to discover about Oregon and therefore the Columbia level.
http://www.travelescalator.com Koi fish had been called all the national striped bass of Japan consequently they are popular for China and in many countries. This page describes a history of Koi fish fish breeding and gives useful knowledge regarding how varieties of fish really are categorised consistent with their designs and white markings.
http://www.travelinglong.com Traveling by having a baby within the car isn't really easy, but looking longer when compared to two hours during the time sounds further dreadful. Listed here three truly good tips and additionally ideas how to plan in advance, car additionally your baby for a very long voyage.
http://www.www.travelrelaxation.com Travelling is a lot of fun, educational and additionally relaxing. Certainly, it is normally suppose that should be relaxing, the expense of a christmas. Sometimes holidays ordinarily are not relaxing. To make your christmas travel relaxing it is recommended to plan ahead and provide things put-together.
http://www.trulyfinancial.com You happen to be born by means of potential. You had been born by means of goodness and additionally trust. You had been born by means of ideals and additionally dreams. You had been born by means of greatness. You had been born by means of wings. Somebody meant just for crawling, for that reason don't! You've gotten wings, learn use individuals and jig...
http://www.ultimateseomarketing.com Having a niche site on your own business and additionally using via the internet SEO promotional is most effective communicate together with loyal purchasers, while equally attracting cutting edge ones additionally, depending relating to the types of products and services you have to give you.
http://www.weddingfinally.com When opting the Definite plans for those location on your wedding, select a point that displays your character along with location which usually that both of you have a lot of feeling for or even some reference to.
http://www.weddinghappens.com Hiring services of the most useful wedding photographers is very important. It ensures to get the highest quality photos for use on your wedding. Weddings can be special events on the lives of people. Could potentially be attributed to the advantage that weddings appear once on the lives of people.
http://www.weddingwithclass.com Monograms have long been used in the form of personalized expression of model, taste, and additionally style. Jean Rene Lacoste put into use one relating to his tshirts that happened to become about the most iconic model brands anywhere. Tennis music artist Roger Federer applies one relating to his clothing in the form of statement about personal trend.
http://www.withoutlaw.com There really are many faith based laws directed at us for God's Message. Some most people would tell you I've never heard spiritual law regulations before. However once we read on the Word about God we will have that An individual's Word is jam packed with spiritual law regulations.

http://www.accomodatehome.com Holidaymakers these days are spoilt in terms of what emerges! No longer are they restricted or confined to the options provided to them by package holiday operators, but now they themselves can take control of organizing their holiday!
http://www.allowsports.com Are you addicted to sports or have a genuine love for the game? There are many sports fanatics who are opting to get sport tattoos to show their appreciation of a certain sport. This can be a great way to show your support for your favorite team or sport in general and there are millions
http://www.autopickups.com There are as many reasons to use an auto transport company as there are vehicles to be shipped. You may bought your dream car on ebay - but you're in South carolina and the vehicle is in San fran. Perhaps you landed your dream job in San fran, but your car is parked at your parents' house in Nashville.
http://www.benefitinsports.com Sports are a big part of a state's culture and identity. Every country in the world has its type of sport from the world famous football to the modern day archery. We just can't eliminate these adrenaline putting activities since it's something that unites us in prepare yourself.
http://www.benefitpets.com Pet ownership at any stage in life, but particularly in retirement is the proverbial "win-win. " You get a pet that provides you with unconditional love, potentially fills a hole left by children who have moved on to their adult lives, and can strengthen your bond with a significant other.
http://www.besttechnologyever.com If you're like many of the women I mentor in network marketing/direct sales, I bet you adore your products and really believe in your online business. I suspect you adore the personal growth that accompany building your business, as well as the positive impact you can have on people's lives every day.
http://www.businessesfund.com All those relatives you approached told you they would like to give you money for your new business but just don't have it right now. It's the same story over and over again, but they have expenses of their own to cover and choosing a new business is just too risky.
http://www.businessinbudget.com Businesses need to reach their market wherever they are. It is therefore necessary that the managers of your business will am conduct business meeting and attend to clients requirements. However, some companies suffer financial issues due to traveling costs.
http://www.chanceinsports.com Sports fans always had betting for sports as an attraction. When all of the bettors scream and shatter loudly, the game becomes more interesting. Such a game can be a beneficial entertainment which can ensure winning plenty of money.
http://www.decidesport.com If you want to get in on your sporting action, then you probably should consider using one of the many sports bets services out there. There may be some of them all over the internet, but first, you need to decide the kind of sport you would want to place your bets on.
http://www.discreetinsurancehub.com It is near the end of a busy working week and you are continuing your journey to work. The route you are taking is the same option to and from your place of work that you always take. It is not particularly busy for a Friday and you pull up at a junction just down the road from the entrance to your work.
http://www.distancetraveling.com Telephone long distance moves can become really difficult if not planned properly. Moving companies are a great relief in this regard as they not only plan your movements but also take over the responsibility of executing those plans.
http://www.diversifiedfashion.com It is nearly winter time and you can already feel the warmth leaving the air replaced by the cool and chilly winter breeze. You want to look for something that will make the atmosphere warm and cozy. Fire Compare tables are ideal specially when you are planning to entertain guests outside on a chilly winter night.
http://www.educationextend.com With the economy the way it is and many qualified people out of work, the number of individuals who have chosen to go back to school has increased considerably. Many people figure that as long as they aren't working they should be furthering their educations.
http://www.establishhouse.com As the need for affordable housing increases, and state and city budgets steadily decrease, creative solutions are essential to address affordable housing issues. One way that states are tackling their challenges is by establishing Housing Trust Funds.
http://www.expensivebusiness.com Especially in nowadays, it is reprehensible that such testing even needs to be conducted. Many homeowners claim that it is a waste of time and income to interview people who don't have a serious desire to own or rent a home from them.
http://www.extendtraveling.com One of the really great things about traveling in an RV is that you can take your pets with you. In many cases the main reason people buy an RV is so their pets can travel with them. Both in our dogs have been traveling with us in our RV simply were puppies.
http://www.fashionhoneybee.com Our connection to earth through bees is not only a comforting bond, but a required one; one that has seen threats in recent years from man as well as the unexplained. But in a corner of the world, at the shores of Lake Erie, a bee phenomenon has parts of the community breaking out in, well, hives.


Return to “OBD-II Adapter for Arduino”

Who is online

Users browsing this forum: No registered users and 1 guest