RGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mm

RGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mm
RGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mmRGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mm
รหัสสินค้า A937
หมวดหมู่ เซนเซอร์แสงและการมองเห็น
ราคา 28.00 บาท
สถานะสินค้า พร้อมส่ง
จำนวน
ชิ้น
หยิบลงตะกร้า
บัตรประชาชน
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

RGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mm

โมดูลไฟ LED 3 สี RGB ขนาด 10mm สามารถเขียนโปรแกรมให้ผสมสีได้ทั้งหมด 256 ระดับ แสดงสีได้ 256x256x256 = 16 ล้าน shade


ตัวอย่างการใช้งาน  RGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mm

  • R -> 9
  • G -> 10
  • B -> 11
  • V -> 5V
/*

        * Code for cross-fading 3 LEDs, red, green and blue (RGB) 

        * To create fades, you need to do two things: 

        * 1. Describe the colors you want to be displayed

        * 2. List the order you want them to fade in

        *

        * DESCRIBING A COLOR:

        * A color is just an array of three percentages, 0-100, 

        * controlling the red, green and blue LEDs

        *

        * Red is the red LED at full, blue and green off

        * int red = { 100, 0, 0 }

        * Dim white is all three LEDs at 30%

        * int dimWhite = {30, 30, 30}

        * etc.

        *

        * Some common colors are provided below, or make your own

        * 

        * LISTING THE ORDER:

        * In the main part of the program, you need to list the order 

        * you want to colors to appear in, e.g.

        * crossFade(red);

        * crossFade(green);

        * crossFade(blue);

        *

        * Those colors will appear in that order, fading out of 

        * one color and into the next 

        *

        * In addition, there are 5 optional settings you can adjust:

        * 1. The initial color is set to black (so the first color fades in), but 

        * you can set the initial color to be any other color

        * 2. The internal loop runs for 1020 interations; the 'wait' variable

        * sets the approximate duration of a single crossfade. In theory, 

        * a 'wait' of 10 ms should make a crossFade of ~10 seconds. In 

        * practice, the other functions the code is performing slow this 

        * down to ~11 seconds on my board. YMMV.

        * 3. If 'repeat' is set to 0, the program will loop indefinitely.

        * if it is set to a number, it will loop that number of times,

        * then stop on the last color in the sequence. (Set 'return' to 1, 

        * and make the last color black if you want it to fade out at the end.)

        * 4. There is an optional 'hold' variable, which pasues the 

        * program for 'hold' milliseconds when a color is complete, 

        * but before the next color starts.

        * 5. Set the DEBUG flag to 1 if you want debugging output to be

        * sent to the serial monitor.

        *

        * The internals of the program aren't complicated, but they

        * are a little fussy -- the inner workings are explained 

        * below the main loop.

        *

        * April 2007, Clay Shirky <clay.shirky@nyu.edu>

        */

// Output

int redPin = 9; // Red LED, connected to digital pin 9

int grnPin = 10; // Green LED, connected to digital pin 10

int bluPin = 11; // Blue LED, connected to digital pin 11

// Color arrays

int black[3] = { 0, 0, 0 };

int white[3] = { 100, 100, 100 };

int red[3] = { 100, 0, 0 };

int green[3] = { 0, 100, 0 };

int blue[3] = { 0, 0, 100 };

int yellow[3] = { 40, 95, 0 };

int dimWhite[3] = { 30, 30, 30 };

// etc.

// Set initial color

int redVal = black[0];

int grnVal = black[1];

int bluVal = black[2];

int wait = 10; // 10ms internal crossFade delay; increase for slower fades

int hold = 0; // Optional hold when a color is complete, before the next crossFade

int DEBUG = 1; // DEBUG counter; if set to 1, will write values back via serial

int loopCount = 60; // How often should DEBUG report?

int repeat = 3; // How many times should we loop before stopping? (0 for no stop)

int j = 0; // Loop counter for repeat

