1. Home >
  2. Apps >
  3. Projects >

Realtek Ameba RTL8195 IoT system with MQTT

IoT system with MQTT by RTL8915
Michael Zhang
Rank E3 - BEGINNER
₹30 · Singapore · Electronics-And-Communication

Project Abstract

This is a simple IoT project based on the “mqtt basic” example that comes with the Arduino package of Arduino IDE. In this project, simple passive components are used to aid in demonstrating the power of bidirectional communication of MQTT protocol which is widely used in modern IOT applications for its advantages in speedy response and lightweight.

An android tablet was used as an MQTT client and Ameba RTL8195. RTL8195 acted as another MQTT client communicating with the android tablet. Both clients has to connect to the same MQTT server before proceeding to the next step, you may choose to set up your own MQTT server following an online guide at http://www.steves-internet-guide.com/mqtt-hosting-brokers-and-servers/ or using the free server at https://test.mosquitto.org

By sending a “1” from the android device to the Ameba RTL8195, it turns on the LED connected with Ameba, and a “0” would turn off the LED. At any time, you can press the push button connected with the Ameba board to enquire LED status and forward it back to the android tablet. This setup simulates the real application of IoT products available in our household and is very easy to implement. 

GitHub source code,

https://github.com/Realtek-AmebaApp/Ameba_Examples/tree/master/RTL8195AM/002_MQTT_BASIC


Realtek Ameba RTL8195 IoT system with MQTT

List of Deliverables

  1. Realtek Ameba 1 microcontroller
  2. cellphone 
  3. DHT sensor
  4. Jumper wires

Tags

#iot #Realtek #AmebaIoT