Special developer offer: ESP32 (WIFI +BLE) wireless board

It is built from ESP-IDF.

So if it is not in the ESP32-AT code it would have to be in the ESP-IDF code somewhere.

Or in their tool chain.

I followed the ESP-IDF instructions, downloaded the tool chain, then cloned ESP-IDF and then cloned ESP32-AT.

So as far as I can tell I have done everything I was supposed to with this?

I am in the last two weeks of my semester then I will be on Christmas break so I hope I can get this sorted out shortly. I will be somewhat busy finishing up some group projects but don’t really have any exams which is odd. Once the semester is over I hope to hit the ground running and get some significant progress with this. So hoping I can sort out the issues getting this software loaded on the ESP32 before then.

Edited:
The answer seems to be that I am using too new of an ESP-IDF and to use the one packaged with it. Not enough time to try it now so will try later today and will report back. While there are other libraries available personally I think we should be using the manufacturers library. IMHO

Edited Again:
Tried it when I got home and set the path for IDF to the one within the ESP32-AT package. Was able to flash this image and now It appears to be working. I get a “ready” prompt.

Now to find some tutorials on the ESP32-AT package and see what I can do with it.

Hmm a couple of interesting projects that could make the WiFi and potentially Cellular modems work with a PC the same as if it were directly connected to the M2.

For windows (May work as is, just needing to be compiled):

For Linux (Not sure if this will work but here it is anyhow. May be able to incorporate into the program.):

I do have the module fully working at this time. I MAY go ahead and start coding a new library for this module so we have a full Arduino library for it. Not sure. I MAY just hard code some stuff for testing purposes to get M2RET working with it and go back to this later.

In the process of building a library to allow easily adding modules such as ESP32 or the Cellular module to the M2. Hope to have the library “finished” this week and will start integrating into M2RET. Does anyone have the ESP32 fully working so I can test with that module? Since someone else has been working with the module I haven’t started but may do so if no one has by the time I have M2RET converted over. hard to test it if I don’t have a library to test with… :slight_smile:

Currently I have 2 ESP32 modules. An older “Beta” one and what I am assuming is the production version. I have the ESP32-AT library installed on the Beta version and I can communicate with it.

What I am curious about is if there is an Arduino Library already built to support it or not? I can write one but looking through the documentation of the ESP32-AT library, that could take a while even if I just include the functions I expect to use. I could just write all of the “AT” commands to the serial port manually but seems so wrong to do and hard to debug where as having a simplified library would make things much simpler.

(Ie calling a function to get a list of possible hosts and have it return a list is programmatically easier to debug than to manually write out the AT command and handle it in the program manually.)

You say that you have a production version. Where did you get it? I can’t find it on the site.

For the new module, does anyone know what “flavor” of ESP32 is? I want to know if it has external PSRAM or not.

If they don’t respond I do have one if you know how to tell?

Hey everyone, just a quick announcement for anyone interested in this ESP32 Board:

We will be offering these through CrowdSupply platform soon. Check it out:

Stay tuned here for more news or subscribe for updates on the campaign page.

From Josh link it seems to be the one without PSRAM

Just got mine yesterday. Running through the examples for the first time today. EPIC!!! I love it! Now I can connect to the app I wrote for iPad specifically catering to my Subaru BRZ’s PIDs and not have to be paranoid about the security of the connection.

Come on now, let’s see this app. Preferably in action.

Once school is done (In like 14 hours) My security competition is done (April 29th) and my court jury duty is done I will be jumping on this stuff. Getting some basic connectivity with this module will be one of my first projects… :wink: I will be sure to post results when I get that far.

Sure you don’t want to see the iPad powered-off and face down? :wink:

Ya sure, I’ll get screenshots the next time I’m in the car. It works with any standard OBD-II WiFi dongle, as all I’ve encountered sing to the tune of 192.168.0.10, I’m assuming that’s standard.

When will the Crowdsuply campaign start?

A crowdfunding campaign arrives exactly when it means to. The date is not set yet but we are hoping to launch it soon. As soon as we have a date we will announce it here.

Kudos for the Lord of the Rings reference. :grinning:

I got one of the very early prototype boards long ago and never did anything with it. Well, since SavvyCAN supports wifi based connections now I thought I’d try it out. My first impression is that it’s a huge pain in the rear to program that thing. I found out two things the hard way:

  1. You apparently can’t use the same Arduino IDE instance to both flash the M2 sketch and the ESP32 sketch just by switching the board type. It locks up the M2. I had to start two copies of the Arduino IDE and have one set to the M2 and the other set to the ESP32 both targetting the same serial port. This is in LINUX so I don’t know if Windows has this issue.

  2. For some God forsaken reason I can’t start the M2 with the ESP32 module plugged in. Nothing ever happens and the M2 is even locked up. I have to plug the M2 in then push the ESP32 module into the XBee slot… every time I plug the M2 into USB. This gets old. It especially gets old since after uploading a ESP32 sketch it locks everything up and I have to power cycle the m2. Basically any time a butterfly in Brazil flaps its wings I have to power cycle and start over.

I suspect I might have a faulty module. Perhaps I didn’t do it any favors by accidentally letting it roll around in my tool bag for 5 months. But, I like this design better. There’s a nifty micro connector for an external antenna. I like this. PCB antennas are all garbage, I don’t care how well anyone tried to tune them. They don’t work worth squat. The SuperB uses the WROOM32 module which usually doesn’t have a connector and uses a PCB antenna. It’d be cool to offer the version that supports external antennas as such a version does sort of exist - good luck finding a good source for them.

Anyway, I did eventually get it to sort of work for programming so I’ll get some test code together to make the ESP32 create a known AP that you can then connect to with a telnet program or SavvyCAN to gain access to the M2 wirelessly. Just thought I’d share my struggles in case I could help someone else if they have those issues too. Hopefully I just have damaged hardware or something and nobody else is running into the problems I did.

Hi Collin
Your not alone with the issues of programming the ESP via the M2. I have a similar unit as you do & its not that your unit was rolling around in your tool bag.
Programming using windows after installing a slightly modified pass through program on the M2 & setting the M2 into pass through mode I then needed to use Espressif IDE to upload to the ESP32 module.
I then found as you have that the M2 locks up or if a Moth flies over the shire it locks up.
I would be interested to know what you have done to get around the lock up.
After all of the above problems i shelved it & went onto other projects i have on the back burner now that Savvycan supports TCPIP you have rekindled my interest in the ESP.
I also agree on the miniature aerial connector is a good idea as i will be permanently installing the M2 in the car (metal & glass box) which is not the best for radio signals.
any way enough ranting. On the side i have tried enabling the SPI interface between the ESP & the M2 to try & get away from the serial interface between the M2 & the ESP. The reasoning behind this was 2 fold
1 Faster interface between the M2 & ESP
2 Possible programming the ESP via the SPI interface
So fare no success.

Would be interested in the code you have got working so far if your able to share.

Regards Tony