|
Dewpointer |
|
|
|
Jan 2 2009, 19:28
|
Участник

Группа: Участник
Сообщений: 18
Регистрация: 7-12-08
Пользователь №: 42 268

|
Hi, I found a schematic of simple temperature, huminidity and dewpoint measuring cicruit. Originally device uses: Sht11 sensor, AT90S8535 MCU, and HD44780 like 20x4 LCD. In my project I replace Sht11 with Sht15 (from Sparkfun), At90s8535 is replaced with newer Atmega8535 (Atmel datasheets say - this is a at90s8535 direct repalcement). But this device working incorrectly, so I have only "Sht11 Monitor" label on LCD, without sensor readings. If possible please help me with source code. Source project:    URL: Source project - http://www.embedtronics.com/sht11/sht11.htmlSource code - http://www.embedtronics.com/sht11/shtdemo1.cSchematic - http://www.embedtronics.com/sht11/SHT11Sch.pdfMy device show only this label:  I tried to simulate device in Proteus simulator but this program show the same screen, without sensor readings, only label. Thank You!
|
|
|
|
|
 |
Ответов
|
Jan 4 2009, 13:38
|
Участник

Группа: Участник
Сообщений: 18
Регистрация: 7-12-08
Пользователь №: 42 268

|
Thanks for reply! Maybe I just simple attach a watch 32768 Hz crystal to TOSC1 ant TOSC2 pins, to run clock correctly? And I solve the "T:1fC H:1f%" readings problem, so I change "sprintf" function features in CodeVision software from "int, width" to "long, width, precision".  But some issue remain in th source code, because with sensor i give this LCd screen:  and without sensor like this (time, and readings are in correct format, but these no data from sensor):  Moddeling in Proteus give the same results. Maybe problem is in this block of code, because its like disabled (I am not programer)...  Thanks!!!
|
|
|
|
|
Jan 5 2009, 06:44
|
Частый гость
 
Группа: Свой
Сообщений: 118
Регистрация: 11-03-07
Из: Украина, Харьков
Пользователь №: 26 059

|
Цитата(Andrejka @ Jan 4 2009, 15:38)  Maybe problem is in this block of code, because its like disabled Hardly. Such piece of code is present some lower in file. Tell me please did you change Fuses? As I understand you generated code for 4MHz quartz, but really work with 1MHz internal oscillator (this is important for functions delay_ms, delay_us etc).
|
|
|
|
Сообщений в этой теме
Andrejka Dewpointer Jan 2 2009, 19:28 korobov_michael I found the following:
1. At initialization, you s... Jan 3 2009, 06:45 ReAl Цитата(Andrejka @ Jan 2 2009, 21:28) I tr... Jan 3 2009, 07:30 _Pasha Цитата(Andrejka @ Jan 4 2009, 17:38) Mayb... Jan 4 2009, 14:11 Andrejka My Atmega8535 fuses are: CKSEL3..0 - 1111, and I u... Jan 5 2009, 14:38 _Pasha Цитата(Andrejka @ Jan 5 2009, 18:38) Sht1... Jan 5 2009, 18:21  korobov_michael Цитата(_Pasha @ Jan 5 2009, 20:21) Please... Jan 5 2009, 18:42 korobov_michael Цитата(Andrejka @ Jan 5 2009, 16:38) Samp... Jan 5 2009, 20:07  _Pasha Цитата(korobov_michael @ Jan 6 2009, 00:0... Jan 5 2009, 20:22   korobov_michael Цитата(_Pasha @ Jan 5 2009, 22:22) You si... Jan 5 2009, 21:32  Andrejka Цитата(korobov_michael @ Jan 6 2009, 00:0... Jan 6 2009, 05:52   korobov_michael Цитата(Andrejka @ Jan 6 2009, 07:52) Yes,... Jan 6 2009, 07:39  Andrejka Цитата(korobov_michael @ Jan 6 2009, 00:0... Jan 6 2009, 21:43 radu hello
i'm beginner and i have the same problem... Jan 16 2009, 10:39 radu hello again
i solve the problem regarding correct ... Jan 16 2009, 19:16 korobov_michael Цитата(radu @ Jan 16 2009, 21:16) hello a... Jan 17 2009, 06:57 B0SC0 I, too, am working on this project and have a prob... Jan 22 2009, 20:17 korobov_michael Well, first of all give me please a couple of your... Jan 23 2009, 13:06  B0SC0 Цитата(korobov_michael @ Jan 23 2009, 08... Jan 23 2009, 14:05   Andrejka Цитата(B0SC0 @ Jan 23 2009, 17:05) The co... Jan 24 2009, 19:40    B0SC0 Цитата(Andrejka @ Jan 24 2009, 14:40) Jus... Jan 25 2009, 04:25     Andrejka Цитата(B0SC0 @ Jan 25 2009, 08:25) Yes, I... Jan 25 2009, 17:50
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0
|
|
|