Cov txheej txheem:
- Kauj Ruam 1: Cov Cuab Yeej thiab Cov Cheeb Tsam
- Kauj ruam 2: Mount thiab Solder
- Kauj Ruam 3: Upload Arduino Mega Sketch
- Kauj Ruam 4: Upload ESP8266 Sketch
Video: Hloov Kho Arduino ASCD 8x 18650 Ntse Charger / Discharger rau ESP8266 Khoos phis tawj Serial: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Ntawm PCB version 2.0 thiab hais txog ESP8266 Arduino Adapter muaj tus lej tsis raug qhov twg koj tsis tuaj yeem siv (sib txuas lus) nrog ESP8266 rau kev sib txuas lus wireless rau Vortex Nws Roj Teeb Portal.
Qhov kev hloov kho no txuas nrog ESP8266 Arduino Adapter rau Hardware Serial RX1 thiab TX1 ntawm Arduino Mega 2560
Kauj Ruam 1: Cov Cuab Yeej thiab Cov Cheeb Tsam
Cov Cuab Yeej Xav Tau:
Soldering hlau
Pliers lossis Wire Strippers
Kub kua nplaum phom (yeem)
Qhov Yuav Tsum Tau:
ESP8266 Arduino Adapter ESP8266 ESP-01
AliExpress Txuas
eBay Link
ESP8266 ESP-01
AliExpress Txuas
eBay Link
Dupont Hlau FF
AliExpress Txuas
eBay Link
Kauj ruam 2: Mount thiab Solder
Mount
Mount ESP8266 Arduino Adapter nrog 2.5mm tooj dag sawv tawm
Ntsuas
Ntsuas Dupont Poj niam cov xov hlau thiab txiav kom loj raws li cov ntsiab lus ntawm cov laug. Koj tuaj yeem nce ESP8266 Arduino Adapter ntawm qhov faib faib lossis SD daim npav nyeem ntawv qhov vim tias lawv zoo ib yam.
Sawb
Tshem cov xaim ntawm qhov kawg ntawm Dupont Poj niam cov xov hlau txog 1-2 hli nrog cov pliers lossis cov hlua hlau
Solder
Solder cov xov hlau xa mus rau duab:
GND ESP8266 Arduino Adapter rau hauv av dav hlau ntawm PCB
VCC ESP8266 Arduino Adapter rau 5V Arduino Mega 2560
TX ESP8266 Arduino Adapter rau D19 (RX1) Arduino Mega 2560
RX ESP8266 Arduino Adapter rau D18 (TX1) Arduino Mega 2560
Kub nplaum (yeem)
Kub kua nplaum tag nrho cov ntsiab lus solder
Kauj Ruam 3: Upload Arduino Mega Sketch
Ua ntej rub tawm daim duab kos kos 5V Voltage tso tawm los ntawm Arduino's Voltage Regulator.
Hloov kho Arduino Sketch los ntawm github: arduino-mega-8x-charger-discharger Hloov kab no hauv Arduino Sketch rau koj nyeem qhov ntsuas hluav taws xob
const ntab referenceVoltage = 5.01; // 5V Output ntawm Arduino
Koj tseem tuaj yeem hloov qee lwm qhov kev teeb tsa rau koj qhov kev xav tau kev xeem
typedef struct {const float shuntResistor [8] = {3.3, 3.3, 3.3, 3.3, 3.3, 3.3, 3.3, 3.3, 3.3}; const ntab referenceVoltage = 5.01; // 5V Output ntawm Arduino const float defaultBatteryCutOffVoltage = 2.8; // Qhov hluav taws xob uas qhov tso tawm nres const byte restTimeMinutes = 1; // Lub sijhawm hauv feeb los so lub roj teeb tom qab them tas. 0-59 yog siv tau const int lowMilliamps = 1000; // Qhov no yog tus nqi ntawm Milli Amps uas tau txiav txim siab qis thiab tsis tau them rov qab vim tias nws suav tias yog qhov ua yuam kev const int highMilliOhms = 500; // Qhov no yog tus nqi ntawm Milli Ohms uas tau txiav txim siab thiab lub roj teeb tau suav tias yog qhov ua yuam kev const int offsetMilliOhms = 0; // Offset calibration rau MilliOhms const byte chargingTimeout = 8; // Lub sijhawm siv sijhawm teev rau them nqi byte tempThreshold = 7; // Ceeb Toom Threshold nyob rau qib siab tshaj qhov pib Kub const byte tempMaxThreshold = 10; // Qhov siab tshaj plaws nyob rau qib siab tshaj qhov ntsuas kub thawj zaug - suav tias yog qhov ua tsis tau zoo ntab roj teeb VolatgeLeak = 2.00; // Ntawm qhov screen thawj zaug "BATTERY CHECK" soj ntsuam qhov siab tshaj plaws ntawm txhua tus qauv thiab teeb tsa tus nqi no me ntsis siab dua byte moduleCount = 8; // Tus naj npawb ntawm Cov Qauv tsim byte screenTime = 4; // Sijhawm hauv vib nas this (Cycles) ib qho Screen Active const int dischargeReadInterval = 5000; // Lub sijhawm sib nrug ntawm kev nyeem tawm. Kho rau mAh +/-} CustomSettings;
Txuas Arduino Mega rau koj lub computer thiab thauj ASCD_Mega.ino shetch
Xaiv qhov chaw nres nkoj COM raug thiab xa cov duab kos
Nco tseg: koj yuav tsum tau ntxiv rau hauv koj Dallas sensor cov npe:
DeviceAddress tempSensorSerial [9] = {{0x28, 0xFF, 0xF5, 0xF9, 0x40, 0x18, 0x03, 0x97}, {0x28, 0xFF, 0xB3, 0x9E, 0x42, 0x18, 0x01, 0x07}, {0x28, 0xFF, 0x29, 0xF5, 0x40, 0x18, 0x03, 0xFA}, {0x28, 0xFF, 0x51, 0xA1, 0x42, 0x18, 0x01, 0x8C}, {0x28, 0xFF, 0xA8, 0x91, 0x18, 0x03, 0xC9}, {0x28, 0xFF, 0x03, 0xF6, 0x40, 0x18, 0x03, 0x37}, {0x28, 0xFF, 0xD7, 0x7B, 0x41, 0x18, 0x02, 0xC7}, {0x28, 0xFF, 0xAD, 0x9F, 0x42, 0x18, 0x01, 0x56}, {0x28, 0xFF, 0x81, 0x8F, 0x41, 0x18, 0x03, 0xEF}};
Kauj Ruam 4: Upload ESP8266 Sketch
Yog tias koj tsis tau sau npe koj Vortex Nws - Roj Teeb Portal Account mus rau kauj ruam tom ntej.
Koj yuav tsum teeb tsa ESP8266 Arduino Addon hauv koj Arduino IDE siv phau ntawv qhia no: https://learn.sparkfun.com/tutorials/esp8266-thing …
Hloov cov hauv qab no hauv ESP8266_Wifi_Client.ino Arduino Sketch
const char ssid = "";
Rau koj tus WIFI routers SSID
const char tus password = "";
Rau koj li WIFI routers Password
const char userHash = "";
Rau koj Tus Neeg Siv Khoom (Tau qhov no los ntawm "Charger / Discharger Menu -> Saib" hauv Vortex Nws Roj Teeb Portal)
const byte CDUnitID =;
Rau koj CDUnitID (Tau qhov no los ntawm "Charger / Discharger Menu -> View -> Xaiv koj Lub Charger / Discharger" hauv Vortex It Battery Portal)
Siv USB rau ESP8266 ESP-01 Programmer txhawm rau upload daim duab ESP8266_Wifi_Client.ino mus rau ESP8266 nrog kev hloov pauv ntawm PROG
Pom zoo:
Khoos Phis Tawj Khoos Phis Tawj Khoos Phis Lawj: 3 Kauj Ruam
Khoos Phis Tawj Khoos Phis Tawj Khoos Phis Tawj: Qhov no yog txoj kev "dab tuag" los kho lub qhov (socket) ntawm lub laptop. Nws yuav yog ib qho lus me me hais lus phem, thov txim. Kuv tsis xav sau nws thaum kuv ua nws, yog li nws yog "tom qab qhov tseeb"
Kho Khoos Phis Tawj Khoos Phis Tawj: 13 Kauj Ruam
Kho Khoos Phis Tawj Khoos Phis Tawj: Cov lus qhia no yuav coj koj los ntawm kev kuaj mob thiab tej zaum yuav kho tau ntawm USB keyboard. Nyob rau niaj hnub no pov tseg tib neeg, peb zoo li khiav tawm thiab yuav cov keyboard pheej yig $ 15 los hloov peb cov keyboard zoo yav dhau los. Qhov no zoo li yog ib ntus
Hloov tawg DC Power Jack ntawm Koj Lub Khoos Phis Tawj Khoos Phis Tawj (Hloov Kho): 12 Kauj Ruam
Hloov tawg DC Power Jack ntawm Koj Lub Khoos Phis Tawj Khoos Phis Tawj (Hloov Kho): OK, Kuv tau coj kuv cov menyuam khiav ncig kuv chav thiab ua rau kuv lub laptop lub hwj chim txuas. Tom qab ntawd DC lub zog fais fab tau puas lawm. Kuv yuav tsum nco ntsoov nias lub nkaus kom them kuv lub laptop. Kuv mus txog qhov kuv txwv. Kuv yuav luag ntuav kuv lub computer tawm ntawm
Kho Khoos Phis Tawj Khoos Phis Tawj Hard Hard Ware Problem (system Disk Failure and Broken PSU and Missing/corrupt Files): 4 Kauj Ruam
Kho Khoos Phis Tawj Khoos Phis Tawj Khoos phis tawj nyuaj (System Disk Failure and Broken PSU and Missing/corrupt Files): Cov lus qhia no tsis tau ua tiav, kuv yuav ntxiv cov ntaub ntawv ntau ntxiv thaum twg kuv tau txais CHANCE yog tias koj xav tau kev pab nrog kho lub computer lossis yog tias koj muaj lus nug dab tsi xav hu rau kuv " Hauv cov lus qhia no kuv yuav qhia koj yuav kho kho com com yooj yim li cas
Hloov Kho Lub Hwj Chim Khoos Phis Tawj rau lub Hloov Pauv Hloov Pauv Sab Nraud Cov Khoom Siv Hluav Taws Xob: 3 Kauj Ruam
Hloov Kho Lub Tshuab Hluav Taws Xob rau lub Hloov Pauv Hloov Pauv Sab Nraud Cov Khoom Siv Hluav Taws Xob: Tus nqi niaj hnub no rau chav kuaj hluav taws xob zoo tshaj $ 180. Tab sis nws hloov tawm lub tshuab computer tsis siv lub zog yog qhov zoo rau txoj haujlwm hloov chaw. Nrog rau cov nqi no koj tsuas yog $ 25 thiab muaj kev tiv thaiv luv luv, tiv thaiv cua sov, tiv thaiv ntau dhau thiab