Show Posts
Pages: [1] 2 3 ... 5
1  Development / Other Hardware Development / Re: NEW low cost Arduino compatible platform - Iteaduino Lite (LGT8F88A) on: December 10, 2013, 10:27:18 am
Ohh!  Do a 32MHz version!


Good idea, and we will try it : )
2  Development / Other Hardware Development / NEW low cost Arduino compatible platform - Iteaduino Lite (LGT8F88A) on: December 10, 2013, 01:01:35 am
Originally Arduino adopted ATmega88 chip, while which has been upgraded to ATmega328 chip now and greatly increased resources for FLASH and SDRAM. However, for many simple applications, 32K FLASH and 2K RAM resources are not necessarily needed, thus we chose a LGT8F88A chip, whose architecture is quite similar to ATmega88, and it can be made compatible with Arduino after modifying the bootloader slightly.

Just download the patch, place the extracted folder Iteaduino_lite into path arduino-1.0.5/ hardware, and then you can find option of this board in Arduino IDE. Other operations are exactly the same as Arduino.


Files named optiboot in the patch is the bootloader source code and the generated HEX file for Iteaduino Lite. Bootloader is about 0.7KB with room for optimization, which can be possibly reduced to 0.5KB.

LGTF88A chip can not be used to download bootloader through ICSP port, thus bootloader file must be downloaded by sw debugger through SWC/SWD pins. Later we will release a tutorial about downloading bootloader – The board is installed with bootloader when leaving the factory, so you can download via USB adapter just as you do on Arduino.


Resources offered by Iteaduino Lite:
  • Microcontroller: LGT8F88A
  • Operating Voltage: 5V / 3.3V
  • Input Voltage (recommended): 7-20V
  • Input Voltage (limits): 7-24V
  • Digital I/O Pins14 (of which 6 provide PWM output)
  • Analog Input Pins6
  • DC Current per I/O Pin80 mA
  • DC Current for 3.3V power supply 250 mA
  • Flash Memory 8Kbyte of which 0.7KB used by bootloader
  • SRAM 1 KB
  • EEPROM 504Byte
  • Clock Speed 16 MHz

Well, in fact, I guess its price is most interesting: .You can compaign it now on indiegogo  with 5USD only including shipping worldwide order! Click here to find more details:
http://www.indiegogo.com/projects/iteaduino-lite-most-inexpensive-full-sized-arduino-derivative-board/x/4283045

DOWNLOAD:
Schematic of Iteaduino Lite
Datasheet of Iteaduino Lite
IDE Patch of Iteaduino Lite (includes bootloader code and HEX files)
3  Development / Other Hardware Development / Re: Making a new board like RPI but can be easy-used like Arduino on: August 15, 2013, 08:06:59 am
Now we have updated it on indiegogo here: http://igg.me/at/iteaduinoplus/x/4283045

You can find more detailed and see the video , download the datasheet there  smiley-lol
4  Development / Other Hardware Development / Making a new board like RPI but can be easy-used like Arduino on: August 06, 2013, 10:07:17 pm
With the popularity of Raspberry Pi, more and more single-board computers appear on the market. They have powerful functions,yet they are not friendly for beginners, especially those unfamiliar with Linux to use. We believe that, with regard to this, Arduino is better, as it has the underlying operations packaged, and the users can realize hardware functions through simple functions. Besides, Arduino ecosystem is rich enough for us to easily find a lot of extensions needed as always, which is quite convenient for rapid development.

Now, we want to make such a development board, which has performance of computor as Raspberry Pi level. After installing the Ubuntu system customized for our developers, beginners can operate it as an Arduino.

Currently, we have completed the sample, which adopts ARM Cortex-A8 core with main frequency up to 1GHz, 1G DDR3 memory and 4G FLASH. With regard to peripheral expansions, we also make them as rich as possible: it supports HDMI interface – which you can use to connect to your monitor, USB interface –which is used to connect to mouse, keyboard, USB HUB , Ethernet interface – which enables you to surf on line by connecting the network cable to your router, Micro-SD card slot - our operating system is installed on the Micro SD card and audio input / output - which can be connected to speakers, headphones and microphone. In addition, we broke out more than 60 GPIO interfaces on the board for you to connect to sensors and other electronic modules, which include UART, IIC and SPI interfaces.



For beginners or users who are not familiar with the underlying operations of linux, it is difficult to operate these interfaces. However, if you install the customized operating system we offer on the MicroSD card, which in fact has already contained a development package similar to Arduino, and as we have done mapping and drive to the corresponding pin, you can set up the pin mode or even operate the pin only by using a function like "pinMode (1, OUTPUT);" . For operations of UART bus, etc., we also make their use very simple which is basically the same with operation of Arduino.

