fuzzy logic in 16f877

Started by Emmanuel Gonzalez in Piclist15 years ago 2 replies

can anyone share some ideas regarding fuzzy ligic in PIC? thanks --------------------------------------------------------- ...

can anyone share some ideas regarding fuzzy ligic in PIC? thanks --------------------------------------------------------- Emmanuel A. Gonzalez IEEE Student Member _________________________________________________________________ STOP MORE SPAM with the new


pwm

Started by mr_gees100_peas in Piclist15 years ago 1 reply

I'm using a pic 16f877. This has 2 pwm pins. My question is. Is it possible to run the 2 pwm at 2 different frequenciesat the same...

I'm using a pic 16f877. This has 2 pwm pins. My question is. Is it possible to run the 2 pwm at 2 different frequenciesat the same time?


Started by Lee in Piclist15 years ago 3 replies

Yet another 16F877 problem unfortunately, but hopefully a simple one (for some nice person to answer)... I have the equivalent...

Yet another 16F877 problem unfortunately, but hopefully a simple one (for some nice person to answer)... I have the equivalent of PICSTART plus (with MPLAB). I've attempted to write to the PIC, but it fails. I get several "serial time-out's" and the occasional &qu


floating pins

Started by wdavis364 in Piclist15 years ago 2 replies

I'm using Pic 16f877.If I'm only using Pin RB1, RB2, RB3, OSC 1 & 2 (crystal resonator), and RA0 (Pot) what pins should I pull up or...

I'm using Pic 16f877.If I'm only using Pin RB1, RB2, RB3, OSC 1 & 2 (crystal resonator), and RA0 (Pot) what pins should I pull up or will I be all right to let them float? thanks bill


PicBasic - TMR0 16F877

Started by dino308gt4 in Piclist16 years ago 1 reply

I'm using PicBasic and my project requires taking an analog reading every 100th of a second. Is using TMR0 the best way to do the...

I'm using PicBasic and my project requires taking an analog reading every 100th of a second. Is using TMR0 the best way to do the timing? It looks like the prescaler ratios do not make it possible.


If else if and if then statement for 32 bit

Started by quanbot in Piclist14 years ago

Hi! Could someone please enlighten me how to construct "if.... else if" and "if...then" statement in assemby for 32 bits? I've been...

Hi! Could someone please enlighten me how to construct "if.... else if" and "if...then" statement in assemby for 32 bits? I've been struggling with these though some of you may find it rather easy (in other words, i'm quite stupid). By the way, I'm using 16f877. Thanks! bryan


16F877 UART problems

Started by stdf23173 in Piclist15 years ago 4 replies

