Cov txheej txheem:

ENERGY SAVER PROJECT USER MICROCONTROLLER - ATMEGA8A: 3 Kauj Ruam
ENERGY SAVER PROJECT USER MICROCONTROLLER - ATMEGA8A: 3 Kauj Ruam

Video: ENERGY SAVER PROJECT USER MICROCONTROLLER - ATMEGA8A: 3 Kauj Ruam

Video: ENERGY SAVER PROJECT USER MICROCONTROLLER - ATMEGA8A: 3 Kauj Ruam
Video: EEVblog #87 - Давайте сядем на карусель дизайна электроники 2024, Hlis ntuj nqeg
Anonim
Image
Image
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom

LINKS TO PROJECT: https://www.youtube.com/embed/KFCSOy9yTtE, https://www.youtube.com/embed/nzaA0oub7FQ THIAB https://www.youtube.com/watch?v = I2SA4aJbiYo

Txheej txheem cej luam

Cov cuab yeej 'Zog Txuag' no yuav muab rau koj ntau zog / txuag hluav taws xob txawm tias me ntsis ntawm ib lub sijhawm. Tam sim no lub cuab yeej txuas nrog tus ciav hauv tsev thiab nws yuav qhib / de-qhib raws li muaj qee tus neeg nyob hauv nws ib puag ncig (nyob ze). Qhov ntau thiab ntev rau kev qhib / de-ua kom muaj peev xwm tuaj yeem ua haujlwm / hloov kho. Cov cuab yeej no tuaj yeem siv rau ntau yam khoom siv hauv tsev ib yam nkaus thiab rau qhov kev xav tias 'Ntuj yog qhov txwv'. Qee qhov piv txwv yog 'Teeb Chav Dej', 'Teeb Staircase', 'Teeb Pom Kev', 'Cov kiv cua tso tawm' teeb tsa hauv qee qhov hauv qab lossis lwm qhov chaw raug kaw thiab lwm yam.

Qhov laj thawj tseem ceeb thiab kev tshoov siab kuv tau txais rau kev ua cov cuab yeej / phiaj xwm no yog los ntawm qhov tseeb tias cov cuab yeej zoo li cov ciav thiab lwm yam tseem 'qhib rau' txawm tias tom qab peb tsiv los ntawm chav, qhov twg lawv tau khiav thiab qhov no yuav tsis tsuas yog pov tseg lub zog hauv daim ntawv ntawm lub zog tab sis kuj ua rau lub neej luv luv ntawm cov cav thiab lwm yam txheej txheem teeb tsa hauv cov khoom siv / khoom siv thiab lwm yam.

Nws ua li cas

Cov cuab yeej no siv 'ATMEGA 8A' thiab PIR Motion Sensor txhawm rau txheeb xyuas tib neeg muaj nyob hauv chav lossis thaj chaw uas nws tau teeb tsa thiab qhib/ qhib 'cov cuab yeej siv (cov dej hauv qhov xwm txheej tam sim no) thaum qee tus tuaj txog ze ntawm lub cuab yeej / tus ciav hais 7 taw thiab 'tig nws tawm' thaum tus neeg tawm ntawm thaj chaw. Txoj hauv kev no lub cuab yeej yuav txuag hluav taws xob / hluav taws xob thiab tseem txuag lub neej ntawm lub cav / teeb teeb nyob hauv tus ciav dej. Cov cuab yeej no yuav txuag hluav taws xob me ntsis txhua lub sijhawm thiab nyob ntev nws yuav txuag tau ntau lub zog.

Cov cuab yeej no tau npaj siv 'arduino board'by hlawv lub bootloader ntawm ATMEGA8A nti (ua tus choj rau kev xa cov cai ntawm arduino rau hauv Atmega8A nti). Kuv twb tau tshaj tawm cov lus qhia siv aduino board cais (https://www.instructables.com/id/ENERGY-SAVER-PROJECTARDUINO-BASED). Kuv tau ua txoj haujlwm no siv lub microcontroller vim tias nws yuav muaj lub zog txuag hluav taws xob ntau dua li nws lub zog siv hluav taws xob tsawg dua li cov khoom siv arduino (vim tias arduino nws tus kheej xav tau lub zog ua haujlwm, qhov twg raws li Microcontroller- ATmega8A lub zog siv tau tsawg dua piv rau 3 txog 11) mA tawm tsam 42mA ntawm Arduino board.

Ua kom lub cuab yeej ua haujlwm tau zoo, nws yuav raug tso rau hauv qhov chaw uas tsis muaj qhov cuam tshuam ntawm nws thiab qhib qhov chaw ntawm chav.

Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom

Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom

Sau cov khoom (tsis ntau)

1. Amega8A nti

2. PIR Tsab ntawv tsa suab Sensor

3. Tib Channel Relay

4. Arduino board rau hlawv thew bootlader

Cov cuab yeej

· Ntsia tus tsav tsheb rau teeb tsa qhov sib thooj ntawm lub sensor thiab txuas txuas.

Khoom siv

· Jumper hlau.

· Pawg mov ci rau bootloading

· 2 khub hlau thiab 2 Pins- (2 Txiv neej thiab 1 Poj Niam).

· 5v lub zog siv rau atmega8A nti.

· 240v fais fab rau tus ciav.

· Poj niam header tus pin

· Crystal ntawm 16mhz

· 22pF Capacitor (x2)

Usb cable zoo li hauv Circuit Court

Txuas thiab

PCB pawg thawj coj saib

Yeem yeem

LED

Qee cov duab yog los ntawm lwm qhov chaw

Kauj Ruam 2: Tsim thiab Kev Sib Txuas

Tsim thiab Kev Sib Txuas
Tsim thiab Kev Sib Txuas

Txuas atmega rau cov khoom siv

ATMEGA8A PIN 4 PIR SENSOR OUT PIN

ATMEGA8A PIN 16 RELAY IN PIN

ATMEGA8A GND RELAY GND

ATMEGA8A GND PIR SENSOR GND

ATMEGA8A VCC PIN RELAY VCC PIN

ATMEGA8A AVCC PIN PIR SENSOR VCC PIN

ATMEGA8A AVCC PIN ATMEGA8A VCC PIN

ATMEGA8A GND PIN ATMEGA8A GND PIN

Kauj Ruam 3: Qhov Kev Ua Haujlwm Kawg

Qhov project kawg ua ke
Qhov project kawg ua ke
Qhov project kawg ua ke
Qhov project kawg ua ke
Qhov project kawg ua ke
Qhov project kawg ua ke
Qhov project kawg ua ke
Qhov project kawg ua ke

Ua los ntawm: PRIYANSHU J UCHAT

Pom zoo: