$15 AsiaRF AWM002 & AWM003 Wi-Fi Modules Run OpenWRT, Expose GPIOs

This week-end I explained how to build a web server that could be used for automation and other Internet of things applications for less than $15 by combining an Arduino Leonardo with ECN18J60 Ethernet module. The hardware itself is cheap, but it may not always be convenient, or cost effective, to wire your house or office with Ethernet cables. One solution is to use Wi-Fi modules such as TI CC3000 evaluation module, an Electric Imp module, or Ariettea G25 + Wi-Fi board, but these usually cost between $30 to $50 in single quantity. AsiaRF AWM002 and AWM003 are low cost 802.11n Wi-Fi modules with access to GPIOs that could be an interesting alternative as they cost $15 + shipping, and even below $10 in quantities. The only difference between the two is that AWM003 supports more RAM (64MB vs 32MB).

Here are the specifications for these modules:

  • SoC – Mediatek/Ralink RT5350 MIPS 74KEc core @ 360 MHz dual band 802.11n Wi-Fi with data Rate up to 150Mbps, hardware NAT, QoS, TCP/UDP/IP checksum offloading.
  • System Memory
    • AWM002 – 32 MB (default), 16MB optional
    • AWM003 – 64MB
  • Storage – 8MB NAND flash (default), options: 16MB, 8MB, and 2MB
  • Security – 64/128-bits WEP, TKIP,WPA, WPA2,AES,WPS
  • Multi-modes – AP/Client
  • Antenna – 1x iPex connector (PIFA optional)
  • Transmit Power (EIRP)
    • 11n HT40 MCS7 : +14 dBm
    • 11b CCK: +20 dBm
    • 11g OFDM: +16 dBm
  • Receiver Sensitivity
    • -70dBm at HT40 MCS7
    • -78dBm at 54Mpbs
    • -90dBm at 11Mpbs
  • Headers
    • PIN I – 24-pin with access to GPIOS, 3.3V, 1.2V, GND, UART, USB, Ethernet..
    • PIN II – 16-pin with access to  I2C, I2S, PCM, Ethernet…
  • Power – +3.3V
  • Dimensions – 25x35mm
  • Certifications – FCC/CE (by request)
AWM002 Connected to an Evaluation Kit (Click to Enlarge)

Apart from more details specs for AWM002 and AWM003 modules, there’s very little information on the manufacturer website with regards to software support and development. The good thing however is that it’s supported by OpenWRT, so you can run a known Linux distributions found in many low cost routers with the added bonus to have access to GPIOs. Instructions to load and configure the module can be found in the OpenWRT page.

I’ve been informed about these modules thanks to Jon, who happens to have contributed to OpenWRT support for the modules. He also mentioned that the board themselves comply with FCC, but you’d either need to include an FCC compliant antenna made by the company, or have your own certified again by the FCC. He also let us know that a $45 evaluation kit is available (shown above). Alternatively, a board (AP2620-P) powered by Mediatek MT7620 with Wi-Fi, two Ethernet ports, and easy access to GPIOs, I2C, SPI and more… can be purchased for $20 (sample price). The company claims it supports OpenWRT, and although I failed to find an OpenWRT Wiki page for this board, MT7620 is definitely supported by OpenWRT.

The only downside is that AsiaRF does not really cater to individuals. You may be able to get a few samples however. You need to fill a form to order, and shipping costs are not mentioned. Those two RT5350 modules could however be a good base to make low cost hobbyist boards with Wi-Fi and/or Ethernet for the Internet of things.

Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

20 Replies to “$15 AsiaRF AWM002 & AWM003 Wi-Fi Modules Run OpenWRT, Expose GPIOs”

  1. We evaluated both the Carambola and HLK. There is nothing wrong with Carambola it is a fine device. It was just too expensive for our application.

    HLK is fine as a UART to wifi device. It isn’t useful for much else since it doesn’t expose most of the peripherals. We needed to add external chips and the pins we needed were not exposed.

    All three of these need to redo FCC when you add the antenna. FCC approval is only good if you use exactly the same antenna that was used during the original testing. So modules with chip/PCB antennas can get FCC modular approval. But redoing FCC part B in China is not that big of deal since it can be done for under $1000 (more like $10,000 in US) and maybe as low as $600.

    If you are only building ten of something find a wifi unit that includes the antenna and has FCC modular approval. That type of module runs about $35.

  2. @zoobab,
    That model has only 16MB RAM. To run the Openwrt projects smoothly, you need 32MB of RAM for many applications.

  3. AWM002 is 32MB, AWM003 is 64MB. I have not run into issues with RAM capacity. You can get AWM002 with 16MB but I am not sure anyone has ever ordered one with 16MB.

  4. @zoobab
    Hilink $13 Wi-Fi module and $20 kit both look interesting.
    But I can see only one or two GPIOs (depending where I read), and 16MB RAM may be a limitation for OpenWRT as pointed our by @armer . It depends on your application(s) I suppose.

  5. @armer

    OpenWRT has introduced lua web interface, which makes my old WRT54G with 16MB going bonkers and 100PC CPU, if you disable it and run only the command line config, it works fine again. Depends on your app.

  6. @Jon Smirl: Can you please confirm if AsiaRF stuff has JTAG pins? That’s problem with HLK modules for example.

  7. @Paul Any cheap ARM JTAG unit will work. I was able to get OpenOCD working but I have to some changes to the source of OpenOCD. I posted the changes to the OpenOCD list, it is problems with OpenOCD and Ralink version of MIPS CPU, nothing specific to AWM002 module.

  8. @zoobab
    I’ve had no problem with the Lua web interface on my WRT54GL.

    OpenWrt Backfire 10.03.1-RC6 | Load: 0.08 0.06 0.01

    (I don’t know why it says -rc6, maybe someone forgot to remove that before releasing the final 10.03.1)

Leave a Reply

Your email address will not be published.

Advertisement
Advertisement