Pics

I require help ! ! Anybody? I plan on purchasing a Pic programmer. A Pic 2 or Dragon? Both similar price.

Topic by gomjabar   |  last reply


pic programming? Answered

I am not able to load the hex file to the pic that hex file i am trying to load had loaded sucsessfully before but now gives a verification error. why is this happening and how to fix this?????

Question by robot1398   |  last reply


PIC PROGRAMMER

I just want to know if there is a different pic programmer for different pic microcontroller

Topic by ipis_12   |  last reply


PIC QUESTION

I am new to programing and was wondering if there is any way to read the code off a PIC chip without damaging it or if you plug it into a programmer will it destroy the data on the chip. Sorry if this is a stupid question any help would be most appreciated

Topic by xlbloodlust   |  last reply


PIC Microcontrollers

Hello. I'm just making my entrance into the world of microcontrollers. But as I self learning everything I have a few questions. I recently purchased 2 PICS (16F648A) and a programming board. The board works fine and I got it to connect to the computer and reconize the PIC. I guess my first question is, Is all hex code PIC specific? Meaning would I be able to use this code "http://www.voti.nl/blink/index_1.html#16F630" for my PIC? The models are very similar but not exact. If not, I would like to do the standard "Blink an LED" as my first project. How would I write my code for this PIC and what materials would I need? Thanks!

Topic by jefferson987   |  last reply


Pic Basics

Is there a website to learn about how to use picmicro's really easily? I realize that there are some instructables about it, but to be honest they arn't very helpful. For example, I have no clue what the crystal does, why you need it, how to hook it up, and how much voltage they need because I need to buy some.

Topic by guyfrom7up   |  last reply


Custom PIC

Savage innovations does not offer a small OOPic chip. OOPic is my favorite MCU and I want a small one. Soooo, I decided I want to make one. In theory, The process is simple. The OOPic 2 is a PIC16F77 with custom firmware. I ordered a similar chip (PIC16F876A) to put the firmware on so I basically have a smaller OOPic. Savage innovations does not offer the OOPic firmware as a download so I have to extract it from my OOPic2. Here's my questions. Will a JDM2 programmer be able to extract the firmware? Will WinPic800 work to do this? Will this erase my OOPic's firmware entirely? Is it even possible? I would like some input and if you guys say it will be okay, I am going to do it. (I'll post and ible if it works.

Topic by gimmelotsarobots   |  last reply


How to start into PIC? Answered

Hey friends! Yesterday my uncle gave me an old pic16f72 microcontroller. I am a beginner to arduino and have written few programs myself but PIC is absolutely obsolete to me. I want to ask that is pic a standalone ic to program or it need other hardware. Also in which language are these programmed. Plz tell me all the basics. Thanks! :)

Question by DELETED_Snehil1101   |  last reply


Beginner PIC user? Answered

I have some pic12f675 chips laying around, but I have never used pic before. I have heard that they are very easy to program, and very useful. I have experience using arduino. does it use the same language, and can you use the arduino ide with it? as I said I am a beginner with these, so please include as much info as you can, and please leave links to some tutorials if you can. thanks in advance!

Question by Higgs Boson   |  last reply


PIC Programming Software

I am just starting to get into PICs, problem is, I can't find a program. All these tutorials on PICs on Instructalbes talk about the hardware, but not very many talk about software. I am pretty fluent in VBasic/Basic so I would like a developer that works in that language or C/C++. I have PIC Prog, but that just downloads it. Anyway here's what I need help finding: -Free devolpment and compiler program -Preferably programs with Basic or C -Works with JDM2 programmers. Yes I have MCU experience, but it's been with an OOPic. I can't use it on everything so I am switching to PICs. Anyway if anyone can help me with software solutions, I'd really appreciate it.

Topic by gimmelotsarobots   |  last reply


usb pic programmer Answered

Im looking for a schematic or instructible for a pic progrem with usb id rather make it myself though if any one know wheres there one please let me know

Question by hightekrednek2396   |  last reply


USB pic Programmer?

Ok guys so heres the deal i need a good and cheap schematics for a USB pic Programmer ive had some experience with schematics but i must admit its been a while my ultimate goal is to build a cheap good set of lazer tag thanks ps PIC18F2525 is the chip im trying to program

Question by nimbian   |  last reply


Cheap PIC microcontroller?

What is the cheapest PIC microcontroller with an analog input(a2d capability) and a few digital outputs?? and how much does it cost?? Thanks!

Question by Chris414   |  last reply


