Welcome to Dream.In.Code
Getting Help is Easy!

Join 105,772 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,317 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Thermostat Project

 
Reply to this topicStart new topic

Thermostat Project

dms
post 19 May, 2003 - 04:37 AM
Post #1


New D.I.C Head

*
Joined: 3 Dec, 2002
Posts: 41

My project consist of controlling two temperature limits (configurable) che showing all the information on a LCD display.

Showing the clock, current temperature, rec limits in an external eeprom, th and tl limits and when a limit event happend.

I used the I2C protocol, the sensore communicates using this protocol, as well as the Real-time clock and the EEPROM memory.

I used a pic16f877.


smile.gif


Attached thumbnail(s)
Attached Image
User is offlineProfile CardPM

Go to the top of the page


Noffke
post 19 May, 2003 - 07:43 AM
Post #2


D.I.C Regular

***
Joined: 9 Aug, 2002
Posts: 497


My Contributions


You gonna have a site for the project? how is the temperature detected? thermistors?

I did something similar for my senior design project. We controlled a fan and it's speed inside a computer using a Pic controller and diplayed it to an LCD and polled temperature from thermistors...

I wanted to create an actual thermostat for a house....but time and resources were short.

This post has been edited by Noffke: 19 May, 2003 - 07:47 AM
User is offlineProfile CardPM

Go to the top of the page

dms
post 19 May, 2003 - 08:36 AM
Post #3


New D.I.C Head

*
Joined: 3 Dec, 2002
Posts: 41

I used a digital thermometer interfaced using the I2C bus, it's the DS1631 by Dallas Semiconductor Maxim. The output is on a 12-bit resolution, you don't need ADCs or anything. The EEPROM memory is the 24LC32A by Microchip and it uses the I2C bus as well.

Well I don't know if I'll be doing a site but I've got a 80 pages documentation on the project. I could post the electrical scheme.


Did you hear something about the TINI by Dallas Semiconductor, it's a powerful netword microcontroller with Ethernet built-in and IPv4 as well as the future IPv6.
It's crazy what you can do with that microcontroller.
In dalsemi they've builded a Ethernet Speaker. You could play MP3s over your local network and if you attach this speaker in the net you could actually hear the sound.


Everything programmable with Java 2.
User is offlineProfile CardPM

Go to the top of the page

Noffke
post 19 May, 2003 - 08:59 AM
Post #4


D.I.C Regular

***
Joined: 9 Aug, 2002
Posts: 497


My Contributions


that sounds frickin' awesome. I'll have to check that out. How much does the controller cost though?
User is offlineProfile CardPM

Go to the top of the page

dms
post 19 May, 2003 - 09:42 AM
Post #5


New D.I.C Head

*
Joined: 3 Dec, 2002
Posts: 41

I've bought the kit

DSTINIm400 and DSTINIs400 search in dalsemi's web-site.
User is offlineProfile CardPM

Go to the top of the page

dms
post 19 May, 2003 - 11:36 AM
Post #6


New D.I.C Head

*
Joined: 3 Dec, 2002
Posts: 41

DSTINIm400's features:

- Hosts the TINI Runtime Environment in Validated Hardware Design
- Industry Standard MII Interface to Connect to a Wide Variety of Network Interfaces Including 10/100 Base-T, Optical, and HomePNA.
- Three Hardware Serial Ports
- Integrated 1-Wire Network Master
- CAN2.0B Port
- Real-Time Clock for Time Stamping
- 1MB Flash ROM for Application Storage
- 1MB NV SRAM for Data Storage
- 3.3V Single-Supply Operation
- Fully Assembled and Tested Design


This great peice of tech has FTP, TELNET services.


So assign him an IP address and you can start to communicate with it. Sending him Java applications to be executed and it is multi-threaded too.
You can even upgrade an application without really rebooting the system, you just send him the new java classes he needs, while the application is always running.

It has I2C and SPI as well.


The microcontroller by its self can drive up to 16MB of memory, I don't remember if program memory of data memory... You should read the data-sheet.


I've got mine right here and this thing is just so great. You could write applications that check if all the doors of your building are locked, what time, how, etc, just by accessing the TINI over telnet or whatever.

It has a 100Mbit ethernet controller, you can do lots of stuff with it...


Tell me what you think about it.
User is offlineProfile CardPM

Go to the top of the page

dms
post 19 May, 2003 - 11:43 AM
Post #7


New D.I.C Head

*
Joined: 3 Dec, 2002
Posts: 41

The thing is that the chip its-self is really cheap!

That's why's getting pretty great!


If you buy the kit you'd pay a total of 150$ but it's worthed really beleive me!


Oh and yes, some one sent me a web-server to load on the TINI and I just accessed the IP number from the browser and saw the html starting page.


My professor told me that lot's of companies are putting wap servers on top of this great peice of hardware.


and everything is open source.

the TINI has an OS in it.
User is offlineProfile CardPM

Go to the top of the page

Noffke
post 23 May, 2003 - 01:34 PM
Post #8


D.I.C Regular

***
Joined: 9 Aug, 2002
Posts: 497


My Contributions


this chip has endless possibilities. Perhaps when I go back to school, I will come up with a project to use it...maybe to expand and make the cooling system from a computer to a house cooling system that is controllable from anywhere! cool your house down before you come home, and turn the air up while you are away...

This post has been edited by Noffke: 23 May, 2003 - 01:36 PM
User is offlineProfile CardPM

Go to the top of the page

dms
post 25 May, 2003 - 03:07 AM
Post #9


New D.I.C Head

*
Joined: 3 Dec, 2002
Posts: 41

Yes that would be a worderful project really!

You'll see the big companies what they'll come up with in a couple of years.


The thing is that you should have a static IP address. The TINI has also a PPP dail-up.

Right now I'm under exams so I'll finish with my electronics apprentice and I don't really have enough time to get into it, and I'm sure in october when I'll start electrical egineering I'll have time for it tongue.gif


I wasn't really sure if you wanted to know something about the project I've done.
User is offlineProfile CardPM

Go to the top of the page

qpmz
post 4 Sep, 2006 - 07:33 AM
Post #10


New D.I.C Head

*
Joined: 4 Sep, 2006
Posts: 1


My Contributions


Hi, I'm doing a similar project using ds1631 and pic18f4455. Do you mind if you can share your information with me? Can you send me the doc and asm file for my referance to jacenng@yahoo.com.sg?
User is offlineProfile CardPM

Go to the top of the page

ThE_kInG
post 23 Apr, 2008 - 02:38 PM
Post #11


New D.I.C Head

*
Joined: 23 Apr, 2008
Posts: 1

hey dms
i saw your project and it seem very great work, and i have some question about it

regards
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/21/08 04:03PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month