esp32 soc computers

Subjects that don't have their own home
Post Reply
User avatar
ed
retired
Posts: 4062
Joined: Thu Jun 21, 2007 4:01 pm
Location: yorkshire
Contact:

esp32 soc computers

Post by ed » Fri Mar 20, 2020 5:22 pm

this was prompted by jack with a post here:

viewtopic.php?f=9&t=7190&start=27

I'm thinking it's only jack that's likely to be remotely interested but what the heck, so apologies to those who beleive it to be the devil's work.......

I was feeling restless with all the home imprisonment so I dug out the esp32 I mentioned in jack's thread and ported my test platform weather station from mega2560 and esp8266 wifi card to a straight esp32.

the esp32 is a bit smaller than the mega2560, but a gazillion times more capable...wow!

At the mo I'm using the arduino ide as all the c/c++ libraries are working for the esp32.

test platform output is here: http://www.vitalstates.org/weather/weather.php

I will probably move on to the live stations in the fullness of time, but they are all remote with no mains or network access so I'll have to investigate the esp32 that has a sim800 mobile modem on board.

live systems upload to weather underground, example here: https://www.wunderground.com/dashboard/pws/IWAWNE2
There's nowhere you can be that isn't where you're meant to be

User avatar
Nick
Site Admin
Posts: 12146
Joined: Sun May 06, 2007 10:20 am
Location: West Yorkshire

Re: esp32 soc computers

Post by Nick » Fri Mar 20, 2020 5:46 pm

I am interested. Not got anything to add, but interested none the less.
Resistance isn't futile it's V / I.

User avatar
jack
Social outcast
Posts: 3395
Joined: Wed Dec 29, 2010 8:58 pm
Location: No longer living somewhere stupidly hot...
Contact:

Re: esp32 soc computers

Post by jack » Sun Mar 22, 2020 6:15 am

Certainly Interested !

It's an amazing device - dual core too...

I'm running some now with the Arduino IDE and some with native ESP-IDF + Eclipse. All code bases in Git, code all C++.

Current projects are a full featured Nixie clock on the Arduino with an inbuilt access point and web server + NTP and some test and monitoring utilities with native ESP-IDF (mqtt + mosquitto).

I note that Elektor had a big article on an ESP32 weather station in 12/18. FWIW, I have submitted some bug reports to them recently - obvious errors and I'm astonished that they hadn't been picked up before....
Nick
Ars longa, vita brevis

User avatar
ed
retired
Posts: 4062
Joined: Thu Jun 21, 2007 4:01 pm
Location: yorkshire
Contact:

Re: esp32 soc computers

Post by ed » Sun Mar 22, 2020 9:42 am

thanks for the link...

it maybe that I've found another source for spare parts for the fine offset units, providing they sell the bits individually.

The esp32 certainly performs, although I'm a tad surprised at the memory greed of some of the arduino libraries. It reminds me of the early microsoft offerings where the more memory available the more the software used and the further it got from efficiency...

never mind, it's a hollow argument....I'm in!. I only wish I'd fished it out of the bit box earlier.
I'll have a go with the TTGO variation which has a sim800l on board......some time soon I can get my boy scout geek badge..whaheyyy
There's nowhere you can be that isn't where you're meant to be

User avatar
jack
Social outcast
Posts: 3395
Joined: Wed Dec 29, 2010 8:58 pm
Location: No longer living somewhere stupidly hot...
Contact:

Re: esp32 soc computers

Post by jack » Sun Mar 22, 2020 9:51 am

Arduino libraries are notoriously inefficient when used from the Arduino IDE. Part of the issue is the default compiler options - there is little documentation and no support to change to a more compact, i.e. memory vs speed, option.

The general response from the Arduino community is that the default IDE is for people who wouldn't know what a compiler was, let alone want to change it's default options...

If you're not already using it, switch to Eclipse for the IDE. Proper job, it is...
Nick
Ars longa, vita brevis

User avatar
ed
retired
Posts: 4062
Joined: Thu Jun 21, 2007 4:01 pm
Location: yorkshire
Contact:

Re: esp32 soc computers

Post by ed » Sun Mar 22, 2020 10:22 am

jack wrote:
Sun Mar 22, 2020 9:51 am
there is little documentation and no support to change to a more compact, i.e. memory vs speed, option.

even worse....snigger
it may be because I come from a different IT generation
There's nowhere you can be that isn't where you're meant to be

User avatar
jack
Social outcast
Posts: 3395
Joined: Wed Dec 29, 2010 8:58 pm
Location: No longer living somewhere stupidly hot...
Contact:

Re: esp32 soc computers

Post by jack » Sun Mar 22, 2020 10:40 am

ed wrote:
Sun Mar 22, 2020 10:22 am
jack wrote:
Sun Mar 22, 2020 9:51 am
there is little documentation and no support to change to a more compact, i.e. memory vs speed, option.
even worse....snigger
it may be because I come from a different IT generation
Look matey, I'm not that much younger than you :) I was bought up on (much crap deleted)...
Last edited by jack on Sun Mar 22, 2020 11:54 am, edited 2 times in total.
Nick
Ars longa, vita brevis

User avatar
ed
retired
Posts: 4062
Joined: Thu Jun 21, 2007 4:01 pm
Location: yorkshire
Contact:

Re: esp32 soc computers

Post by ed » Sun Mar 22, 2020 11:01 am

I can't help thinking there is so much willy waving here.....

It seems you completely missed my point, to wit:
i.e. memory vs speed, option.
where I come from this is not an option...one strives for both....

If it wasn't for the wimping out statement I think I'd already have let you have the last word...as it is, be my guest.
There's nowhere you can be that isn't where you're meant to be

User avatar
jack
Social outcast
Posts: 3395
Joined: Wed Dec 29, 2010 8:58 pm
Location: No longer living somewhere stupidly hot...
Contact:

Re: esp32 soc computers

Post by jack » Sun Mar 22, 2020 11:12 am

ed wrote:
Sun Mar 22, 2020 11:01 am
I can't help thinking there is so much willy waving here.....

It seems you completely missed my point, to wit:
i.e. memory vs speed, option.
where I come from this is not an option...one strives for both....

If it wasn't for the wimping out statement I think I'd already have let you have the last word...as it is, be my guest.
Nah - apologies - Just having a bit of fun - no offence meant! You must be pretty much the same generation as me, so I thought would have been bought up with low level stuff... put it badly (have deleted it) but really it just about nuts n bolts... thought you'd be digging under the covers... I'm completely with you on the lack of clarity on this.

I've tried (and failed) to understand how to get the Arduino IDE to change compiler options for this sort of stuff - the forums have many questions on this - the stock answer is "go away"... when people mention the lack of documentation, they are told "go write it yourself". Fair comment, I suppose.

So, I'm trying to find a way to get full Arduino library & board support within Eclipse for all the ESP32 boards. It's easy in the Arduino IDE, but whilst there is a good C++ Arduino plugin for Eclipse, it only has the default boards, i.e. the Atmel stuff and a few others, none of the ESP32 ones...
Nick
Ars longa, vita brevis

Post Reply