Skip to content

Latest commit

 

History

History
97 lines (65 loc) · 2.54 KB

Instructions.md

File metadata and controls

97 lines (65 loc) · 2.54 KB

How to use the Uart WiFi Board

The easiest way is using micro controller board which has arduino form-factor pinout.

First of all

The Uart WiFi Board is programmed Uart WiFi Bridge software.
You will need the following items for uploading program.

Sample software for your board

These software serial configurations are 9600 bauds, 8-bit data and no parity.

Arduino

void setup() {
  Serial.begin(9600);
  Serial.println("Hello World !");
}

void loop() {
  if (Serial.available() > 0) {
    Serial.write(Serial.read() + 1);
  }
}

Mbed

#include "mbed.h"

Serial pc(D1, D0);  //for FRDM boards
//Serial pc(SERIAL_TX, SERIAL_RX);  // for Nucleo boards

int main() {
  pc.printf("Hello World !\n");
  while(1) {
    pc.putc(pc.getc() + 1);
  }
}

Hardware Setup

Attach the Communication shield in your micro-controller board.

The Arduino UNO.

Arduino

The Nucleo board.
The Nucleo boards need some tricks about smd parts.
All you need is that SB13 and SB14 are OFF, SB62 and SB63 are ON.

Nucleo

The FRDM board.

FRDM

Connect the Communication shield to the Uart WiFi Board with the Communication cable like the following figure(E.g. Arduino).

Sample

Communication with your board

Press the SW1 button to turn on the Uart WiFi Board.
The Uart WiFi Board is started, you can check SSID, IP address and baud rate on the display by pressing SW3 button.

Execute PuTTY to start the application and type the IP address of the Uart WiFi Board in the Host Name field.
Connection

Turn on your board. You can see "Hello World !" in the PuTTY application. When you type a character, your board return a character like following.
Example

It looks like the cursor acts weird. That's because adding 1 to CR(0x0D) and LF(0x0A), they are changed to SO(0x0E) and VT(0x0B).

It doesn't work?

Please check bitrate on your board.
In addition, you need to make sure that your computer are on the same network segment as the Uart WiFi Board.