Our ultimate goal is to provide a compiler like Arduino and to port the various libries about Arduino to linxu system in the future, as a result, a lot of Arduino codes can be copied directly to compile and run without any modifications needed.
5  Community / Products and Services / New Electronic Brick Starter Kit and Study Notes of Iteaduino on: July 03, 2013, 03:02:48 am

Recently, we have updated the latest versions of electronic brick modules, which are added with more useful new features:
  • Compatible with both the mainstream 2.54mm 3-pin interface and 2.0mm in Grove Interface on the market.
  • With M4 standard mounting holes, easier to install on a variety of building platforms such as LEGO bricks and Makeblock.

In addition to common features, we also enhanced the specific functions for several electronic brick modules to make more powerful functions with lower costs!

To give you a faster start on your journey to Arduino and electronic project productions, we specifically made "Study notes of Iteaduino" and a set of Electronic Brick Starter Kit. In the 8 documents, we introduced use of Iteaduino UNO board, ITEAD shield and various electronic brick modules in the kit step by step in order of difficulty to realize a variety of examples from experiments to practical applications.

Study Notes of Iteaduino Part II – Digital Pin to Control LED Lamp
In this tutorial, we can learn about Arduino digital and analog (PWM) outputs, understand the programming environment and how to compile and to download codes onto Iteaduino UNO board to control ON/OFF and brightness of LED lamp. And we will need to use Iteaduino board and the LED electronic brick module in the Electronic Brick Starter Kit.

Study Notes of Iteaduino Part III-To Perform Simple Songs with Buzzer
In this tutorial, we will learn how to use Arduino library to realize control on the buzzer to play songs, and we will need to use Iteaduino board and the buzzer electronic brick module in the Electronic Brick Starter Kit.

Study Notes of Iteaduino Part IV – Light Sensor
In this tutorial, we will introduce the knowledge of sensor as well as Arduino digital and analog inputs. We sense the external brightness and control ON/OFF and brightness of LED lamp with use of light sensor, and we will need to use Iteaduino board, light sensor electronic brick module and LED electronic brick module in the Electronic Brick Starter Kit.

Study Notes of Iteaduino Part V – To Operate 1602 LCD Screen
In this tutorial, we will introduce how to use of the Arduino library to operate a 1602 LCD screen and to control it display the corresponding characters, and we will need to use Iteaduino board and 1602 LCD shield in the Electronic Brick Starter Kit.

Study Notes of Iteaduino Part VI – Temperature Sensor
In this tutorial, we will use a temperature sensor to sense the outside temperature and it will be displayed on the LCD screen. We will need to use Iteaduino board, 1602 LCD shield and DS18B20 temperature sensor electronic brick in the Electronic Brick Starter Kit.

Study Notes of Iteaduino Part VII – Track Sensor
In this tutorial, we will introduce principle and use of track sensor, and we will need to use Iteaduino board and track sensor electronic brick in the Electronic Brick Starter Kit.

Study Notes of Iteaduino Part VIII – Motor Drive Module MotoMama
In this tutorial, we will introduce how to use Arduino to control the DC motor rotation with LN298 motor drive shield, and we will need Iteaduino board in the Electronic Brick Starter Kit. For MotoMama DC motor drive shield and DC motor needed, we can buy them by ourselves.

Study Notes of Iteaduino Part IX – Tracking car
In this tutorial, we will introduce how to use the Arduino to build a tracking car with four track sensors, a motor drive shield and a set of Makeblock 2WD kit. The car will move following the black line on the ground and it will not shift out of the track. And we will need Iteaduino board and track sensor (only one piece is included in the kit) in the Electronic Brick Starter Kit. For MotoMama DC motor drive shield and Makeblock 2WD kit needed, we can buy them by ourselves.

The tutorial documents have been burned in the CD, which will come in the Electronic Brick Starter Kit. Besides, you can download them directly in the following address:

If you encounter problems when using our Iteaduino board, ITEAD shields or electronic bricks, you can contact us on our forum, and we will respond to your questions promptly. In addition, you are also welcomed to share your interesting works built with our products on the forum. For those excellent works, we will offer a mysterious gift as a support. Enjoy and have fun.

