EM1206, EM1206W, and EM1206N Platforms
|Top Previous Next|
Hardware devices covered by this platform
•EM1206 programmable IoT module (optionally, with GA1000 or WA2000 add-on device).
•Other devices incorporating the EM1206 module.
This section covers three separate platforms:
•EM1206 — does not support any wireless modules.
•EM1206W — supports the GA1000 Wi-Fi add-on.
•EM1206N — provides limited support for the WA2000 add-on (Wi-Fi only; BLE not supported).
Memory space and key info
*Some earlier devices had only 458,752 bytes of flash memory available
1.The sock.allowedinterfaces property refers to the Ethernet interface as "NET", Wi-Fi — as "WLN", PPP — as "PPP", and PPPoE — as "PPPOE". Sock.targetinterface and sock.currentinterface properties rely on the pl_sock_interfaces enum, whose members differ depending on the platform.
2.Surrounding hardware may dictate which GPIO lines must be used as inputs and which — as outputs.
3.Default CTS/RTS mapping is different for each serial port. Notice that CTS and RTS lines in default mapping interfere with each other. Do remember to select meaningful mapping for these lines!
4.Mapping of GA1000 and WA2000 control lines is fully flexible on the EM1206W. However, if the EM1206EV board is used, then the following mapping must be applied:
5.Older EM1206 and EM1206W devices did not contain the serial number. To find out if your EM1206(W) has the serial number onboard, try to read this serial number with the sys.serialnum R/O property. If this property returns an empty string, then the serial number is not present. Sys.serialnum returns all 128 bytes of the serial number. First 64 bytes are one-time-programmable (OTP) with the sys.setserialnum method.
Supported Objects, variable types, and functions
•Sock — socket communications (up to 16 UDP, TCP, and HTTP sessions);
•Net — controls the Ethernet port;
•Wln — handles the Wi-Fi interface (only available on EM1000W and EM1000N platforms, requires GA1000 or WA2000 add-on devices respectively);
•Ser — in charge of serial ports (UART, Wiegand, and clock/data modes);
•Ssi — implements up to four serial synchronous interface (SSI) channels, supports SPI, I2C, clock/data, etc.;
•Io — handles I/O lines, ports, and interrupts;
•Kp — scans keypads of matrix and "binary" types;
•Rtc — keeps track of date and time;
•Fd — manages flash memory file system and direct sector access;
•Stor — provides access to the EEPROM;
•Romfile — facilitates access to resource files (fixed data);
•Pppoe — provides access to the Internet over an ADSL modem;
•Ppp — provides access to the Internet over a serial modem (GPRS, POTS, etc.);
•Pat — "plays" patterns on up to five LED pairs;
•Beep — generates buzzer patterns;
•Sys — in charge of general device functionality.
You can find them here.