How To Control A Car With A Thermostat



Similar documents
Home Security System for Automatic Doors

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Computer Architectures

DEPARTMENT OF ELECTRONICS ENGINEERING

Lecture 7: Programming for the Arduino

Electronic Brick of Current Sensor

H-Bridge Motor Control

Microcontroller Programming Beginning with Arduino. Charlie Mooney

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Arduino Motor Shield (L298) Manual

Lab 6 Introduction to Serial and Wireless Communication

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

Programming the Arduino

Ultrasonic Distance Measurement Module

Basic Pulse Width Modulation

Android Controlled Based Interface

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

AirCasting Particle Monitor Bill of Materials

Surveillance System Using Wireless Sensor Networks

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

USING I2C WITH PICAXE

Arduino project. Arduino board. Serial transmission

PolyBot Board. User's Guide V1.11 9/20/08

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

GM862 Arduino Shield

Arduino Internet Connectivity: Maintenance Manual Julian Ryan Draft No. 7 April 24, 2015

Arduino Shield Manual

Lab Experiment 1: The LPC 2148 Education Board


PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Arduino Microcontroller Guide W. Durfee, University of Minnesota ver. oct-2011 Available on-line at

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

Theory and Practice of Tangible User Interfaces. Thursday Week 2: Digital Input and Output. week. Digital Input and Output. RGB LEDs fade with PWM

C4DI Arduino tutorial 4 Things beginning with the letter i

POCKET SCOPE 2. The idea 2. Design criteria 3

PROXIMITY CARD READERS C-10, C-20, C60, C70

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

Special Lecture. Basic Stamp 2 Programming. (Presented on popular demand)

Wireless Communication With Arduino

Android Application Development and Bluetooth Technology

Controlling a Dot Matrix LED Display with a Microcontroller

RTOS based Home Automation System using Android

AVR Butterfly Training. Atmel Norway, AVR Applications Group

IAdea GPIO Extender Application Note

Working with microcontroller-generated audio frequencies (adapted from the Machine Science tutorial)

Arduino Lesson 13. DC Motors. Created by Simon Monk

ABACOM - netpio.

INTRODUCTION TO SERIAL ARM

DS1307 Real Time Clock Breakout Board Kit

Inductive Proximity Sensors

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

USER MANUAL V5.0 ST100

Servo Info and Centering

Arduino Shield Manual

Datasheet of the Easy Servo Motor ES-M Series

Panel Meters and Controllers Modular Panel Meter Type EDM 35

CAT28C64B F R E E. 64K-Bit CMOS PARALLEL EEPROM L E A D FEATURES DESCRIPTION BLOCK DIAGRAM

WEA-Base. User manual for load cell transmitters. UK WEA-Base User manual for load cell transmitters Version 3.2 UK

Green House Monitoring and Controlling Using Android Mobile Application

Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!

EvB 5.1 v5 User s Guide

Character LCDs. Created by Ladyada. Last updated on :45:29 PM EDT

RGB LED Strips. Created by lady ada. Last updated on :00:18 PM EST

Datasheet of the Easy Servo Motor ES-MH Series

RealSSD Embedded USB Mass Storage Drive MTFDCAE001SAF, MTFDCAE002SAF, MTFDCAE004SAF, MTFDCAE008SAF

Laboratory Course Industrial Automation. Experiment Nr. 6. Introduction to the FlexRay bus system. Brief User Guide IAS Demonstrator Go-Cart

Whale 3. User Manual and Installation Guide. DC Servo drive. Contents. 1. Safety, policy and warranty Safety notes Policy Warranty.

Basic DC Motor Circuits. Living with the Lab Gerald Recktenwald Portland State University

Kit for TLM051 monitor

Basic DC Motor Circuits

S4000TH HART. HART Communication Manual

udrive-usd-g1 Embedded DOS micro-drive Module Data Sheet

Development of GSM and GPS based Cost Effective Telematics Module

Talon and Talon SR User Manual

UniPi technical documentation REV 1.1

FLYPORT Wi-Fi G

ViZion Installation Guide

ACR880 GPRS Portable Smart Card Terminal

IRON-HID: Create your own bad USB. Seunghun Han

VirtualWire. Copyright (C) Mike McCauley. 1.0 Introduction. 2.0 Overview

The Programming Interface

USB-500 Series Low-Cost Data Loggers and Accessories

TUTORIAL FOR INITIALIZING BLUETOOTH COMMUNICATION BETWEEN ANDROID AND ARDUINO

Color Mark Sensor with Red or Green LED E3S-VS

GSM HOME SECURITY SYSTEM

Fairchild Solutions for 133MHz Buffered Memory Modules

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

CanSat Program. Stensat Group LLC

ET-BASE AVR ATmega64/128

Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

SIP Protocol as a Communication Bus to Control Embedded Devices

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

USB I/O CONTROL BOX 8 relays, 8 digital I/O lines and 8 HV inputs

Pololu DRV8835 Dual Motor Driver Shield for Arduino

Embedded Systems Design Course Applying the mbed microcontroller

Transcription:

:» : :.:35152, 2013

2

5 1: 6 1.1 6 1.2 7 1.3 7 1.4 7 1.5 8 1.6 8 1.7 10 1.8 11 1.9 11 2: 14 2.1 14 2.2 14 2.2.1 14 2.2.2 16 2.2.3 19 2.2.4 20 2.2.5 21 2.2.6 Reed Relay 23 2.2.7 LCD 2x16 5VDC 23 2.2.8 RGB LED 24 2.2.9 LDR (Light Dependent Resistor) 25 2.2.10 Transistors 25 2.2.11 26 2.2.12 27 3: 29 4: 50 4.1 Bluetooth 50 3

4.2 52 4.3 WiFi 53 4.4 54 57 4

,,.,,,,.,,. 5

1, -. : = + + - Technical Cybernetics.., :. 1.1,,.,.,.. 6

1.2,,,, (),, :,,. "" Tetsuro Mori, Yaskawa, 1969., "" "". 1982.. ' 1936 1948 (Morthy),, 1946 1951 (Goertz) Bedford Associates 1968. 1.3,., UNESCO :." :.", "." 1.4,. 7

:,. 1.5,.,.,.,., - - - -,,. 1.6 1) 2) 3) 8

4) CD/DVD Player 5) 6) 7),,, (ABS),, (ECU) (ASP/ESP).... : 1. http://www.instructables.com/id/clusterbot/ 2. http://www.youtube.com/watch?v=tmr5c1drlio 3. http://www.youtube.com/watch?v=-6966oybvbq 4. http://www.youtube.com/watch?v=nvz02bf1iq4 5. http://www.youtube.com/watch?v=eywxnuam3iy 6. http://www.youtube.com/watch?v=wkazltadw9u 7. http://www.youtube.com/watch?v=lyxm0aabdnm 9

DS18B20: 1. http://www.krekr.nl/content/arduino-nanode-thermostat-alpha/ 2. http://www.modsbyus.com/diy-arduino-thermostat/ 3. http://www.robertoinzerillo.com/wordpress/?p=74 1.7, - ).,,, CNC,... -.. (. ),,.,,.,.. :,,, EDM. 10

, :,,.., (),.. 1.8,,,,, 1.9 biomechatronics -,, exoskeleton. "" cyberware.,,, (. ), 11

12..

13

2.,..,. 2.1,.. RGB LED. 25 C,,,... LCD. 2.2,. 2.2.1,,,.,, ( 14

),.. Arduino Mega 2560 8-bit ATmega2560, 54 ( 14 PWM) 16. USB AC DC adapter,. : : ATmega2560 : 5V ): 7-12V (): 6-20V I/O Pins: 54 ( 14 PWM ) Pins : 16 DC I/O Pin: 40 ma DC 3.3V Pin: 50 ma Flash Memory: 256 KB of which 8 KB used by bootloader SRAM: 8 KB EEPROM: 4 KB : 16 MHz 15

2.2.2 (0 180 ). 20 msec ( 1/0,02= 50 Hz).., robots.,........ (). 16

: : Servo SpringRC SM-S4303R 360 : : : : : : : : Datasheet: 4.8 6.0VDC 60 70 RPM (4.8-6.0VDC ) 3.3 4.8 kg/cm (4.8-6.0VDC ) 4 + 1 42 x 39.5 x 22.5mm 30cm 44g http://www.sparkfun.com/datasheets/robotics/servo- 360_e.pdf 17

