Difference between revisions of "BPI-Smart"

From Banana Pi Wiki
Jump to: navigation, search
(BPI-Webduino Smart Wi-Fi Setup)
(BPI-Webduino Smart Wi-Fi Setup)
Line 54: Line 54:
  
 
[[File:Smart-02-05.jpg]]
 
[[File:Smart-02-05.jpg]]
 +
 +
*Step 3: Connect to LAN
 +
 +
After you have a successfully competed Steps 1 & 2 and Wi-Fi is setup, remove the power to your Webduino Smart, then plug it in again. The red light on your board will not stop blinking until your board has connected to LAN. Once it connects to LAN, the green light will flash. Now you can find Smart_your device ID_192.168.XXX.XXX under your Wi-Fi access points. Please take note of the IP address, which is the IP you need to use WebSocket. If the red light does not stop blinking, you need to restart the setup from Step 1.
 +
 +
[[File:Smart-02-06.jpg]]
  
 
=doc=
 
=doc=

Revision as of 03:21, 9 May 2018

Introduction

BPI-Smart is a ground-breaking development board.

The BPI-Smart (also referred to as BPI:Smart, stylised as webduino:Smart) is an ESP32 with Xtensa 32bit LX6 single/dual-core processor based embedded system. support Webduino and arduino function.

BPI:Smart hardware

BPI:bit hardware description

BPI-Smart Board dimensions: 3cm in length, 2.5cm in width, 1.3cm in height, and a weight of 85 grams. Digital pins: 0, 2, 4, 5, 14, and 16. PWM pins: 12, 13, 15. Analog Pin: AD \(A0\). Other pins: TX, RX, 3.3V, VCC, RST, and GRD.

The front and back images:

Smart-01-02.jpg

Hardware interface

BPI-Smart has a photocell sensor, an RGB LED, and a micro switch button onboard. The photocell is connected to the AD pin, and the RGB (Red, Geen, Blue) LED is connected to pins 15, 12, and 13 respectively (The LED is a common cathode, whereas most of the examples on this site use common anode RGB LED.) And the micro switch button is connected to pin 4. Please take note when you use these pins.

Smart-01-05.jpg

PIN define

Pin functions.png

Software

BPI-smart for webduino

Factory default burning image is for webduino, so we can use webduino allfuncion .

BPI-Webduino Smart Wi-Fi Setup

Before you start using your Webduino Smart, you must set up your WiFi. The main purpose of this setup is to enable Webduino Smart to connect to the Internet or WebSocket. Using this setup, you can define the board's name and password, and update it through the Internet.

  • Step 1: Plug In, and Enter the SSID & Password

Like the Webduino Mark 1 & Webduino Fly, Webduino Smart has to connect to Wi-Fi by setting up an SSID & password. However, Webduino Smart can be used in both Internet Protocol and WebSocket Protocol, which means that the devices can be used with LAN.

Provide power to your Webduino Smart so the board can be found on your PC, laptop, or mobile device. (At first the red light on the board will blink, then it will stay on once it is ready.)

Smart-02-02.jpg

Connect to "Smart" by Wi-Fi, and type in the default password of 12345678. Now the board will be connected.

Smart-02-03.jpg

  • Step 2: Set Up SSID & Password for Wi-Fi, and Device ID

Open your internet browser (we recomend you use Chrome) and type 192.168.4.1 into the address bar. You will be directed to the setup page for the Webduino Smart. Fill in the Wi-Fi information and router ID. Here the SSID & PW is referring to your AP's Wi-Fi.

Smart-02-04.jpg

Press the "Submit" button, and the setup is successful when "Save OK" is showed on the screen.

Smart-02-05.jpg

  • Step 3: Connect to LAN

After you have a successfully competed Steps 1 & 2 and Wi-Fi is setup, remove the power to your Webduino Smart, then plug it in again. The red light on your board will not stop blinking until your board has connected to LAN. Once it connects to LAN, the green light will flash. Now you can find Smart_your device ID_192.168.XXX.XXX under your Wi-Fi access points. Please take note of the IP address, which is the IP you need to use WebSocket. If the red light does not stop blinking, you need to restart the setup from Step 1.

Smart-02-06.jpg

doc