Cov txheej txheem:
- Kauj Ruam 1: Nws Ua Dab Tsi?
- Kauj Ruam 2: HW thiab SW Pawg
- Kauj Ruam 3: Lub Thawv Tswj: SW Teeb
- Kauj Ruam 4: Txuas: Cov Cables
- Kauj Ruam 5: Txuas: Arduino, CT Sensor, NFC Sensor
- Kauj Ruam 6: Txuas: Raspberry Pi
- Kauj Ruam 7: Txuas Txhua Yam Ua Ke
- Kauj Ruam 8: Teeb Web App
- Kauj Ruam 9: Khiav thiab Xeem
- Kauj Ruam 10: Qhov Xaus, Cov Teeb Meem thiab Cov Khoom Taw Qhia
Video: Nabito [Qhib Qhov V2]: Ntse Meter rau EV Them: 10 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Nov yog qhov kev qhia thib ob rau Nabito [qhib qhov (socket)), thawj qhov tuaj yeem pom ntawm: Nabito [qhib qhov rooj] v1
Kuv teev cov laj thawj rau tsim txoj haujlwm no hauv kab ntawv blog no: EVs tsis muaj ntsiab lus rau cov neeg nyob hauv tsev
Nws yog dab tsi?
Nabito - lub qhov (socket) qhib yog IoT ntse ntsuas nrog ntsuas hluav taws xob, qhib/tawm qhov hloov pauv siab, NFC sensor, kev tso cai ntawm tus neeg siv, kev muaj peev xwm them nuj nqis thiab kev tswj hwm cov neeg siv.
Txoj haujlwm muaj ob ntu: 1. lub thawv tswj (IoT ntaus ntawv) 2. web app frontend/backend, ob qho tag nrho qhib-qhov.
1. Lub thawv tswj muaj cov khoom yooj yim-rau-tau online thiab tau tsim los ua qhov ntse thiab tseem pheej yig cov khoom siv hluav taws xob rau cov pej xeem thiab ntiag tug nres tsheb kom them nyiaj qeeb ntawm cov tsheb hluav taws xob. Nws khiav ntawm Raspberry Pi Zero W thiab Arduino Nano.
2. Lub vev xaib app khiav ntawm Ruby on Rails thiab muaj nyob raws li qhib qhov chaw ntawm Github: https://github.com/sysdist/nabito-server Kev sib txuas ntawm lub npov thiab lub vev xaib app tau ua tiav los ntawm MQTT raws tu qauv.
Lub hom phiaj ntawm txoj haujlwm yog txhawm rau txhim kho qhov qhib them lub network uas txhua tus tuaj yeem siv thiab siv lossis txuas ntxiv.
Lub thawv tswj muaj cov khoom yooj yim-rau-tau online thiab tau tsim los ua qhov ntse thiab tseem pheej yig cov khoom siv hluav taws xob rau cov pej xeem thiab ntiag tug qhov chaw nres tsheb kom them nyiaj qeeb ntawm cov tsheb hluav taws xob.
Nws khiav ntawm Raspberry Pi Zero W ib leeg-board computer (SCB). Tus nqi tag nrho ntawm lub thawv tswj yog ib puag ncig € 60.
Nabito - lub qhov (socket) qhib tam sim no tau tsim los them rau lub qhov (socket) zoo tib yam, hauv Tebchaws Europe txuas ntxiv nws yog 230V thiab 10 -13A, piv txwv li cca. 2.9kW nruam. Tab sis lub tswv yim siv rau txhua lub qhov (socket), Euro, Asmeskas lossis UK lossis lwm yam, cov phiaj xwm yav tom ntej ntawm txoj haujlwm yuav suav nrog 2 thiab 3 theem kev teeb tsa.
Qhia:
- Tib PhaseVoltage: 230 V
- ACMax. tam sim no: 13A
- Lub zog: 2.9 kW
- Loj: 240x200x90mm
- Kev sib txuas: RJ45 LAN txuas lossis WIFI
- Kev ua raws IP: IP55
Cov ntawv qhia hauv qab no tsis tiav, nws ploj qee qhov kab duab kab, qee cov kauj ruam sib dhos, thiab lwm yam), Kuv xav kom nws tawm sai li sai tau, yuav ua haujlwm txhim kho nws maj mam, yog li thov, yog tias phau ntawv qhia no tsis ua npog txhua yam koj xav paub lossis yog koj muaj lus nug, xa email rau kuv. Ua tsaug rau kev nkag siab.
Kauj Ruam 1: Nws Ua Dab Tsi?
Txoj haujlwm muaj ob ntu, lub thawv tswj lub cev uas yog IoT yam (tus neeg siv khoom) thiab muaj Daim Ntawv Thov Lub Vev Xaib uas tswj nws (server sab).
1. On/Off switchingWith a mains relay and a contactor nws tuaj yeem hloov lub qhov hluav taws xob qhov hluav taws xob rau/tawm raws li cov neeg siv cuam tshuam.
2. Kev ntsuas hluav taws xob
Lub thawv tswj ntsuas AC tam sim no thiab teev lub zog siv. Txuj kev ntsuas ua haujlwm. Kev ntsuas lub zog tau ua tiav rau ib tus neeg siv. Tam sim no tsuas muaj AC saib xyuas tam sim no, tsis muaj kev saib xyuas hluav taws xob ntawm qhov no.
3. Cov neeg siv pov thawj
Koj yuav tsum tsim cov neeg siv nyiaj rau cov neeg siv uas yuav siv lub qhov (socket)/s. Tus neeg siv tso cai los ntawm kev nyeem QR code lossis siv daim ntawv NFC. Lub vev xaib sib cuam tshuam rau tus neeg siv tso npe, nkag mus thiab siv lub thawv tswj lossis NFC lossis hloov lub thawv rau/tawm ncaj qha. Admin tuaj yeem pom zoo, tsis pom zoo cov neeg siv.
4. Kev them nqi
Raws li tus thawj tswj hwm lub qhov (socket) teeb tsa thiab tus nqi rau 1kWh cov nqi raug tsim rau ib tus neeg siv raws li lawv lub zog siv. Cov nuj nqis txhua hli yuav tsim tom qab kom yooj yim rau admin.
Kauj Ruam 2: HW thiab SW Pawg
HW pawg:
- Raspberry Pi Zero, 1pcs, € 11.32,
- cua sov, 1pcs, € 1.2,
- NFC sensor, 1pcs, € 3.93
- micro SD daim npav 16GB, 1pcs, € 9.4,
- Arduino Nano, 1pcs, € 1.74,
- CT sensor-YHDC 30A SCT013, 1pcs, € 4.28, https://www.aliexpress.com/item/KSOL-YHDC-30A-SCT013-0-100A-Non-invasive-AC-New-Sensor-Split-Core- Tam sim no-Hloov pauv-Tshiab/32768354127.html
- them lub xov tooj ntawm tes, 1pcs, € 5, tus nqi yog kwv yees, siv ib qho ntawm kuv lub qub charger uas tuaj nrog lub xov tooj
- Tsev AC contactor 25A TSIS, 1pcs, € 4.79,
- Mains relay, 1pcs, € 0.84,
- lub thawv yas txuas (S-box), 1pcs, € 5,
- Dupont txuas cov xov hlau rau cov hluav taws xob qis, 1pcs, € 2.29,
- IP54 230V Euro lub qhov (socket), 1pcs, € 2 yuav ntawm lub khw muag khoom kho vajtse hauv ib cheeb tsam
- qhov me me: 3.5mm jack poj niam, 10uF capacitor, 2x 10kOhm resistors, LED diodes, cables, 1pcs, € 3, yuav ntawm lub khw hluav taws xob hauv ib cheeb tsam
- Wago 2-tus neeg tsav dav hlau thaiv, 3pcs, € 2, yuav ntawm lub khw hluav taws xob hauv ib cheeb tsam
- Wago 5-tus neeg tsav dav hlau thaiv, 2pcs, € 2, yuav ntawm lub khw hluav taws xob hauv ib cheeb tsam
- USB mini-to-micro cable (Arduino-> RPi), 1pcs, € 1.8, yuav tom khw hauv computer hauv khw
Tus nqi HW tag nrho: € 60.59 ($ 70.40)
SW pawg:
-
Tswj lub thawv pawg:
- Raspbian Linux (Ubuntu raws), qhib qhov chaw, $ 0 (txhua lub yeeb koob rau Linus Torvalds + 20k cov neeg uas ua haujlwm ntawm Linux ntsiav + cov neeg zoo tom qab Raspberry Pi thiab Raspbian Linux duab)
- Node-RED, qhib qhov chaw, $ 0 (cov neeg zoo los ntawm IBM uas yog tom qab kev txhim kho ntawm Node-RED)
-
Web app pawg:
- Nabito-server app:
- Ruby on Rails (RVM, Ruby, Gems), qhib qhov chaw, $ 0
- Postgres DB, qhib qhov chaw, $ 0
- Git, qhib qhov chaw (ntau lub yeeb koob rau Linus), $ 0
- MQTT raws tu qauv
Tag nrho cov nqi pawg SW: € 0 (*THUMBS_UP*)
Kauj Ruam 3: Lub Thawv Tswj: SW Teeb
- Nruab RASPBIAN STRETCH LITE (peb tsis xav tau lub desktop version) ntawm Raspberry Pi Zero Whttps://www.raspberrypi.org/downloads/raspbian/
- teeb tsa Raspbian kom siv koj lub tsev Wifi hauv tsev
- Nruab Node-RED ntawm Raspbianhttps://nodered.org/docs/hardware/raspberrypi
- Luam Nabito Node-RED ntws thiab xa tawm ithttps://github.com/sysdist/nabito-client-node-red
-
Kho kom raug default Node-RED settings.js thiab ntxiv qhov no rau functionGlobalContext: relay: "OFF",
box_status: "OFFLINE"
- Kho koj tus Node-RED MQTT brokers rau koj nyiam Nabito-server teeb tsa (lossis mus rau
- Pib dua Node-RED
- Txheeb xyuas MQTT kev sib txuas hauv Node-RED
Arduino ib feem:
- Rub tawm, sau thiab xa cov duab no mus rau Arduino Nanohttps://github.com/sysdist/nabito-arduino-nano.git
- Ua tiav!;-)
Kauj Ruam 4: Txuas: Cov Cables
AC cov kab hluav taws xob txuas hluav taws xob muab rau:
- AC contactor
- Lub ntsiab relay
- Txawb xov tooj uas siv zog Raspberry Pi thiab Arduino
Cov zis los ntawm AC contactor mus rau lub qhov (socket). Lub ntiaj teb tiv thaiv tau txuas nrog los ntawm cov kab hluav taws xob txuas mus rau lub qhov hluav taws xob.
Raspberry Pi tswj hwm lub xov hluav taws xob xa hluav taws xob thiab kev xa xov hluav taws xob tig tig rau/tawm ntawm tus contactor.
Kauj Ruam 5: Txuas: Arduino, CT Sensor, NFC Sensor
Hlau Arduino nrog CT sensor raws li phau ntawv qhia hauv qab no:
learn.openenergymonitor.org/electricity-mo…
Koj xav tau:
- Arduino (koj tuaj yeem siv ib qho Arduino: Uno, Nano, Mega, qhov twg koj nyiam, tsuav nws muaj ADC)
- 10uF capacitor2x 10kOhm resistors
- 3.5mm poj niam lub qhov (socket)
- CT sensor 30A/1V
- PN532 sensor (RFID/NFC)
- PCB me me
- cov xov hlau me rau kev sib txuas
Kuv soldered Arduino Nano, lub capacitor, resistors thiab tus poj niam txuas rau PCB raws li phau ntawv qhia saum toj no los ntawm openenergymonitor.org site.
NFC sensor txuas nrog Arduino Nano los ntawm SPI (pins ntawm Arduino Nano: 10, 11, 12 thiab 13).
Arduino txuas nrog Raspberry Pi ntawm micro USB.
Kauj Ruam 6: Txuas: Raspberry Pi
Txuas Arduino mus rau Raspberry Pi ntawm USB chaw nres nkoj, txoj hauv kev no nws ua haujlwm raws li chaw nres nkoj txuas thiab lub hwj chim rau Arduino, nws yuav tsum qhia rau /dev /ttyUSB0.
Cov xov hluav taws xob txuas tau txuas nrog tus pin 2 (5V), 6 (GND), 12 (GPIO).
Pem hauv ntej-vaj huam sib luag LEDs txuas nrog tus pin 14 (GND), 16 (GPIO), 18 (GPIO)
Kauj Ruam 7: Txuas Txhua Yam Ua Ke
- Clamp CT sensor ntawm txoj kab hluav taws xob tawm ntawm lub xov hluav taws xob txuas
- Txuas lub zog siv rau Raspberry Pi
- Ntsia hlau nyob rau hauv lub thawv sib txuas lub hau
- Thiab koj tau ua tiav xov/sib dhos!
Kauj Ruam 8: Teeb Web App
Koj xav tau Linux server los khiav lub vev xaib app. Koj tuaj yeem yog:
- khiav cov neeg rau zaub mov hauv zos ntawm koj lub PC/phau ntawv lossis koj lub Linux server hauv zos thiab taw tes rau lub thawv tswj [es] rau koj qhov kev teeb tsa hauv zos
- tsim koj tus kheej sau thiab khiav lub web app ua lub vev xaib
- siv https://Nabito.org (nws dawb) los tswj koj lub thawv tswj
Nabito-server app khiav ntawm Ruby on Rails thiab qhib qhov chaw:
Rau lub vev xaib app teeb tsa thiab teeb tsa xa mus rau qhov haujlwm README.md ntawm Github.
Kauj Ruam 9: Khiav thiab Xeem
Rau teeb tsa hauv zos:
- Tso Nabito-server app ntawm koj lub PC/phau ntawv hauv zos
- Teeb tsa mosquitto MQTT broker ntawm koj lub PC (lossis lwm yam MQTT broker ntawm koj nyiam)
- Txuas lub Nabito lub thawv tswj rau koj lub WiFi hauv zos
- SSH rau hauv lub thawv thiab coj nws mus siv koj lub PC MQTT broker
- pib cov ntsia nabito-server app
- txuas qhov hluav taws xob me me (piv txwv li lub teeb rooj) rau lub qhov hluav taws xob
- siv lub vev xaib app los pib/nres lub qhov ntsaws ID 1 txhawm rau txheeb xyuas qhov tseeb thiab tag nrho kev siv zog
- siv NFC lossis (yog tias koj muaj ib qho) los hloov lub qhov (socket)
- txheeb xyuas daim nqi rau kev siv lub qhov (socket) kawg
- Tom qab kev sim ua tiav, pib tsim koj tus kheej EV them nyiaj network
- Nyiaj tau;-)
Kauj Ruam 10: Qhov Xaus, Cov Teeb Meem thiab Cov Khoom Taw Qhia
Hauv qhov version ntawm Nabito tswj lub thawv Kuv tuaj yeem txiav tawm lub thawv tswj thiab lub vev xaib app qhov tseem ceeb tsim IoT (Internet ntawm Yam) project nrog ob qho tib si ntawm lub cev uas ua qee yam muaj txiaj ntsig thiab rov qab-kawg app thiab kev pabcuam uas tswj hwm yam khoom.
Tus nqi ntawm lub npov tau nce me ntsis los ntawm qhov kawg version (v1 ua ntej: € 50, v2 tam sim no: € 60), vim tias kuv ntxiv tus tiv tauj rau lub hom phiaj kev nyab xeeb kom ua haujlwm siab dua amps thiab RPi kuj kim dua me ntsis tom qab ntawv OrangePi.
MQTT yog siv los ua tus txheej txheem tseem ceeb rau kev khaws cov ntaub ntawv thiab tswj lub thawv.
Txij li qhov kawg ntawm Nabito, kuv muaj peev xwm daws tau feem ntau ntawm cov teeb meem (Wifi, tus tiv tauj, lub tshuab ua kom sov dhau, lub qhov hluav taws xob sib txuas, thiab lwm yam). Txawm li cas los xij daim ntawv teev cov teeb meem tam sim no thiab cov hauv kev loj hlob ntxiv:
Teeb meem:
- Raspberry Pi Zero W yog pawg thawj coj zoo heev, nrog Wifi thiab Bluetooth thiab 2 GPIO pins, tab sis tseem lub tshuab ua kom sov txog 34C thaum tsis ua haujlwm uas tuaj yeem muaj teeb meem hauv huab cua sov thiab lub caij ntuj sov nrog tshav ntuj ncaj qha
- Khiav Linux hauv lub thawv tswj yog qhov zoo rau kev tsim qauv, tab sis cov qauv tsim khoom ntawm cov khoom no yuav tsum zaum ua haujlwm ntawm pawg thawj coj uas muaj peev xwm ntawm TLS/SSL (nti ESP32 zoo li muaj kev cia siab)
Cov cib fim:
- tsim cov qauv rau qhov siab dua tam sim no (ua haujlwm zoo ib yam, tab sis siv cov neeg sib txuas nrog cov amps siab dua thiab sib txawv CT cov cim/lub zog saib xyuas cov qauv)
- tsim cov qauv rau 2 thiab 3 theem
- sib koom ua ke saib xyuas lub zog (zoo li Peacefair PZEM-004T Lub zog saib xyuas)
- txav mus rau ESP32 kom muaj zog ntxiv thiab ua kom sov sov
- koom ua ke rau AWS IOT huab thiab siv cov ntawv pov thawj rau kev teeb tsa kev nyab xeeb zoo tshaj (tam sim no tsuas yog MQTT tus neeg siv/tus lej siv)
- tswj cov ntawv pov thawj thiab MQTT daim ntawv pov thawj los ntawm lub vev xaib app (tam sim no qhov no tau teeb tsa tus kheej dhau los tom qab kawg)
- ntxiv me me LCD vaj huam sib luag los nthuav qhia ncaj qha ntawm Nabito lub thawv tswj
- ntxiv tus lej lej los muab khawm sib cuam tshuam nrog lub thawv (tus lej muaj peev xwm rau kev nyab xeeb ntxiv)
- suav nrog tus ntsuas kub ntxiv los soj ntsuam qhov kub ib puag ncig ntawm lub thawv
Yog tias koj nyiam txoj haujlwm no lossis muaj lus nug/lus pom thov hu rau kuv ntawm [email protected]
Kev faib tawm lub vev xaib: www.sysdist.com
Koj tuaj yeem ua raws kuv ntawm: twitter.com/sysdistfb.com/sysdist
Muaj ib hnub zoo thiab ua kev zoo siab!-Stefan
Pom zoo:
Phau Ntawv Tsis Txaus Ntseeg Nrog Qhib Qhov Qhib: 11 Kauj Ruam (nrog Duab)
Phau Ntawv Tsis Txaus Ntseeg Nrog Xauv Lub Pob Xauv: Thaum nws los txog rau zais peb yam tsis pub lwm tus paub. Peb ib txwm zais hauv lub raj mis lossis hauv lub thawv uas zoo.! xav hauv qhov ntawd hauv qhov kev qhia no kuv tab tom qhia h
Qhov 'Sup - Mouse rau Cov Neeg Nrog Quadriplegia - Tus Nqi Qis thiab Qhib Qhov Chaw: 12 Cov Kauj Ruam (nrog Duab)
Qhov 'Sup - Mouse rau Cov Neeg Nrog Quadriplegia - Tus Nqi Qis thiab Qhib Qhov Chaw: Thaum lub caij nplooj ntoo hlav xyoo 2017, kuv tus phooj ywg zoo tshaj tsev neeg nug kuv yog tias kuv xav ya mus rau Denver thiab pab lawv nrog txoj haujlwm. Lawv muaj ib tus phooj ywg, Allen, uas muaj quadriplegia vim qhov xwm txheej ntawm kev caij tsheb kauj vab roob. Felix (kuv tus phooj ywg) thiab kuv tau ua qee qhov nrawm dua
Tig Koj Lub Qhov Rooj Qhov Rooj Mus Rau Hauv Qhov Rooj Ntse Nrog Nrog IFTTT: 8 Kauj Ruam
Tig Koj Lub Qhov Rooj Qhov Rooj Mus Rau Hauv Lub Ntsej Muag Qhov Rooj Nrog IFTTT: Lub WiFi Qhov Rooj Tswb tig koj lub qhov rooj uas twb muaj lawm mus rau hauv lub qhov rooj ntse. https://www.fireflyelectronix.com/product/wifidoor
Tig Koj Lub Qhov Rooj Hauv Qhov Rooj Mus Rau Hauv Qhov Rooj Ntse Nrog Lub Tsev Pabcuam: 6 Kauj Ruam
Tig Koj Lub Qhov Rooj Qhov Rooj Mus Rau Hauv Qhov Rooj Ntse Nrog Tus Pab Hauv Tsev: Hloov koj lub qhov rooj uas twb muaj lawm mus rau hauv lub qhov rooj ntse. Tau txais kev ceeb toom rau koj lub xov tooj lossis ua ke nrog koj lub koob yees duab lub qhov rooj uas twb muaj lawm kom tau txais daim duab lossis video ceeb toom txhua lub sijhawm ib tus neeg hu koj lub tswb
Sib Nqus Ntse Xauv Nrog Qhov Qhib Tsis Paub, IR Sensor, & Web App: 7 Kauj Ruam (nrog Duab)
Sib Nqus Ntse Xauv Nrog Lub Pob Ntseg, IR Sensor, & Lub Vev Xaib App: Yog tias koj nyiam txoj haujlwm no thov ua raws kuv ntawm Instagram thiab YouTube Hauv qhov haujlwm no kuv yuav tsim lub xauv sib nqus rau kuv lub chaw haujlwm hauv tsev, uas qhib yog tias koj paub secret khob. Huag … thiab nws yuav muaj qee qhov ntxiv dag zog nws lub tes tsho ib yam nkaus