Jun 13, 2021

[Eagle Cad] Grid tip

 ■ When you arrange electronic component, (부품을 배치할 때)

- Display: on
- Size: 1, unit: mm



 ■ When you draw route airwires, (배선을 연결할 때)

- Display: on
- Size: 50, unit: mil



백만장자 불변의 법칙 - 토머스 J. 스탠리 윌리엄 D. 댄코 지음 | 홍정희 옮김

 


Jun 12, 2021

[Eagle Cad] Add a schematic frame. (회로도 틀 넣기)

 ■ How to add a schematic frame?! (회로도 틀을 넣는 방법은?!)

- We use the frame in the SparkFun-Aesthetics library. 
(You need to install the SparkFun-Eagle-Libraries.)
- Click 'Add part' and search the Frame-letter.




Jun 5, 2021

[Arduino code] limit switch (Endstop switch) (리미트 스위치, 엔드스탑 스위치)

- Supplies: limit switch, Arduino board

- How to connect and the result of serial monitor.



- Example code

#define limit_switch_pin 2

void setup() {
  // put your setup code here, to run once:
  // switch pin setting
  Serial.begin(9600);
  pinMode(limit_switch_pin, INPUT);
 
}

void loop() {
  // put your main code here, to run repeatedly:
  if(digitalRead(limit_switch_pin) == LOW){
    Serial.println("Switch close");
  }else{
    Serial.println("Switch open");
  }
}