OKdo E1

The OKdo E1 is an ultra-low-cost Development Board based on the NXP LPC55S69JBD100 dual-core Arm Cortex® M33 microcontroller. The E1 board is perfect for Industrial IoT, building control and automation, consumer electronics, general embedded and secure applications.

Hardware Specifics

Some devices may have limitations or design restrictions that cause unexpected behavior when used with Atmosphere. Specific information and details pertaining to the OKdo E1 and its performance on Atmosphere is noted below.

3.3V Rail Current

The 3.3V rail of the OKdo E1 can only supply 200mA. Use caution when connecting peripherals (such as WiFi or BLE) that may draw higher current.

Differential ADC

The two ADC pins (P2/A0 and P3/A1) are differential. To operate this as a single ended ADC, connect A0 to GND and your desired signal to A1.

GPIO Interrupts

You can configure a maximum of 3 GPIO interrupts on this device.

Default Pin Mapping

Atmosphere configures each peripheral to a default pin for every supported device, based on ideal pairing of pins and their usage. The default pin configuration is set for convenience and enables each peripheral to work naturally without needing to be modified.

All pins can be used as general purpose input/output (GPIO) unless otherwise specified.

OKdo E1 projects start with the following pin configuration:

Pin Table (Named)

Pin Description Notes
P_LED_R RGB LED (Red) Maps to P1_4
P_LED_G RGB LED (Green) Maps to P1_7
P_LED_B RGB LED (Blue) Maps to P1_6
P_BTN1 User Button 1 Maps to P0_5
P_BTN2 User Button 2 Maps to P1_9
D2 Arduino Expansion D2 Maps to P0_15
D3 Arduino Expansion D3 Maps to P_LED_B
D4 Arduino Expansion D4 Maps to P_LED_G
D5 Arduino Expansion D5 Maps to P_LED_R
D6 Arduino Expansion D6 Maps to P1_10
D7 Arduino Expansion D7 Maps to P1_9
D8 Arduino Expansion D8 Maps to P1_8
D9 Arduino Expansion D9 Maps to P1_5
D10 Arduino Expansion D10 Maps to P1_1
A0 Arduino Expansion A0 Maps to P0_16
A1 Arduino Expansion A1 Maps to P0_23
A2 Arduino Expansion A2 Maps to P0_0
A3 Arduino Expansion A3 Maps to P1_31

Pin Table (Generic)

The following table contains the low level names for all pins available for general use in the OKdo E1 board.

Pin Description
P0_0 Port 0 Pin 0
P0_5 Port 0 Pin 5
P0_7 Port 0 Pin 7
P0_15 Port 0 Pin 15
P0_16 Port 0 Pin 16
P0_23 Port 0 Pin 23
P0_31 Port 0 Pin 31
P1_0 Port 1 Pin 0
P1_1 Port 1 Pin 1
P1_4 Port 1 Pin 4
P1_5 Port 1 Pin 5
P1_6 Port 1 Pin 6
P1_7 Port 1 Pin 7
P1_8 Port 1 Pin 8
P1_9 Port 1 Pin 9
P1_10 Port 1 Pin 10
P1_26 Port 1 Pin 26
P1_27 Port 1 Pin 27
P1_31 Port 1 Pin 31

Peripherals

Below is information regarding the OKdo E1’s exposed peripherals.

I2C

I2C1

This I2C bus is exposed via pins PIO0_14(SCL) and PIO0_13(SDA). On the Arduino Expansion board, they are located on x103 under the analog pins.

I2C4

This I2C bus is the default and is exposed via PIO1_20(SCL) and PIO1_21(SDA). On the Arduino Expansion board, they are located on x105.

SPI

SPI8

This SPI bus is exposed via pins PIO1_1(SS), PIO1_2(SCK), PIO1_3(MISO), and PIO0_26(MOSI). On the Arduino Expansion board, they are located on x105.

UART

UART2

This UART is exposed via pins P0_27(TX) and P1_24(RX).

PWM

The following pins can be used for GPIO Output:

Pin Peripheral
P0_15 SCTIMER Channel 2
P0_31 SCTIMER Channel 3
P1_4 SCTIMER Channel 0
P1_5 CTIMER Channel 2
P1_6 CTIMER Channel 1
P1_7 CTIMER Channel 2
P1_8 SCTIMER Channel 1
P1_9 SCTIMER Channel 2
P1_10 SCTIMER Channel 3
P1_26 SCTIMER Channel 3

It is not possible to use configure two PWM pins to share the same peripheral. For example, you cannot use both P1_10 and P1_26 as PWM pins in the same project.

Programming Method

Programming the OKdo E1 involves using the programmer interface in Atmosphere Studio to install embedded firmware.

Setup Configuration

Prior to programming an OKdo E1, ensure you have the following setup configuration:

  • The OKdo E1 is connected to the computer via USB to an available communication port.
  • The Atmosphere IoT Agent is installed on the computer and running. This is a local application that runs in the system tray and acts as an intermediary between the computer’s connectivity protocol drivers and the browser running Atmosphere.
  • An Internet connection is maintained.
  • The project to be programmed has been compiled.

Programming Instructions

With setup complete, you can program the OKdo E1:

  1. From Atmosphere Studio’s Embedded tab, click the Program Firmware button from the tab’s toolbar. This displays the Program Firmware window.
  2. Click Program to start programming. When complete, you’ll be notified that the device is programmed with the project’s embedded firmware.

When complete, the OKdo E1 is programmed with the project’s embedded firmware.

Demo Projects

Atmosphere includes a variety of OKdo E1 demo projects for users of all levels. Check them out by clicking the demo’s name to open the project in Atmosphere.

Resources

The following additional resources and downloadable files are available for the OKdo E1: