Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2016, 11:24:49 23:24


Login with username, password and session length


Pages: [1]
Print
Author Topic: Four-channel temperature controller  (Read 3296 times)
0 Members and 1 Guest are viewing this topic.
Catcatcat
Active Member
***
 Warned
Offline Offline

Posts: 116

Thank You
-Given: 88
-Receive: 258



WWW
« on: April 24, 2013, 05:39:49 17:39 »

I bring to your attention a project to study the work with temperature sensors DS18b20 and how the finished design.


Four independent channels of temperature control, can simultaneously connect 16 temperature sensors DS18B20 with the removal of up to three hundred meters. You can choose to adjust the sensor is connected to the device. Each channel can operate in either heating or cooling mode. The range of temperature control up to 125.0 -55.0 Celsius. The controller for temperature measurement uses a library ds18b20.h. Library performs all functions related to servicing network of 16 sensors, as well as the ability to add and replace if necessary damaged. To display the library indic_4led.h. The minimum number of parts used.




Implementation project in MPLAB IDE v8.90, MPLAB XC8 C Compiler V1.12.
The project is in the attachment. If you have any questions do not hesitate to ask. Additional description can be read on my website
Logged
Old_but_Alive
V.I.P
Active Member
*****
Offline Offline

Posts: 211

Thank You
-Given: 152
-Receive: 56


« Reply #1 on: April 24, 2013, 05:58:30 17:58 »

excellent, a very nice project.

thanks for sharing it
Logged
solutions
Hero Member
*****
Offline Offline

Posts: 1446

Thank You
-Given: 587
-Receive: 851



« Reply #2 on: April 25, 2013, 04:33:58 04:33 »

Write it up for Nuts and Volts - they'll pay you for it
Logged
puta
V.I.P
Junior Member
*****
Offline Offline

Posts: 68

Thank You
-Given: 196
-Receive: 23


« Reply #3 on: April 26, 2013, 11:51:35 11:51 »


Awesome..!

Good work Mate  !!!
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #4 on: April 26, 2013, 01:03:57 13:03 »

Do you have PCBs to sell?
Logged

nothing to say..
Catcatcat
Active Member
***
 Warned
Offline Offline

Posts: 116

Thank You
-Given: 88
-Receive: 258



WWW
« Reply #5 on: April 26, 2013, 03:34:26 15:34 »

There is an option PCB format PCAD-2006 and Gerber, which option would suit?
Logged
Old_but_Alive
V.I.P
Active Member
*****
Offline Offline

Posts: 211

Thank You
-Given: 152
-Receive: 56


« Reply #6 on: April 26, 2013, 05:30:20 17:30 »

i would also be interested in a couple of bare pcb,s
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #7 on: April 26, 2013, 06:07:54 18:07 »

I did not mean I wanted to make those PCBs.
I want ready PCBs.

If we can setup a group buy for PCBs and components, we can get them for cheap.
Logged

nothing to say..
Catcatcat
Active Member
***
 Warned
Offline Offline

Posts: 116

Thank You
-Given: 88
-Receive: 258



WWW
« Reply #8 on: April 26, 2013, 07:47:28 19:47 »

Purchased from the Ukraine, several printed circuit boards, I think it is useless. I ordered their production in China, there are easier and cheaper to manufacture. If necessary I can help make order, and you will pay and receive. In an attachment, Gerber files from writing to order production. Just a word of caution, it is a universal circuit board is designed for multiple devices.

Posted on: April 26, 2013, 07:35:57 19:35 - Automerged

It is a complete circuit diagram of the PCB
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #9 on: April 26, 2013, 08:13:19 20:13 »

Ok, how much does it cost for each PCB.
Logged

nothing to say..
Catcatcat
Active Member
***
 Warned
Offline Offline

Posts: 116

Thank You
-Given: 88
-Receive: 258



WWW
« Reply #10 on: April 26, 2013, 10:34:12 22:34 »

Printed circuit board itself is inexpensive, the cost of expensive pre-production and transportation costs. The more order, the cheaper the cost per unit. I can link you to the manufacturer, and they will be given to you an invoice.

On the number of 200 units, the cost turned in $ 0.7
« Last Edit: April 26, 2013, 10:38:58 22:38 by Catcatcat » Logged
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #11 on: April 28, 2013, 06:37:05 06:37 »

compiler error,

anyone have proteus simulation?

Thanks

"HI-TECH C Compiler for PIC10/12/16 MCUs (PRO Mode)  V9.83
Copyright (C) 2011 Microchip Technology Inc.
Serial number: HCPICP-654321 (PRO)
Warning [1090] E:\Four-channel temperature controller\ch4010-v16.catcatcat_2\main.c; 86. variable "_telefon" is not used
Warning [1090] E:\Four-channel temperature controller\ch4010-v16.catcatcat_2\ds18b20.h; 48. variable "_coldachu" is not used
Warning [1090] E:\Four-channel temperature controller\ch4010-v16.catcatcat_2\ds18b20.h; 49. variable "_naydendatch" is not used
Warning [1090] E:\Four-channel temperature controller\ch4010-v16.catcatcat_2\main.c; 111. variable "_poslsim" is not used
Warning [1090] E:\Four-channel temperature controller\ch4010-v16.catcatcat_2\main.c; 111. variable "_teleaddr" is not used
Error   [223] E:\Four-channel temperature controller\ch4010-v16.catcatcat_2\main.c; 55. digit out of range
Error   [223] E:\Four-channel temperature controller\ch4010-v16.catcatcat_2\main.c; 55. digit out of range