More about this article: New Electronic Brick Starter Kit and Study Notes of Iteaduino
6  Community / Products and Services / Iteaduino Nano And Iteaduino Tiny Preview on: July 01, 2013, 11:28:32 pm
With emergence of Arduino open source development platform, either hardware or software development has become easier than ever. With use of a variety of Arduino development board and platform plus different kinds of sensors with electronic bricks and electronic modules, we can turn our ideas and creativity into real works. To meet needs of different applications, we provide several versions of Iteaduino, such as Iteaduino UNO, Iteaduino MEGA and Iteaduino DUE. Of course, it is not a simple imitation of Arduino. As an enhanced derivative board of Arduino, it has been done with many modification designs, such as using DCDC circuit to replace the original LDO power circuit with high power consumption and adding 3.3V level switch so that the motherboard can work at 3.3V, etc.

In many of our applications, we do not need chips with such powerful computing capability as Arduino DUE, or even Arduino MEGA, an ATMega328 chip is enough to meet the needs of our applications, so either Arduino UNO or Iteaduino UNO should be a nice choice. However, because of the size and price of UNO board, its practicality is greatly reduced, so we designed a derivative board of Iteaduino Nano to solve the size and price problems of UNO.

First, Iteaduino Nano utilizes ATMega328 chip, whose resources and computing power are the same with UNO board, but its size is much smaller and it is compatible with shape and pin location of Arduino Nano. To further reduce price of the finished product so that the product price can be accepted by more users, we used CP2102 chip instead of FT233RL chip. After driver offered by us is correctly installed in the operating system, CP2102 can also be correctly recognized as a serial port (COM). Then you can select "Arduino Dulanove or Nano w / ATmega328" downloading program in Arduino IDE, which is 100% compatible with Arduino Nano and our Arduino Nano IO Shield. At present, Iteaduino Nano only costs 9.9USD, and we think the price should be able to make it more cost-effective, so that more people are willing to buy a motherboard to realize their ideas and creativity.

Sometimes, our design is quite simple, maybe it is just a switch control, which may cost less than half of resources and computing power of ATMega328, then we will feel it is a kind of waste even when using cheap Iteaduino Nano. Therefore, we introduce Iteaduino Tiny, which is not a derivative board of Arduino, but a derivative board based on digispark. Iteaduino Tiny is a micro development board with use of Attiny85 master, whose size is smaller than Arduino Nano, suitable for simple applications with more stringent requirements of size. By using the modified Arduino IDE provided by Digispart, we can program and download programs in IDE like Arduino board. For specific driver installation and operation, please refer to Iteaduino Tiny datasheet. The amazing promotional price of this board is 6USD only, with such a low price, you should not struggle whether to buy an expensive mainboard to achieve your plan or not when you encounter a simple application requirement next time.

More about this article: Iteaduino Nano And Iteaduino Tiny Preview
7  Topics / Home Automation and Networked Objects / ITEAD WiFi IR Repeater Controls Air Conditioning By Smartphone on: June 24, 2013, 05:01:48 am

Recently we introduced a universal WiFi IR repeater, and we have released the configuration guide and control protocol command sets. Now everyone can DIY a set of remote infrared control system of your own.

Here, we will make a simple demonstration on how to control switch and temperature of air conditioner by using smart phone via WiFi.

First, connect power supply of WiFi IR repeater, and then you will hear a tickle from the buzzer, and the red power indicator will be illuminated which means that power is normal.

If the WiFi IR repeater is in initial state, it is under AP mode now (if it has already been set, you can use the reset button to restore factory settings), and we can use the computer to search for wireless network with SSID as R2WiFi (SSID may vary in different batches, for some devices, it is ITEAD IR Remoter).

Double-click to access into R2WiFi network, after successful connection, open WiFi config software, click "Search" button, you can search for a device with IP address as "192.168.2.3".

Choose infra station under WiFi mode, fill in WiFi SSID with the SSID of the wireless network of the router in your house, here we use "TP-Link_86F9B6". As our router has no password, we select “None in” Security mode. If yours has a password, then select the encryption method and fill in the password.

Select "enable" for DHCP (Please make sure that your router has DHCP function opened, generally it is opened as default). Then choose TCP for socket class, server for server type. Then fill in server port with 5432.

Click setup button, UART parameter setting window will be popped up, select the baud rate as 115200, Data bites as 8, Parity as None, Stop Bits as 1 and Flow ctrl as none.

Finally, click the “Apply” button, update the configuration to WiFi IR repeater.

Disconnect the power and then reconnect, after hearing a tickle, you can see the green LED indicator on WIFI module starts flashing indicating that it is connecting to a wireless router. We can log in the wireless router to see if the module is properly connected and which IP address is assigned.

Here, we can find R2WiFi, that is, WiFi IR repeater has been properly connected to a wireless router, and the assigned IP address is 192.168.1.104.

Next, we will use the "WiFi Bluetooth wireless debugging assistant" software to send commands to WiFi IR repeater to control it learn key codes and send codes to control the air conditioner.

