Cov txheej txheem:

ESP8266 Solar Flare Monitor: 8 Kauj Ruam
ESP8266 Solar Flare Monitor: 8 Kauj Ruam

Video: ESP8266 Solar Flare Monitor: 8 Kauj Ruam

Video: ESP8266 Solar Flare Monitor: 8 Kauj Ruam
Video: Become An Electrical Lineworker 2024, Kaum ib hlis
Anonim
ESP8266 Solar Flare Monitor
ESP8266 Solar Flare Monitor

Koj paub dab tsi txias? Huab cua qhov chaw! Yuav ua li cas yog tias koj muaj lub thawv me me ntawm koj lub rooj uas tau hais rau koj thaum lub hnub ci tuaj tshwm? Zoo, koj ua tau! Nrog ESP8266, IIC 7 Segment Display, thiab qee lub sijhawm, koj tuaj yeem muaj koj tus kheej.

Kauj ruam 1: Kho vajtse: Yam Koj Yuav Tsum Tau

Kho vajtse: Yam Koj Yuav Tsum Tau
Kho vajtse: Yam Koj Yuav Tsum Tau
Kho vajtse: Yam Koj Yuav Tsum Tau
Kho vajtse: Yam Koj Yuav Tsum Tau
Kho vajtse: Yam Koj Yuav Tsum Tau
Kho vajtse: Yam Koj Yuav Tsum Tau

***************************** Nco ntsoov txog ELECTROSTATIC DISCHARGE ******************** ******

Txoj cai tom qab kuv ua tiav thawj zaug ntawm kuv tus lej, kuv dhia mus rau lub rooj zaum nrog nws, thiab kuv cov zaub LED nres ua haujlwm. Yog tias qhov no tshwm sim rau koj, rov nyem lub firmware rau lub khoos phis tawj kom kho nws, tab sis tsuas yog ceev faj nrog koj cov zaub! Tsis tas li, khaws koj cov xov hlau luv dua kuv li, Kuv xav hais txog 6 ntiv tes max. Kuv muaj kev cuam tshuam ntau nrog kuv cov zaub. Kuv yuav tsum tau ua ob zaug no! Thaum kawg kuv tsoo kuv cov lus qhia! Kuv yuav tsum hloov mus rau ib qho dawb thaum tsim cov ntaub ntawv !!!

*************************************************************************************************************

Ntawm no kho vajtse koj yuav xav tau,

  • ESP8266 Qauv
  • Nquag Qhib Qhib
  • Serial 7-Seg Zaub

Thiab cov cuab yeej,

  • Soldering Hlau
  • Hlau Strippers
  • Tshuab Luam Ntawv 3D (Tsis teb los tau)

Kauj ruam 2: Khoos phis tawj khoos phis tawj

Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos

Ua ntej, txuas 7-Segment zaub. Nws zoo nkauj piav qhia tus kheej, Vcc rau 3v3, GND rau GND, SDA rau SDA, SCL rau SCL.

Zaub ESP8266

+ --------------------------- 3v3

----------------------- GND NPE

SDA --------------------------- SDA (4)

SCL --------------------------- SCL (5)

Yooj yim yooj yim. Tom qab ntawd, khawm. Txuas ib tus ncej rau GND thiab lwm qhov rau tus pin 2.

BUTTON ESP8266PIN 1 --------------------------- GND

PIN 2 --------------------------- GPIO 2

Thiab qhov ntawd yog nws! Tsis phem heev, eh?

Kauj Ruam 3: Txoj Cai: Theory

Txoj Cai: Theory
Txoj Cai: Theory

Yog lawm, yog tias koj tsis quav ntsej txog vim li cas kuv thiaj ua qhov kuv tau ua, hla cov kauj ruam no. Txwv tsis pub, nov yog. Qhov chaw nyob deb heev. Thaum xub thawj kuv xav ntsuas lub hnub ci flares ntawm kuv tus kheej nrog kuv tus kheej lub ntsuas hluav taws xob, tab sis qhov ntawd yuav nyuaj heev. Muaj ntau yam khoom siv raug nyob hauv qhov chaw twb tau dhau los lawm, yog li cia peb ua kom zoo dua ntawm nws. Kuv siv sijhawm ib hnub saib cov ntsuas hluav taws xob ntawm Sparkfun thiab Adafruit kom txog thaum kuv los txog qhov kev txiav txim siab no. Kuv siv sijhawm ob hnub ntxiv los nrhiav cov ntaub ntawv. Thaum kawg kuv pom cov ntaub ntawv JSON zoo los ntawm NOAA. (Qhov no zoo, Kuv nyob hauv CO) Kuv mam li siv ThingSpeak API kom tau txais cov ntaub ntawv me me uas kuv xav tau. Tom qab ntawd, peb rub cov ntaub ntawv los ntawm Thingspeak thiab tso tawm nws ntawm 7 Segment zaub. Yog li cia peb mus rau qhov chaws!

Kauj Ruam 4: Txoj Cai: Tsev Qiv Ntawv

Code: Cov tsev qiv ntawv
Code: Cov tsev qiv ntawv

Muaj plaub lub tsev qiv ntawv koj xav tau, txhua yam uas yooj yim kom tau txais. Thawj ob qhov tau tsim rau hauv arduino IDE, tab sis yog tias koj tsis muaj lawv, lawv hu ua Wire.h thiab Arduino.h. Lwm qhov peb tau teeb tsa ncaj qha nrog ESP8266 pawg thawj coj feem ntau, tab sis lawv hu ua ESP8266WiFi.h, ESP8266WiFiMulti.h, thiab ESP8266HTTPClient.h. Nco ntsoov tias koj muaj cov teeb tsa hauv IDE, thiab txuas ntxiv mus rau theem tom ntej.

Kauj ruam 5: Txoj Cai: Txoj Cai

Txoj Cai: Txoj Cai
Txoj Cai: Txoj Cai
Txoj Cai: Txoj Cai
Txoj Cai: Txoj Cai

Yog li, lub sijhawm uas peb tau tos. Cov cai. Nov yog qhov haujlwm ua tiav yog li kuv yuav hloov kho cov cai. Kuv yuav khaws cov ntawv qub, thiab ntxiv lwm ntu rau cov kauj ruam no rau txhua hnub tshiab. Kev rub tawm yog los ntawm google drive. (Tsis xav tau tus account)

**************** Thawj Tsab **************** (4/18/2018)

Code 4/18/2018

***************************************************

************************* Version 1.2 **************** (4/22/2018)

Code 4/22/2018

******************************************************

Kauj ruam 6: Case

Rooj plaub!
Rooj plaub!
Rooj plaub!
Rooj plaub!
Rooj plaub!
Rooj plaub!

Yog li tam sim no koj muaj lub hnub ci tshiab saib txias, cia muab tso rau hauv lub thawv zoo. Kuv 3d luam tawm kuv cov ntaub ntawv, txawm hais tias koj tuaj yeem ua rooj plaub koj tus kheej yog tias koj xav tau. Nov yog cov qauv tsim.

Ntau yam

Tam sim no nws yooj yim. Muab lub pob tso rau hauv lub pob qhov, tso rau hauv lub qhov tso saib thiab lo lub esp8266 rau sab nraub qaum. Tam sim no pub koj lub xov tooj usb hla lub qhov rau sab esp8266.

Kauj ruam 7: Ua tiav

Tiav lawm!
Tiav lawm!
Tiav lawm!
Tiav lawm!
Tiav lawm!
Tiav lawm!
Tiav lawm!
Tiav lawm!

Nov yog nws ua haujlwm li cas. Cov zaub kaw tom qab 30 vib nas this. Lub khawm tig cov zaub rau thiab hloov ntawm ob hom piav qhia hauv qab no. Nov yog cov lus thiab lawv lub ntsiab lus.

Y FI - Txuas

FlAr - Lub hnub ci ci tshaj plaws (chav kawm Max)

Curr - Chav kawm tam sim no

Cov chav kawm piv txwv: A5.2

Yog tias chav kawm yog M, cov ntawv ua ntej ("A" hauv "A5.2") yuav tshwm li N.

Yog tias chav kawm yog X, tsab ntawv ua ntej ("A" hauv "A5.2") yuav tshwm li H.

Nov yog cov chav kawm.

A - Chav kawm tsawg tshaj plaws. (1-9) Tsis muaj kev cuam tshuam hauv zos.

B-Kaum zaug A. (1-9) Tsis muaj kev cuam tshuam hauv zos.

C-Kaum zaug B. (1-9) Tsis muaj kev cuam tshuam hauv zos.

M-Kaum zaug C. (1-9) Muaj peev xwm cuam tshuam rau lub hnub qub. Ua rau muaj kev hem thawj me me rau cov neeg tsav nkoj. Lub ntiaj teb tsis muaj kev cuam tshuam.

X - Kaum zaug M thiab nce. (1-∞) tuaj yeem tshem tawm cov kev sib txuas lus, lub zog txuas, lub hnub qub, thiab lwm yam.

Cov chav kawm loj tshaj plaws uas tau sau tseg yog xyoo 2003. Cov ntsuas tau ua haujlwm ntau dhau thiab txiav tawm ntawm X28.

Qhov ntsuas yog tib yam rau ob hom FlAr thiab Curr.

Xav tau cov ntaub ntawv ntau ntxiv ntawm cov nplai? Nyem qhov no.

Kauj Ruam 8: Cov ntawv thov

Cia peb hais tias koj muaj qee cov khoom siv hluav taws xob uas raug nqi ntau txhiab daus las. Koj tuaj yeem kaw lub cuab yeej no kaw koj cov cuab yeej yog tias cov nplaim taws mus txog qib tshwj xeeb, kom txo qis kev puas tsuaj.

Pom zoo: