The Internet of Things is an evolution of the Internet. It interconnects not only human and computer as before but also physical objects (things).
The Starter Kit: Internet of Things offers an easy access into the world of the Internet of Things. It allows to control many devices over the Internet. For that the kit is equipped with a Remote Switch Bricklet. It can be used to remotely control 433MHz mains switches, dimmers and home automation components. You can find a list of supported actuators in the documentation of the Bricklet.
With the API Bindings it is possible to control the wireless actuators with any (Embedded-)PC, smart phone or tablet over the Internet.
With the kit nothing stands in the way of turning your coffee maker on while you are heading home or to dim your living room illumination with your own cloud or with a Raspberry Pi. The website http://www.iot-remote.com gives you direct access to wireless actuators from any web-enabled device.
The kit basically consists of a Master Brick and a Remote Switch Bricklet which is equipped with a 433MHz transceiver. Over the USB connection of the Master Brick you can control remote control mains switches or similar. An (Embedded-)PC (e.g. Raspberry Pi) either does the switching itself or it can serve as a gateway. With an additional Ethernet Master Extension it is possible to go without a gateway.
With additional modules from the Tinkerforge building blocks you can extend the kit. It is for example possible to measure temperature (Temperature, Temperature IR or PTC Bricklet) or to react on movements (Motion Detector Bricklet).
WIZnet WIZwiki Platform based on WIZnet’s MCU. WIZnet WIZwiki-W7500P is a WIZwiki platform board based on W7500P. The IOP4IoT W7500P chip is the one-chip solution which integrates an ARM Cortex-M0, 128KB Flash, hardwired TCP/IP core for various embedded application platform, 10/100 Ethernet MAC and PHY, and especially internet of things. The TCP/IP core is a market-proven hardwired TCP/IP stack and PHY is IC plus IP101G, an IEEE 802.3/802.3u Fast Ethernet Transcevier for 10/100Mbps. The Hardwired TCP/IP stack supports the TCP, UDP, IPv4, ICMP, ARP, IGMP and PPPoE which has been used in various applications for more than 15 years. W7500P suits users who need Internet connectivity best.
WIZnet (Wizard of Internet) is the IoT Device Platform company.
It’s unique technology – Hardwired TCP/IP provides better performance and stability than any other software Internet connectivity solutions. We can summarize the main features of Hardwired TCP/IP as Unattackable, High Performance and Easy to Use
Hardwired TCP/IP Chip
WIZnet (Wizard of Internet) is a unique Hardwired Internet Connectivity Solution Provider. WIZnet provides IOcP and HW TCP/IP chips, best fitted for low-end Non-OS devices connecting to the Ethernet for the internet of things.
WIZnet’s core technology is “Hardwired TCP/IP“.
WIZnet’s Hardwired TCP/IP solutions provide better performance and stability than any other software Internet connectivity solutions.
WIZnet develops Internet offload co-Processors for the “Internet of Things”. The Internet Offload co-Processor consists of a Hardwired TCP/IP and an Ethernet PHY.
The Internet Offload co-Processor easily adds Internet capability to any application. It works with any MCU and does not require an operation system.
WIZnet is developing Hardwired TCP and IPv4/IPv6 Dual Stack chips.
More Safty, More Stable
WIZnet hardwired TCP/IP chip is theUnattackablehardware network engine for preventing network attacks such as flooding, spoofing, injection.
The hardware TOE (TCP/IP Offload Engine) technology, which is implemented as Hardwired logic from Ethernet MAC Layer to TCP/IP Layer, is able to protect IoT system against network attack under excessive number of flooding packet by making discard flooding packets detected.
Hardware TOE shows a superior performance compared to the software TCP/IP stack solutions.
High Speed Serial Peripheral Interface, maximum 8 independent hardware sockets support. More stable than software TCP/IP stack under SYN flood attack.
Easy to Use
Open Libraries / Examples
WIZnet provides various network protocol libraries and useful tutorials / application examples.
We are currently offering sales on our new product “W7500P” for our valuable customers. In stock and available now. No need to create an account to place an order. Offer is only available at our online store; http://www.shopwiznet.com/w7500p.
We are currently offering sales on our new product “WIZwiki-W7500ECONET” at a special rate just for our valuable customers. In stock and available now. No need to create an account to get this offer. Offer is only available at our online store; www.shopwiznet.com/wizwiki-w7500econet. Offer expires on December 31st 2015. The price applies to the purchase price (excluding shipping, handling, and taxes) of the products. First come, first served basis. The number of this product is limited.
Have you ever wanted to transmit Arduino data over the internet?
In this tutorial, we will design a web page that will retrieve Analog readings from the Arduino’s Analog Pins and display them on a bar chart within the web page.
The web page will use jQuery and AJAX to request the data from the Arduino Web Server, allowing us to update the bar chart dynamically, without having to refresh the entire web page. The Arduino Web Server will send the Analog readings to the web page in JSON format where it will be processed and displayed accordingly.
In this tutorial, I will not have anything connected to the Arduino’s Analog pins, which means the data retrieved will be that of randomly floating analog pins. Feel free to connect a potentiometer, temperature sensor or any other analog sensor to these pins if you want to create a more “useful” project.
The main aim here was to show you how to transmit the data in JSON format, and to update only a portion of the web page using asynchronous communication (using AJAX), to improve the performance of data retrieval and visualisation.
Please note: The WIZnet ioShield-A ver1.1 actually comes with the WIZ550io board. So if you buy the ioShield-A, you will receive both boards. I have provided the link to the WIZ550io shield because you can buy that shield on its own. Regardless, you will need to use both boardArduinoBasics Web Data Servers for this tutorial.
Arduino Libraries and IDE
To program the Arduino you will need to download the Arduino IDE, and install the WIZnet Ethernet Library. The Arduino IDE version used in this tutorial was version 1.6.4.
You may want to read the WIZnet wiki information for each WIZnet shield before use.
Full description of the Arduino code is included in the YouTube video above. Once you have set up your Arduino Web Server, you should be able to ping it. Look at this website, if you don’t know how to use the windows ping feature.
Getting the Arduino Board onto the internet:
There isn’t anything really to hook up for this project. You just have to align the pins for each board and stack them. You can power the Arduino via the USB cable. This will also be useful for debugging and printing to the Serial monitor. An ethernet cable needs to connect the WIZ550io board’s ethernet port to your internet/network router
The WIZ550io board goes on the top
The ioShield-A is in the middle
The Arduino UNO is on the bottom
This is what it looks like when they are stacked together
If you want to gain easy access to the Analog or digital pins without de-soldering the ioShield-A, you can introduce some female headers like this:
Please note that the ioShield-A utilises a number of pins on the Arduino UNO – including: D2, D4, D7, D10, GND, and IOREF, RESET, 5V, GND, GND and ICSP pins
All Analog pins are available for use
Set the Arduino Web Server on your local network
You can test this project on your local network. You just have to choose an available IP address and PORT within your router’s IP range. If you don’t know your local IP address range – you can have a look at this siteto give you a helping hand.
Set the Arduino Web Server to be accessed from anywhere in the world
If you want to access your Arduino from anywhere in the world, you need to set up Port Forwarding on your internet network router. The following useful guides will hopefully get you on the right track, if you have never set up Port forwarding.
In my case, I programmed the Arduino UNO Web Server to take the following ip address on my internal network: 10.1.1.99
I programmed the Arduino Web Server to listen for Web Browsers on port 8081.
So if I wanted to connect to the Arduino Web Server through my home network, I just had to type in this web address into my web browser: http://10.1.1.99:8081
If you plan to connect to the Arduino using port 80 (which is the default port for web browsers), you can just type the IP address without specifying the port (eg. http://10.1.1.99/ )
The web browser should display the Arduino data in JSON format (the YouTube video above will show you what that looks like).
Once I knew I could connect to the Arduino in my internal network, I then set up port forwarding on my router so that I could type in my external IP address and special port to tunnel my way into my Arduino Web Server on my internal network. This is what I had to do on my router, but you may need to do something different.
My first step was to find out my public/external IP address by typing “what is my IP address” into google. If you want to know your external IP address click here.
I then typed my router’s ip address into a web browser, and logged into my router.
I went to the advanced settings tab
Selected “Port Forwarding” from the side menu
Filled out all of the details on the first line of the Ports list
Enable box = ticked
Description = Arduino
WAN interface = pppoe_atm0/ppp0
Inbound port = 8082
Type = TCP
Private IP address = 10.1.1.99
Private port = 8081
Saved the settings
Now that I had port forwarding enabled, I could type the ip address (that I obtained in step 1) into my browser and specified port 8082 (instead of 8081) – eg. http://126.96.36.199:8082/
And now I can access my Arduino Web server from anywhere in the world. I can even access it from my smart phone. Once again, this will only return the Analog data in JSON format.
The Web Page GUI
The Arduino is now on the internet, so there are two options. You can either
To retrieve data from your Arduino Web Server, please make sure that it is connected and visible from outside of you local network. You will need to have port forwarding enabled. Information on port forwarding is described above.
This tutorial showed you how to connect to your Arduino UNO over the internet, and retrieve data in JSON format using jQuery and AJAX. The web page can be modified to suit your own needs, plus it would be more useful if the Arduino was actually monitoring something, rather than logging data from floating pins. It would also be useful if the Arduino could be controlled to blink an LED, or to turn a motor… but I will leave that project for another day. I hope you enjoyed this tutorial – if it helped you in any way, please consider donating a small “tip” into my money jar. Thank you.