Jun 1, 2020

[Arduino code] Motor/Servo RPM measurement using photodiode (아두이노에서 포토다이오드를 이용한 모터/서보모터 RPM 측정)

- RPM measurement of motor/servo motor using photo diode.
- 포토 다이오드를 활용한 모터/서보모터의 RPM 측정.
- Sensor: SZH-EKAD-109
https://www.devicemart.co.kr/goods/view?no=1329652

- 원리
포토 다이오드: 빛에너지 -> 전기에너지
발광 다이오드: 전기에너지 -> 빛에너지
https://youtu.be/SFc673lEyQA

- 코드
const byte interruptPin = 2;
volatile int pre_count, count;
unsigned long skip_milli_time = 100; 
unsigned long cur_time = 0;
unsigned long pre_time = 0;

May 5, 2020

[Myduino] Customized Arduino UNO PCB board (자작으로 만든 아두이노 PCB 보드)


How to make your own Arduino?!


Components:
 1. ATmega328P-PU (1)
 2. 16 Mhz crystal (1)
 3. 10 kΩ resistor (1)
 4. 22pF capacitor (2)
 5. 100nF capacitor (1)


A circuit that looks complicated as shown below can be easily implemented with a PCB board.


(left) board, (right) 3D image


May 4, 2020

Design, Fabrication, and Analysis of Flapping and Folding Wing Mechanism for a Robotic Bird

1. Status: Journal of Bionic Engineering 17, 229-240 (2020) (published).

2. Author: Seungwan Ryu, Jonggu Lee, and H. Jin Kim

3. Abstract: in URL.

Apr 5, 2020

[Myduino] Customized Arduino UNO (자작으로 만든 아두이노)

How to make your own Arduino?!

Component:
 1. ATmega328P-PU (1)
 2. 16 Mhz crystal (1)
 3. 10 kΩ resistor
 4. 22pF capacitor (2)
 5. 100nF capacitor (1)
 6. LED (1)
 7. Breadboard (1)
 8. Jumper wire (many)
 9. FTDI USB port (1)

       <ATmega328P and Arduino Uno Pin Mapping>

                                <Wire connection>


                 















Apr 3, 2020

PCB board (Arduino Pro Mini + HC-06 + PWM pin + Push switch)

- Design tool: Eagle Cad
- Layer: 2 layer PCB
- PCB Production company: HANSAEM DIGITEC (https://www.hsdgt.com/)

(Left) Schematic, (Right) Board
Components soldered to PCB