: Servo SpringRC SM-S3317B : : 4.8 6.0VDC : 0.14sec/60 4.8VDC 0.11sec/60 6VDC : 2.1 kg/cm 4.8VDC 2.5kg/cm 6VDC : 4 + 1 : 120 (±60 ) : 31.3x16.5x28.6mm : 20cm : 20g 18

2.2.3,,. HC-SR04,. HC-SR04 4 pins (Vcc, Trigger, Echo, GND) 2, Trigger Echo, digital pins Arduino. Vcc pin +5v Arduino., Trigger pin (HIGH) (~10S), Echo pin (HIGH).,, 340m/s (). : : 5 VDC : 15mA : 40Hz : 2cm : 400cm : 15 : 0.3cm : 45x20x15mm http://www.micropik.com/pdf/hcsr04.pdf Datasheet: http://jaktek.com/wpcontent/uploads/2011/12/hc-sr04.pdf 19

2.2.4,, DS18B20. : : : : Datasheet: 3 5.5 VDC 1mA ±0.5 C -10 C +85 C ±2 C -55 C +125 C http://grobotronics.com/files/datasheets/ds18b20.pdf 20

2.2.5,. 21

22 ON OFF.

2.2.6 Reed Relay Reed Relay, Arduino. Reed Relay: : 5 VDC : 10mA : 2.2.7 LCD 2x16 5VDC LCD.,, HC-SR04, 25 C. 23

2.2.8 RGB LED 5. LED. : : <5 C 5-10 C 10-15 C 15-20 C 20-25 C 25-30 C >30 24

2.2.9 LDR (Light Dependent Resistor) LDR.. 2.2.10 Transistors Backlight LCD, RGB LED, transistors. C945: transistor: NPN : 50 VDC : 100mA Datasheet: http://www.datasheetcatalog.org /datasheet/philips/2pc945.pdf A1015: transistor: PNP : 50 VDC : 150mA Datasheet: http://www.datasheetcatalog.org /datasheets/50/157039_ds.pdf 25

2.2.11,, 3..., (. 3.8Ah). 6V 1.2Ah,. 26

2.2.12 LED RGB 12V.. 10 Ni-MH 1.2V. Ni-MH.,! Ni-MH 90% 6 85%. Panasonic Evolta. 10 Panasonic Evolta AA Ni-MH 1.2V 2050Ah. 27

28

3.., Assembly ), C++ Java. : http://arduino.cc/en/main/software,. 29

#include <NewPing.h> #include <Servo.h> #include <LiquidCrystal.h> #include <OneWire.h> (libraries). (library).,,,... <NewPing.h> HC-SR04. <Servo.h>. <LiquidCrystal.h> LCD. <OneWire.h> DS18B20. : http://arduino.cc/en/reference/libraries 30

#define Trigger_mprosta_aristera 27 #define Echo_mprosta_aristera 26 #define Trigger_mprosta_dexia 29 #define Echo_mprosta_dexia 28 #define Trigger_piso 31 #define Echo_piso 30 #define MAX_DISTANCE 150 pins (digital inputs/outputs). HC-SR04 pins Trigger Echo... pins 30 31. 150cm. NewPing sonar_mprosta_aristera(trigger_mprosta_aristera, Echo_mprosta_aristera, MAX_DISTANCE); NewPing sonar_mprosta_dexia(trigger_mprosta_dexia, Echo_mprosta_dexia, MAX_DISTANCE); NewPing sonar_piso(trigger_piso, Echo_piso, MAX_DISTANCE);... int apostasi_mprosta_aristera=100; int apostasi_mprosta_dexia=100; int apostasi_piso=100; (int) -32.768 32.767 100. int pin13=13; pin13 led.,.. 31

int red=37; int green=44; int blue=45; pins LCD. float therm;. float. int red_led=8; int blue_led=7; int green_led=9; pins RGB LED. int trofodosia_6v=6; int Sustima_thermokrasias_ON=50; int Sustima_thermokrasias_OFF=51; 6V 5V. 5V pin6. (, pins 50 51. 32

int voithitikos_metritis _gia_sustima_thermokrasias=0;,. 26 C,. 25 C, 1( ),. int fos=0; int Fota=35; fos LDR). pin 35. Servo servokinisi; Servo servostrofi; 2. OneWire ds(32); pin32. LiquidCrystal lcd(12, 11, 5, 4, 3, 2); LCD : º pins 5, 4, 3, 2 º pin (enable) 11 º pin (Register Select) 12 33