First, the phone should be connected to the wireless router and share a same wireless network with IR repeater. Then open the software, select "TCP Client" button to enter. Under client mode, we need to enter the server IP address, which is the address of the infrared repeater, that is, "192.168.1.104", and the port is "5432" which we have already set. Press "Start Connection" button, the cell phone will be connected to the IR repeater and display "Already connected to server".

Because control commands we used are data sent by socket rather than a string, we need to check the "Send HEX" option in cell phone assistant (please download the latest version of the software on google play, as there is BUG in send HEX function in old version of the software which has been corrected in the latest version).

For details about command sets, you can refer to "WiFi infrared repeater command set" document. Here we will only introduce some simple operations:

First, a key of the air conditioner should be learnt. Send a piece of data "05 FA 05 01 00 04", and the returned data "05 FD 05 01 00 04" will be received indicating that a command is received, then you can point the remote control at the infrared receiver, press the switch button of air conditioner, the repeater will return "05 FD 01 00 00 01" which means that learning succeeds and the button code has been stored at the first storage position.

Next, we can send commands to control the WiFi IR repeater send command of learning. First point the repeater head at the air conditioner, send "05 FA 01 01 00 00" by cell phone, then the confirmation command "50 FB 01 01 00 00" sent by repeater will be received, and then you can hear a tickle from the air conditioner indicating that it is turned on and the infrared codes are successfully sent, IR repeater will send data "50 FC 03 00 00 03" again which means that it is sent successfully.

Therefore, as long as other key codes are added to different positions, you can directly control the air conditioner by sending commands of the position. Of course, this is designed for developers, Geeks can develop control devices or cell phone software according to their own needs to achieve the WiFi-to-infrared functions that they need. If you are an end user and want to have a software providing interface to add buttons, then you will have to wait for the new APP released in the future.

RELATED ARTICLES:
ITEAD WiFi IR Repeater Controls Air Conditioning By Smartphone
ITEAD Wifi IR Repeater Command Set
ITEAD WiFi IR Repeater Configuration Guide
ITEAD WiFi IR Repeater Preview
Bluetooth And Wifi Debugging Assistan
8  Topics / Home Automation and Networked Objects / To Control ITEAD Intelligent Switch via Ethernet on: June 08, 2013, 09:33:12 pm

Previously we introduced how to remotely control LED by using IBoard and LEWEI50 server, in fact, we only need to do a few modifications on it to achieve control on ITEAD intelligent switch.
ITEAD intelligent switch uses 433MHz wireless module for communication, so we need to add a 433MHz transmitter modules on IBoard, then you can send commands to ITEAD intelligent switch to control lighting in the house. For specific 433MHz wireless control protocol, you can refer to “ITEAD Intelligent Switch 433MHz Communication Protocol
Each intelligent switch has a separate IDKEY, but this group of IDKEY was not printed on the product but in the factory code, so we need to read IDKEY of the switch to be controlled. We can use ITEAD Intelligent Switch Protocol library introduced last time (Click HERE).
ITEAD Intelligent Switch Protocol library uses interruption pin D2 as data input pin of 433MHz receiver module, which is IRQ pin of nRF24L01 interface on Iboard, the IRQ pin is to be connected to the DATA pin of 433MHz receiver module. Connection diagram is shown as below:

Open demo program in ITEAD Intelligent Switch Protocol library, download it onto Iboard. Then we can use serial monitor software such as AccessPort to read the serial output data (serial baud rate is 115200). Click touch button of intelligent switch, a "tick" sound indicates that the switch has issued the current switch information, and then we can see information received by IBoard in software monitor window. In the example, the return value of the intelligent switch "0×07000403", the first eight-bit data is the current switch state, "0×06" indicates the state of ON, "0×07" indicates the state of OFF. What we need is the last 24-bit data, "0×000403" is IDKEY of the intelligent switch.

Then we need to connect IBoard to 433MHz transmitter module, and Iboard will send high and low levels to data pin of 433MHz transmitter module to achieve wireless data transmission commands, while when the intelligent switch receives the switch information of corresponding IDKEY, it will change the current switch status accordingly and send out information of current switch status. In this example, we will use A0 as output pin of 433MHz transmitter module. Plug in the network cable and connect it with the router. The actual circuit diagram is shown as below:
 