********** Build failed! **********
"
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
Catcatcat
Active Member
***
 Warned
Offline Offline

Posts: 116

Thank You
-Given: 88
-Receive: 258



WWW
« Reply #12 on: April 28, 2013, 08:19:47 08:19 »

Use the MPLAB XC8:

Microchip MPLAB XC8 C Compiler V1.12
Copyright (C) 2012 Microchip Technology Inc.
License type: w

Memory Summary:
    Program space        used  19C8h (  6600) of  2000h words   ( 80.6%)
    Data space           used    B2h (   178) of   400h bytes   ( 17.4%)
    EEPROM space         used    48h (    72) of   100h bytes   ( 28.1%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

Loaded C:\Proekt_MPLAB\_illissi\_ch_4000_termoreg\ch_4000_termoreg.cof.

********** Build successful! **********
Logged
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #13 on: April 28, 2013, 08:51:43 08:51 »

thanks
i have to study mplabx, i am new about it. Grin
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
Catcatcat
Active Member
***
 Warned
Offline Offline

Posts: 116

Thank You
-Given: 88
-Receive: 258



WWW
« Reply #14 on: April 28, 2013, 09:19:41 09:19 »

project can easily be transferred to MPLABX

check here working in this environment:

Microchip MPLAB XC8 C Compiler V1.12
Copyright (C) 2012 Microchip Technology Inc.
License type: w

Memory Summary:
    Program space        used  19C8h (  6600) of  2000h words   ( 80.6%)
    Data space           used    B2h (   178) of   400h bytes   ( 17.4%)
    EEPROM space         used    48h (    72) of   100h bytes   ( 28.1%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

make[2]: Leaving directory `C:/Proekt_MPLABX/_ch_4000_termoreg/ch_4000_termoreg.X'
make[1]: Leaving directory `C:/Proekt_MPLABX/_ch_4000_termoreg/ch_4000_termoreg.X'

BUILD SUCCESSFUL (total time: 19s)
Loading code from C:/Proekt_MPLABX/_ch_4000_termoreg/ch_4000_termoreg.X/dist/default/production/ch_4000_termoreg.X.production.hex...
Loading symbols from C:/Proekt_MPLABX/_ch_4000_termoreg/ch_4000_termoreg.X/dist/default/production/ch_4000_termoreg.X.production.cof...
Loading completed

If difficulties arise I can fill in for the draft forum for MPLABX
Logged
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #15 on: April 28, 2013, 12:41:58 12:41 »

 Grin now i am going to new world with mplabx.
Thanks Again.

Microchip MPLAB XC8 C Compiler V1.12
Copyright (C) 2012 Microchip Technology Inc.
main.c:86: warning: variable "_telefon" is not used
ds18b20.h:48: warning: variable "_coldachu" is not used
ds18b20.h:49: warning: variable "_naydendatch" is not used
main.c:111: warning: variable "_poslsim" is not used
main.c:111: warning: variable "_teleaddr" is not used

Memory Summary:
    Program space        used  13E4h (  5092) of  2000h words   ( 62.2%)
    Data space           used    78h (   120) of   400h bytes   ( 11.7%)
    EEPROM space         used    28h (    40) of   100h bytes   ( 15.6%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

make[2]: Leaving directory `C:/Documents and Settings/Administrator/MPLABXProjects/new.X'
make[1]: Leaving directory `C:/Documents and Settings/Administrator/MPLABXProjects/new.X'

BUILD SUCCESSFUL (total time: 14s)
Loading code from C:/Documents and Settings/Administrator/MPLABXProjects/new.X/dist/default/production/new.X.production.hex...
Loading symbols from C:/Documents and Settings/Administrator/MPLABXProjects/new.X/dist/default/production/new.X.production.cof...
Loading completed
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
Catcatcat
Active Member
***
 Warned
Offline Offline

Posts: 116

Thank You
-Given: 88
-Receive: 258



WWW
« Reply #16 on: April 28, 2013, 02:52:15 14:52 »

I was interested in these figures

I
Quote
Memory Summary:
    Program space        used  19C8h (  6600) of  2000h words   ( 80.6%)
    Data space           used    B2h (   178) of   400h bytes   ( 17.4%)
    EEPROM space         used    48h (    72) of   100h bytes   ( 28.1%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

and sohel
Quote
Memory Summary:
    Program space        used  13E4h (  5092) of  2000h words   ( 62.2%)
    Data space           used    78h (   120) of   400h bytes   ( 11.7%)
    EEPROM space         used    28h (    40) of   100h bytes   ( 15.6%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)
Logged
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #17 on: April 28, 2013, 03:10:34 15:10 »

i was trying to simulate with proteus, compile file included.
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC