Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 09:45:18 09:45


Login with username, password and session length


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

Posts: 417

Thank You
-Given: 275
-Receive: 1533



WWW
« on: April 24, 2013, 04:39:49 16: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
Senior Member
****
Offline Offline

Posts: 329

Thank You
-Given: 702
-Receive: 118


« Reply #1 on: April 24, 2013, 04:58:30 16:58 »

excellent, a very nice project.

thanks for sharing it
Logged

I fought Ohm's Law ...  and the law won
I only use Mosfets because I have a Bipolar mental disorder :-)
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



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

Write it up for Nuts and Volts - they'll pay you for it
Logged
puta
Junior Member
**
 Muted
Offline Offline

Posts: 89

Thank You
-Given: 358
-Receive: 29


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


Awesome..!

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

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


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

Do you have PCBs to sell?
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 417

Thank You
-Given: 275
-Receive: 1533



WWW
« Reply #5 on: April 26, 2013, 02:34:26 14:34 »

There is an option PCB format PCAD-2006 and Gerber, which option would suit?
Logged
Old_but_Alive
Senior Member
****
Offline Offline

Posts: 329

Thank You
-Given: 702
-Receive: 118


« Reply #6 on: April 26, 2013, 04:30:20 16:30 »

i would also be interested in a couple of bare pcb,s
Logged

I fought Ohm's Law ...  and the law won
I only use Mosfets because I have a Bipolar mental disorder :-)
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #7 on: April 26, 2013, 05:07:54 17: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
Catcatcat
Senior Member
****
Offline Offline

Posts: 417

Thank You
-Given: 275
-Receive: 1533



WWW
« Reply #8 on: April 26, 2013, 06:47:28 18: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: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


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

Ok, how much does it cost for each PCB.
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 417

Thank You
-Given: 275
-Receive: 1533



WWW
« Reply #10 on: April 26, 2013, 09:34:12 21: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, 09:38:58 21:38 by Catcatcat » Logged
sohel
Senior Member
****
Offline Offline

Posts: 442

Thank You
-Given: 167
-Receive: 149



« Reply #11 on: April 28, 2013, 05:37:05 05: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
Catcatcat
Senior Member
****
Offline Offline

Posts: 417

Thank You
-Given: 275
-Receive: 1533



WWW
« Reply #12 on: April 28, 2013, 07:19:47 07: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: 442

Thank You
-Given: 167
-Receive: 149



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

thanks
i have to study mplabx, i am new about it. Grin
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 417

Thank You
-Given: 275
-Receive: 1533



WWW
« Reply #14 on: April 28, 2013, 08:19:41 08: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: 442

Thank You
-Given: 167
-Receive: 149



« Reply #15 on: April 28, 2013, 11:41:58 11: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
Catcatcat
Senior Member
****
Offline Offline

Posts: 417

Thank You
-Given: 275
-Receive: 1533



WWW
« Reply #16 on: April 28, 2013, 01:52:15 13: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: 442

Thank You
-Given: 167
-Receive: 149



« Reply #17 on: April 28, 2013, 02:10:34 14:10 »

i was trying to simulate with proteus, compile file included.
Logged
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