# การเขียนโปรแกรม Arduino
# เนื้อหาเรียน


1. ทำความรู้จักกับ Arduino Board
2. ติดตั้ง Arduino IDE บน windows , Linux
3. ทำการ Config ค่าต่างๆ ก่อนการ เขียนโปรแกรม
4. เรียนรู้ส่วนประกอบและรูปแบบการเขียนโปรแกรม Arduino
# Structure
- structure
- setup()
- loop()
- functions
- {}curly brace
- ; semicolon
- /*....*/ block comment
- //line comment
# variables
- variable
- variable declaration
- variable scope
# datatypes
- byte
- int
- long
- float
- arrays
# arithmetic
- arithetic
- compound assignment
- comparison operators
- logical operators
# constants
- constants
- true/false
- high/low
- input/output
# flow cntrol
- if,if..else,for,while,do..while
# digital i/o
- pinMode(pin,mode)
- digitalRead(pin)
- digitalWrite(pin,value)
# analog i/o
- analogRead(pin)
- analogWrite(pin,value)
# time
- delay(ms)
- millis()
# math
- min(x,y)
- max(x,y)
# random
- randomSeed(seed)5
- random(min,max)
# serial
- serial.begin(rate)
- serial.print(data)
# appendix
- digital output
- digital input
- hide current output
- pwm output
- potentiometer input
- variable resistor input
- servo output

5. ฝึกเขียนโปรแกรมตามเนื้อหาเรียนเริ่มจากทำโปรแกรมแสดงผล เช่น Hello World
6. รู้จักอุปกรณ์อิเล็กทรอนิกส์ที่ Arduino Board สามารถเข้าไปควบคุม แสดงผล และทำงานร่วมกันได้ เช่น
- Arduino Board ควบคุมการแสดงผลหลอด LED
- Arduino Board ควบคุมการแสดงผลของ BUZZER
- Arduino Board ควบคุมการทำงานของ RELAY เป็นต้น
7. การควบคุม Arduino Board โดยสั่งจากหน้าเว็บ
8. ฝึกปฏิบัติ
# สิ่งที่ผู้เรียนต้องมี สำหรับ การเรียน
1. Funduino UNO R3 development board * 1
2. sensor expansion board * 1
3. white LED module * 1
4. red LED module * 1
5. Yellow LED module * 1
6. Green LED module * 1
7. buzzer module * 1
8. LM35 temperature sensor * 1
9. light sensor * 1
10. Sound Sensor * 1
11. rotary potentiometer module * 1
12. button module * 1
13. Ultrasonic Ranging Module * 1
14. XY joystick module * 1
15. 9 g servos * 1
16. 3PIN sensor cable * 5
17. DuPont lines * 20
18. USB cable * 1


# ค่าใช้จ่ายในการเรียนอยู่ที่ 5,000 บาท เรียนจนกว่าจะเข้าใจ
# สนใจเรียนติดต่อ อิเล็กทรอนิกส์เฮ้าส์ นครราชสีมา ประเทศไทย TEL : 0645912494 (อาจารย์ ปอ)
E-mail : [email protected]


website ที่่เกี่ยวข้อง

1. https://web.facebook.com/echkorat/

2. http://www.geocities.ws/ech2017

3. http://www.geocities.ws/electronic-house

4. https://web.facebook.com/profile.php?id=100065406460086

5. https://www.facebook.com/ats2017blog

6. https://bestkru.com/54701

Line ID : electronichouse

เบอร์โทรศัพท์ : 064591249

 

Line ID : electronichouse

เบอร์โทรศัพท์ : 064591249

แผนที่ติดต่อ มีที่พักให้ฟรีสำหรับนักเรียนต่างจังหวัด



 

แนวคิดใหม่ของอิเล็กทรอนิกเฮ้าส์

1. แยกบุคคลที่ทักษะไม่เหมือนกันออกเป็นห้อง โดยคนมีพื้นฐานเรียนอีกห้อง ส่วนคนไม่มีพื้นฐาน และ เรียนช้าอยู่อีกห้อง
2. ให้โอกาศคนที่ไม่มีพื้นฐานได้เรียน โดยจะสอนจนกระทั้งเขาเข้าใจและทำได้ โดยไม่จำกัดเวลาเรียน
3. ปรังปรุงหลักสูตรเรียนใหม่อยู่เสมอเพื่อให้การสอนเป็นไปได้ง่ายขึ้น
4. คนที่เรียนหลักสูตรช่าง จัดฝึกงานหน้าร้านเพื่อฝึกประสบการณ์ก่อนจบหลักสูตร
5. การเรียนมีทั้งภาคภาษาอังกฤษสำหรับชาวต่างชาติ และ ภาคภาษาไทยสำหรับคนไทย
6. ภาคภาษาอังกฤษจะมีการคิดค่าธรรมเนียมเพิ่มเติมเล็กน้อยตามความเหมาะสมของแต่ล่ะหลักสูตร