Page 7 - 최강 아두이노 퍼스트 참고서
P. 7

RGB LED PCB 모듈 형태가 아닌 부품 사용 ............................................... 221
                                CATHODE (캐소드) Type ................................................................... 221
                                ANODE (애노드) TYPE ...................................................................... 225

                        XY JOYSTICK X 1 .............................................................................................. 228
                        > SERVO MOTOR X 1 ........................................................................................ 233
                            map(value, fromLow, fromHigh, toLow, toHigh) ........................................ 236
                            constrain 정의 함수 사용법 .......................................................................... 237
                            서보 모터 전원 공급 참조. ............................................................................ 237

                        STEPPER MOTOR & DRIVER BOARD X 1 ..................................................... 239
                            스테퍼 모터 예제 코드 1 .............................................................................. 242
                            스테퍼 모터 예제 코드 2 .............................................................................. 245
                        > RED, GREEN, YELLOW LED ........................................................................ 247

                        LED 종류와 전압 사용 예제 ................................................................................. 248
                        저항 기초 정보 ...................................................................................................... 251
                        부저(Buzzer) ......................................................................................................... 253
                            패시브 부저 .................................................................................................. 253

                            액티브 부저 .................................................................................................. 253
                        PASSIVE BUZZER X 1 ....................................................................................... 254
                        PIEZO BUZZER X 1 ............................................................................................ 260
                        KEY MODULE (WITH HAT) X 4 ....................................................................... 262

                        PULL-UP 풀업 저항, PULL-DOWN 풀다운 저항 ............................................... 266
                            플로팅(Floating) ........................................................................................... 266
                            풀업(PULL-UP) 저항 ................................................................................... 267
                            풀다운(PULL-DOWN) 저항 ........................................................................ 268
                        풀업, 풀다운 저항 계산 논리 ................................................................................ 269

                            풀다운 버튼 예제 (PULL DOWN BUTTON) .............................................. 272
                            풀 업 버튼 예제 (PULL UP BUTTON) ........................................................ 275
                        INPUT_PULLUP, 풀업 버튼 회로 구성 ............................................................... 277
                        > TILT SWITCH X 2 ............................................................................................ 279

                        > LM35 SENSOR MODULE X 1 ........................................................................ 284
                        FIRE X 1 (FLAME SENSOR) ............................................................................. 290
                            >> 적외선, 가시광선이란? ........................................................................... 290







                                                    7
   2   3   4   5   6   7   8   9   10   11   12