In order to connect to LEWEI50 to control via Ethernet, we need to download related Arduino code of LEWEI50, and the downloading address is: https://github.com/lewei50/leweiclient.
Then download the Demo program we made for control of intelligent switches.
As we introduced before, modify user key, the corresponding gateway and sensor information.
After setting up the contents in the website, open the demo program for control of intelligent switch with Arduino IDE. Replace the "LW_USERKEY" value with user KEY, "LW_GATEWAY" value with gateway ID value, "MY_NAME" value with gateway name value, "MY_DESC" value with gateway name value and the ID value to define intelligent switch with the abbreviations value of control device.
The above operations are the same as using IBoard to control LED, so I will not repeat. For specific operation, you can refer to this article “To Remotely Control The LED with IBoard”.
If the value you use is the same as that we described in the article, then the "LW_GATEWAY", "MY_NAME", "MY_DESC" and intelligent switch ID value in the DEMO program will need no modifications, otherwise please modify in the code according to the values that you filled.
We use A0 of IBoard to control 433MHz transmitter module, so we need to replace TX_PIN value in the code with "A0" and also put IDKEY value of intelligent switch read via the window previously into the corresponding value of “IDKEY” in the code, which is "0×00000403" in the example.

After compiling, download the program onto IBoard via Foca.
Since the routine for control of intelligent switch requires cross-segment network, we need do some configurations on the router, for configuration method, you can refer to “To Remotely Control The LED with IBoard”as well.
After configuration, enter "User center" on LEWEI50 webpage, click the "My Device" button under "My LEWEI50 device" directory, under the "Control" column of "Control Devices" list, we can see the icon of intelligent switch, its color will change each time when the icon is switched. When the color of switch icon is blue, it indicates that the switch is open and intelligent switch will be turned on; when the color of switch icon is red, it means the switch is closed and intelligent switch will be turned off; when the color of switch icon is gray, it indicates switch is open while Iboard is not connected yet.
LEWEI50 also provides cellphone software, so that we can control intelligent switches with smart phone. Downloading address for mobile software is: http://www.lewei50.com/home/sitecontent/downloads.
After installing the software, click "LEWEI50" icon on the phone, after entering the login interface, enter the username and password when registered, then click on the "Login" button. Next, the control interface will appear on the screen, click on the "reverse control" icon, the cellphone will automatically search for controllable device which will skip to the "controllable device list". In the list, we can see the defined intelligent switch "dummy-da" options, and the right icon indicates the status of the switch, among which, gray indicates that switch is shut off and blue indicates the switch is ON. You can change the state of intelligent switch by clicking the icon.

As LEWEI50 provides only one-way control instead of two-way feedback mechanism, we can turn on/off the intelligent switch in the house through the webpage, but the intelligent switch state cannot be synchronized to the corresponding position of the page. If you shut down the intelligent switch manually, it may still show the original state on the page – of course, we can create a sensor in LEWEI50 to monitor the status of each switch in the house. We do hope that LEWEI50 can provide a two-way interface to allow webpage to control a device as well as to receive device feedback and to synchronize status.

More about this article: To Control ITEAD Intelligent Switch via Ethernet
9  Topics / Home Automation and Networked Objects / Re: To Achieve Remote Monitoring On Ethernet With IBoard on: June 04, 2013, 10:45:41 pm
It seems that the Xively  just provide the monitor function for sensors, but can not control the device via website ?
10  Development / Other Hardware Development / Re: Problem, Error While Upload to iTead iBoard on: June 03, 2013, 04:19:55 am
Hi,

1. You need to make sure that you have installed the right driver for the FTDI chip or our FOCA board - if you can find the port in the IDE, there should not be any problem.

2. You should choose the "board" - > "Arduino Dumilanove or Nano w/ ATmega328" instead of the "Arduino UNO" - because the bootloader in IBoard is not UNO'
11  Topics / Robotics / Makeblock 2WD Car With WIFI Bee on: June 03, 2013, 12:50:51 am
Previously we demonstrated how to achieve control on Makeblock car with cellphone software “ITEAD Bluetooth Robot Panel” by using BTBee with MBoard. Recently, we introduced another WIFI Bee module with functions similar to BTBee which supports inserting XBee interface to achieve converting WIFI (Supporting IEEE802.11b/g/n) into serial port. Therefore, today we want to show you how to achieve control on Makeblock car with "" software by using WIFI Bee with Mboard.

First, we need to set up a Makeblock two-wheel drive car. Fix MBoard, and connect the motor to MBoard. Inset WIFI Bee directly into the XBee socket of Mboard. Since there is no network LED on WIFI Bee, we will insert an LED electronic brick into Mboard to observe network conditions. Connect LED electronic brick to EB5 of MBoard with the connection cable specifically for electronic bricks.

