Homepage

Mostrando las entradas con la etiqueta arduino. Mostrar todas las entradas
Mostrando las entradas con la etiqueta arduino. Mostrar todas las entradas

jueves, 11 de agosto de 2016

Blink ESP8266 03 ESP 03 in Arduino IDE



Testing the ESP8266 03 have noticed differences with ESP version 01.
By default brings AT commands, using the example blink and modifying 02 to activate the GPIO output.



Connection to Program ESP
Should the GPIO 0 to GND to place the bootloader mode module, its programming is equal to ESP 01 only this one does not have RST and should have the GPIO 15 to GND



Connection GPIO 02

Materials
ESP8266 03 (ESP03) to buy Icstation

Coupon Icstation

Code:PDAICS
Discount Amount: 10%
Max Use: 1
No Min Order
Started Date:1st August,2016
Ended Date:1st October,2016





Video Test



Reference:

More Info:

Youtube Channel
PDAControl


viernes, 29 de julio de 2016

New ESP8266 03 ( ESP 03 )



ESP8266 03
I have done extensive testing with ESP8266 01 (ESP 01), I think it has endless applications, but I decided to test another module of the same family, in this case ESP8266 03 (ESP03), say that your great serious advantage has 7 GPIO (I / O).




Characteristics

1. Support 802.11 B/G/N
2. Communication range up to 100 yards depending on environment.
3. Standard 3.3VDC operation with 5V compatible I/O.
4. Standard 3 wire (TXD/RXD/GND) serial communication (idle high) at 115200/8/N/1.
5. Standard 0.1" (2.54mm) half through hole.
6. Upgradeable firmware.
7. Three mode of operations: Client/Access Point/Both Client and Access Point.
8. Support all major security schemes: OPEN/WEP/WPA_PSK/WPA2_PSK/WPA_WPA2_PSK.
9. Support both TCP and UDP communication.
10. Working as TCP/UPD server supports up to five (5) connections.
11. Working as station can connect up to 5 TCP/UPD servers.
12. Simple AT commands for all operations.
13. Dimensions in mm 17.3 × 12.1.
14. 7 Gpio (I/O)






Materials
ESP8266 03 (ESP03)

Reference:

More Info:

Youtube Channel
PDAControl



sábado, 18 de junio de 2016

ESP8266 program with Arduino IDE in 5 minutes




This ESP8266 default module that works by AT commands, thanks to the contributions of the community has made integration with Arduino IDE.

This module (ESP8266) integrates the capabilities of an Arduino + Wifi (Ethenet) and easily the perfect combination for more or less one dollar, just personally I use in my applications in industrial integration, this module is perfect.

Installing ESP8266 in Arduino IDE is only valid from version 1.6.4 and above, in my case there are newer versions but I liked the version 1.6.4 and it worked perfect.

Video step by step explanation Installation and configuration Arduino IDE


Materials 
1 ESP8266 - 01
1 Conventer FTDI Usb - ttl serial 
3 Regulator de 5v a 3.3v
2 Pushers
1 resistor10k
1 Diode Led

Connections
SW1 = GPIO 0 (this pin to LOW = Bootloader Mode - Programming Mode)
SW2 = RST Reset (reset pulse module)

ESP8266 PINOUT

INSTALLATION, CONFIGURATION AND PROGRAMMING
With the next step you programmed your ESP8266 with Arduino IDE:

Step 1 . Download copy Boards Github: https://github.com/esp8266/Arduino


Step 2 . Open Preferences Arduino IDE and paste additional board
http://arduino.esp8266.com/stable/package_esp8266com_index.json


Step 3. Open Board Manager


Step 4. Search ESP8266 install library


Step 5. Open Board to select and configure ESP8266 Generic.


Step 6. Prepare Blink code example using the GPIO 2 output.


Step 7. Place GPIO0 (SW1) to position LOW Bootloader mode


Step 8. A pulse SW2 (Reset) and SW1 = LOW


Step 9. Keep GPIO SW1 = LOW

Step 10. Download code (Blink)


- Uploading Code


- The ESP8266 and FTDI module should flash


- Code uploaded to ESP8266


Step 11. Switch SW1 and SW2 Reset with a pulse (RST)


Step 12. RUN mode, the program should run normally

Step 13. Connect diode led to GPIO 2



Ready....

If set again ESP8266 mode AT commands with the same circuit and can configure the following video by Default, upload firmware by default.

ESP8266 firmware update with Flasher ESP8266



More info:


Youtube Channel







sábado, 14 de mayo de 2016

Arduino Mega 2560 Oled Display I2C Master Modbus RTU Scada Industrial Connection


This evidence although simulate other tests carried out in previous Post implemented Arduino and protocol Modbus RTU serial master mode, is the first step for connecting arduino an environment Scada Industrial we will see more before implementing Modbus TCP IP, if you want to see continue in PDAControl final application.

Other Implementations Arduino and Modbus RTU:

Modbus RTU Master Library tests with Arduino 
Modbus RTU Master tests with Arduino via RS232 and screen Panasonic GT01
Modbus RTU Master tests with Arduino via RS232 and PLC Panasonic FPX C14R

Explanation of Application
In this test we will read a potentiometer 100k connected to the input analog 0, the value of ADC0 0-1023 be transmitted via Modbus RTU Simulator Master Modbus in Holding Register [11] and this transmitted value is displayed on the display oled Connected to the Arduino via I2C.


Materials
1- Arduino MEGA 2560 R3
2- Display Oled 128 x 64 
3- Poteciometer 100K
Mounting


ADC0 visualization on display Oled


Video of tests

Arduino MEGA 2560 Master Modbus Potenciometer Display  Oled I2C


Connections




viernes, 13 de mayo de 2016

Emoncms OpenEnergyMonitor


It is a project in development based on open source developed by Trystan Lea, this application has tools for measuring energy or electricity consumption, mixing hardware and software which is available to anyone who wants to start measuring and regulation of energy consumption the purpose of this project is sustainable development.
Arquitecture Openenergy Monitor
You have the ability to create your own hardware and adapt or contribute to the development of software compatible with Arduino and Raspberry Pi,
Implements the measurement and monitoring of variables atravez hardware nodes implementing opensource

It has a management income users with login and password


sending data is encoded with a unique key to avoid collisions Notifies the updating of variables, graphs indivisuales, comparative It has a great tool dashboards equivalent to a scada interface

Oficial Sites
Emoncms is a powerful open-source web-app for processing, logging and visualising energy, temperature and other environmental data. Openenergymonitor



All our hardware units are fully open-source and based on Arduino. Firmware sketches are available open-source on GitHub. See Resources for info on how to setup Arduino IDE.
Step by Step Installation Emoncms in Windows 7
Install Emoncms on Windows  Part 1

Install Emoncms on Windows  Part 2


Emoncms more tests on other platforms..............

Test ESP8266 and DS18B20 (Temperature) OneWire to Emomcms



Introduction to OpenEnergyMonitor (OEM) in Raspberry Pi



Activation Modules Node, Feed, Input and Dashboard - Emoncms in Raspberry pi


Connection PLC Panasonic FPX + Raspberry Pi + Open Energy Monitor (OEM) + Python 2.7


I have made integrations with Arduino, Raspberry Pi, Python and PLC, hope to use this platform and contribute ...
More info:

martes, 5 de abril de 2016

Test Arduino Mega 2560 and ESP8266 (AT Commands)






Introduction
This test is performed given the lack of use of serial ports Arduino Mega 2560 and test communication between the Arduino Mega 2560 and ESP8266 module,
test has been conducted, data take into account, in this case the ESP8266 has been configured to work with AT command Firmware v0.9.5.2 module 115200 baud rate.

Extra Note: If you need Esp8266 Firmware Update.




Test Connections




Materials :
1 Arduino Mega 2560 R3
1 Modulo ESP8266

connections


Test
It has created a strategy bidirectional connection between Port 0 (Serial USB) and Port 1, this test everything that is written in the terminal Arduino be sent to ESP8266 and vice versa, thus the correct communication is depurará ESP8266 module.
Strategy

Test from Terminal
From the Arduino IDE serial terminal it was sent test the following commands:

AT    (ESP8266 responde OK
AT+GMR ( ESP8266 responde la version de firmware)



Other tests using only ESP8266 and Arduino IDE:

More videos: JhonValenciaPDAcontrol

Arduino IDE 1.6.5 installation and programming ESP8266 










martes, 29 de marzo de 2016

ESP8266 + Arduino + Oled ( Client IRC Chat Control) Part 1





I have seen many examples of how to control the Arduino remotely but require excessive settings and when using either ethernet LAN or WLAN communication in most examples only works on a local network or intranet.
It tryied a simple way to control using the IRC Chat forgotten and implement it in the ESP8266 module.

The IRC is simple communication since communication is performed between clients, the server is on the network and data values or specific characters sent automatically handles routing.


Explanation of application
1. In this test the ESP8266 module performs the IRC connection to an IRC server, the room defined using a Nickname.
2. using in this case an IRC client android I connect to the same server and the same room with another nickname and retransmits the module received by the serial port.
3. The Arduino Mega 2560 Just print characters received in the Oled display and performs the activation of inputs and outputs

Materials 
Arduino Mega 2560
Display Oled 128 x 64 I2c
ESP8266 - 01

To make this project requires read before the following:

Arduino y Oled 128 x 64  Terminal serial

Esp8266 como cliente IRC  

Important note:
In this case it is only control from any client IRC is the only ESP8266 receives, in this test is not yet implemented the ESP8266 send messages, although perform the test and working properly.

Real-Time Testing



Downloads Arduino code GitHub:


More info:
more Test 

ESP8266 IRC Client Chat - Control via Internet Part 1



Arduino Terminal Serial + Oled 128x64 I2c