// Initialize color variables

int prevR = redVal;

int prevG = grnVal;

int prevB = bluVal;

// Set up the LED outputs

void setup()

{

pinMode(redPin, OUTPUT); // sets the pins as output

pinMode(grnPin, OUTPUT);

pinMode(bluPin, OUTPUT);

if (DEBUG) { // If we want to see values for debugging...

Serial.begin(9600); // ...set up the serial ouput 

}

}

// Main program: list the order of crossfades

void loop()

{

crossFade(red);

crossFade(green);

crossFade(blue);

crossFade(yellow);

if (repeat) { // Do we loop a finite number of times?

j += 1;

if (j >= repeat) { // Are we there yet?

exit(j); // If so, stop.

}

}

}

/* BELOW THIS LINE IS THE MATH -- YOU SHOULDN'T NEED TO CHANGE THIS FOR THE BASICS

        * 

        * The program works like this:

        * Imagine a crossfade that moves the red LED from 0-10, 

        * the green from 0-5, and the blue from 10 to 7, in

        * ten steps.

        * We'd want to count the 10 steps and increase or 

        * decrease color values in evenly stepped increments.

        * Imagine a + indicates raising a value by 1, and a -

        * equals lowering it. Our 10 step fade would look like:

        * 

        * 1 2 3 4 5 6 7 8 9 10

        * R + + + + + + + + + +

        * G + + + + +

        * B - - -

        * 

        * The red rises from 0 to 10 in ten steps, the green from 

        * 0-5 in 5 steps, and the blue falls from 10 to 7 in three steps.

        * 

        * In the real program, the color percentages are converted to 

        * 0-255 values, and there are 1020 steps (255*4).

        * 

        * To figure out how big a step there should be between one up- or

        * down-tick of one of the LED values, we call calculateStep(), 

        * which calculates the absolute gap between the start and end values, 

        * and then divides that gap by 1020 to determine the size of the step 

        * between adjustments in the value.

        */

int calculateStep(int prevValue, int endValue) {

int step = endValue - prevValue; // What's the overall gap?

if (step) { // If its non-zero, 

step = 1020/step; // divide by 1020

}

return step;

}

/* The next function is calculateVal. When the loop value, i,

        * reaches the step size appropriate for one of the

        * colors, it increases or decreases the value of that color by 1. 

        * (R, G, and B are each calculated separately.)

        */

int calculateVal(int step, int val, int i) {

if ((step) && i % step == 0) { // If step is non-zero and its time to change a value,

if (step > 0) { // increment the value if step is positive...

val += 1;

}

else if (step < 0) { // ...or decrement it if step is negative

val -= 1;

}

}

// Defensive driving: make sure val stays in the range 0-255

if (val > 255) {

val = 255;

}

else if (val < 0) {

val = 0;

}

return val;

}

/* crossFade() converts the percentage colors to a 

        * 0-255 range, then loops 1020 times, checking to see if 

        * the value needs to be updated each time, then writing

        * the color values to the correct pins.

        */

void crossFade(int color[3]) {

// Convert to 0-255

int R = (color[0] * 255) / 100;

int G = (color[1] * 255) / 100;

int B = (color[2] * 255) / 100;

int stepR = calculateStep(prevR, R);

int stepG = calculateStep(prevG, G);

int stepB = calculateStep(prevB, B);

for (int i = 0; i <= 1020; i++) {

redVal = calculateVal(stepR, redVal, i);

grnVal = calculateVal(stepG, grnVal, i);

bluVal = calculateVal(stepB, bluVal, i);

analogWrite(redPin, redVal); // Write current values to LED pins

analogWrite(grnPin, grnVal);

analogWrite(bluPin, bluVal);

delay(wait); // Pause for 'wait' milliseconds before resuming the loop

if (DEBUG) { // If we want serial output, print it at the 

if (i == 0 or i % loopCount == 0) { // beginning, and every loopCount times

Serial.print("Loop/RGB: #");

Serial.print(i);

Serial.print(" | ");

Serial.print(redVal);

Serial.print(" / ");

Serial.print(grnVal);

Serial.print(" / ");

Serial.println(bluVal);

}

DEBUG += 1;

}

}

// Update current values for next loop

prevR = redVal;

prevG = grnVal;

prevB = bluVal;

delay(hold); // Pause for optional 'wait' milliseconds before resuming the loop

}