Then download the program for this example. After opening the file, it cannot be directly downloaded onto MBoard, as we need to do some modifications according to the user's network environment before compiling the program. First, fill in router settings information according to the actual network environment , among which, "SSID" is the name of the router, "KEY" is the router's encryption key, "IPADDRESS" is WIFI Bee's IP address, "NETMASK" is router’s subnet mask, "GATEWAY" is the router gateway and "PORT" is the connection port for WIFI Bee . Subnet mask and gateway information of the router can be obtained from the computer. Let’s take WIN7 operating system as an example, click on the computer's "Local Area Connection" under "Network and Sharing Center", and then click on "details", the corresponding subnet mask and gateway values can be seen in the information table. WIFI Bee’s connection port value "PORT" serves as a monitoring port for TCP server, and the parameter value can range from 1 to 65535.


After modifying the configuration of codes according to the actual situation, the program can be written into Mboard- as Mboard uses ATMega32U4 chip, there is no need for external adapter plate such as FOCA, and it supports directly connecting to the computer via USB cable and downloading program with IDE.
For details of introduction on cellphone control software "ITEAD WIFI Robot Panel" which needs to downloaded, how to download and to use the software, you can refer HERE.
Before using the software, you must have WIFI Bee module work. After connecting lithium battery to MBoard to supply power, you can see LED electronic brick blinking for a few times, which indicates that the wireless network is being configured. When the LED electronic brick stays illuminated, it indicates that it is already configured and connected to a wireless router ready for the device to be connected. Then you can open "ITEAD WIFI Robot Panel" software on the cellphone, click "setup", and then the Client Settings interface will appear on the cellphone. Fill WIFI Bee's IP address (IPADDRESS value) into the client's address bar, which is "10.0.0.134"in this example. Then fill WIFI Bee port number (PORT value) into the right grid, which is "5000"in this example. Then click the "Start Connecting" button. If it is successfully connected to WIFI Bee in the car, the client will prompt "Already connected to server!" and LED electronic brick in the car will be turned off, then you can start WIFI communication. Then return to the original joystick interface, and you can click on any of the direction buttons to control movement of the car toward that direction. When the button is released, the car will be stopped.


However, as the communication is through a router, if there is packet delay, it may cause control hysteresis. For example, after the button is released, the car is not stopped in time. Because it is only a demonstration, we did not do detection and troubleshooting, you can modify the codes to achieve a more complete and more stable remote control. Alternatively, you can set up WIFI Bee as an access channel and directly connect your cellphone to WIFI Bee to fix the problem.
More about this article: Makeblock 2WD Car With WIFI Bee
12  Topics / Home Automation and Networked Objects / To Remotely Control The LED with IBoard on: May 31, 2013, 02:13:02 am
To Remotely Control The LED with IBoard

Previously we introduced how to remotely monitor temperature in the room by using IBoard with DHT11 temperature sensor and LEWEI50 platform. Now, we want to go further, we do not only monitor the sensor data, but also realize remote control – of light at home from the office for example. Here we will use IBoard with an LED electronic brick for demonstration.

For hardware, we still use the plug-and-play electronic brick module, and the LED electronic brick will be linked to A0 pin of IBoard with connection cable.

In the experiment, we still use LEWEI50 as the network service platform. Anyway, as mentioned in the previous article, LEWEI50 only provides the control services with Chinese interface, while the English website does not support the control devices for now. So we still need to register a LEWEI50 account and get User Key and the corresponding gateway information, and then add and configure the corresponding devices and sensors. In this example, IBoard is to read the switch status information of the switch icon of the corresponding sensor in LEWEI50 platform via the address information. When the switch status is read as 1, the LED lamp will be turned on; when the switch status is read as 0, the LED lamp will be turned off.
The Chinese registration address is:http://www.lewei50.com/home/index , and you can download the official library directly in the Chinese website: https://github.com/lewei50/leweiclient
After registration and downloading, log into the website. Click “Set up personal information” button under "My Account" directory, then the account information will be shown at the right side of the page under "Set up personal information" menu, record the current "user KEY ". Value of "User KEY" is the value of "LW_USERKEY" in control example of LeweiClient library. In this example, the user KEY is "2e9f9105bb784f39a111e75c48d49b02".

Click "My gateway” button under “My LEWEI50 device" directory, fill in the blanks according to the following examples in "Add New Gateway" page and then click the “Save” button. Among which, the ID value is the "LW_GATEWAY" value in the control example of LeweiClient library; "Name" value is the "MY_NAME" value in the control example of LeweiClient library; "Gateway introduction" value is "MY_DESC" value in the control example of LeweiClient library. In this example, the gateway ID value is 01; gateway "Name" is UNO1; "Gateway introduction" is "UNO test case". Then tick in the "Controllable or not" options and in " Allow " option of "Public network access ".