PIC & PICAXE Hardware

Hi, I have found these folks that are selling PIC & PICAXE hardware, http://stores.ebay.co.uk/The-Electronics-Hobby-Shop/Genie-PIC-PICAXE-Kits-and-PCBs-/_i.html?_fsub=4724566013&_lns=1&_sid=682369153&_trksid=p4634.c0.m322 Laters!

Topic by davidbraith 


what is this? (pics included)?

Okay, what are these things and what do they do? on them it says: "in4007 mic" [IMG]http://i689.photobucket.com/albums/vv259/mmcpherson4/Picture6.jpg[/IMG] i689.photobucket.com/albums/vv259/mmcpherson4/Picture6.jpg -thanks, mmcpherson4

Question by mmcpherson4   |  last reply


Getting Started with PIC

Hello again, I'm looking for suggestion or first hand accounts on getting started with programmable IC's. I'd say I have enough basic electronics skill to get by, but I'm completely new to programmable chips. So I'm asking where is the best place to start? I'm mostly just looking for hobby stuff at this point. The PICAXE stuff seems simple enough for a starting point, anyone have first hand experience there? I should note I don't have any access to programming though parallel ports, and I'm running Windows Vista, so any set up would need to support usb and my os. Additionally any recommendations on some reading would be nice too. Thanks again Nic

Topic by Mrlzeppelin   |  last reply





I want to load a ready made program into a PIC. how do I do it?. I don't need to write a program, just load it?.

I am OK with electronics construction but lousy with programming and at 80 can't really spare the time to learn Many thanks 

Question by RayRMBC   |  last reply


how to control stepper motors?

With pic if possible

Question by alfcreatevi   |  last reply


can ATmega and pic microcontrollers communicate with the rx and tx pins?

Hi. i am starting a project that will involve about 4 small boxes that have simple switches and led's connected to them. they will then all be linked to an arduino but maybe later on i will replace the arduino with a pcb that has an ATmega chip on. same as my arduino, which has my custom program on. i would like as least wires as possible. so by using the receive(rx) and transmit(tx) pins i would only need 4 wires. power, ground, rx and tx. BUT. pic microcontroller chips are alot easier to program and are cheaper too. i would not be able to use a pic microcontroller to control them all at the central hub so i would need the arduino and pic chips to be able to communicate without problems. only sending basic commands like: 0001 0011 or LED 1 HIGH. i just thought i'd check it could be done before i buy my parts. if it can't be done is there any way to make it work or any cheap alternatives? thanks, Luke 

Question by ljarrald   |  last reply


Making a watch using a PIC Answered

I want to make a wristwatch using a PIC to control the watch. How would I keep the time using it? Would I need a crystal and if so, how would I interface it with the PIC (how would it communicate with the PIC)? Thanks

Question by jamiec53   |  last reply


easy way to program PIC? Answered

What is the easyest way to program PIC chips? i have a ghetto programmer around for attiny's, and wondered if there was anything similar to that...

Question by godofal   |  last reply


pic 12f629 // mplab problem

Every time i try to build a 12f629 project i get  Error[118]   C:DOCUMENTS AND SETTINGSOWNERDESKTOP F629 SOURCE.ASM 6 : Overwriting previous address contents (2007) Error[118]   C:DOCUMENTS AND SETTINGSOWNERDESKTOP F629 SOURCE.ASM 6 : Overwriting previous address contents (2007) what is the problem as i used a good source code unmodfied

Question by 12V   |  last reply


How, what, why...PIC?

I've seen PIC microcontrollers on the internet and I'm not exactly sure what they do. Are they like Arduinos except you can remove the microchip you programmed and put it in a circuit you made? Is that how it works? Can someone tell me please?!?!?!?!

Question by Adum24   |  last reply


PIC Programmer Com Port?

Hello, yesterday, I bought a PIC16F877A Microcontroller and This programmer. I also installed PicPro USB. I am using the serial to usb cable that came with it. The programmer has a location of  Port_#0001.Hub_#0009 in device manager. Now when I open PicPro USB and set it to  port 1, It gives me an error saying: There appears to be a problem accessing the COM port. I cant seem to find whats wrong. [Edit] I think that It is connected to port 24 (hence its name: Prolific USB-to-Serial Comm Port (COM24) ) and the problem with PicPro USB is that it can only have 1 digit port numbers, how do I fix that? Thanks.

Question by Seifpic   |  last reply


pwm o/p pic?

