37 AE605 Remote Control GPIO

V0.0.1

37.1 Histroy

  • 2014-11-06, rayoslee, release V0.0.1

37.2 FAQ

  1. How to set server socket tool(TCP_Server.exe) in Window PC/NB ?

    Follow the view
    1) run TCP_Server.exe(IDE: c++ builder 2009) give the local ip(PC/NB) and port number.
    2) check on “Connect”.
    3) wait for AE605 connecting, you will see IPs information in “Tag” window if AE605 connected
    4) once AE605 connected with server, AE605 will keep waiting until the message from server coming
    5) now you can give GPIO_DIR/GPIO_NO/GPIO_VAL messages from server tool and click the digital part under the “LED”.

  2. How to configure AE605’s wifi station mode?

    1. prepare an AP(set it “Authentication Mode is OPEN, Encrypt Type”NONE“)
    2. open your NB wifi and access SSID AE605_xxxxx (xxxxx is mac address)
    3. give it password 12345678 and open NB’s browser to enter 192.168.100.1
    4. you will see AE605’s home page and give it ID/Password admin/admin to login
    5. don’t care about what you see and focus on “Network Config” of the left side to configure
    6. look for tag “SSID” of “Wireless Network” if it is empty, please give it your AP’s SSID
    7. then click “Save” of “Wireless Network” and “Reboot” of “Wireless Newwork”
    8. Now, AE605 is rebooting…
  3. How to set client socket(AE605_sensor_X) in AE605 demo kit?

    1. plug in usb-uart debug cable and link it with PC/NB
    2. power on AE605 and turn on putty(baud rate 115200) at PC/NB
    3. you will see “msloader done.” and give it “Enter” key on putty window.
    4. you can ifconfig to check wlan0 whether linked or not to make sure item 2 has done.
    5. basically, it has linked. Now, turn on AE605_sensor_X
    6. /mnt/nand1-1 # AE605_sensor_X 192.168.0.105 6000 (assume your server ip/port is it)

    About server/client communication payload as the following
    LED=0&BATT=0.00&LIGHT=0.00&GPIO_DIR=0&GPIO_NO=00&GPIO_VAL=0

    The digital part which represents the number of bits.
    Other,

    GPIO_DIR: In/Out mean 1/0, return 9 which means invalid
    GPIO_VAL: high/low mean 1/0, return 9 which means invalid
    GPIO_NO: total16 pins, return 99 which means invalid
    0.GPA2: 2
    1.GPA3: 3
    2.GPA4: 4
    3.GPA5: 5
    4.GPA6: 6
    5.GPB0: 32
    6.GPB1: 33
    7.GPB2: 34
    8.GPB3: 35
    9.GPB4: 36
    a.GPB5: 37
    b.GPB6: 38
    c.GPB7: 39
    d.GPB13: 45
    e.GPB14: 46
    f.GPD0: 96