Posts

Showing posts with the label Tutorial

SeeedStudio Grove Beginner Kit for Arduino with Arduino Control Center

Image
Today I have received " SeeedStudio Grove Beginner Kit for Arduino ", a very nice piece of hardware for introducing new Arduino users into the Arduino programming world. Like any other serious hardware manufacturer, SeeedStudio has its own Arduino compatible libraries for supporting this Arduino kit. All documentation, libraries, and examples you can find on this link , including step-by-step instructions. But that won't be a subject of this topic. There is no need to explain something which is already very well documented. I will focus here on how this beginner-development kit can be programmed and visualized with Arduino Control Center. As soon as I connected Grove Beginner Kit for Arduino with included USB micro cable to my Windows PC, Seeeduino Lotus(ATMega328p chip), which is basically Arduino Uno - Nano compatible board, started to boot up and included demo in firmware start running. I didn't pay attention to this because I wanted to test the board with

Android REST SMS Gateway and Arduino Control Center

Image
It sounds awkward? In short, REST SMS Gateway allows changing your phone into a powerful SMS Gateway which you can control from the Arduino Control Center desktop application for sending alarm SMS messages. For testing purposes, I've installed on my smartphone an Android application called very intuitively - REST SMS Gateway :). I got this app from my friend, but you can download it from Android APK(install packages) download sites. This, and many other applications with similar purposes, are not available on the Google Play store anymore due to the Google Play Developer Policy which restricts SMS , CALL_LOG access only to default phone applications. After downloading and installing the APK Android package for the  REST SMS Gateway application, you will get this window: NOTICE: your phone MUST be connected in LAN (local, home network over wireless connection!!!) Otherwise, this will not work. After pressing the Start button, the window below will show up. But, the app

Secure way to control Arduino devices from anywhere in Arduino Control Center(Part IV)

Image
In previous posts, we have created  mytestdns.redirectme.net   domain name, and you are able to login to Arduino Control Center HTTP server(a   not secure connection,   please read all previous posts). Now, go to SSL For FREE web site, type your domain name(in this case mytestdns.redirectme.net, you type your domain name) and start creating SSL certificates for the secure HTTPS connection. Type domain name Next step is validate certificates manually: Manual verification Download verification files into already existed folder - web\.well-known\acme-challenge . Downloaded verification file Downloaded file in folder Verify downloaded file: Download certificates: Download SSL certificates Unpack downloaded file with certificates Copy unpacked certificates into "cert" folder Load certificate.crt into Arduino Control Center web server Load private.key into Arduino Control Center web server

Secure way to control Arduino devices from anywhere in Arduino Control Center(Part III)

Image
For free SSL Certificates, which will enable Arduino Control Center a secure HTTPS connection, we will use a service called SSL for FREE . If you have read the previous post, you already know that is not possible to issue an SSL certificate with an IP address, it has to be used hostname like any other web page you're visiting every day. In order to create a hostname, in this article, I will use No-IP free Dynamic DNS service.  It has a few limitations in the free version - only 3 hostnames and every 30 days hostnames have to be confirmed that you are still using them. It can be easily upgraded if you find this annoying and you will use more than three hostnames... After registration, you can create a hostname in the administration dashboard. Click on Create Hostname Select whatever hostname you want and domain and click on Create Hostname: For this demonstration and for the next topic where we finally will be connected to the Arduino Control Center web server o

Secure way to control Arduino devices from anywhere in Arduino Control Center(Part II)

Image
For free SSL Certificates, which enable Arduino Control Center a secure https connection, I used this excellent service called SSL for FREE . First time I used this service two years ago(2017). I am not sure 100%, but I think at that time it was possible to issue SSL certificate for fixed-static IP address. My plan for part II of this tutorial was to issue an SSL certificate for static IP address and walk you through steps how to implement this in Arduino Control Center, which is not possible now. I am using NO-IP for a dynamic DNS addresses. Please visit this site and create a free account for creating a free hostname, and of course, read more about this topic. The next post will be about this subject and I will use generated hostname to create a secure HTTPS connection in Arduino Control Center ...soon...

Secure way to control Arduino devices from anywhere in Arduino Control Center(Part I)

Image
Arduino Control Center has built-in web server which allows you to access your Arduino devices over Intranet(LAN) or Internet. By default setup, the web port for ACC is port 80. If this port is already used, you can set any other port. First of all, let's see how we connect to Arduino Control Center web server in a non-secure way. If you plan to access Arduino devices from the local network, you can access them simply by typing in the web browser http:// [YOUR_PC_IP_ADDRESS], for example, http://192.168.1.101 where 192.168.1.101 is IP address of PC with running Arduino Control Center desktop application and started web server. If you use any other port, for example, 8080, the address in the web browser will be like this: http://192.168.1.101:8080. How to start the server you can see here:  Setup and start HTTP and UDP servers At this point, without any kind of port forwarding on a wireless router or whatever is your network configuration, you are pretty safe within a