2013년 9월 10일 화요일

Infographic iPhone5c vs Moto X



Infographic by Troy Dunham for Engadget
http://www.engadget.com/2013/09/10/apples-iphone-5c-isnt-low-cost/

2013년 9월 9일 월요일

Qualcomm Toq


Qualcomm Toq



  • 3-4 days with average use,

  • 200Mhz ARM Cortex M3 processor

  • a 1.55-inch mirasol color display with a resolution of 288×192

  • an adjustable wrist band with integrated 220mAh battery

  • a backlight for dark area viewing

  • Bluetooth connectivity and a customized OS.


http://www.androidauthority.com/qualcomm-toq-official-267108/
by Andrew Grush on September 9, 2013 2:32 pm

2013년 8월 27일 화요일

ioshield-a, ioshield-k



ioshield-a, ioshield-k

2013년 8월 26일 월요일

Arduino Pro Mini + WIZ550io (W5500)



Arduino Pro Mini + WIZ550io (W5500)

WebLED for GR-KURUMI



WebLED for GR-KURUMI



  • Web Server & LED Blink


A simple web server that shows and control the value of the LED Digital…


View Post

WebLED for GR-KURUMI




  • Web Server & LED Blink



A simple web server that shows and control the value of the LED Digital using an Arduino Wiznet Ethernet shield. This sketch for GR-KURUMI is merged Web-server and LED Blink. You can do controlling and monitoring the RGB LED on GR KURUMI Board via Internet or Local Network.
After opening a web-browser and navigating to the Ethernet shield’s IP address, the GR-KURUMI will respond with just enough HTML for a browser to display the data. A RGB LED on GR-KURUMI is also controlled by the request of web-browser.


  • Circuit




  • Ethernet shield attached to pins 10, 11, 12, 13

  • Pin 22,23,24 has an LED connected on most Arduino boards.

  • Pin22: LED_RED

  • Pin23: LED_GREEN

  • Pin24: LED_BULE




  • SW






  • Code




  • Configuration of IP address

    IPAddress ip(192,168,1,177);


  • Initalize the Port (port80 is default for HTTP)

    EthernetServer server(80);


  • Parsing of HTTP GET Message




When web-page address is http://192.168.1.177/G0 to on the Green LEN,
the received HTTP GET Message is as below,

GET /G0 HTTP/1.1
Accept: text/html, application/xhtml+xml,....


So, 5th~7th data are parsed to control RGB LEDs.

//5th~7th data of HTTP GET Message is parsed as parse_arr
parse_arr[0] = '/'
parse_arr[1] = 'G'
parse_arr[2] = '0'



  • Contorl RGB LEDs as data pased from HTTP GET Message

    if(parse_arr[0] == '/'){
    switch(parse_arr[1]){
    case('R') :
    // http://192.168.1.177:R0 => Red LED OFF
    if(parse_arr[2] == '0'){
    digitalWrite(led_red, HIGH);
    // http://192.168.1.177:R1 => Red LED ON
    }else if(parse_arr[2] == '1'){
    digitalWrite(led_red, LOW);
    }
    break;
    ...


  • Send a standard http response
    Check current LED status as digitalRead() and Send http respoonse inclued the LED status.

    int sensorReading = digitalRead(led_red);
    client.print("digitalRead(LED_RED)");//client.print(led_red);
    client.print(" is ");
    client.print(sensorReading);
    client.println("
    ");
    ...


  • Address Lists
    http://192.168.1.177/G0 => Green OFF
    http://192.168.1.177/G1 => Green ON
    http://192.168.1.177/R0 => RED OFF
    http://192.168.1.177/R1 => RED ON
    http://192.168.1.177/B0 => BLUE OFF
    http://192.168.1.177/B1 => BLUE ON
    http://192.168.1.177/B3 => BLINK START
    http://192.168.1.177/B3 => BLINK STOP


GR-KURUMI + Ethernet



GR-KURUMI (RL78/G13) + WIZ550io(W5500)