Skip to content

Instantly share code, notes, and snippets.

View giljr's full-sized avatar
💭
Full Stack Developer with a degree in Computer Engineering.

Gilberto Oliveira Jr giljr

💭
Full Stack Developer with a degree in Computer Engineering.
View GitHub Profile
ESP8266 Description
Core 1
Arquitecture 32 bits
Clock Xtensa LX106 80-160MHz
WiFi IEEE802.11 b/g/n support for WPA and WPA2
Bluetooth No
RAM 160KB - 64KB Instruction - 96KB Data
Flash Extern QSPI - 512KB A 4MB
GPIO 16
DAC 0
No Pin Name Functional Description
1 RST Reset Pin Active Low
2 ADC AD conversion Input voltage range 0~1V value range 0~1024.
3 EN Chip Enabled Pin Active High
4 IO16 Connect with RST pin to wake up Deep Sleep
5 IO14 GPIO14 HSPI_CLK
6 IO12 GPIO12 HSPI_MISO
7 IO13 Ai-Thinker GPIO13; HSPI_MOSI; UART0_CTS
8 VCC Module power supply pin Voltage 3.0V ~ 3.6V
9 GND GND
NAME SPECS
Module Model ESP-12F
Package SMD22
Size 24*16*3(±0.2)mm
Certification FCCǃCEǃICǃREACHǃRoHS
SPI Flash Default 32Mbit
Interface UART/GPIO/ADC/PWM
IO Port 9
UART Baud rate Support 300 ~ 4608000 bps ˈDefault 115200 bps
Frequency Range 2412 ~ 2484MHz
/* Project Name: SD CARD PROJECT - WRITE TEXT TO A FILE
File: unit_13_01_sdcarrD_SPI.c
Description: The program creates a new file called MYFILE55.TXT on the SD card and writes the text
"This is MYFILE.TXT." to the file. Then the string "This is the added data..."
is appended to the file.
Author: Dogan Ibrahim Date: October 2013 File: MIKROC-SD1.C
LIBS Note: SD cards (and also MultiMedia Cards, MMC) - Got To Library Manage and enable these libs:
/* Project: Unit 12 - HLVD
Code: unit_12_01_helloWorldHLVD.c
Objective: This shows how HLVD works;)
Every time the power goes out we save the 7-SEG count in eeprom
and as soon as the power recovers, we retrieve the last count value
and present this old value back to 7-SEG.
Timer 0 Interruptions note: The 7-SEG scan is driven by TMR0
Fuse Config Note: Go to Menu > Edit Project > Brown-on Reset > desabled
/* Project: Unit 12 - HLVD
Code: unit_12_00_helloWorldHLVD.c
Objective: This shows how HLVD works;)
Every time the power goes out we save the LEDs count in eeprom
and as soon as the power recovers, we retrieve the last count value
and continue counting from the point we stopped counting.
Fuse Config Note: Go to Menu > Edit Project > Brown-on Reset > desabled
Lib Config Note: Enable EEPROM Lib at Library Manager Tab
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using easyUSBHidNetClass;
/* Project: Unit 15 - USB
Code: unit_15_01_USB Intro.c
Objective: This program uses the Visual Basic language and mikroC Language
to run an USB Bus Library Functions in a PIC18F4550 chip:)
Author: microgenios, edited by J3
PIC Lessons: How to Start to Program PIC 18 - Step-by-step for Beginners!
/* Project: Ardu_Series # 88
Binary Counter - Logic Analyzer - Building an LED Binary Counter & Improving The Code
INO file: _88_logicCounter_Extensible_8bits_04.ino
Binary Counter.
Description: With 8xLEDs we can display binary numbers from 0 to 255;
This code consomes just 982 bytes (3% of program storage space)
and Global variables use 26 bytes (1%) of dynamic memory:)
/* Project: Ardu_Series # 88
* Binary Counter - Logic Analyzer - Building an LED Binary Counter & Improving The Code
*
* INO file: _88_logicCounter_Extensible_4bits_03.ino
*
* Binary Counter.
*
* Description: With 4xLEDs we can display binary numbers from 0 to 15;
This code consomes just 2326 bytes (3% of program storage space)
and Global variables use 26 bytes (1%) of dynamic memory:)