After adding the new gateway, a measurement device must be added for it. Click the "New" button under "Control device" of "My Device" bar to enter the page for adding control device. Fill in the blanks in accordance with the following examples, and then click Save. Among which, the "abbreviation" value is the ID value of control LED lamp in control example of LeweiClient library, and "DA" indicates to control LED lamp 1. After adding the device, the list information of control LED lamp control device abbreviated "DA" can be seen on the page.



After saving the settings, use Arduino IDE to open control examples in LeweiClient library. First, we need to replace the "LW_USERKEY" value with the user KEY "2e9f9105bb784f39a111e75c48d49b02" obtained during registration, the "LW_GATEWAY" value with the gateway ID value "01", the "MY_NAME" value with gateway name value "UNO1", "MY_DESC" value with the gateway name value "UNO test case" and the ID value defining LED with the abbreviation value of control device "DA". If we follow the previous steps 1-4, "LW_GATEWAY", "MY_NAME", "MY_DESC" and the ID value defining LED will need no modifications. In the codes, we use  A0 pin of IBoard to control LED lamp, and we replace the ledPin_da value with "A0" and the ledPin_da2 value with "A1" or any of the unoccupied pins (to prevent it from interrupting running of the program).

After compiling of program passed, use FOCA to connect Iboard with the computer and download the program to IBoard .
Since the routine to control LED lamp must be realized with cross-segment network, we need to set up the service port of virtual server on the router. First, open the serial port of Arduino IDE, after running for a while, the serial port monitor will display Iboard's IP address and port number. In this example, Iboard IP address is "10.0.0.135", and port is "8889." Next, open the address of the router on the webpage, find the "Virtual Server" settings page under "Route Settings", and then add Service Port "8889" to the Iboard with IP address "10.0.0.135". After the addition,the function of controlling LED lamp can be achieved through the webpage.


Click "User center"on LEWEI50 webpage, after entering the Welcome page, click the "My Device" button under "My LEWEI50 device" directory, under the "Control" column of "Control Devices" list, we can see the icon of LED lamp 1, its color will change each time when the icon is switched. When the color of switch icon is blue, it indicates that the switch is open and LED lamp will be turned on; when the color of switch icon is red, it means the switch is closed and LED lamp will be turned off; when the color of switch icon is gray, it indicates switch is open while Iboard is not connected yet.




As we mentioned before, because LEWEI50 only provides control interface of Chinese version, if you know some English platform offering such network services, please let us know and we will do test there and then offer a detailed tutorial to show you how to realize remote monitoring and control by using IBoard, IBoard Ex, etc with such networking platforms.
13  Topics / Home Automation and Networked Objects / To Achieve Remote Monitoring On Ethernet With IBoard on: May 29, 2013, 09:48:17 pm
IBoard is a development board based on Arduino platform adopting W5100 chip with networking functions, SD card slot, XBee interface and nR24L01 wireless module interface. The electronic brick interface broken out from Iboard is used quite conveniently to connect to various electronic brick modules, and then you can connect Iboard to the router, finally you will be able to achieve remote operation on the web through the network platform.

Here, we use DHT11 temperature and humidity sensor as an example to demonstrate how to use LEWEI50 platform to achieve remote monitoring on temperature at home.

First, let me say something about hardware connection – we have always recommended the plug-and-play electronic brick module design. Connect DHT11 electronic brick module provided by us directly to A2 sensor interface of IBoard with connection cable as shown in the following figure. Thus the functional circuit is finished, and FOCA board connection in the picture is used for downloading program only which will be mentioned again later on.

In the example, the network service platform we used is LEWEI50. After registration, we can get our own User key and the corresponding gateway information, then log onto the account to view information about the newly-established equipment and sensor .  In the example, IBoard will upload the temperature information of DHT11 in a way of address information to the only marked graph in the server system, so that we can observe the real-time ambient temperature information of the sensor on LEWEI50 webpage. Account registration address is: http://en.lewei50.com/home/register.

After registration, click "Personal settings" button under "My account" list, then account information in "My setting" will be displayed on the right side of the page, record the current "User KEY". "User KEY" value is "LW_USERKEY" value in the upload example of LeweiClient library. In this example, User KEY is "0ab11205c71343b2b771d6b46a3976ea".

Then click "Devices" button under "My console" list, and fill the the blanks in "Create a new device" page according to the following examples, then click the Save button. Wherein, "ID" value is the "LW_GATEWAY" value in the upload example of LeweiClient library, "Name" value is the "MY_NAME" value in the upload example of LeweiClient library and "Description" value is the "MY_DESC" value in the upload example of LeweiClient library. In this example, the device "ID" value is "01", device "Name" is "UNO1" and "Description" is "UNO test case".

