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.
Related
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.
I am working on a project and I need all my ESP32s to communicate with my PC to relay information. I am developing my MQTT server and I would need a way to find the IP of the PC which hosts the MQTT server to be able to send it the data from the ESP32.
Long time ago I tried to deal with NetBIOS broadcast but it's really unstable and complex to code in Arduino C++.
mDNS is what you are looking for.
The correct service type for MQTT is _mqtt._tcp.
There are plenty of libraries that support publishing mDNS services such as Avahi on Linux.
Windows doesn't support mDNS as a client but iirc you can install the Apple printer driver kit to add support.
If you can't get mDNS to work, and if you have full control of the LAN's router: some routers can act both as a DNS proxy and as a LAN DNS server, see here for example.
You can then connect by name or get the IP address without further configuration of the ESP32 (unless you change the server name, of course). It won't show you directly if the _mqtt._tcp service is available, though.
I'm pretty new to all the Arduino stuff, forgive me if this is a stupid question.
I got the MKR Wifi 1010 connected to AWS via the ATECC508A chip onboard the Arduino. I can securely send messages and instructions on the AWS console to the Arduino.
How do I send data back from the Arduino to AWS? There is absolutely no documentation on this. I'm making a weather station, so having data travelling both ways is pretty essential. If there's no easy way to do this, I might even switch to Raspberry Pi, which from what I've seen is a lot simpler for data transfer to cloud services.
This tutorial explain in detail how to communicate with AWS IoT Core: https://create.arduino.cc/projecthub/Arduino_Genuino/securely-connecting-an-arduino-mkr-wifi-1010-to-aws-iot-core-a9f365
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.
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.