Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 18th November 2007, 07:19 AM   (permalink)
Default Noob help with pic16f628a

Ok I want to build a digital thermometer with a ds18s20 but i have no idea on how to burn the source code on the chip. I have a willem burner that is capable of doing so but I dont know how to turn the source code into a hex file that my willem can program. I have downloaded mplab but its really confusing. The source file is in .txt format and is written in pic i think. I know you guys might just tell me to search and I have but since dont know what terminology to use, its kind of hard to find what im looking for. So can anyone help out a noob??
undesiredshoe is offline  
Old 18th November 2007, 07:31 AM   (permalink)
Default

In MPLAB, use the project wizard to create a new project using a 16f628a. Next go into "Project\add new file to project" and enter a filename with the extension .asm You will now have an empty window. Paste the contents of the txt file into this window. You should now be able to do "Project\make" to generate a hex file.

HTH

Mike.
Pommie is online now  
Old 18th November 2007, 02:49 PM   (permalink)
Default

Where is your project schematic and source code located? Somewhere on the Internet? I'd just like to check it out. Thanks.

Mike
Mike, K8LH is offline  
Old 19th November 2007, 02:07 AM   (permalink)
Default

Quote:
Originally Posted by Mike, K8LH
Where is your project schematic and source code located? Somewhere on the Internet? I'd just like to check it out. Thanks.

Mike
This is the link for the project.

http://www.guidecircuit.com/Circuit-...thermostat.htm

theres another temp meter where the circuit seems more simple but I cant get the source code, Ive tried emailing them multiple times but no reply.

This is the link for that circuit.....http://electronics-diy.com/pic_temperature_meter.php

In mplab, i went to the project wizard and theres a lot more steps than what Pommie mentioned. The first screen tells me to chose my chip, so i chose PIC16f628A. The next screen i dont get, it says, select a language tool. I dont know so i click next. So then it says to create a new project and i make one called tempmeter.asm and click next. The next screen says add existing files to your project. I dont know what to do here also so i just click next and click finish.

This brings me to a big blank screen with a little box in it. The title of the box is tempmeter.asm.mcw and theres folders that say source files, header files, etc. I click File and then add new files to project. I make a name and hten press save. A blank white box pops up and i paste the code from the txt file in there and save it. Then I right click on "source files" and add files. I select the file i just saved. It then appears under "source files" in the box. When i click "make", all this stuff pop up and at the end it says "build failed"

Sorry if its really confusing but I dont know how else to explain it.
undesiredshoe is offline  
Old 19th November 2007, 03:30 AM   (permalink)
Default

Source code is from this site

http://www.guidecircuit.com/Circuit-...thermostat.htm

I tried following pommies steps but when i go to project wizard, theres some extra steps and i dont understand them.
undesiredshoe is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Request for help on an LED bar graph circuit by an electronics noob. ThrowingChicken Electronic Projects Design/Ideas/Reviews 38 14th April 2007 02:09 AM
ICSP doesnt work - PIC16F877A, PIC16F628A hitman47 Micro Controllers 1 21st February 2007 08:48 AM
PIC16F628A - What is meant by package type? mbu Micro Controllers 5 14th February 2007 12:33 AM
Need help!!! Read 64 bit manchester code using PIC16F628A ct82 Micro Controllers 3 15th August 2005 01:47 AM
Eeprom Prob (PIC16f628a) 2camjohn Micro Controllers 6 13th December 2004 12:01 PM



All times are GMT. The time now is 02:06 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker