CM3-Home technical documentation Buy on-line

LAN and WiFi adapter

The CM3-HOME-B board has an ethernet port that works exactly as the standard Raspberry Pi ethernet port. Optionally it is possible to mount a 2.4GHz WiFi module.

The WIFI-2 module used is an USB 2.0 module compliant with IEEE802.11 b/g/n. It is based on a RaLink RT5370N chip and fully supported by the Raspberry Pi Linux Kernel. It can be mounted directly on a PCB and can work in managed, ad-hoc and access point mode.

Two type of antenna are available:

  • PCB antenna (Code AN-WIFI-01)
  • Rubber antenna (Code AN-WIFI-02)

Buy the WiFi adapter More info about the WiFi adapter

Turn-on the WiFi adapter

The WiFi adapter is off by default. The GPIO 37 line controls the WiFi power line. Hi=On, Low=Off.

Turn-on the WiFi adapter:

echo 37 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio37/direction                                   
echo 1 > /sys/class/gpio/gpio37/value

Turn-off the WiFi adapter:

echo 0 > /sys/class/gpio/gpio37/value

Links

CM3-Home technical documentation Buy on-line

Bruna Mandolino