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
 
Tools
Old 8th January 2009, 09:19 PM   #1
Unhappy Pic Programming Commands

I'm having trouble finding the all the commands that are used in the programming of a PIC 16F627A/628A. Is there somewhere I can find a more complete list of commands that are used to program PICs?
__________________
This is the way the world ends,
This is the way the world ends,
This is the way the world ends,
Not with a BANG
But with a BELCH

BURRRRRRRRRRPPPPPPP

Last edited by skeeterb; 8th January 2009 at 09:21 PM. Reason: Taking out unneeded info
skeeterb is offline  
Old 8th January 2009, 09:23 PM   #2
Default

Currently all the 14bit core PICs like the 16F627A have the same 33 instructions as every other 16F PIC. There are newer ones coming that have 43 instructions.

Download my Firefly manual as it has the 14bit instruction set done in color including the SFRs for the 16F88

For your state machine why not just download and try out PIC BASIC Pro (the free version) much easier than assembly for getting started.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/

Last edited by blueroomelectronics; 8th January 2009 at 09:24 PM.
blueroomelectronics is online now  
Old 8th January 2009, 09:45 PM   #3
Default

Quote:
Originally Posted by skeeterb View Post
I'm having trouble finding the all the commands that are used in the programming of a PIC 16F627A/628A. Is there somewhere I can find a more complete list of commands that are used to program PICs?
Get the datasheet. Look at Chapter 15.0 on Page 115.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is offline  
Old 8th January 2009, 10:05 PM   #4
Default

Quote:
Originally Posted by skeeterb View Post
I'm having trouble finding the all the commands that are used in the programming of a PIC 16F627A/628A. Is there somewhere I can find a more complete list of commands that are used to program PICs?
How can you have trouble?, they are listed in the datasheet for every PIC.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th January 2009, 10:37 PM   #5
Post

I didn't know I'm totally new to working with microcontrollers. I realized my circuit is gonna have to be edited after thinking about the way the inputs and outputs are wired in my circuit, and I'm gonna have to rip up the current routing on the PCB that I have designed to fix the changes.
__________________
This is the way the world ends,
This is the way the world ends,
This is the way the world ends,
Not with a BANG
But with a BELCH

BURRRRRRRRRRPPPPPPP
skeeterb is offline  
Old 9th January 2009, 05:25 AM   #6
Default

Looking over the data sheet for the chip, and I think I got some of the commands, but its the memory registers to use for my simple logic that eludes me. It only uses 2 inputs and 5 outputs, one leading to the relay to the output and 3 LEDs. How would I go about finding what memory registers to use in my program?

Circuit Logic

Upper + Lower = 1; Operation = 1; Warn = 0; Refill = 0
Upper = 0; Lower = 1; Operation = 1; Warn = 1; Refill = 0
Upper = 0; Lower = 0; Operation = 0; Warn = Flashing; Refill =1
__________________
This is the way the world ends,
This is the way the world ends,
This is the way the world ends,
Not with a BANG
But with a BELCH

BURRRRRRRRRRPPPPPPP

Last edited by skeeterb; 9th January 2009 at 05:27 AM.
skeeterb is offline  
Reply

Tags
commands, pic, programming

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
c18 commands parts-man73 Micro Controllers 2 29th September 2008 05:54 PM
Need help !! If commands in asm file rukshankb Micro Controllers 1 22nd September 2007 05:15 PM
Cellular AT Commands mayo General Electronics Chat 4 28th June 2006 09:45 PM
AT COmmands of GSM mowri Electronic Projects Design/Ideas/Reviews 2 3rd February 2006 06:24 PM
commands Gaston Micro Controllers 2 9th April 2005 09:12 AM



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


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker