Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:53 11 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : WiFi+TLS recommendations?

Author Message
rave
Newbie

Joined: 24/02/2018
Location: United States
Posts: 28
Posted: 04:38pm 09 May 2018
Copy link to clipboard 
Print this post


For my next project I am looking to integrate client-side WiFi access to retrieve weather data among other things from Web APIs, in a way that is secure i.e. using TLS, since some Web APIs require authentication tokens.

I read in some earlier posts on this forum that many of you had success with the ESP8266, so that is definitely an option. However, the ESP8266 does not support TLS 1.2 out of the box.

I am considering the following options:

1. ESP8266 such as a breakout or feather ESP8266

2. Particle Photon (datasheet)

3. Raspberry Pi zero W

I am having some luck connecting a CMM via TX/RX serial to a Particle Photon for which I wrote a simple program to tunnel HTTP traffic via the Photon to a CMM, only supporting unsecured HTTP GET/POST.

The advantage of the Photon is the easy way SoftAP allows you to configure Wifi with a mobile phone, which is ideal when on the move. Perhaps a disadvantage of the Photon is that it is entirely cloud-based, requiring setting up a Particle account to flash the device and use Webhooks.

The RPI0w is interesting. Since it runs Linux it supports TLS but it is a little more power hungry drawing 160mA using Wifi compared to 80mA for the Photon.

I have not yet tried a ESP8266. I was wondering how to configure Wifi on those when moving locations? Also, is there any TLS firmware or TLS library available for the ESP8266? Any other recommendations?

- Rob
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 12:29am 10 May 2018
Copy link to clipboard 
Print this post

Hi
Take a look here WiFiClientSecure this ESP8266 library provides TLS. I have succesfully used this to pull data from the Darksky website using https

Regards
John
 
rave
Newbie

Joined: 24/02/2018
Location: United States
Posts: 28
Posted: 12:58am 10 May 2018
Copy link to clipboard 
Print this post

  jman said  Take a look here WiFiClientSecure this ESP8266 library provides TLS. I have succesfully used this to pull data from the Darksky website using https

John, thanks for the link! Sure looks promising.

- Rob
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025