void setup() { void setup pins,. lcd.begin(16, 2); 16 2. Serial.begin(2400);., Arduino. 2400bits/second. servokinisi.attach(22); servostrofi.attach(23); ) pin22 () pin23. pinmode(pin13, OUTPUT); digitalwrite(pin13, LOW); pin13 led,. 34

pinmode(trofodosia_6v, OUTPUT); digitalwrite(trofodosia_6v,low); trofodosia_6v = LOW, ( ) 6V,. pinmode(red_led, OUTPUT); pinmode(blue_led, OUTPUT); pinmode(green_led, OUTPUT); pinmode(red, OUTPUT); pinmode(green, OUTPUT); pinmode(blue, OUTPUT); pinmode(sustima_thermokrasias_on, OUTPUT); pins,, LCD RGB,. pinmode(sustima_thermokrasias_off, OUTPUT); digitalwrite(red,high); transistor A1015 backlight LCD, PNP. 5V (HIGH).,. lcd.clear(); LCD (,. digitalwrite(red,low); digitalwrite(blue,high); digitalwrite(green,high);. 35

therm=thermokrasia(); thermokrasia() therm. for (int o=1; o<11; o++) { lcd.print(" "); lcd.print(therm); lcd.print("*c"); therm=thermokrasia(); xrwma_analoga_ti_thermokrasia(); delay(1000); lcd.clear(); 10. xrwma_analoga_ti_thermokrasia() RGB LED. digitalwrite(red_led, LOW); digitalwrite(blue_led, LOW); digitalwrite(green_led, LOW); RGB LED. lcd.print("elegxos prizas.."); delay(4000); digitalwrite(sustima_thermokrasias_off,high); delay(2000); digitalwrite(sustima_thermokrasias_off,low); delay(2000);, ON OFF Learn.. "Elegxos prizas..", 4 Learn. 36

lcd.clear(); lcd.print("parakalw balte ti sosti Apostasi!"); delay(2000); for (int CursorPosition = 0; CursorPosition < 17; CursorPosition++) { lcd.scrolldisplayleft(); delay(400);». 16, 400milliseconds. delay(5000); lcd.clear(); lcd.print("m.a M.D Piso"); 5, : "M.A M.D Piso".. M.A = M.D = Piso = 37

while (apostasi_mprosta_aristera!=34) { delay(100); apostasi_mprosta_aristera = sonar _mprosta_aristera.ping_cm(); delay(100); apostasi_mprosta_dexia = sonar _mprosta_dexia.ping_cm(); Serial.print("Apostasi: "); Serial.print(apostasi_mprosta_aristera); Serial.println(" cm"); Serial.print("\t"); Serial.print("\t"); Serial.println(apostasi_mprosta_dexia); servokinisi.write(90); servostrofi.write(90); niklcdprint(); therm=thermokrasia_xoris_kathisterisi(); xrwma_analoga_ti_thermokrasia(); 34. LCD,. : servokinisi.write(90) =. 90 90. servostrofi.write(90) =, 90. niklcdprint() = LCD,., M.A. thermokrasia_xoris_kathisterisi() =. 38

Serial.println(" Xekiname "); lcd.clear(); lcd.print(" Ready "); digitalwrite(green,low); digitalwrite(blue,low); delay(2500); lcd.clear(); lcd.print(" Set "); digitalwrite(green,high); delay(2500); lcd.clear(); lcd.print(" GO "); digitalwrite(red,high);,. : Ready. 2,5, : Set. 2,5, : GO.!, 6V, "M.A M.D Piso". digitalwrite(blue,low); digitalwrite(trofodosia_6v,high); delay(2500); lcd.clear(); lcd.print("m.a M.D Piso"); 39

void loop() { Serial.println("kinisi Mprosta "); Serial.println(apostasi_mprosta_aristera); Serial.print("\t"); Serial.print("\t"); Serial.println(apostasi_mprosta_dexia);.. delay(50); apostasi_mprosta_aristera = sonar _mprosta_aristera.ping_cm(); delay(50); apostasi_mprosta_dexia = sonar _mprosta_dexia.ping_cm(); servokinisi.write(150); servostrofi.write(90); therm=thermokrasia_xoris_kathisterisi(); xrwma_analoga_ti_thermokrasia(); fos=analogread(1); Serial.println("\t"); Serial.println("fos "); Serial.println(fos);!,,, RGB LED.,. 40

if (fos<400) { digitalwrite(fota, LOW); else {.,.. digitalwrite(fota, HIGH); if ((therm>25)&&(voithitikos_metritis_gia_sustima_thermokrasias==0)) { servokinisi.write(90); servostrofi.write(90); lcd.clear(); lcd.print(" Polu Zesti"); delay(5000); digitalwrite(sustima_thermokrasias_on, HIGH); delay(2000); digitalwrite(sustima_thermokrasias_on, LOW); delay(1000); voithitikos_metritis_gia_sustima_thermokrasias=1; lcd.clear(); lcd.print("m.a M.D Piso"); 25 C 0,,». 1, : M.A M.D Piso. 41

if ((therm<=25)&&(voithitikos_metritis_gia_sustima_thermokrasias==1)) { servokinisi.write(90); servostrofi.write(90); lcd.clear(); lcd.print(" Drosise Ligaki"); delay(5000); digitalwrite(sustima_thermokrasias_off, HIGH); delay(2000); digitalwrite(sustima_thermokrasias_off, LOW); delay(1000); voithitikos_metritis_gia_sustima_thermokrasias=0; lcd.clear(); lcd.print("m.a M.D Piso"); 25 C 1 ( ),,. 0, : M.A M.D Piso. niklcdprint();. 42

if ((apostasi_mprosta_aristera<29)&&(apostasi_mprosta_aristera>3)) { for (int x=0; x<7; x++) { Serial.println("Opisthen aristera "); Serial.println(apostasi_mprosta_aristera); Serial.print("\t"); Serial.print("\t"); Serial.println(apostasi_mprosta_dexia); servokinisi.write(40); servostrofi.write(115); delay(100); apostasi_mprosta_aristera = sonar _mprosta_aristera.ping_cm(); delay(100); apostasi_mprosta_dexia = sonar _mprosta_dexia.ping_cm(); delay(100); apostasi_piso = sonar_piso.ping_cm(); niklcdprint(); if (((apostasi_piso<21) && (apostasi_piso>2))) { break; 25 3,».. 6...,, ( ). : 3, HC-SR04, 2, 1 2 3-4, 0.! 43

else if ((apostasi_mprosta_dexia<29)&&(apostasi_mprosta_dexia>3)) { for (int y=0; y<7; y++) { Serial.println("Opisthen dexia "); Serial.println(apostasi_mprosta_aristera); Serial.print("\t"); Serial.print("\t"); Serial.println(apostasi_mprosta_dexia); servokinisi.write(40); servostrofi.write(65); delay(50);...,,,.!. apostasi_mprosta_aristera = sonar_mprosta_aristera.ping_cm(); delay(50); apostasi_mprosta_dexia = sonar_mprosta_dexia.ping_cm(); delay(40); apostasi_piso = sonar_piso.ping_cm(); niklcdprint(); if (((apostasi_piso<21) && (apostasi_piso>2))) { break; 44

void niklcdprint() { lcd.setcursor(0, 1); lcd.print(apostasi_mprosta_aristera); lcd.print(" "); lcd.setcursor(5, 1); lcd.print(apostasi_mprosta_dexia); lcd.print(" "); lcd.setcursor(11, 1); lcd.print(apostasi_piso); lcd.print(" "); niklcdprint().. lcd.setcursor(5, 1) M.D ). float thermokrasia() { byte o; byte present = 0; byte type_s; byte data[12]; byte addr[8]; float celsius; if (!ds.search(addr)) { ds.reset_search(); delay(50); ds.reset(); ds.select(addr); ds.write(0x44,1); delay(800); present = ds.reset(); ds.select(addr); ds.write(0xbe); thermokrasia() Arduino One Wire,., bits. http://playground.arduino.cc/le arning/onewire for ( o = 0; o < 9; o++) { data[o] = ds.read(); unsigned int raw = (data[1] << 8) data[0]; if (type_s) { raw = raw << 3; if (data[7] == 0x10) { raw = (raw & 0xFFF0) + 12 - data[6]; else { 45

byte cfg = (data[4] & 0x60); if (cfg == 0x00) raw = raw << 3; else if (cfg == 0x20) raw = raw << 2; else if (cfg == 0x40) raw = raw << 1; celsius = (float)raw / 16.0; Serial.print(" Temperature = "); Serial.print(celsius); Serial.print(" Celsius, "); return celsius; void xrwma_analoga_ti_thermokrasia() { if (therm<=5) { digitalwrite(red_led, HIGH); digitalwrite(blue_led, HIGH); digitalwrite(green_led, HIGH); else if (therm>5 && therm<=10) { digitalwrite(red_led, LOW); digitalwrite(blue_led, HIGH); digitalwrite(green_led, LOW); else if (therm>10 && therm<=15) { digitalwrite(red_led, LOW); digitalwrite(blue_led, HIGH); digitalwrite(green_led, HIGH); else if (therm>15 && therm<=20) { digitalwrite(red_led, HIGH); digitalwrite(blue_led, HIGH); digitalwrite(green_led, LOW); else if (therm>20 && therm<=25) { digitalwrite(red_led, LOW); digitalwrite(blue_led, LOW); digitalwrite(green_led, HIGH); xrwma_analoga_ti_the rmokrasia() RGB LED. 23. 46

else if (therm>25 && therm<=30) { digitalwrite(red_led, HIGH); digitalwrite(blue_led, LOW); digitalwrite(green_led, HIGH); else if (therm>30) { digitalwrite(red_led, HIGH); digitalwrite(blue_led, LOW); digitalwrite(green_led, LOW); float thermokrasia_xoris_kathisterisi() { byte o; byte present = 0; byte type_s; byte data[12]; byte addr[8]; float celsius; if (!ds.search(addr)) { ds.reset_search(); delay(50); ds.reset(); ds.select(addr); ds.write(0x44,1); thermokrasia_xoris_kathisterisi() thermokrasia(). 800ms. present = ds.reset(); ds.select(addr); ds.write(0xbe); for ( o = 0; o < 9; o++) { data[o] = ds.read(); unsigned int raw = (data[1] << 8) data[0]; if (type_s) { raw = raw << 3; if (data[7] == 0x10) { 47

48 raw = (raw & 0xFFF0) + 12 - data[6]; else { byte cfg = (data[4] & 0x60); if (cfg == 0x00) raw = raw << 3; else if (cfg == 0x20) raw = raw << 2; else if (cfg == 0x40) raw = raw << 1; celsius = (float)raw / 16.0; Serial.print(" Temperature = "); Serial.print(celsius); Serial.print(" Celsius, "); return celsius;

49

4.,... 4.1 Bluetooth Bluetooth module. android,. Arduino XBee shield Bluetooth. 50

: link: http://www.mobot.es/mobotbtcar.html 51

4.2 music shield Arduino (portable),., LCD.,,! : 52

4.3 WiFi Arduino WiFi Shield WiFi. : http://blog.tkjelectronics.dk/2011/02/wifi-controlled-rc-car-with-the-arduino/ http://www.youtube.com/watch?v=bsybrevtsis&list=pl1523240f4c28f4ea 53

4.4,. microsd card, internet, WiFi. : http://hackhd.com/ : http://cpvrc.wordpress.com/2012/11/23/episode-2-hackhd-on-my-arduino-rc-racer/# 54

55...

56

: 1. http://el.wikipedia.org 2. http://arduino.cc 3. http://alexkaltsas.wordpress.com/2012/03/18/avr-gcc- %CF%83%CE%B5%CF%81%CE%B2%CE%BF%CE%BA%CE%B9%CE%BD%CE%B7%CF%84%CE %AE%CF%81%CE%B5%CF%82- %CE%BC%CE%BF%CE%BD%CF%84%CE%B5%CE%BB%CE%B9%CF%83%CE%BC%CE%BF%CF %8D-aka-servos/ 4. http://www.arduinogr.com/2013/01/water-tank-level-display.html 5. http://www.cooking-hacks.com 57