ESP8266用於控制網頁RGB顏色的模擬電壓| ADS1115 ADC,Websockets,Arduino



•NextPCB為PCB和PCB組裝訂單提供10%的折扣:https://nextpcb.com/activity_thermometer?code=ACROBOTIC ==========•您的支持可以幫助我更頻繁地發布視頻:https:// www.patreon.com/acrobotic https://www.paypal.me/acrobotic https://buymeacoff.ee/acrobotic BTC:1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM ===========•在以下位置找到我:https:// twitter .com / acrobotic https://facebook.com/acrobotic https://instagram.com/acrobotic ==========•我的商店:https://acrobotic.com/shop https:// amazon .com / shops / acrobotic ==========•說明:在此視頻中,我介紹了構建設備的過程,該設備使我可以將3種不同的模擬電壓轉換為相應的紅色,綠色和綠色。網頁背景上顯示的藍色(RGB)顏色。 我使用ESP8266通過i2c連接到ADS1115 4通道模數轉換器,將來自3個電位器的模擬電壓轉換為16位數字測量值。 ESP8266運行一個提供頁面的Web伺服器,並創建與該頁面的WebSocket連接。 然後,ESP8266將縮放後的ADS1115值作為服務於Web的網頁的一部分發送給Web客戶端,這些值使用JavaScript實時設置頁面背景的顏色! ==========•相關視頻:使用Arduino的ESP8266入門:https://youtu.be/-P7RD-DWVuA使用Arduino的ESP8266 WeMos入門:https://youtu.be / GQIT_NMhgFw Websockets入門:https://youtu.be/ROeT-gyYZfw =========•項目部分:ESP8266的ACROBOTIC WeMos D1開發板:https://acrobotic.com/products/ acr-00017 https://amzn.to/2K2TM2G(附屬)ACROBOTIC ADS1115模數轉換器板:https://amzn.to/2Vmo04e(附屬)==========•項目教程:WeMos ESP8266開發板入門的詳細指南:https://learn.acrobotic.com/tutorials/post/wemos-d1-mini-esp8266-getting-started =========•項目代碼:Arduino IDE的固件:https://github.com/acrobotic/Ai_Demos_ESP8266/tree/master/webserver_rgb_websockets =========•贊助商:任何PCB和PCB組裝訂單可享受10%的折扣:https: //www.nextpcb.com/activity_thermometer?code=ACROBOTIC $ 0 for PCB Prototype(5-10pcs,1 or 2 layer):https:/ /www.nextpcb.com/?code=ACROBOTIC了解有關PCB組裝的更多信息:https://www.nextpcb.com/pcb-assembly-capabilities?code=ACROBOTIC每天登錄您​​的帳戶即可獲得積分並獲得打折的PCB和PCBA訂單! ==========•音樂:流行聲音(https://epidemicsound.com)。 標準YouTube許可。 NoCopyrightSounds音軌:電光-象徵主義 [NCS Release]
觀看:youtu.be / __ CRWE-L45k免費下載/流:http://ncs.io/symbolism曲目:Electro-Light-Symbolism [NCS Release]
觀看:youtu.be/__CRWE-L45k免費下載/流:http://ncs.io/symbolism ==========#ESP32 #Arduino #Tutorial。

8 comments
  1. Hello I want to build a counter with the parts below. The ToF sensor detects when a person pass by going in the room and will count up by "1". when that one person exit the room the ToF sensor will detect and count back down to "0" . count<1 = light off. Count>0 = light on. The node sends this command to my home assistant. I am more of a self taught mechanical engineer. Can you help with this? Shannondalebreaux@gmail.com
    KeeYees 3pcs ESP8266 NodeMCU CP2102 ESP-12E WiFi
    KNACRO
    KNACRO GY-530 VL53LOX Laser

  2. that was a nice one cause of giving a solution for the limitations of esp8266 for one analog pin,
    but there is another way around this problem that i want to share i hope it can be useful for some cases

    you can make a little script and circuit change to get the data without using that module and its just associating io pins with 2n222 to activate the module you want to read the data from with voltage it needs then read the data and put it in array then next sensor for example in one second you can at least get data from 3 sensors or any analog thing, this is not a perfect idea cause yours is better for starters and specially when some sensors need to warm up to get the correct data but still the idea lives and any one can make it happend

    thank cisco for another amazing tutorial

Comments are closed.