ข้อมูลเพิ่มเติม RGB LED 10mm Module โมดูล LED RGB 3 สีขนาด 10mm

 

วิธีการชำระเงิน

ขาย Arduino ,ซื้อ Arduino มั่นใจ AllNewStep


     ซื้อ Arduino กับ AllNewStep ขาย Arduino ตลอด 24 ชั่วโมง มั่นใจได้ 100% เราจัดส่งสินค้าทางไปรษณีย์ แบบ EMS / Best Express
แพ็คสินค้าอย่างดีปลอดภัย ส่งถึงมือลูกค้าอย่างแน่นอน 

              • ถ้าทำรายการสั่งซื้อสำเร็จ = มีของพร้อมส่ง ทางร้านจองสินค้าไว้ให้ 3 วัน

จัดส่ง วันอาทิตย์-วันศุกร์

ส่งแบบ EMS ได้รับ 1-2 วัน นับจากวันจัดส่ง

วันจันทร์-ศุกร์ แจ้งโอนก่อน 14.00 น. จัดส่งวันนั้น

แจ้งโอนวันศุกร์ หลัง 14.00 น. และวันเสาร์ จัดส่งวันอาทิตย์

แจ้งโอนวันอาทิตย์ จัดส่งวันจันทร์

ขาย Arduino การตรวจสอบเลขแทรคสินค้า Arduino

  • เมื่อจัดส่งแล้วทางร้านแจ้งเลขแทรคไปให้ทาง E-Mail ที่แจ้งไว้ตอนทำรายการสั่งซื้อ


ขาย Arduino ใบกำกับภาษี


ขาย Arduino สินค้าทุกชิ้นที่ซื้อกับทางร้าน AllNewStep

สามารถนำไปเบิกกับ หน่วยงานราชการ บริษัท ห้างร้าน ได้อย่างถูกต้อง จึงซื้อได้อย่างมั่นใจ


กรณีที่ไม่ได้นำไปใช้เบิก 
สามารถติ๊กออก ข้ามช่องนี้ไม่ต้องกรอกได้ ทางร้านออกเป็น ใบเสร็จรับเงิน / ใบกำกับภาษีฉบับย่อให้ แนบไปพร้อมกับสินค้า


ขาย Arduino ใบกำกับภาษีเต็มรูปแบบ

สำคัญมาก "ข้อมูลใบกำกับภาษีไม่สามารถเปลี่ยนแปลงหรือแก้ไขได้หลังการสั่งซื้อสินค้า"

ขาย Arduino ทางร้าน AllNewStep ออกใบกำกับภาษี/ใบเสร็จรับเงิน ลงวันที่ ที่แจ้งชำระสินค้าให้ลูกค้าทุกครั้งที่ทำรายการสั่งซื้อโดยแนบไปพร้อมสินค้า


ขาย Arduino ข้อมูลสำหรับออกใบกำกับภาษี 

ขาย Arduino โปรดตรวจสอบข้อมูลเหล่านี้ให้ชัดเจน ก่อนกรอกข้อมูล เพราะใบกำกับภาษีไม่สามารถเปลี่ยนแปลง หรือแก้ไขได้หลังซื้อสินค้า

  1. ชื่อสถานประกอบการเช่นสถานศึกษาบริษัทห้างร้าน
  2. ที่อยู่สถานประกอบการ
  3. เลขที่ประจำตัวผู้เสียภาษี
  4. สาขา

