Why water your lawn when a rainstorm is imminent? Web-enabled devices can take advantage of weather conditions and online forecasts to fine-tune their operation. All it takes are a few chips and a few kilobytes of code to see what the meteorological future holds. This article details how to use a Texas Instruments MSP430 microcontroller and a WIZnet W5200 smart Ethernet chip to access National Weather Service forecast data.
We participated the IIC China 2013 Exhibition. This year, there were different kinds of famous technical manufacturers, companies and organizations had been invited to this exhibition to share information with each other.
In this period, WIZnet has a speech on the topic of “Embedded Ethernet Made Easy” at the technical forum of the exhibition. This speech had introduced to many customers on the future development and movement of Embedded Ethernet market. Meanwhile, it had introduced a new technology called Hardwired TCP/IP protocol that provided a stable, efficient and easy to use solution to all our customers.

For providing our customers to get used on our products, WIZnet has invited our distributors to our booth to promote different kind of applications or total solution to our customer to know more about our products. For example, IP camera, Smart Switch, Network lighting control, Security controls, Serial Servers, Network I/O controls, etc.
We will develop more solutions in the future. Thus, please follow us to know about our technologies.
Thanks.
iMCU-S2E product family is a chip product in which “Serial to Ethernet” firmware & MAC address are pre-programmed. 2 model, 8051 based W7100-S2E and CortexM3 based W7200-S2E are ready and will be released on March. The benefit is no programming is required and no need to buy MAC address from IEEE.
Full-Featured Serial to Ethernet Firmware programmed
- RS-232/422/485 ready
- TCP server, client, UDP support
- DHCP, DNS support
Provide Complete Hardware Reference Design
- Hardware schematics, gerber file, part list
Provide Software Utilities for Configuration
- Configuration tool program & source code
- Virtual COM port program
W7100-S2E block diagram
W7200-S2E block diagram
For more information: iMCU-S2E product page.
The internet of things is quickly achieving the same levels of froth and excitement as big data in the venture and entrepreneurial community. And like “big data,” the prevalence of smartphones, cheap computing and connectivity all are combining into a substantial and real opportunity under all the hype. So instead of yet another smart light bulb or connected hub (yes, I love those too) let’s dig a little deeper where the internet of things is already changing the fortunes of several large companies.
To build the internet of things we’re going to need a lot of chips — orders of magnitude more than we have in use today. Generally those chips will fall into three categories, and each of those categories is poised to become a booming business with a lot of volume and room to grow. Let’s break it down: Connectivity, Control, Sensors.
See on gigaom.com
To connect your WizFi210 to Cosm, you’ll first need a cosm account. Go to http://cosm.com and register if you haven’t already. When you register, you’ll get an API key and it is used for communicate with Cosm service.
Set up a new feed in your cosm account by clicking the “add feed” button and select the “Something else”.
Follow the dialog to create your feed, and select “No, I will push data to cosm” and set the title and Tags then you can get a 6 digits Feed ID.
1. Association with AP
It depends on the AP’s security option and below example show there is no security option and IP address is leased by DHCP server.
If WizFi210 properly connect to the AP, you can see the leased IP address of WizFi210.
2. DNS loopup & connection.
1) In order to obtain the actual IP address, DNSLOOKUP command is used and get the actual IP address of “api.cosm.com”.
2) Using the TCP client connection command, NCTCP, WizFi210 connect to the Cosm.
3) CID command show the connection ID is 0.
3. Sending the HTTP data
To send the HTTP raw data, below procedure is required.
1) Type 3 bytes “[ESC] [S] [CID]” on the serial terminal. In this example, the CID is “0″ and [ESC] is 0x1B in hexadecimal.
2) Sending HTTP raw data.
You will need to specify the API key, feed ID, and datastream you created. With these set, data will be pushed to your new datastream the next time your device sends a data. HTTP request to the cosm service (it will be “200″ on success).
In above picture, number 1 is Feed ID, 2 is API key, 3 is data size and 4 is data name & data value.
3) Type 2 bytes “[ESC][E]“. Then the data sent to the Cosm server and you can see the reply as below.