Dear sir,                how to get low frequency 30.....300c/s square wave from PIC MCU ,application required to simulate a tachometer.

Question by padmanabhan.k   |  last reply


connector name (see pic)

I'm trying to replace the antenna on my Sprint Airave to get more distance (more on that later). i am trying to find the connector it uses on digikey. ive attached a picture. if you can tell me what this part is called, i'd greatly appreciate it. bonus: if you can get me a digikey/mouser/newark part number, i will post an instructable on range-boosting an Airave! also, i havent examined the pcb extensively yet, but if i slap a giant antenna on this board, will i have to put some sort of load inductance? i havent worked with near-Ghz frequencies before, so i dont know how sensitive these things are to loading. thanks, Daniel

Topic by samurai1200   |  last reply


Connecting to the network printer...(pics) Answered

I've spent hours searching the internet, but not a found an answer yet. When I use the add a printer wizard, I followed the steps as shown in the pictures below. Everything is going great, until I see my network (MSHOME) with no printer underneath (last picture). The network printer does work for the 2 Mac computers in my house, but it won't even show up on the 2 Microsoft computers. I need to print from the Microsoft computer (and not the Mac) because Papakuru paper-craft files ( .pdo file) can only be opened on a Microsoft computer. I really need to print the paper-craft patterns so my little brother can make a paper-craft Daft Punk Halloween mask! My OP system is Microsoft XP, running on a Dell computer. The network printer is hooked up to a mac computer (if that matters) Please help!!!!

Question by nepheron   |  last reply



where can i find a PIC microcontroller?? Answered

I dont have to explaine it cause you guys should know what it is.

Question by jerico420   |  last reply


Is it possible to use programmable pic in making our project coin automated changer?

Our project coin automated changer. the user will insert 5 peso coin and it will dispense 5 (1 peso coins) by the use of programmable pic, is it possible? any suggestions? thanks.

Question by viennie   |  last reply



How can I attach El wire to a PIC using an accelerometer as a switch?

I would like to use a PIC that would turn on the EL wire only when it is dark out via a small photocell. I would also like to incorporate an accelerometer that would detect when the person is walking or running (it is to go on shoes) as well as fade in and out. To turn it off to conserve battery power, I would like to incorporate a small switch so that when the person is home he can turn it off. Most of all, I would like to use 3 volts with a lithium ion cell or two AG13 batteries. I have wanted to use a CMOS 555 but it would make the circuit very complex very quickly which would make the circuit heavy and very uncomfortable to wear.

Question by blinkyblinky   |  last reply


How accurate do VGA timing signals have to be?

I'm looking to try to drive a VGA monitor using a PIC 16F690, on a 12MHz clock (3,000,000 operations per second) The most accurate the signal from the PIC can be is 1/3 uS, but the timings given are to 1/100 uS for the 640 X 480 @ 60Hz standard. Overall, each frame does come out to a whole number of cycles, so does the exact duration of each line matter? I've seen a PIC output very basic graphics on a 4MHz clock, so I would expect it to be fairly simple to just light up the display on 12MHz. Alternatively, is the display smart enough to fit whatever is fed into it onto the screen? Thanks for the help.

Question by The Skinnerz 


need help with pickkit 2

I just bought a pickit 2 and pic16f887.With it I got a dvd .there are 12 lessons for beginners in it.but they are in Chinese language . So i cant understand a thing. can anyone give me download link of those which are in english language? and can also give me any tutorial series for beginners with pic?

Question by TanvirM1   |  last reply


how can i on off a led with one push button,?

 i'm having trouble with picaxe program editor to do it..... i didn't got code for this thing.... 

Question by xameen404   |  last reply


what's this programming code language? Answered

i found a code for a pic16f28A it's simple: main:  lablel0:   switch off 3   switch on 0   pause 1000   switch on 1   switch off 0   pause 1000   switch on 2   switch off 1   pause 1000   switch on 3   switch off 2   goto label0

Question by top.boy   |  last reply


how to solve external crystal problem in pic16F and its capacitance

I have made a circuit of radio control switch with PIC16F and diplayed the value on LCD16X2, i am having the problem with its crystal frequency. When i set pic18F with its internal crystal of 4Mhz its working fine,but not with 16F using 4MHz  external crystal and 33pF capacitor so how should i solve the problem of external crystal and its capacitance for pic16F.

Question by Alia Bakhsh   |  last reply


MPLAB and PIC16F628A, basic EEPROM functions wont work