After a new device is added, a sensor should be added for it. Click "Create" button under "My Sensors" list of "Senors" menu to enter the page for adding device. Fill the blanks in accordance with the following examples, and then click Save. Wherein, "ID" value is the "TEMP" value defined for temperature of DHT11 in the upload example of LeweiClient library. In the example, the sensor "ID" value is "TEMP".


After filling with the contents, save and download our modified LeweiClient library (library provided by the official supports domain name of Chinese version which is not directly compatible with the functions of the website of English version that we registered, so we've modified accordingly for you to use directly).

  LeweiClient_master_itead

Send the library that we provide to the corresponding Arduino Library directory, open upload example of LeweiClient library with Arduino IDE. First of all, we need to replace "LW_USERKEY" value with User KEY obtained during registration, that is, "0ab11205c71343b2b771d6b46a3976ea"; replace "LW_GATEWAY" value with device ID value "01"; "MY_NAME" value with device name value "UNO1"; "MY_DESC" value with device name value "UNO test case" and the defined DHT11 temperature name value with sensor ID value "TEMP". If you follow the preceding steps 1 to 5, "LW_GATEWAY", "MY_NAME", "MY_DESC" and the defined DHT11 temperature name value will not need any modifications. In the code, we used A2 pin of IBoard to read the information of DHT11. To modify PIN number, you can change the figure 2 in code "DHT11 the_dht11 (2)" to analog pin number, namely "2 "represents A2.


Since we only need DHT11 temperature value in the example, the sensor registration code statement which is not needed in the program can be commented out.

Because IBoard is positioned as a low-cost networking platform (the latest Special Price is 17.5USD), we remove the circuit for converting USB into UART. As you need such modules to download program for IBoard from the computer, we recommend using our FOCA adapter plate. Insert it directly into the downloading interface of IBoard, you are free to download the program.
Select the corresponding port number and mainboard model (Arduino Duemilanove or Nano w / ATmega328), press the upload button to compile and download the codes that we have modified to IBoard.

After downloading the program, if you need to monitor via USB serial port, do not pull out FOCA board. Open the serial port of Arduino IDE, we can see that IBoard uploads the temperature data of DHT11 to LEWEI50 platform every 1 second. Click "User center" in LEWEI50 page, after entering the user page, click the “Real-time data" button under "My console" list. In “Real-time data" list, we can find the ”DHT11 Temperature Sensor“ added just now. Click “View”button under “Operation”list, DHT11 temperature data curve will be displayed in the page and the ambient temperature changes of DHT11 can be seen from the curve in the diagram directly.



With simple operations, we can monitor remotely the temperature at home through the Internet. When connected to other sensors, it is able to achieve monitoring on humidity, gas concentration, light intensity and so on. In addition to uploading data, we can also remotely control lighting and switches of electrical appliances at home via cellphone software or webpages. We will continue to release new tutorials later on to demonstrate how to use Iboard and network service platform to achieve remote control on switches.

*As LEWEI50 website only provides Chinese language service for controlling sensors, it is not convenient for overseas users. If you know other similar English platform, please kindly recommend and we will try to register an account and then provide the next operational tutorial : how to use IBoard to control your home lamp by Ethernet.
14  Topics / Home Automation and Networked Objects / Re: Touch And Remote Control Intelligent Switch on: January 09, 2013, 10:46:45 am
Hi your idea is very insteresting.
We are working on an open source domotic framework http://freedomotic.com.
if you want you can develop a plugin to control your devices from our framework by graphical interface and create complex automation.
Regards

Looks interesting ! And you can send mails to alex#iteadstudio.com(#to@) , and looking forward to the cooperation of smart home system~
15  Topics / Home Automation and Networked Objects / Make Smart Home Lighting System With Arduino And Android on: January 09, 2013, 10:39:47 am
When you replace all your traditional wall switch to ITEAD intelligent switch, you can easily use them for networking and mutual control. With a Bluetooh to 433M RF converter, we can use the cell phone to control all of them via Bluetooh.

Here we will show you a demo of how to control the lamps of different rooms by your Android phone.

We use the Iteaduino BT with 433M RF link kit as the converter, Iteaduino BT can communicate with cell phone via Bluetooh, and control the switchs with 433M RF, the firmware is the same as this demo. And you need to install the "ITEAD Intelligent Switch Control Center" app on your phone for controlling the lighting system of your home.

Open the software, and you can add a new switch into the device list, and switch it by clicking it in the device list.

Video:  http://blog.iteadstudio.com/make-smart-home-lighting-system-with-arduino-and-android/
Pages: [1] 2 3 ... 5