Download presentation
Presentation is loading. Please wait.
1
Chameleon Display on Tizen
Embedded Software Lab., SKKU Min Ji Kim, Daejun Park, Sihoon Choi
2
Goal Chameleon display using external sensor on ODUINO one
Temperature, Humidity from DHT11 Applying display color change with real-time sensor value
3
ODUINO One? Arduino UNO ODUINO ONE
Microcontroller board based on the ATmega328 ODUINO ONE Arduino UNO + LCD/keypad shield + DHT11 + USB Cable DHT11: Humidity and Temperature sensor module DHT11 Arduino UNO ODUINO One Arduino UNO R3 LCD + keypad shield Humidity and Temperature sensor module DHT 11 USB Cable
4
Temperature, Humidity
Architecture USB Connection /dev/ttyACM# (Kernel configuration setting) Data Parsing Temperature, Humidity File Read sysfs Periodic Update /sys/class/Vsensor/oduino/oduino_sensor fprintf(fd, temperature, humidity); Tizen UI Framework
5
Implementation USB connection between Odroid & Arduino(with sensor)
Parsing to meaningful data Temperature, Humidity Data transferring with sysfs Input data to UI framework Rendering with input data chameleonD virtualSensor UI Framework EVAS
6
chameleonD main.cpp Using ecore main loop
Adding timer to update sensor value ODUINO One default update period = 1 sec Update new sensor value by 1.5 secs
7
chameleonD (cont’d) Update new sensor value with sysfs file
Reading sensor from ODUINO One
8
chameleonD (cont’d) oduinoSerialReader.cpp Device open &
Initialize connection setting Parsing & Reading sensor value
9
virtualSensor oduino_sensor.c Create sysfs module
/sys/class/Vsensor/oduino/oduino_sensor
10
Evas rendering part UI framework(evas layer) Adding new API to draw
/src/lib/canvas/evas_render.c Adding new API to draw evas_temp_humid_apply(Evas* e) Reading sysfs file to get temperature & humidity
11
Evas rendering part (Cont’d)
Adding new API to draw evas_temp_humid_apply(Evas* e) Calculate color vector with temperature & humidity Adding new object to top layer Touch disabling Color setting Drawing
12
Expectation Provide weather information with UI
Intuitively providing diverse information with UI to user 어려웠던 점
13
Results(Demo) Chameleon Display http://youtu.be/Flk99dcak5U
~0:30 : Booting 0:30~0:35 : initial temperature & humidity showing(HUMI: 34%, TEM: 26℃) 0:35~0:50 : Heating (HUMI: 49%, TEM: 31℃) 0:50~1:10 : More heating (HUMI: 71%, TEM: 33℃) 1:15~1:38 : Cooling (HUMI: 45%, TEM: 27℃)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.