Hello all Ive got a query about the simulator in MPLAB.  I'm using a PIC16F628A-IP and Ive written a couple of subs to run the EEPROM functions, but when I try and run the program in the simulator and observe the registers, I'm noticing that EECON1 is not accepting bit changes, and when reading from the EEPROM, i get as far as getting the correct value into W register (MOVFW EEDATA), then the next step, simply a RETURN command, for no reason wipes the W register back to 0 and hence the routine always returns a 0 Can somebody have a look and see whats going wrong, this is one of the easiest routines to write as there are so many examples on the web, Ive even used code straight from Microchip's Code Library and that didnt work either, its driving me MAD!!! All I am trying to do with the following code is simply read the EEPROM contents of address 05, display the returned contents to PORTB, wait a second, then increment the contents by 1 and resave into the EEPROM at address 05, so by rights on power up I should see FF then 00 then 01 then 02, etc, incrementing every second, on PORTB....I'm a bit of a stickler for custom keywords so sorry if its a bit confusing, makes perfect sense to me of course! ;  GENERIC PROGRAMMING HEADER  LIST P=16F628A   ; DETERMINE CORE TYPE  INCLUDE "P16F628A.INC" ; INCLUDE DEFAULT ASSEMBLY FILE FOR THIS CORE  ORG 00H     ; START PROGRAM AT LINE 0  RADIX HEX    ; ASSUME HEX UNLESS SPECIFIED  ERRORLEVEL -302  ; NO BANK WARNINGS DURING ASSEMBLY   ;  SET BURN CONIFGURATION FOR NO WDT AND INTERNAL OSC AT 4MHZ  __CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_OFF &_INTRC_OSC_NOCLKOUT & _MCLRE_OFF & _LVP_OFF ;  CONSTANTS AND VARIABLES OPT  EQU 81H  ; OPTION REGISTER NN  EQU 02AH ; GENERAL N REGISTER FOR COUNTING DELAYS XX  EQU 02BH ; GENERAL X REGISTER FOR COUNTING DELAYS YY  EQU 02CH ; GENERAL Y REGISTER FOR COUNTING DELAYS TEMP EQU 02DH ; GENERAL TEMPORARY FOLDER 1 TMP  EQU 02EH ; GENERAL TEMPORARY FOLDER 2 FLAGS EQU 020H ; MISCELLANEOUS PROGRAM SPECIFIC FLAGS N  EQU 021H X  EQU 022H ; GENERAL TEMP STORES Y  EQU 023H ;  CUSTOM INSTRUCTIONS #DEFINE   BANK0     BCF       STATUS,RP0          ; Sel Bank 0 #DEFINE   BANK1     BSF       STATUS,RP0          ; Sel Bank 1 #DEFINE   READNVM CALL READ #DEFINE   WRITENVM CALL WRITE #DEFINE   W10MS  CALL DELAY #DEFINE   W1S  CALL DELAY1S ;----------------------------------------------------------------- ;  INITIALISE MICRO ;----------------------------------------------------------------- INIT   BANK1   CLRF  TRISB ; PORT B DEFINED ALL OUTPUTS   MOVLW 0FFH   MOVWF TRISA ; PORT A ALL INPUTS   BANK0 ;  SET TO MIMIC 16F84 BY TURNING OFF COMPARATOR   MOVLW 07H   MOVWF CMCON ;  PURGE GENERAL RAM FILES   CLRF NN   CLRF XX   CLRF YY   CLRF TEMP    CLRF TMP    CLRF FLAGS   CLRF N   CLRF X   CLRF Y   CLRF PORTA   CLRF PORTB   CLRF OPT   CLRF INTCON   ;------------------------------------------------------------------- ;  MAIN PROGRAM ;------------------------------------------------------------------- MAIN; ORIGIN   MOVLW 05   READNVM   MOVWF PORTB   W1S   MOVLW 05   MOVWF EEADR   MOVF PORTB,W   INCF W,1   MOVWF EEDATA   WRITENVM   GOTO  MAIN ;--------------------------------------------------------------------------- ;  END OF MAIN PROGRAM BODY ;---------------------------------------------------------------------------   GOTO FINISH  ; PROGRAM LOOP FALLOUT ;--------------------------------------------------------------------------- ;  SUBROUTINES ;--------------------------------------------------------------------------- ; LIST OF AVAILABLE SUBS: ; DELAY  = 10mS DELAY ; DELAY1S  = 1 sec DELAY ; WRITE  = WRITE TO EEPROM, MUST BE LOADED WITH EEDATA AND EEADR B4 ENTRY ; READ  = READ FROM EEPROM ADDRESS HELD IN W BEFORE ENTRY, RETURN RESULT IN W ;  10mS DELAY DELAY       MOVLW 0AH   MOVWF XX OUTER   MOVLW 0C7H   MOVWF YY INNER   NOP         NOP         DECFSZ  YY,1         GOTO    INNER                 DECFSZ  XX,1         GOTO    OUTER   NOP   NOP   NOP   NOP   NOP   NOP   NOP         RETURN DELAY1S   ; 100x10mS DELAYS   MOVLW  064H   MOVWF NN D1L  W10MS   DECFSZ NN,1   GOTO D1L    RETURN   WRITE       BANK1         CLRF EECON1                        BSF EECON1,WREN            ; enable write   W10MS   W10MS   BCF INTCON,GIE         MOVLW H'55'                ; magic sequence         MOVWF EECON2                       MOVLW H'AA'                          MOVWF EECON2                       BSF EECON1,WR   W10MS   W10MS             eeloop BTFSC EECON1,WR            ; wait for WR to go low         GOTO eeloop                ; not yet         BCF EECON1,WREN                    BCF INTCON,GIE           ; clear the interrupt flag         BANK0   W10MS   W10MS         RETURN READ BCF EECON1,WREN   MOVWF EEADR                ; set up eeprom address from W         BANK1   BSF EECON1,RD              ; set the read bit         BANK0   MOVFW EEDATA              ; return value in W         RETURN   ;  PROGRAM ENDS FINISH   END Note, this will probably make more sense if its copied and pasted into an ASM in MPLAB, as the tab stops and comments become more apparent THanks for looking  

