Posts

Showing posts from June, 2019

Arduino WiFi TLS 1.2

https://www.howsmyssl.com/ returns helpful information about a TLS client such as TLS version number and possible security issues. The rating "Probably Okay" is the highest possible rating. The MKR WiFi 1010 (WiFiNINA), Feather M0 with ATWIINC1500 (WiFi101), ESP32, and ESP8266 Bear SSL all support TLS 1.2 and receive the "Probably Okay" rating. For the details and source code see the git hub repo .

Arduino Due WiFi and TLS

The Adafruit Airlift ESP32 WiFi Co-Processor Breakout board works with the Arduino Due. All the crypto for TLS (formerly known as SSL) is done by the ESP32. The Airlift ESP32 is very similar to the u-blox NINA-W10 used on the Arduino MKR WiFi 1010 and the Uno WiFi Rev 2. Adafruit has their own variation of the WiFiNINA library modified to work with various Adafruit boards. The Due works using the Adafruit library with default settings. The wiring is identical to the following except substitute an Arduino Due for the Adafruit Metro. https://learn.adafruit.com/adafruit-airlift-breakout/arduino The Airlft should work with Uno, Leonardo, and Mega 2650 but I have not  tested them. Note the AVR CPUs have much less RAM than the ARM CPUs (Due, Zero, MKR series). For example, weather web sites return large amounts of data so may not work on AVR CPUs. Or the code must be more complex to extract data values on-the-fly. The Airlift can draw as much as 250 mA so be sure to account for that