After a few updates, you’ll have a nice graph of the history of your data stream!
Note that cosm does have rate limits, and will not allow you to push data to any one datastream more often than once every 15 seconds.
Last year I translated the Arduino IDE 1.0.1 in Korean (see the related Arduino blog posting)and today I completed the Korean translation of the Arduino IDE 1.5. Already more than 20 languages are translated and other languages are in progress. Anyone can participate in this translation at Transifex site. Arduino IDE 1.5 support Arduino Due and have number of improvement. For more information, refer to this.
Microchip’s magazine “MICRO Solutions” introduce “WIZnet W5200 Ethernet PICtail Plus Board” and explain the benefit of W5200 hardware stack comparing the conventional s/w TCP/IP stack.
You can start developing your IoT designs today with the TWIZ5200 Ethernet PICtail™ Plus Board. It works with a wide variety of PIC MCU development platforms including Explorer 16 (DM240001), PIC32 I/O Expansion Board (DM320002), PICDEM.net 2 (DM163024), PIC18 Explorer (DM183032) and others.
WIZnet provides MPLAB compatible W5200 driver software and ‘C’ code examples (see www.wiznettechnology.com/microchip/) to kickstart network applications that take full advantage of the W5200 hardware features. The W5200 is an Ethernet transceiver with a big advantage. Going beyond the usual specs (auto-negotiation and crossover, LED outputs, Wake-on-LAN), the W5200 adds intelligence that handles Internet protocols (ex: TCP, UDP, etc.) in hardware.
Compared to a traditional software TCP/IP stack, the W5200 hardware stack solution reduces the host MCU processing and memory burden. With the W5200 handling the network chores even a low-cost 8/16-bit PIC® MCU can get online. This means existing (i.e. non-networked) designs can be upgraded with Internet features without an expensive and time consuming system and software redesign. After prototyping a design with PIC MCU and the TWIZ5200 it’s a simple matter to move to production using the WIZ820io which combines the W5200 and RJ-45 jack with magnetics in a tiny easy-to-use module.
For more information: Download the magazine
H / W setting
In order to update the firmware, WizFi210’s mode should be “RUN mode” by setting the pin 37 to Low. Of course, set the pin 37 High for normal operation after updating, UART pin is used for firmware updating and TX(pin 40), RX(42) pins are connected to the PC through RS232 transceiver.
- Set the pin 37 to Low (PROGRAM MODE)
- Connect TX(#40), RX(#42) to PC’ COM port through RS232 transceiver.
PC program settings
- Download WIZSamrtScript program and SPI firmware. [Note] Download the firmware and find the file under SPI folder.
- Copy to AppFWfile folder under WIZSmartScrupt program and rename it to “s2w-app1.bin, s2w-app2.bin and WFW.bin“.
- Set Group items as “U. JIG (User)” and set Script as “2. Flash Write (WLAN, APP, Clear)”
- Designate the COM port manually, set the baudrate as 115200.
As shown in the following figure, when you click the Start Script automatically flash erase and re-write.
When the update is complete, turn off the power to the board and return to Run mode. (*Low to pin 37 of the module)
Set MAC address
After F/W update, the MAC address should be re-written using the AT command.
In this posting, I’m using the Arduino board so you need Arduino library of WizFi Shield.
- Required library: WizFi Shield Library (WizFi2x0.zip, TimerOne.zip)
- Copy these files to ”libraries” folder under the Arduino folder.
- Sketch for MAC writing: Download this sketch to your Arduino board.
- Input “S” then send the MAC address. ex) “0008DC1A4BF8″
Equipped with Ethernet interface, Arduino controls a boiler to maintain the set temperature and publish environmental data via Internet on Pachube, and the web interface allows setting the temperature remotely via Internet. The project is designed to control an heating system in order to keep the temperature in a room above a certain value, which can be set from Internet or a Personal Computer by LAN, because ours is not a simple thermostat but a complex unit managed by Arduino, which can connect to a local network with ethernet interface. The thermostat allows many functions, including the publication temperature measured at regular intervals (set by firmware), as well as the state of the boiler (on or off). The datas are published on the website http://www.pachube.com, which provides a database which stores user data, also makes available a series of gadgets to be able to view this data directly into web pages. See on www.open-electronics.org

























