ON 20070511@11:08:42 AM at page: http://www.piclist.com/techref/microchip/picstartplusicsp.htm#39213.3407407407 James Newton[JMN-EFP-786] removed post 39213.3407407407 |Delete 'patriya_hell@yahoo.com "

hacked panji_helix " ' ON 20070511@11:09:26 AM at page: http://www.piclist.com/microchip/picstartplusicsp.htm#39213.3420601852 James Newton[JMN-EFP-786] removed post 39213.3420601852 |Delete 'patriya_hell@yahoo.com "

your computer remote by helix "
  • ' ON 20070511@11:26:38 AM at page: http://www.piclist.com/microchip/links.htm#39212.3861458333 James Newton[JMN-EFP-786] published post 39212.3861458333 http://www.pmpcomp.fr A free PIC Pascal language compiler! |Delete 'P-' before: '' but after: ' http://www.pmpcomp.fr There is a new Pascal compiler for Pic: PMP |Delete 'P-' before: '' but after: ' For a low cost programmer supported by Microchip, checkout the PICKit2. Starting at $34.95, it's hard to beat. PIC24F and dsPIC3x support has been added recently.
  • ' ON 20070516@8:23:14 AM at page: http://techref.massmind.org/techref/microchip/osc.htm# David A Cary[DAV-MP-E62a] edited the page. Difference: http://techref.massmind.org/techref/diff.asp?url=H:\techref\microchip\osc.htm&version=0 ON 20070516@11:44:11 PM at page: http://www.piclist.com/microchip/a2d.htm#39215.5983680556 James Newton[JMN-EFP-786] removed post 39215.5983680556 |Delete 'DONKHWANLEB76@HOTMAIL.COM

    HI
    IAM CARLOS FROM LEBANON
    PLZZZZZZZZZZZZZZZZZZZZZZZZZ
    HELPPPPPPPPPPPPPPPPPPPPPPPPP
    ME
    IAM DOING PROJECT FOR MY UNIVERSIY
    IT IS ABOUT PIC CONNECTED TO VOLTAGE
    VOLTAGE HAVE 2 ONE IS MORE THEN 2.5 V
    AND OTHER UNDER THEN 2.5 V
    I WANT TO COMMUNICATE THIS PIC TO MOTEUR DC 12V

    WHEN IS UP THEN 2.5 THE MOTEUR WILL WORK IN RIGHT WAY
    AND WHEN IS DOWN FROM 2.5V THE MOTEUR WILL WORK IN LEFT WAY


    SO WANT THE PROGRAMES IN PIC THAT MEAN IN A/D CONVERSION
    PLZ HELP ME
    I WANT RESULT PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
  • ' ON 20070520@9:12:35 PM at page: http://www.piclist.com/microchip/links.htm#39222.2755208333 James Newton[JMN-EFP-786] published post 39222.2755208333 rukshan@lankawebzone.com refers to " http://www.pic.lankawebzone.com Introduction to PIC 16F84A for beginers" |Delete 'P-' before: '' but after: 'openbsd@list.nl " Thank You" |Delete 'P-' before: '' but after: 'openbsd@listspl " Thank You"
  • ' ON 20070526@12:01:06 AM at page: http://www.piclist.com/techref/microchip/books.htm#39227.8791666667 James Newton[JMN-EFP-786] removed post 39227.8791666667 |Delete 'openbsd@openbsd.ru " Thank You"
  • ' ON 20070526@12:08:11 AM at page: http://www.piclist.com/techref/microchip/books.htm# James Newton[JMN-EFP-786] edited the page. Difference: http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\books.htm&version=9 ON 20070526@12:08:30 AM at page: http://www.piclist.com/techref/microchip/books.htm#39227.0759606482 James Newton[JMN-EFP-786] removed post 39227.0759606482 |Delete 'openbsd@list.nl " Thank You" James Newton replies: You are most welcome.

  • ' ON 20070528@1:06:08 PM at page: http://www.sxlist.com/microchip/ds1820-code.htm#39230.095474537 James Newton[JMN-EFP-786] removed post 39230.095474537 with comment: 'Add a comment to each and every line of the code explaining to yourself and others exactly what that line does. Look it up if needed. That almost always corrects the problem.' |Delete 'karabo_moloto@yahoo.com asks:
    hi i need help with my ds1820 project i am using pic 16f628 Lcd(ks006u dot matrix lcd driver)now can't get my sensor to work I am using Rc internal oscillator because when i use 4Mhz XT the LCD does not work here is the code below please help INCLUDE List p=16f628 DQ EQU 0x2A Counter_file EQU 0x2B ds1820_contents_LSB EQU 0x2C read_counter EQU 0x2D LOOP1 EQU 0x2E LOOP11 EQU 0x2f ds1820_contents_MSB EQU 0X3A BIN_NR EQU 0X3B UNIT EQU 0x3C TEN EQU 0x3D HUNDRED EQU 0x3E ORG 0X00 goto MAIN MAIN BSF STATUS,5 CLRF TRISB CLRF TRISA MOVLW B'00001000' MOVWF TRISA MOVWF OPTION_REG CLRF PCON BCF STATUS,5 CLRF PORTA CLRF PORTB MOVLW B'00000111' MOVWF CMCON main2 nop MOVLW .50 CALL DELAY_10USEC MOVLW .50 CALL DELAY_10USEC MOVLW .50 CALL DELAY_10USEC CALL FUN_SET CALL DISP_ON CALL SHIFT_CRSC GOTO MESSAGE ;RS=PORTA2 ;R/W=PORTA1 ;E=PORTA0 ;FUNTION ;********************************************************* FUN_SET CALL DELAY2 CALL DELAY3 BCF PORTA,2 MOVLW B'00111100' MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN DISP_ON BCF PORTA,2 MOVLW B'00001111' MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CLR_DISP BCF PORTA,2 ;CLEAR DISPLAY MOVLW 0x01 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN ENABLE BSF PORTA,0 CALL DELAY1 BCF PORTA,0 RETURN SHIFT_CRSC bcf PORTA,2 MOVLW B'0000110' MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN DELAY1 CLRF TMR0 MOVF TMR0,W LOP1 SUBLW .8 BTFSS STATUS,Z GOTO LOP1 RETURN DELAY2 CLRF TMR0 MOVF TMR0,W LOOP2 SUBLW .16 BTFSS STATUS,Z GOTO LOOP2 RETURN DELAY3 CLRF TMR0 MOVF TMR0,W LOOP3 SUBLW .32 BTFSS STATUS,Z GOTO LOOP3 RETURN ;MESS ;********************************************************************** MESSAGE CALL CHAR_P CALL CHAR_r CALL CHAR_o CALL CHAR_j CALL CHAR_e CALL CHAR_c CALL CHAR_t CALL CHAR_SPACE CALL CHAR_N CALL CHAR_a CALL CHAR_m CALL CHAR_e MOVLW .50 CALL DELAY_10USEC MOVLW .50 CALL DELAY_10USEC MOVLW .50 CALL DELAY_10USEC MOVLW .50 CALL DELAY_10USEC OVER GOTO METHOD_INI DIP_TEMP CALL DELAY1 CALL CLR_DISP CALL CHAR_T CALL CHAR_e CALL CHAR_m CALL CHAR_p CALL CHAR_ CALL CHAR_SPACE CALL POLARITY GOTO TEMP_VALUE ;TXT ;************************************************************* CHAR_T BSF PORTA,2 MOVLW 0x54 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_p BSF PORTA,2 MOVLW 0x70 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_ BSF PORTA,2 MOVLW 0x3A MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_P BSF PORTA,2 MOVLW 0x50 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_r BSF PORTA,2 MOVLW 0x72 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_o BSF PORTA,2 MOVLW 0x6f MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_j BSF PORTA,2 MOVLW 0x6A MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_e BSF PORTA,2 MOVLW 0x65 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_c BSF PORTA,2 MOVLW 0x63 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_t BSF PORTA,2 MOVLW 0x74 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN ;2LINE CHAR_SPACE BSF PORTA,2 MOVLW 0x20 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_N BSF PORTA,2 MOVLW 0x4E MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_a BSF PORTA,2 MOVLW 0x61 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN CHAR_m BSF PORTA,2 MOVLW 0x6D MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN ;*********************** ;*DQ=PORTa,3 ;*********************** ; DS1820 Initialazation STEP1 ;**************************** METHOD_INI CALL METHOD2_hi CALL METHOD1_Lo MOVLW .50 ; 500 us delay CALL DELAY_10USEC CALL METHOD2_hi MOVLW .30 ; 300 us delay CALL DELAY_10USEC ;&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ;*************************************************************************** ;This is a command to skip rom command ;************************************************************************** movlw 0xcc movwf DQ call send_data_out ;This is a command to Convert temperature ;************************************************************************** movlw 0x44 movwf DQ call send_data_out CALL DELAY3;need to through in a delay of about 500ms that is the total conversion time MOVLW .250 ; 500 us delay CALL DELAY_10USEC MOVLW .250 ; 500 us delay CALL DELAY_10USEC MOVLW .250 ; 500 us delay CALL DELAY_10USEC MOVLW .250 ; 500 us delay CALL DELAY_10USEC MOVLW .250 ; 500 us delay CALL DELAY_10USEC MOVLW .250 ; 500 us delay CALL DELAY_10USEC ; DS1820 Initialazation STEP1 ;**************************** METHOD_INI2 CALL METHOD2_hi CALL METHOD1_Lo MOVLW .50 ; 500 us delay CALL DELAY_10USEC CALL METHOD2_hi MOVLW .50 ; 500 us delay CALL DELAY_10USEC ;This is a command to skip rom command ;************************************************************************** movlw 0xcc movwf DQ call send_data_out ;This is a command Read scratch pad ;****************writing from ds1820 to pic********************************** Reading_SCPAD MOVLW 0xBE MOVWF DQ call send_data_out Read_time_slot MOVLW 0x08 movwf read_counter Loop call METHOD1_Lo nop call METHOD2_hi nop nop nop Bsf STATUS,C btfss PORTA,3 bcf STATUS,C rrf ds1820_contents_LSB ;this is a file were binary from ds1820 will be stored MOVLW D'6' call DELAY_10USEC decfsz read_counter goto Loop movf ds1820_contents_LSB,w ; goto Read time slot ; goto Reading_SCPAD Read_time_slot2 MOVLW 0x08 movwf read_counter Loop2 call METHOD1_Lo nop call METHOD2_hi nop nop nop Bsf STATUS,C btfss PORTA,3 bcf STATUS,C rrf ds1820_contents_MSB ;this is a file were binary from ds1820 will be stored MOVLW D'6' call DELAY_10USEC decfsz read_counter goto Loop2 movf ds1820_contents_MSB,w GOTO DIP_TEMP ;************************END of read Scrchpad********* ;TO SEND DATA TO DS1820 Serially {writing to ds1820} ;*********************Functions********************* send_data_out MOVLW 0x08 movwf Counter_file shit_data_out RRF DQ,f btfss STATUS,C goto Bit0 goto Bit1 counter1 decfsz Counter_file goto shit_data_out return Bit0 call METHOD1_Lo MOVLW .6 call DELAY_10USEC call METHOD2_hi goto counter1 Bit1 call METHOD1_Lo call METHOD2_hi MOVLW .6 call DELAY_10USEC goto counter1 ;Fuction for the rest pulse ;************************** METHOD1_Lo BCF PORTA,3 BSF STATUS,5 BCF TRISA, 3 ; low impedance zero BCF STATUS,5 RETURN METHOD2_hi BSF STATUS,5 BSF TRISA,3 BCF STATUS,5 RETURN FUN_DELY ADDLW 0XFF BTFSS STATUS,Z GOTO FUN_DELY RETURN ;delay num 2 DELAY_10USEC: nop; provides a delay equal to W * 10 usecs MOVWF LOOP1 DELAY_10USEC_1 NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP DECFSZ LOOP1, F GOTO DELAY_10USEC_1 RETURN POLARITY RRF ds1820_contents_MSB BTFSS STATUS,C GOTO _POSITIVE GOTO _NEGATIVE _NEGATIVE BSF PORTA,2 MOVLW 0x2D MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN _POSITIVE BSF PORTA,2 MOVLW 0x2B MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN ;******************DISPLAY TEMP VALUES************************ TEMP_VALUE BCF STATUS,C RRF ds1820_contents_LSB,F BTFSS STATUS,C GOTO T1 ;NORMAL GOTO T2 ;0.5 T1 MOVF ds1820_contents_LSB,W CALL DISP_DEC GOTO CELCIUS T2 MOVF ds1820_contents_LSB ,W CALL DISP_DEC DOT BSF PORTA,2 MOVLW 0x2E MOVWF PORTB CALL ENABLE CALL DELAY2 FILE_.5 BSF PORTA,2 MOVLW 0x35 MOVWF PORTB CALL ENABLE CALL DELAY2 DEGREE_C BSF PORTA,2 MOVLW 0xDF MOVWF PORTB CALL ENABLE CALL DELAY2 CELCIUS BSF PORTA,2 MOVLW 0x43 MOVWF PORTB CALL ENABLE CALL DELAY2 MOVLW .50 CALL DELAY_10USEC MOVLW .50 CALL DELAY_10USEC MOVLW .50 CALL DELAY_10USEC MOVLW .100 CALL DELAY_10USEC MOVLW .100 CALL DELAY_10USEC MOVLW .100 CALL DELAY_10USEC GOTO OVER UNITS MOVLW 0X30 ADDWF UNIT,W BSF PORTA,2 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN TENS MOVLW 0X30 ADDWF TEN,W BSF PORTA,2 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN HUNDREDS MOVLW 0X30 ADDWF HUNDRED,W BSF PORTA,2 MOVWF PORTB CALL ENABLE CALL DELAY2 RETURN ;----------------------------------------------------------------------; ; Change binary nbr in bin to BCD ; ;----------------------------------------------------------------------; DISP_DEC BCF STATUS,C RRF ds1820_contents_MSB BTFSS STATUS,C GOTO ROTATE GOTO COMPLIMENT ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% COMPLIMENT COMF ds1820_contents_LSB ,W ADDLW .1 MOVWF ds1820_contents_LSB RRF ds1820_contents_LSB,F BCF ds1820_contents_LSB,7 MOVF ds1820_contents_LSB ,W GOTO DISPLAY_v ROTATE RRF ds1820_contents_LSB,F GOTO DISPLAY_v ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DISPLAY_v MOVWF BIN_NR ANDLW 0X0F MOVWF UNIT TEST_IF_OVER_9 MOVF BIN_NR,W SUBLW .9 BTFSS STATUS,C GOTO TEST_OVER_19 GOTO UNDER_9 UNDER_9 CALL UNITS RETURN TEST_OVER_19 MOVF BIN_NR,W SUBLW .19 BTFSS STATUS,C GOTO TEST_OVER_29 GOTO UNDER_19 UNDER_19 MOVF UNIT,W ADDLW 0X06 ANDLW 0X0F MOVWF UNIT MOVLW .1 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_29 MOVF BIN_NR,W SUBLW .29 BTFSS STATUS,C GOTO TEST_OVER_39 GOTO UNDER_29 UNDER_29 MOVF UNIT,W ADDLW .12 ANDLW 0X0F MOVWF UNIT MOVLW .2 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_39 MOVF BIN_NR,W SUBLW .39 BTFSS STATUS,C GOTO TEST_OVER_49 GOTO UNDER_39 UNDER_39 MOVF UNIT,W ADDLW .18 ANDLW 0X0F MOVWF UNIT MOVLW .3 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_49 MOVF BIN_NR,W SUBLW .49 BTFSS STATUS,C GOTO TEST_OVER_59 GOTO UNDER_49 UNDER_49 MOVF UNIT,W ADDLW .24 ANDLW 0X0F MOVWF UNIT MOVLW .4 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_59 MOVF BIN_NR,W SUBLW .59 BTFSS STATUS,C GOTO TEST_OVER_69 GOTO UNDER_59 UNDER_59 MOVF UNIT,W ADDLW 0X30 ANDLW 0X0F MOVWF UNIT MOVLW .5 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_69 MOVF BIN_NR,W SUBLW .69 BTFSS STATUS,C GOTO TEST_OVER_79 GOTO UNDER_69 UNDER_69 MOVF UNIT,W ADDLW .36 ANDLW 0X0F MOVWF UNIT MOVLW .6 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_79 MOVF BIN_NR,W SUBLW .79 BTFSS STATUS,C GOTO TEST_OVER_89 GOTO UNDER_79 UNDER_79 MOVF UNIT,W ADDLW .42 ANDLW 0X0F MOVWF UNIT MOVLW .7 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_89 MOVF BIN_NR,W SUBLW .89 BTFSS STATUS,C GOTO TEST_OVER_99 GOTO UNDER_89 UNDER_89 MOVF UNIT,W ADDLW .48 ANDLW 0X0F MOVWF UNIT MOVLW .8 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_99 MOVF BIN_NR,W SUBLW .99 BTFSS STATUS,C GOTO TEST_OVER_109 GOTO UNDER_99 UNDER_99 MOVF UNIT,W ADDLW .54 ANDLW 0X0F MOVWF UNIT MOVLW .9 MOVWF TEN CALL TENS CALL UNITS RETURN TEST_OVER_109 MOVF BIN_NR,W SUBLW .109 BTFSS STATUS,C GOTO TEST_OVER_119 GOTO UNDER_109 UNDER_109 MOVF UNIT,W ADDLW .60 ANDLW 0X0F MOVWF UNIT MOVLW .0 MOVWF TEN MOVLW .1 MOVWF HUNDRED CALL HUNDREDS CALL TENS CALL UNITS RETURN TEST_OVER_119 MOVF BIN_NR,W SUBLW .119 BTFSS STATUS,C GOTO TEST_OVER_129 GOTO UNDER_119 UNDER_119 MOVF UNIT,W ADDLW .66 ANDLW 0X0F MOVWF UNIT MOVLW .1 MOVWF TEN MOVWF HUNDRED CALL HUNDREDS CALL TENS CALL UNITS RETURN TEST_OVER_129 MOVF BIN_NR,W SUBLW .129 BTFSS STATUS,C GOTO TEST_OVER_139 GOTO UNDER_129 UNDER_129 MOVF UNIT,W ADDLW .72 ANDLW 0X0F MOVWF UNIT MOVLW .2 MOVWF TEN MOVLW .1 MOVWF HUNDRED CALL HUNDREDS CALL TENS CALL UNITS RETURN TEST_OVER_139 RETURN END
  • ' ON 20070529@10:41:14 PM at page: http://www.sxlist.com/microchip/links.htm#39231.8577893519 James Newton[JMN-EFP-786] removed post 39231.8577893519 |Delete 'gayan@lankawebzone.com refers to " http://www.podcasting.lankawebzone.com http://www.podcasting.lankawebzone.com is he best site to find out what is Podcasting."
  • ' ON 20070529@10:41:48 PM at page: http://www.sxlist.com/techref/microchip/links.htm#39231.8536342593 James Newton[JMN-EFP-786] removed post 39231.8536342593 |Delete 'gayan@lankawebzone.com refers to " http://www.bit.lankawebzone.com http://www.bit.lankawebzone.com is a site to know all the facts about BIT degree in Sri lanka."
  • ' ON 20070529@10:42:15 PM at page: http://www.sxlist.com/techref/microchip/links.htm#39231.8548842593 James Newton[JMN-EFP-786] removed post 39231.8548842593 |Delete 'gayan@lankawebzone.com refers to " http://www.adsense.lankawebzone.com http://www.adsense.lankawebzone.com for beginers of google adsense"
  • ' ON 20070531@4:59:19 PM at page: http://www.piclist.com/microchip/devprogs.htm#39233.6753472222 James Newton[JMN-EFP-786] removed post 39233.6753472222 with comment: 'So contact winpic' |Delete ' I succesfully programmed a 16F84A in Winpic but when i try a 12F675 i get error messages relating to ID Location 2007 ...
  • '