Sign the Guestbook
|
| 1 | 26 Jul 2010 01:42 PM wp100 From: England |
| Hi Bogdan, First just to say congratulations on providing your project in the finest presentation I have ever seen - perfect ! I had been searching for some working assembler code for the D18B20, but had not come across your project until I was given your link in the EDA forum. Have now got the DS18B20 working well on my existing project with a 18F4520 and lcd, so much better than the old NTC or LM35. thanks again ![]() Response: Hey wp, Thank you for your feedback! I'm glad you found something useful in this project and that you wrote this in my guestbook. Nice. Cheers, Bogdan |
| 2 | 21 Jun 2010 11:37 AM Sakurock From: Estonia |
| Hi I want to use the sensor DS18B20 Is it necessary to change the code when I use PIC16F84 & DS18S20 DS18B20 instead. If so, what? Thanks |
| 3 | 14 Jun 2010 01:04 PM wasantha From: colombo Sri Lanka |
| Hi Bogdan, MY Name is Wasantha, I am form Sri Lanka I made your Clock/temp project and it works OK!!! But When I tried to compile the .ASM file using MPLABv7.00 it give an Error message. Also the Temperature readout Shows -32C on the display. And the Temperature does not go down when an ice cube is brought closer to the DS1820. Can you please help me to solve above errors. IF You Have any other Projects using PIC16F628/ 84 Please Let me know. ThanResponse: When compiling, use a newer version of MPlab, I saw at microchip site that the latest version is 8.53. You shouldn't receive errors using this version. If the temperature is -32 make sure you used correct sensor with correct project (DS18S20 is different than DS18B20). DS1820 should be compatible with DS18S20. Also check: -> wires/voltages -> if another sensor is working in the circuit -> if you current sensor is working in another circuit I'm saying this to identify if you sensor is good. I have many downloads to this project and hadn't receive this kind of error and I assume your sensor might be the problem. Regards, Bogdi |
| 4 | 11 Jun 2010 01:27 PM neckolas From: yemen |
| please bogdi for the project of the clock I need the dll file of ds18s20 for proutues 7.2 please help me would you attach it . thanks alot I realy pretiate it for you. |
| 5 | 23 May 2010 06:21 AM Fidelis From: Nigeria |
| Hi, Bogdi. Thanks alot for this project. I need to build this clock with the 12hr format. Is it possible to adapt ? Please help. Good job. ![]() Response: Fidelis, You didn't said the project you need this change for. I will tell you for the F84 with S20. If you are not using this project you can search for similar changes in yours. The changes are in Digital_*.asm : 1. ;WRITE__WHAT is 4 : display setting hours WW_is__4 ; Set hours WW_is__ h, D'24', D'0' Change line above with: WW_is__ h, D'12', D'0' 2. ; SECONDS=60 EVENT & derivate subroutines _if h, D'24', h_is_24 ;if h=24 increment days Change line above with: _if h, D'12', h_is_24 3.; SETUP (runs this only once at startup) setup ............. init_v2 h, D'12', m, D'00'; set hour and minutes (this is where the hour is initialized, set it to a valid hour like -any- below 12) Change line above with: init_v2 h, D'10', m, D'00' ( keep case letters as they are in the code )After you finished changes download MPlab and compile it, this will make your new hex file. If you run into trouble you can write @ yahoo: borca_bn Cheers, bogdi |
| 6 | 11 May 2010 07:07 AM KA From: KUWAIT |
| How is PIC16F84 different from PIC16F84A ? Can I use PIC16F84 instead? thanks IC FULL CODE: MOTOROLA PIC16F84-047P Response: Hi KA, You can use F84, should work as well as F84A |
| 7 | 21 Mar 2010 02:52 PM KJ From: Q8 |
| Hello Bogdi, thanks for the sharing the great project :) I plan to use it in my graudation project, But i can't find the DS IC responsible for temp sensing, so would bypassing it by a connection to Vcc+ work just fine ? Proteus agrees and displays 00c and I don't mind showing false temprature, and I don't want to manipulate the code to avoid and problems. so would connecting pin 17 to Vcc work ? thanks Response: Hi KJ, It's better to connect the pin to ground through a resistor, or just let it unconnected. You can connect pin 17 also to V+ but do that through a resistor. The pin tries to "talk" to the sensor by changing the pin state (in/out) and if connected directly to V+ I don't think is quite good. Regards, Bogdi |
| 8 | 15 Feb 2010 05:18 PM florin ciobanu From: pitesti, romania |
| Salutari, vreau sa fac si eu ceasul si nu am afisoare decat cu catod comun, si nu pot sa-mi dau seama cum sa modific codul, se poate modifica?, pot sa modific legaturile electronice dar nu vreau sa complic schema electronica. Multumesc! Response: Adresa gresita de mail? Te rog scrie-mi pe yahoo: borca_bn Bogdan |
| 9 | 15 Feb 2010 05:15 PM Gábor From: Budapest |
| Hi, please if You can, say something for me about the temp conversion... because I need to display the temperature on 16 char LCD. I can convert the LSB and MSB to digits, but only by .5 degrees.... I dont know how can I convert for example the 2000x0.0625 to 125 C in digits... when the 18b20 is in 12 bit version of course. ![]() Response: Hi Gábor I did not used this resolution and don't know a straight answer for you, but if you can figure out this example from the ds18b20 datasheet: +25.0625 | (MSB)0000 0001 (LSB)1001 0001 | 0191h then I think you could find the answer. Regards, Bogdi |
| 10 | 11 Jan 2010 10:32 AM George From: Houston, Texas USA |
| Hello, I tried the program on a 628A ( newer version of the 628) and it works GREAT!!!:). It loaded perfectly the first time through MPLAB and no downloading issues. Question - I noticed over a 24 hour period the clock looses roughly 30 seconds / day. Is this normal? Thanks Again for your help ! George Response: Hi George, I'm glad the code works on 628A. The timing error is normal because of the cheap xtal this clock is using. I have like 20 seconds lost/day for 628 clock and 7 seconds gain/day for 84 clock even if they are using same software based on Roman's Black zero-error algorithm. Problem is in both cases the hardware (either xtal or capacitors used). For this reason I've created the possibility to adjust or calibrate the second and make the clock very accurate. Download new code with Sh and Sl settings and read my section about how to calibrate your clock. Regards, Bogdi |