How i can make kaaproject as gateway for arduino - c++

Hi guys I am using Kaaserver for our IoT project and now i faced with one problem
I would like to ask you how i can send data with arduino to Kaaserver I read some where is possible to configure kaa as gateway and i wanna to know how ?

You can use other board as gateway for Arduino, so you'll need some device supported by Kaa (ESP8266, BeagleBone, Raspberry PI, etc.).
You can generate Kaa SDK for your device and write an application which will collect data from Arduino by serial port and send it to Kaa server using SDK.

Related

Google Local Home SDK UDP commands to BrighSign player

For a research, I want to try controlling a BrightSign player with a Google Nest Hub.
The BrightSign player support UDP commands with ASCII/HEX on default the receiving port 5000.
Because the player is not a smart device, can I use the Google Local Home SDK, to send UDP commands with the HEX only to non-smart devices?
If so, does someone have an example of TypeScript of JavaScript how to set this up?
I'm new to both languages and just want to implement this simple feature.
Thanks.
I already tried this tutorial: https://developers.home.google.com/local-home/overview.
But I did not got it to work with my device.

Can a STM32 microcontroller board be connected to AWS IoT core without its discovery kit?

I was searching in the net about connection between STM32 microcontroller and AWS IoT core, didnt come across any. I cam across articles where the discovery board of STM32 is used to connect to AWS IoT core. But I want a simple way to connect the STM32 microcontroller to AWS IoT core with the help of WiFi module (since STM32 microcontroller boards dont usually have WiFi modules)
I tried searching as I have already told but didnt come any resources related to what I was searching. I was specifically looking for resources related to STM32F1 series.
You need internet connectivity to be able to connect to aws iot. That could be wireless or ethernet. STM32f4 could work with ethernet.
Or, you move to ESP32.
What I’ve done in the past is to connect a stm32L1 to esp8266 over spi.
AWS provides a tutorial on how to use the IoT Device SDK for Embedded C - https://docs.aws.amazon.com/iot/latest/developerguide/iot-embedded-c-sdk.html
They also provide sample apps specifically ported for STM32 (STM32L4 discovery board - https://www.st.com/en/evaluation-tools/b-l475e-iot01a.html) based on WiFi connectivity.
That can be a good starting point if you build it and review the codebase.
However if you want to use a different STM32 family then you will need to port the project to your specific hardware.
Also if you have a different WiFi module, you will need to rewrite the drivers to fit to your hardware configuration. (You can only use a WiFi module which supports TLS connectivity, as that is mandatory for the AWS IoT Broker connection).
Another approach: in the AWS console under IoT Core > Device Software > FreeRTOS Device Software (https://eu-west-1.console.aws.amazon.com/iot/home?region=eu-west-1#/software/freertos) there are preconfigured packs for download. Alternatively you can also customize a device pack for download. You will be able to find the same device (STM32L475 Disco board) listed there.

send data from raspberry to firebase cloud

Hey i'm new in Firebase and I have a question.
First i will talk about the project and what I want to do. We have a organery with many sensors, those sensors are connected to arduino's. We have some arduino's who are connected to a raspberry by serial communication using an I2C connection. Then we want to send that data to the firebase cloud. But honestly i have no clue how i have to do that. That data from the cloud we use to make an app to see the "climate" of our arganery.
Our program in arduino is made in C++, and the raspberry code is also in C++. Any ideas to get that data into the firebase cloud? Thank You for reading!
Greeting Iben
I have sent data to Firebase by first publishing data to an MQTT (Mosquitto), and then using Node-RED with a Firebase node to store data in Firebase.
Currently I am only storing the latest value in Firebase, but sure you can also store history. Node-RED is a very powerful and easy to use tool for IoT.
You can run bot Mosquitto and Node-RED on your Raspberry Pi.

How to connect ethernet shield for arduino

I'm new to IoT and I am trying to connect web service through a arduino. I think it is possible using Ethernet could you please explain how to connect Ethernet to arduino and how access through it.What are the steps i should follow, if there any other way to do it let me know.
Do you have the ethernet/wifi shield hardware for your Arduino? Here is some sample code for how to connect arduino using IBM Bluemix IOT services.

How to send SMS through 'Dongle' using C++

I have a USB dongle connected to my laptop which is used to get the internet connection. No need to say it has a sim card and it is possible to send/receive SMS as well. I want to know how can I get the SMS and send SMS using my own C++ windows program, through this SIM card. Is there a way to access the SIM card and do these? Any libraries? I haven't done any USB programming anyway.
Edit
I just found it is possible with something called "AT Commands" - How to Auto send SMS via Broadband USB dongle?
But the link in the answer is dead. Even though it is AT Command, which lib should I install in order to use it?
At (Attention) commands can be used to interact with the USB dongle. Each manufacturer has their own At-commands, so you will have to find out one which suits your model (mine was Huawei e173-u). Some of the common ones can be found in the Hayes command set :
Hayes Command Set (Wikipedia)
Introduction to At commands
You will need to find out which COM port your dongle uses from the Device Manager, then use a serial-port terminal like Putty to test out whether the commands are supported by your dongle. As the libraries developed for sending SMS's are mostly for .Net, you may need to use an SMS gateway instead.