*** สำคัญมาก :: ข้อมูลจะต้องมีครบทั้ง 4 อย่างนี้ ถ้าไม่ครบ ทางร้านจำเป็นต้องออกใบกำกับภาษีอย่างย่อ เนื่องจากข้อมูลไม่ครบ


ขาย Arduino วิธีการชำระเงิน

    ชำระเงินผ่านธนาคาร เรามีหลายธนาคารให้เลือก ขาย Arduino เพื่ออำนวยความสะดวกให้กับลูกค้า

การทำธุรกรรมของธนาคารต่างสาขาหรือต่างธนาคาร จะมีค่าธรรมเนียมเพิ่ม แล้วแต่ธนาคาร กรณีมีค่าธรรมเนียมรายได้เป็นของธนาคาร ทางร้านไม่ได้ออกค่าธรรมเนียมให้

ถ้าทำธุรกรรมภายในธนาคารเดียวกัน จะเสียค่าธรรมเนียมน้อยที่สุดหรือไม่เสียเลย บางธนาคารจะไม่คิดค่าธรรมเนียมโดยจำกัดว่าฟรีได้กี่ครั้งใน 1 เดือน เช่นฟรีค่าธรรมเนียมเมื่อโอนในธนาคารเดียวกัน 5 ครั้ง/เดือน ผ่านทางตู้ ATM

ดังนั้น ควรเลือกโอนมาที่ธนาคารเดียวกัน จะเสียค่าธรรมเนียมน้อยที่สุดหรือไม่เสียค่าธรรมเนียมตามเงื่อนไขที่ธนาคารกำหนด

ขาย Arduino เมื่อชำระเงินผ่านธนาคารแล้ว 
กรุณาแจ้งที่หน้า แจ้งชำระเงิน https://www.allnewstep.com/informpayment
พร้อมแนบสลิป หรือภาพหน้าจอการโอนที่สำเร็จแล้ว ด้วยทุกครั้ง
เพื่อเป็นหลักฐาน และเก็บสลิปหลักฐานการโอนเงินไว้จนกว่าจะได้รับสินค้า

กรณีที่ธนาคารสลิปหมด หรือไม่มีสลิป สามารถแจ้งข้อความ รายละเอียดการโอนเงินได้ที่ เมนู ติดต่อ AllNewStep https://www.allnewstep.com/contactus ทางร้านจะดำเนินการตรวจสอบและรีบจัดส่งให้เร็วที่สุด

 

แนะนำจ่ายเงินผ่าน PromtPay ฟรีค่าธรรมเนียม หรือน้อยที่สุด Recomment 
สแกน QR Code นี่จ่ายได้เลย




ขาย Arduino AllNewStep มีอุปกรณ์สำหรับ Arduio ครบทุกอย่างที่อยากได้ จากทุกแห่งทั่วโลก ในราคาที่ถูกที่สุด  รับประกันคุณภาพ เสียเปลี่ยนตัวใหม่ให้ทันที ไม่ต้องรอ ไม่ต้องเสียค่าส่งสินค้ามาเคลม ขาย Arduino ตามรายละเอียดการรับประกันด้านล่างนี้

สินค้าทุกชิ้นมีรับประกัน 30 วัน ซื้อสินค้าจาก AllNewStep มั่นใจได้ รับประกันคุณภาพ ด้วยการมีประกันสินค้าที่ดีกว่าเราได้ตรวจเช็คและรับประกันสินค้าซื้อไปใช้ได้อย่างมั่นใจและสบายใจ เพื่อให้ลูกค้าถูกใจที่สุด 

