Adding a (extra) Hardware Serial Port using I2C on Arduino or other MCU – SyedTips – 3

One cool thing/feature I learned from the Arduino Uno WiFi board was how to implement/add an extra hardware Serial Port to the existing MCU using a I2C to Serial Bridge.

The Atmega328P MCU on the Arduino Uno has only one Hardware Serial port. If we’re interfacing a Serial Device to this MCU and would also like to use Serial debugging, an option is to use SoftwareSerial (which comes with it’s own set of issues and limitations). A better option is to have an I2C – Serial Bridge that’d allow the host MCU to interface with another Serial Device.

The Arduino.org team did this splendidly and used this SC16IS750IBS to have the MCU talk with the on-board ESP8266 through this I2C to Serial Bridge.

img_20160910_232432_905

i2c_uart_pin

You can read more about the implementation and details on the product page: http://www.arduino.org/products/boards/arduino-uno-wifi

Thanks.

Wireless gesture control of Arduino using LeapMotion and ESP8266

After having played around with Wirelessly Controlling Arduino with LeapMotion through Bluetooth 2 years back, I didn’t get an opportunity to tinker more with LeapMotion and Arduino. I installed a couple of Apps from the App Store and played around.

When the call for project submissions for India’s first Mini Maker Faire opened, I decided to re-do this project, albeit use the popular ESP8266 WiFi module instead of a Bluetooth one. Continue reading “Wireless gesture control of Arduino using LeapMotion and ESP8266”

Part 0: Getting started with AWS IoT and Arduino (+ESP8266)

[31/July/2016]: I’m very Sorry. I couldn’t get the ESP8266 talk with the AWS IoT platform due to the ESP’s limited ability to support TLS 1.2 which is required by AWS IoT.

http://bbs.espressif.com/viewtopic.php?t=1639

If you’re comfortable using the ESP SDK, something exciting just came up: https://github.com/SuperHouse/esp-open-rtos/pull/173 –> an MQTT example with AWS IoT + ESP8266.

I’ll wait till someone builds a wrapper/library around it.

I’ve been thinking of using the Arduino MKR1000 instead with the AWS IoT. Let’s hope this get’s done quick 🙂


Pre.Scriptum: (Edit: 21, Dec, 2015)  Amazon released the AWS IoT suite of applications and services a while back and I now feel it’ll be more helpful if we base our tutorial on the AWS IoT platform. It’s a TODO for me and hopefully I’ll have something up and running.


I’ll be doing a series of posts on getting started with building IoT applications using an AWS EC2 Instance and an Arduino with ESP8266 WiFi Module. We’ll eventually delve into Raspberry Pi, MongoDB, Node.js, Dashboards etc as  the journey continues. Continue reading “Part 0: Getting started with AWS IoT and Arduino (+ESP8266)”