Topic by whitebakecase   |  last reply


Do pre-programmed PICs exist?

I'm trying to complete an instructable however I ran across a small problem: I need to program a PIC. Unfortunately, the devices used to program the PICs (Pickit2) are too expensive for something that I'll use maybe once or twice. Is there a way to buy pre-programmed PICs with custom code? Thanks. 

Question by Rolcrz   |  last reply



professional arrow keypads functions using mikroC compiler and PIC microcontroller?

Hello, I want to design a professional arrow 5-keypad functions using mikroC compiler and PIC microcontroller  to navigate on a LCD page or screen so that; a cursor can move UP , DOWN , RIGHT , LEFT  and ENTER (enter and select functions) on the a 20X4 LCD or a T6963C GLCD to select an item on it and to do a function or output for each of those mentioned  5 keypads using mikroC compiler and a PIC microcontroller. Would you please place the above circuit request;its hardware codes(programs/software) here as a project?                                                                                                                     Thanks,

Question by bobx   |  last reply


need help making a servo driver? Answered

I want to make a servo driver with buttons to control the up and down movement. i have a pic programmer so i can use that but need help with design and code

Question by newbie life5   |  last reply


Test a PIC16F819-I/P to see if it works? Answered

Hey everybody. I am normally an Arduino user but I have a nice pile of PIC16F819-I/P chips and would like to test them to see if they work. I don't want to get the ChipKit programmer quite yet and would like to upload a "blink" program to the PICs from an Arduino. Does anybody have a good 'ible that would work with this particular chip?

Question by ThothLoki   |  last reply


RS 485 communication

Im trying to communicate with servos that use rs458 to move, Im going to use a chip from here: http://para.maxim-ic.com/en/search.mvp?fam=rs485&793=2.5%20to%205.5|3.0%20to%205.5|5&tree;=master probebly the MAX13181. But i need to know what pic micro to use to change the one pulse two pulse from a servo controller to a digital signal that the MAX13181 chip can understand

Question by hurtzmyhead   |  last reply


PIC16F877A coding to interface with MATLAB(GUI)

Hello, i just to ask anyone who know how to interface PIC16F877A with GUI(graphical user interface) using MATLAB ? Thank you

Topic by esan 


I just got a PIC14000 -04I/SP for 9 cents. What should/can I do with it?

So I went to my local surplus store, and wouldn't you know, I found a bunch of components!  Among them were 556 timers, comparators, resistors, diodes, and this PIC14000 microcontroller.  What can/should I do with this little gem I found hiding amongst the debris?

Question by KentaGrace   |  last reply


PIC Internal Clock -- How accurate?

Can I trust a PIC's 4Mhz internal clock to keep accurate time over days of use? Or will I need an external crystal. I'm vary weary of that, as I'm going for a compact design. Thanks for the help.

Topic by zachninme   |  last reply