ทั้ง นี้หากมีสินค้าที่ได้รับมีความผิดพลาดอันใด ที่อาจเกิดขึ้นได้  ไม่ว่าจะเป็นอุปกรณ์เสีย หรือความเสียหายระหว่างการส่ง โดยที่ลูกค้าไม่ได้เป็นคนกระทำ  AllNewStep รับประกันเปลี่ยนตัวใหม่ให้ทันที ภายใน 30 วันหลังจากได้รับสินค้า พร้อมออกค่าส่งสินค้าให้ ทั้งค่าส่งมา และค่าส่งกลับ ลูกค้าไม่ต้องรับภาระเรื่องค่าจัดส่ง โดยสามารถใช้กล่องเดิมส่งมาได้  โดยมีเงื่อนไขดังนี้

  • ขาย Arduino การซื้อสินค้า ถือว่าลูกค้ายินยอมและปฎิบัติตามเงื่อนไขและการรับประกันของทางร้านแล้ว กรณีไม่ตรงตามเงื่อนไข ทางร้านขอสงวนสิทธิ์ในการรับประกันสินค้า
  • ขาย Arduino คำแนะนำจากทางร้านเป็นเพียงข้อมูลบางส่วน อาจมีข้อมูลหรือเนื้อหาไม่ครบถ้วนทุกประเด็น ไม่สามารถใช้อ้างอิงได้ โปรดศึกษาข้อมูลเพิ่มเติมประกอบการพิจารณา
  • ขาย Arduino สินค้าอ้างอิงตามวงจรและสเปค ทางร้านรับประกันการทำงานถูกต้องทุกชิ้น
  • ขาย Arduino การสรีนสี/ข้อความ/สีของบอร์ด/อาจมีแต่ต่างบ้าง ไม่มีผลกับการใช้งาน ทางร้านขอสงวนสิทธิ์ในการรับประกันการสกรีน/สีของบอร์ด อาจมีความแต่ต่างบ้าง ซึ่งไม่มีผลกับการใช้งาน
  • การแจ้งรายละเอียดทาง sms ทางร้านอาจไม่ได้รับหรือตรวจสอบได้ล่าช้า เพื่อความรวดเร็วและไม่ผิดพลาด จึงขอยกเว้นช่องทาง sms
  • การสั่งซื้อจะสมบูรณ์เมื่อลูกค้าชำระเงินและได้รับใบเสร็จของทางร้านแล้ว ซึ่งสามารถนำมาใช้เป็นหลักฐานได้
  • สินค้า ต้องเขียนรายละเอียดปัญหาแนบมาด้วย ส่งมาพร้อมใบเสร็จรับเงินหรือสำเนาใบเสร็จรับเงิน จาก AllNewStep มาในกล่องด้วย เพื่อเป็นหลักฐาน สำคัญมาก กรณีที่ไม่มีหลักฐานใบเสร็จของทางร้าน ขอสงวนสิทธิ์เนื่องจากไม่ตรงตามเงื่อนไขการรับประกัน
  • สินค้าจะต้องเป็นความเสียหายที่เกิดจากตัวอุปกรณ์ ไม่ใช่ความเสียหายที่เกิดจากการใช้งานของตัวลูกค้าเอง เช่น อุปกรณ์ 3.3V แต่จ่ายไฟ 5V การจ่ายไฟเกินทำให้อุปกรณ์เสียหายได้
  • สินค้าต้องอยู่ในสภาพที่สมบูรณ์เช่น ไม่มีรอยไหม้ แตกหัก ไม่มีรอยงัดแงะ หรืออื่น ๆ
  • ความเสียหายที่เกิดขึ้นต้องไม่เกิดจากใช้งานผิดประเภท ดัดแปลง แก้ไข หรือใส่ไฟผิดขั้ว
  • อุปกรณ์ประเภทเซอร์เฟสเมาส์ SMD การบัดกรีมีความเสียงต่ออุปกรณ์เสียหาย ทางร้านขอยกเว้นการรับประกันอุปกรณ์ประเภทนี้
  • การรับประกันเฉพาะ hardware ไม่รวมการอัพเกรด software/firmware ของตัวอุปกรณ์
  • การรับประกัน จะพิจารณาจากข้อเท็จจริง  ขึ้นอยู่กับทาง AllNewStep 
  • การรับประกันเปลี่ยนอุปกรณ์ใหม่ AllNewStep รับประกันสินค้าทุกชิ้นที่ขายในร้าน โดยร้านเป็นผู้รับผิดชอบความเสียหายเอง
  • การรับประกัน นี้ อาจเป็นการเปลี่ยนสินค้าใหม่ หรือ คืนเงิน ขึ้นอยู่กับ AllNewStep พิจารณา ครอบคลุมทั้งตัวสินค้าและค่าจัดส่งทุกอย่าง ยกเว้นค่าใช้จ่ายอื่น ๆ นอกเหนือจากนี้ เช่น ค่าเสียเวลา ค่าปรับที่เกิดขึ้นทั้งหมด
  • ทางร้านมีสิทธิ์ยกเลิกหรือคืนเงินในรายการสั่งซื้อให้ลูกค้าได้
  • ถ้าสินค้าที่ส่งมามีปัญหาทั้งหมดทุกชิ้น AllNewStep จะแนบค่าส่งตอนที่ส่งมาคืนให้ในกล่อง และออกค่าส่งกลับส่งไปให้ลูกค้า ลูกค้าไม่ต้องรับภาระเรื่องค่าจัดส่ง
  • ถ้าส่งมามีอย่างน้อย 1 ชิ้นที่ไม่มีปัญหา ทางร้านออกค่าส่งกลับให้ฟรี แต่ไม่ได้ออกค่าส่งให้ โปรดตรวจสอบให้ละเอียด
  • ถ้าไม่มีชิ้นไหนมีปัญหาเลยทางร้านไม่ได้ออกค่าส่งให้ โปรดตรวจสอบให้ละเอียด
  • การ นับวัน หากสินค้าถึงมือลูกค้าในวันที่ 1/5/2564 ( ตรวจสอบได้จากไปรษณีย์ไทย) เมื่อพบความเสียหาย ลูกค้าจะต้องส่งสินค้ากลับคืนมาที่ AllNewStep ภายในวันที่ 31/5/2564 โดยอ้างอิงจากเลขแทรค ผ่านไปรษณีย์ลงทะเบียน หรือแบบ EMS ถ้ามีเลือกบริการเสริมพิเศษนอกเหนือจากวิธีส่งปกติ เช่น ค่าบริการพิเศษ พกง. ลูกค้าเป็นออกค่าบริการพิเศษนี้เอง
  • กรณีสินค้าไม่มีปัญหา ทางร้านขอไม่รับคืนหรือเปลี่ยนสินค้า โปรดพิจารณาตรวจสอบให้ละเอียดก่อนสั่งซื้อหรือส่งมาให้ตรวจสอบ
  • เมื่อ ทำการส่งเรียบร้อยแล้ว ลูกค้าจะต้อง ส่งหมายเลขพัสดุ tracking ที่สามารถ track ได้จากทางเว็บไซต์ของทางไปรษณีย์ไทย มาให้กับ AllNewStep แล้วเราจะพิจารณาตรวจสอบและแจ้งให้ลูกค้าทราบผ่านทางช่องทาง Email ที่ลูกค้าให้ไว้
บมจ. ธนาคารกรุงไทย สาขาชัยนาท ออมทรัพย์
บมจ. ธนาคารกสิกรไทย สาขาชัยนาท ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
ไกรสร สืบบุญ
098-xxxxxx-9
Accept All Banks | รับเงินได้จากทุกธนาคาร

มีคูปองส่วนลดเพิ่ม พิเศษ ด้านล่างนี้

ขาย ARDUINO
คุณภาพ อันดับ 1

ได้รับรางวัลร้านยอดเยี่ยม
ตั้งแต่ปี 2558
ขาย Arduino
วีดีโอสอน Arduino

สอน esp8266

สอน Arduino IoT
สอน Arduino แบบเร็ว

สอน NodeMCU

อุปกรณ์ Arduino

MEMBER ZONE

พูดคุย-สอบถาม