Jump to content
Electronics-Lab.com Community
Sign in to follow this  
MarkCrabs

REALTEK RTL8195 Arduino Compatible WiFi IoT Development Board

Recommended Posts

Hello everyone,

I would like to introduce the Ameba-1 development board (using the RTL8195AM soc) from Realtek's AmebaIoT ecosystem. It is an IoT-ready MCU powered by a ARM Cortex-M3 core. It is specially designed to be pin-compatible with the Arduino UNO, can be programmed using the Arduino IDE and supports most of the Arduino base examples and expansion boards.

IMG_1429_.JPG

It includes many features useful for IoT projects, such as:

WiFi
Low-Power mode
USB host
USB camera support
NFC
I2S audio output
...

Examples, sample code, user manuals and SDKs can be found at AmebaIoT.com.
There is also a YouTube channel with a step-by-step video guides for some basic examples.

Thanks for reading.

Edited by MarkCrabs

Share this post


Link to post
Share on other sites
Continuing from my previous introduction of the Realtek RTL8195 development board, I would like to inform everyone of a new service provided along with the board.

AmebaIoT development board users are now able to register for a free cloud-based MQTT broker service at https://www.amebaiot.com/en/. MQTT is a message passing protocol commonly used in connecting internet of things (IoT) devices together, allowing the devices to send and receive data to achieve the desired actions. Follow the guide here to register for your own MQTT broker service to test your applications.

To get started with using MQTT, you can follow the basic example guide here for the RTL8195 development board. This example uses the MQTT protocol to allow for control of an LED over the internet. Source code for the example can be found at AmebaIoT's GitHub repository.
A YouTube video guide for this example is also provided for those who prefer watching more than reading.

Thanks for reading.

Share this post


Link to post
Share on other sites

Realtek's AmebaIoT ecosystem also has the low-cost Ameba-2 development board using the RTL8710 soc. This board is also a WiFi capable, Arduino compatible IoT board designed for project integration. The RTL8710 soc is tightly integrated on a small form-factor pcb module together with a USB to UART converter and a RGB led. The module can also be plugged into an expansion development board, which breaks out all the pins into Arduino compatible headers. Combining the module with the expansion board allows for the use of arduino shields, speeding up project development and debugging. After the development is completed, the module's small size makes it easy to integrate it into projects that need to fit tightly into enclosures.

board-8710.PNG

The features are as follows:

WiFi
SPI
I2C
JTAG debugging
PWM

Examples, sample code, user manuals, HDKs and SDKs can be found at AmebaIoT.com.

Thanks for reading.

Share this post


Link to post
Share on other sites

It is also possible to use the WiFi capability of the Ameba development boards to interact with your projects through a local hosted web page.

 

Following the example guide at https://www.amebaiot.com/en/ameba-arduino-ameba-web-server/, the code configures Ameba to connect to a WiFi access point, then sets up a simple webpage server running on Ameba. As seen in the image, the webpage provides 2 clickable links that is monitored by the code, which in turn switches the state of a LED pin on and off respectively.

wifi-5-5.png

Source code for the example can be found at AmebaIoT's GitHub repository.

Thanks for reading.

Share this post


Link to post
Share on other sites

One key advantage of using WiFi capable development boards, such as the Realtek RTL8195 Ameba-1, is the ability to upload new code wirelessly. This is commonly know as Over-The-Air (OTA) functionality. Besides reducing cable clutter while in the development phase, this also allows for updating of code after the development board is deployed in a project, without the need to open up the project enclosure to connect a cable.

The Arduino library for Realtek's Ameba development boards also include support for OTA, with two different methods of uploading the new code.

1-1-1024x412.png

The first method is using mDNS and the Arduino IDE, which is easier to use when only updating a few boards. The guide and sample code can be found at https://www.amebaiot.com/en/ameba-arduino-ota/.

The second method is using a web server, which is more suitable for updating multiple deployed boards. The guide and sample code can be found at https://www.amebaiot.com/en/cloud-ota/.

Thanks for reading.

Share this post


Link to post
Share on other sites

MQTT can also be used for communications between two or more Ameba development boards.

One example application of this would be a door/window alert system. One board will monitor the state of a door or window using a sensor, while the second board will be located close to a user, and alert them when the door or window is opened.

Detailed hardware requirements, connection guides and source code can be found at https://github.com/Realtek-AmebaApp/Ameba_Examples/tree/master/RTL8195AM/006_HOME_SECURITY.

A video guide of this example application is also available.

 

Share this post


Link to post
Share on other sites

Here is another IoT project example using the Realtek RTL8195AM development board with the MQTT protocol.


The focus of this project is to demonstrate how easy it is to communicate with our smart phone via MQTT protocol. The RTL8195 board controls a servomotor attached to curtains. A MQTT command sent from the mobile phone can be used to open and close the curtains.

Connection guide and source code can be found at https://github.com/Realtek-AmebaApp/Ameba_Examples/tree/master/RTL8195AM/005_SMART_CURTAIN

A video guide can be seen at https://www.youtube.com/watch?v=6kT1XFYNDUQ

Share this post


Link to post
Share on other sites

For IoT applications requiring large scale deployments and data processing, Realtek's Ameba development boards also support connecting to cloud IoT service providers such as Amazon AWS IoT, Microsoft Azure Cloud, Google Cloud IoT.

These services allow you to track your deployments, manage them and process the incoming data. Example code and guides for each service are also avaliable to help you get started.

 

Share this post


Link to post
Share on other sites

With the Realtek Ameba RTL8195 supporting both WiFi and USB camera host, it is possible to combine these functions to create a remote wireless camera, capable of either video streaming or image capture.

Combine these with the previous IoT home security example, and you can create a comprehensive home monitoring project.

Example code and guides for each project are avaliable at the official website to help you get started.
https://www.amebaiot.com/en/ameba-arduino-uvc/
https://www.amebaiot.com/en/ameba-arduino-uvc-image/

Share this post


Link to post
Share on other sites

If This Then That (IFTTT) is a simple to use cloud service that allow you to set actions that will be performed when certain conditions are met. You can link in other devices and services, such as smart lights and twitter, to automate various actions in the background.

Realtek's Ameba RTL8195 development board also supports interfacing with IFTTT via a WiFi connection. As long as your target application includes a service supported by IFTTT, you can use a Ameba RTL8195 to trigger the service. Possible project examples include turning on the smart lights when the brightness falls below a certain threshold, or sending an email when a certain event monitored by the RTL8195 development board occurs.

Example code for a sample project to send an email using IFTTT is available at the official website to help new users get started.

https://www.amebaiot.com/en/ifttt-via-ameba/

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...