V této bakalářské práci je popsána řídící jednotka systému detekce barvy s autokalibrací. Detektor barvy je složen z fotorezistoru, který je zapojen do série s rezistorem a RGB diody s předřadnými rezistory. Systém snímá předmět, a poté určí jeho barvu. Jedná se o základní barvy, tedy červenou, modrou a zelenou. Celý systém je řízen mikrokontrolérem ATmega32, naprogramovaným v jazyce C. Autokalibrace napomáhá k lepší funkčnosti systému a je součástí programu v mikrokontroléru. Celý systém je součástí dalšího hardwaru, který je plně automatizován.
Annotation in English
This bachelor thesis deals with a description of control unit of colour detection system with auto-calibration. The detector of colours is composed of a photoresistor which is connected in series with a resistor and RGB LEDs with ballast resistors. The system scans the object, and then determines its colour. There are three basic colours, namely red, blue and green. The whole system is controlled by microcontroller ATmega32 which is programmed in C. Auto-calibration helps to better functioning of the system and is also a part of the program in the microcontroller. The whole system is a part of the additional hardware which is fully automatized.
V této bakalářské práci je popsána řídící jednotka systému detekce barvy s autokalibrací. Detektor barvy je složen z fotorezistoru, který je zapojen do série s rezistorem a RGB diody s předřadnými rezistory. Systém snímá předmět, a poté určí jeho barvu. Jedná se o základní barvy, tedy červenou, modrou a zelenou. Celý systém je řízen mikrokontrolérem ATmega32, naprogramovaným v jazyce C. Autokalibrace napomáhá k lepší funkčnosti systému a je součástí programu v mikrokontroléru. Celý systém je součástí dalšího hardwaru, který je plně automatizován.
Annotation in English
This bachelor thesis deals with a description of control unit of colour detection system with auto-calibration. The detector of colours is composed of a photoresistor which is connected in series with a resistor and RGB LEDs with ballast resistors. The system scans the object, and then determines its colour. There are three basic colours, namely red, blue and green. The whole system is controlled by microcontroller ATmega32 which is programmed in C. Auto-calibration helps to better functioning of the system and is also a part of the program in the microcontroller. The whole system is a part of the additional hardware which is fully automatized.