Showing posts with label module. Show all posts
Showing posts with label module. Show all posts

Saturday, August 27, 2016

Fritzing parts of ESP8266 based WiFi module

Fritzing parts of ESP8266 based WiFi module


Just find a GitHub provide Fritzing part for an ESP8266-based WiFi module.


Get

Read more »

Friday, August 26, 2016

ESP 05 mini ESP8266 WiFi module

ESP 05 mini ESP8266 WiFi module


ESP-05 is a mini size WiFi module of ESP8266 family. Almost half size of ESP-01, no on-board antenna, with five-pin in SIL, more breadboard friendly.





Its 5 pins on the board:
- RST
- GND
- URXD
- UTXD
- VCC3V3




First test AT Command and check firmware:

To test ESP-05 with AT Command, we connect ESP-05 to PC via FTDI USB-to-Serial adapter, as shown:

(The Fritzing part of ESP8266-05 can be found HERE)

- Run Arduino IDE
- Select connected port
- Open Tools > Serial Monitor
- Select Booth NL & CR, 115200 baud
- Power on ESP-05
- Then you can enter AT command as show in this video:


To check the firmware, enter the command AT+GMR:
AT+GMR

AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
OK


Connect with Arduino Mega 2560 via Level Converter:


In this step, we are going to connect ESP-05 to Arduino Mega 2560, such that we can send command to ESP-05 by Mega. Because Mega is work on 5V, and ESP-05 work on 3.3V, so we need a Level Converter.

Connect as shown:


(Alternatively, you can simple use a voltage divider of 2 resistors to convert 5V Mega TX to 3.3V ESP-05 RX, ESP-05 TX can direct connect to Mega RX, to achieve the same job.)

Enter the code run on Mega. This program simple accept command from PC forward to ESP-05, receive response from ESP-05, forward to PC.

Mega_ESP05_test.ino
int LED = 13;
boolean LEDst = false;

void setup() {
Serial.begin(115200);
Serial3.begin(115200);
pinMode(LED, OUTPUT);
digitalWrite(LED, LEDst);
}

void loop() {
while (Serial.available() > 0) {
char a = Serial.read();
Serial3.write(a);
}

}

void serialEvent3() {
while (Serial3.available() > 0) {
char a = Serial3.read();
Serial.write(a);
ToggleLED();
}
}

void ToggleLED(){
digitalWrite(LED, LEDst = !LEDst);
}

Such that we can enter command as in "First test AT Command and check firmware" above. This step aim to make sure the connection between Mega and ESP-05 is correct.

Example:
- ESP-05(ESP8266) + Arduino Mega, act as simple web server

Get

Read more »

Friday, August 12, 2016

ESP8266 Witty Cloud Development Board with ESP 12F module

ESP8266 Witty Cloud Development Board with ESP 12F module







Get

Read more »

Thursday, August 11, 2016

2 4GHz Wireless Module NRF24L01

2 4GHz Wireless Module NRF24L01


Operating Voltage: 1.9~3.6V
Speed: 2Mbps





Get

Read more »

Connect Arduino Due with HC 06 Bluetooth Module

Connect Arduino Due with HC 06 Bluetooth Module


Last post (direct to Arduino-er: Test HC-06 Bluetooth Module with Android BluetoothChat) show how to use Android Bluetooth Chat test app to talk with standalone HC-06. This post show how to connect Arduino Due to HC-06 via Serial 3, to receive data from Android and echo back to Android, and also send to Serial port for monitoring.


Connection between Arduino Due and HC-06:
Serial (Tx/Rx) communicate to PC via USB
Serial3 (Tx3/Rx3) connect to HC-06
HC-06 Rx - Due Tx3
HC-06 Tx - Due Rx3
HC-06 GND - Due GND
HC-06 VCC - Due 3.3V

DueHC06_AT.ino
/*
Arduino Due + HC-06 (Bluetooth) -echo bluetooth data

Serial (Tx/Rx) communicate to PC via USB
Serial3 (Tx3/Rx3) connect to HC-06
HC-06 Rx - Due Tx3
HC-06 Tx - Due Rx3
HC-06 GND - Due GND
HC-06 VCC - Due 3.3V

*/
#define HC06 Serial3

void setup()
{
delay(1000);
Serial.begin(9600);
HC06.begin(9600);

Serial.write(" Test Start ");
}

void loop()
{
while(HC06.available())
{
char data = HC06.read();
Serial.write(data);
HC06.write(data);
}
}

Related:
- Android BluetoothChat connect to Arduino Uno + HC-05

Get

Read more »

Monday, August 8, 2016

Getting Started with Intel Edison Sensors Actuators Bluetooth and Wi Fi on the Tiny Atom Powered Linux Module

Getting Started with Intel Edison Sensors Actuators Bluetooth and Wi Fi on the Tiny Atom Powered Linux Module


Getting Started with Intel Edison: Sensors, Actuators, Bluetooth, and Wi-Fi on the Tiny Atom-Powered Linux Module (Make : Technology on Your Time)

The Intel Edison is a crowning achievement of Intels adaptation of its technology into maker-friendly products. Theyve packed the dual-core power of the Atom CPU, combined it with a sideboard microcontroller brain, and added in Wi-Fi, Bluetooth Low Energy, and a generous amount of RAM (1GB) and flash storage (4GB). This book, written by Stephanie Moyerman, a research scientist with Intels Smart Device Innovation Team, teaches you everything you need to know to get started making things with Edison, the compact and powerful Internet of Things platform.

Projects and tutorials include:
  • Controlling devices over Bluetooth
  • Using Python and Arduino programming environments on Edison
  • Tracking objects with a webcam and OpenCV
  • Responding to voice commands and talking back
  • Using and configuring Linux on Edison


Get

Read more »