336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

1. Piezo Disk Vibration (설명은 아래 링크 참고해주세요)

http://instructables.tistory.com/546

2. Photo Interrupt (=포토인터럽트, 포토커플러) (SG-23FF)

https://www.auk.co.kr/Common/DownloadFile?option=inline&option2=productPdfByPartNo&partNo=SG23FF

P=VI = 200mA * 1.4 = 0.28W = 1/4W


회로도

우선 ▼아래 GPIO를 기반으로 연결해야한다.

Auto_running_python...2.py

Auto_running_python...2(+Alarm).py

Auto_running_python...2(Stop_Streaming_button).py

Auto_running_python_by_pressing_PushButton.py

DoubleCondition.py

LED_Blink.py

LED_Control_using_Button.py

LED_Control_using_Button_2.py

PiCam_Capture.py

PiCam_Streaming.py


코드상에서 False일때를 감지하게끔 코딩했으므로

NOT Gate를 써서 반전시킨 상태로 RPi의 입력으로 들어가게된다.

▲충격센서의 원리에 관련해서는 아래 링크를 참고하면 된다.

http://instructables.tistory.com/546

Posted by ElectricShock
:
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

https://www.devicemart.co.kr/12570


void TIMER0_COMPA_init(void)

{

TCCR0 = (1<<WGM01)|(1<<CS01);

TCNT0 = 0;

OCR0 = 19;

TIMSK = (1<<OCIE0);

TIFR = 0x00;

}

ISR(TIMER0_COMP_vect)

{

tick++;

}

ISR(INT1_vect)

{

u16 pulse_tick;

pulse_tick = tick;

if(MCUCR & 0x0C)

{

MCUCR &= 0xF3;

tick = 0;

}

else

{

MCUCR |= 0x0C;

pulse_end = pulse_tick;

}

}

Posted by ElectricShock
:
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

http://pdf.datasheetcatalog.com/datasheet/ChenyiElectronics/mXrywxv.pdf

1N5236 : 0.5W / 7.5V(Forward Voltage)

Google에서 1N5236 pdf 검색

>> 1N5221 THRU 1N5281 datasheet


둘중 하나 검색 (아래꺼 추천)
아래꺼 누르면
http://www.datasheetcatalog.com/datasheets_pdf/1/N/5/2/1N5236.shtml
여기로 들어와서 검색


http://www.electroschematics.com/5004/555-triangle-waveform-generator/


Here the IC NE555 is wired as an astable multivibrator with unequal ON and OFF times. 

불안정 바이브레이터 with 같지않은 ON and OFF times.

The the resistor R1, R2 and capacitor C2 sets the ON and OFF time periods.

The value of these components are so selected that the OFF time is less than 10% of the ON times. 

가 값 of these 부품들은 그렇게 선택됬다. that the OFF 시간은 덜하다. than 10%보다 of the ON타임의.

The asymmetric square wave is available at pin 3 of the IC. The working of the astable multivibrator is given below.

비대칭 사각파는 이용가능하다. at 핀3에서 of the IC의. (출력이다.)


When the power supply is switched ON, 

capacitor C1 starts charging through resistors R1 and R2. 

When the voltage across C1 is above 2/3Vcc the upper comparator inside the NE555 swings to positive saturation and this triggers the internal flip-flop. 

This makes the output (pin 3) of the timer low. 

Now the capacitor C1 starts to discharge through resistor R2 into pin 7 of the IC. 

When the voltage across capacitor C1 becomes less than 1/3Vcc, the lower comparator inside the IC switches to positive saturation and this again triggers the internal flip-flop. As a result the output of the timer( pin 3) goes low. This action is repeated and the result will be a square wave at pin 3 of the NE555. The charging time period (ON time) is given by the equation T1= 0.69(R1+R2)C1 and the discharging time period (OFF time)  is given by the equation T2=0.69R2C1. Read this article :  NE555 as astable multivibrator for a better understanding on NE555 based astable multivibrators..

The assymmetric square wave obtained at the output of NE555 is integrated by the inverting active integrator based on opamp IC uA741. Resistors R3 and R4 sets the gain of the opamp integrator. Resistor R4 in conjunction with capacitor C3 sets the bandwidth. Since the integrator is wired in inverting mode, the sawtooth wavform falls when the timer output is high and rises when the timer output is low. Read this article: Triangular wave generator for a better understanding on opamp integrators.

'졸업작품 > OP AMP' 카테고리의 다른 글

OP AMP적용 작품  (0) 2016.03.11
Posted by ElectricShock
:

BLOG main image
잡동사니들(지극히 개인취향인...) (다른글에도 댓글 부탁해요♥) You May Leave English Messages on GuestBook. by ElectricShock

공지사항

카테고리

분류 전체보기 (782)
MiDi (2)
Programming(=프로그래밍) (3)
Animation (4)
Blender (3D Graphic Program.. (10)
Blendtuts.com (Series) (1)
Blender 기초 팁들 (2)
Processing (디지털미디어과) (2)
Music (1)
Books in the world (0)
Communication(CAN, UART, et.. (12)
MCU Examples (PIC 기반) (7)
Transistor (1)
Mikro C Pro (11)
Mikro Pascal (1)
Proton IDE (0)
Robot (0)
Swift 3D (1)
Dummies Series (1)
All about Hacking (0)
제2 외국어 (1)
PIC 해외서적들 (3)
AVR (25)
PIC (MikroC) (MPLAB) (4)
Assembly (2)
ARM (3)
Arduino (26)
PSpice (1)
Proteus ISIS (14)
CodeVision (2)
FPGA (15)
MPLAB (24)
PCB (the Procedure) (15)
3D Printer (5)
PICKIT3 (6)
Matlab (11)
RaspBerry PI (15)
BeagleBone (1)
Android Studio (17)
졸업작품 (172)
Korea History (0)
Issue(사회) (73)
Multimeter 리뷰 (1)
Oscilloscope (1)
A (34)
B (19)
J (6)
C (32)
P (12)
T (37)
H (12)
I (12)
M (44)
R (5)
E (5)
F (2)
D (9)
O (2)
L (7)
S (9)
W (2)
V (6)
G (14)
Visual C++ or Visual Studio (2)
Android App Development (0)

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백