See on YouTube
Related Posts
![](https://i-tdi.com/wp-content/uploads/2024/03/ESP32-Pinout.webp)
10.ESP32 Pinout Reference
One of the advantages of the ESP32 is that it has a lot more GPIOs than the ESP8266. You won’t…
![](https://i-tdi.com/wp-content/uploads/2024/03/messageImage_1710687726097.jpg)
27.Turning on LED Lights
ESP32 is a low cost microcontroller device with wifi and bluetooth module integrated into the package. This chip was originally made…
![](https://i-tdi.com/wp-content/uploads/2024/03/yellow-LEDs-with-different-resistor-values.png)
4.คำนวณหาค่า R ตัวต้านทาน เพื่อใช้กับหลอด LED ยังไง ?
ไดโอดเปล่งแสง (Light Emitting Diode) นิยมเรียกสั้น ๆ ว่า แอลอีดี (LED) คืออุปกรณ์ไฟฟ้าที่จะเปล่งแสงออกมาเมื่อมีกระแสไฟฟ้าไหลผ่านตัวมัน แต่กระแสไฟฟ้าที่ไหลผ่านนั้น ก็จะต้องมีค่าไม่มากจนเกินไป ไม่เช่นนั้นหลอด LED ก็จะขาดและเสียหายได้ ตัวต้านทาน (Resistor) จึงเข้ามามีบทบาทเข้ามาเกี่ยวข้องในวงจรที่มี LED รวมทั้งวงจรอื่นทั่วไป ตัวต้านทานมีหน้าที่จำกัดปริมาณกระแสไฟฟ้าและแรงดันไฟฟ้าตกคร่อมอุปกรณ์อื่น ๆ ที่ต่อเข้ากับตัวมันในวงจร การคำนวณค่าความต้านทานจึงเป็นสิ่งที่จำเป็นเป็นอย่างมาก…