Hello All, I have written/copied some routines from c2c examples and used these to get the uart on the 877 working. (No...

Hello All, I have written/copied some routines from c2c examples and used these to get the uart on the 877 working. (No commercial stuff just DIY). Instead of using the TRMT to determine whether the buffer is empty i use the TXIF flag. The first 20-30 tranmissi


ICD-2 Problems

Started by Fredrik Krook in Piclist15 years ago 4 replies

Hi! I?m trying to program a circuit... 16F877 and then run it in debugmode... But it doesn?t work... getting the errors listed...

Hi! I?m trying to program a circuit... 16F877 and then run it in debugmode... But it doesn?t work... getting the errors listed below... Does anyone know how to get it to work... Programming Target... ...Erasing Part ...Programming EEPROM Memory


IIC

Started by bg3009 in Piclist15 years ago 11 replies

Previously, I wanted to make to 16F818 chips communicate over the IIC buss, but trying to get a code to bit bang sucessfully seems...

Previously, I wanted to make to 16F818 chips communicate over the IIC buss, but trying to get a code to bit bang sucessfully seems to be a pain. So I gave up and ordered a 16F877 this morning. What I want to know is if it is possible to get the data read from the slave by the mas


A/D converter...

Started by Ctub in Piclist14 years ago 3 replies

Hi: I'm doing a project with the embedded A/D converter of the 16F877. This must work with bipolar signals then im...

Hi: I'm doing a project with the embedded A/D converter of the 16F877. This must work with bipolar signals then im using two supplys: +2,5volts and -2.5volts for VDD and VSS respectively, the algebraic sum give 5 volts (pot diff)is into the margins of th


Getting it done..

Started by bg3009 in Piclist15 years ago 2 replies

I managed to 'borrow' the ICD2 and PICDEM 2 Board from a local supplier. And I ran the demo software on the 16F877 chip which came ...

I managed to 'borrow' the ICD2 and PICDEM 2 Board from a local supplier. And I ran the demo software on the 16F877 chip which came along with it.. Curiously, this software, which performs a clock, temperature, buzzer and voltmeter function displays everything the pic is capable o


Comparing values

Started by Mark Adams in Piclist13 years ago 10 replies

First off Thanks for all of the replies to my post "NEW TO PIC'S" back on Dec 1. I wound up with a DIY programmer, the 150. It seems easy to...

First off Thanks for all of the replies to my post "NEW TO PIC'S" back on Dec 1. I wound up with a DIY programmer, the 150. It seems easy to use but it won't program all of the Pics they say it will. Namely the 16F777 and 16F877. I've been working with assembly in MPLAB IDE and have found the sim tool very helpful. I am working with a 16F870


Ups topology

Started by Mariano M. Gonzalez in Piclist15 years ago

Hello, I?m intresting in a ups circuit using pic, but I need to know if is possible use a pic 16F877 such pwm generator at 2 or...

Hello, I?m intresting in a ups circuit using pic, but I need to know if is possible use a pic 16F877 such pwm generator at 2 or 3 Khz connecting the H-bridge directly to common transformer (iron core and not ferrite) using 12 or 24 Vcc. If someone knows about, plese reply m


I2C interruption

Started by bg3009 in Piclist15 years ago

ok guys, i think instead of going to bit bang the code for a 16F818 to work as a master, which i think it almost impossible, i am...

ok guys, i think instead of going to bit bang the code for a 16F818 to work as a master, which i think it almost impossible, i am getting a 16F877 chip which has MIIC capabilies and make it talk to the IIC capable chip..what ya guys think? Also, it seems Microchip discontinued th


REQUEST FOR PIC PROGRAM CODE TO SHUTDOWN A COMPUTER

Started by emmamogbolu in Piclist10 years ago 1 reply

I am working on a program with PIC 16F877 to shutdown computer systems remotely from another PC. Can anyone help me with the sourcecode to do...

I am working on a program with PIC 16F877 to shutdown computer systems remotely from another PC. Can anyone help me with the sourcecode to do this, coz the one I came up with cannot shut down VISTA PCs but only Windows XP. Thanks. ------------------------------------


El Cheapo / 18FXX2

Started by thomas_seeker in Piclist16 years ago 3 replies

Greetings, Do any of you know if Myke Predko's El Cheapo programmer can program an 18FXX2? It uses ICSP to program 16F877's,...

Greetings, Do any of you know if Myke Predko's El Cheapo programmer can program an 18FXX2? It uses ICSP to program 16F877's, if that helps. Thanks


ICSP standard ?

Started by Dave Mucha in Piclist13 years ago 6 replies

Hi all, I've been trying to figure the best way to connect pins for ISCP for a couple chips. 16F877 (40 pin) 16F873 (28 pin) and the...

Hi all, I've been trying to figure the best way to connect pins for ISCP for a couple chips. 16F877 (40 pin) 16F873 (28 pin) and the 16F628(18 pin) one thing that seems to be really consistant is the lack of consistance of which pins on a ICSP header are which. Can anyone offer some guidance ? I'm pretty tempted to use the Olimex


ZIF 18 to ZIF 40 adapter

Started by ydexter in Piclist16 years ago 1 reply

Hello! I asambled the JDM programmer and as you know it is with ZIF18 socket in original form. Now I saw here that JDM can...

Hello! I asambled the JDM programmer and as you know it is with ZIF18 socket in original form. Now I saw here that JDM can programm the 16F877 model. But I'm not sure how to wire the pind to the ZIF40 socket. Of course, I can respect the names, but what should I do with the re


I2C with multi slaves

Started by einavha in Piclist15 years ago

Hi, I'm having a problem with connecting more than one slave. I'm using 16f877 as master and slaves. When I connect only...

Hi, I'm having a problem with connecting more than one slave. I'm using 16f877 as master and slaves. When I connect only the Master and One Salve its work just fine! BUT when I try to add more salve its all out of sync. Help needed ASAP - Please! Tha


Auto ranging

Started by pt2263 in Piclist15 years ago 1 reply

hi all If I want the PIC 16F877 to control 8 multiplier resistors in a volt current meter, so decide the correct range I am...

hi all If I want the PIC 16F877 to control 8 multiplier resistors in a volt current meter, so decide the correct range I am measuring, do I use relays (what type and could the be controlled by the PIC to change state) connected to the resistors or Another application