At this time, we don't have a good system for answering questions posted here. If you really need to get a questions answered about the PIC or other microcontroller or some EE type issue or you want to talk with thousands of the most intellegent and kind people on the planet, please subscribed to the MIT piclist (which is not on this server) by reading the directions at the PICList homepage.
If you really must post things to this page, have at... but please don't expect answers. In the future, we will try to setup a system that allows posts to this page to be copied to the list (after being checked over by a moderator who has yet to volunteer [HINT, HINT])
Thank you for your patience.
Says: " Why not split the "PICList" into multiple mailing lists (i.e. pic@piclist.org, avr@piclist.org, ee@piclist.org, etc...)? " James Newton replies: Mostly because we don't own the mailing list server (MIT is kind enough to host the list and pay for the bandwidth) and so can not ask for more than one list. The topic tag system allows you to filter out the types of messages you don't want.+
... more questions ... Questions:
/techref/piclist/16f777 program problem, 12f683 behavior problem Hello my is that I have bought some 16f777 and trying to program it with a JDM programmer it simply resists to it, tested on different computers, same rasult, giving 13v regulated in vpp nothing, simply this chips resists to be programmed.
Other problem with the 12f683 is that thw gp0 and gp1 seems to be low all the time, when I low the pin programatically then pin seems to be high just a brief of time, the gp1 nothing hapend is low the whole time, I read the datasheet, seting all the options but the problem persists.
for both problem I already tried multiple chips every one behaves the same way.
any ideas.... Thanks in advance.
Hi,
I am using a PIC18F6722 on an application that senses a cough from a person and writes the information to a secure digital card. I am having problems writing to the card at the correct sampling rate. I have purchased libraries(with functions) that allow me to write to the card, but I can not write to the card fast enough. I just need a sampling rate of 8kHz, which is 125us per write, but I am only getting 800us per write. Does anybody know a way around this without having to write all of the library functions in assembly? Thank you for any help you can offer. More details can be offered if desired.
cbd
MPLAB: No target error.
Hi Listers,
I am facing problems with MPLAB IDE and my Debugger h/w.
Heres the problem.
I have a MPLAB IDE v5.70 (fw ver. 2.30.01) connected to a ICD h/w connected to a Target board (16F877 chip). This set up of mine was working since past 6 months withouit any issues. But suddenly I cannot use the h/w.
I am able to connect to the ICD board successfully, but whenever I try to Program/Erase/Read/Verify I get a "No target" error. I have tried to replace the PIC 16F877 chip on the target board with a new one, but the problem still persists. Strangely the self test is successful.
What could be going wrong ? any pointers appreciated
thanks for your patience.
Deepesh
Could anyone check the code as shown below?
It works but the variable "i" isn't incremented.
How i can make the value of the variable "i" same as that of the register "Temp1" in my code.
Thanks in advance.
i = 0
CAL macro value1
CH1 = 5 * value1 + 963
endm
MOVLW 0
MOVWF COUNT1
MOVWF COUNT2
MOVWF COUNT3
MOVWF COUNT4
MOVLW 2
MOVWF Temp1
DECF Temp1
i ++
SKPZ
GOTO $-2
CAL i
NOP
While CH1 > .1000
CH1 = CH1 - .1000
INCF COUNT1
Endw
While CH1 > .100
CH1 = CH1 - .100
INCF COUNT2
Endw
While CH1 > .10
CH1 = CH1 - .10
INCF COUNT3
Endw
While CH1 > 0
CH1 = CH1 - 1
INCF COUNT4
Endw
i am constructing a pic programmer but i could not find programming specs of some chips like newer 16fXXA and 18F chips any body can help me in this matter
hi ,
iam using picmicrocontroller( dsPIC30F6011)iam new to embedded programming .
q1.when i use printf()in MPLAB IDE it says _putche() not implemented .what should i do to come out of it.
q2. just take a look at this piece of code.
typedef struct byte
{
char i;
char j;
char l;
}byte_val ;
when i find the sizeof(byte_val) its giving me 4 bytes where as it is only 3 bytes. the programming which iam doing is highly memory critical so how do i go about this?i hve to allocate a very large array like for eg.byte_val[1100][22]
how do i really go about this.
Hello,
I have a problem getting a PIC 16F84A - Kit81 from ( www.kitsrus.com ) to work through a Parrell port in Windows 98, I'm using the latest software for the board (diypack23v2.zip), and set the BIOS to Bi-Directional for the port, the power is on, and I have a red LED telling me the board is ready, and I have correct voltage form board. COuld someone help me on this?
Thanks ( palm_3333@yahoo.com )
( you may find a Picture of this kit here:
( http://www.electronickits.com/kit/complete/prog/ck1700big.jpg )
I found a strange effect in the use of timer 1 in the PIC16F628
Following the doc PDF file, the T1SYNC bit has no influence when using the
internal clock (Fosc/4).
I tried this on a F628-20 MHz, but the timer did not run, until I tried to
set the T1SYNC bit on a 1.
Has anyone heard about this or can give an explanation?
I make a project on a helicopter and i have put on it some sensors, i want to send the data of this sensor throw a RF transmiter and reciver to the ground. I need some help to know how to make design for the switable transmiter and reciver in my case.
thanks.
hi
i m in need of 16f628. so anyone who has info. abt the availibility of this chip in india please help me.i will be very thankful to u.
it will be better if u give me any idea about availibility in hyderabad and banglore.
my email id is dcentguy4u@yahoo.co.in or majid31_2000@yahoo.com
hi....
i m new to PIC microcontrollers and right now i m working on projects available on net. i m from india(south) and i dont know where this chips are available. i m in need of 16f628. so anyone who has info. abt the availibility of this chip in india please help me.i will be very thankful to u.
my email id is dcentguy4u@yahoo.co.in or majid31_2000@yahoo.com
hi....
i m new to PIC microcontrollers and right now i m working on projects available on net. i m from india(south) and i dont know where this chips are available. i m in need of 16f628. so anyone who has info. abt the availibility of this chip in india please help me.i will be very thankful to u.
my email id is dcentguy4u@yahoo.co.in or majid31_2000@yahoo.com
Interested:
christopher dahn Says:
please can anyone supply a total newbie with any asm source code for using a ds1307 with my 16f877. i've spent 3 days searching the net for some complete code without any luck i've found some projects but have no idea what part of their code is specific to the ds1307. i'm sure there must be someone out there who uses and understands how to opperate the ds1307+
please email me at chrisdahn@hotmail.com
Robin C Fawell of Rhotech Says: +
Sajid Naqvi of Waders Power Control Says:
Hi,+
I am making a 300VAC voltmeter on PIC. I need circuit diagram for linear conversion from 0-300VAC to 0-5.00VDC FSD. Both the supplies are to be isolated. Optocoupler based circuit would be great.
Thanks
Derick Q Siu of EbCon Systems Ltd. Says:
Hi there,+
I'm having a problem with the PIC18F452 Microcontroller specifically with the PORTA module.
I have gone through this site for tips in dealing with PIC ports, and have followed the advice of eliminating all floating pins, setting unused pins to inputs, and grounding them with a 10K pull-down resistor. Currently I am just trying to simply test my port pins so I can interface it with my LCD display.
What I have is timer1 interrupting every 500MS and turning on and of RA0,RA1,RA2, and RE0. for the most part RA2, and RE0 work fine, I am getting a pulse from them, but as for RA0 and RA1, they constantly are at 0V, and I am not sure why that is. here is a snippet of my init code and isr function:
void port_init(void)
{
// set PortA to output
TRISA = 0xF8;
TRISA = 0;
ADON = 0; // turn off A/D converter
//PORTA = 0x00; // clear PORT A
RSclear();
RWclear();
Eclear();
// set PORTB to input
TRISB = 0xFF; // set portb as inputs
PORTB = 0x00; // clear Port B
RBIP = 1; // set port b interrupt priority high
INTEDG0 =1;
INTEDG1 = 1;
INTEDG2 = 1;
INT1IP = 1;
INT2IP = 1;
INT0IE = 1;
INT1IE=1;
INT2IE=1;
RBIE = 1; // enable the external interrupts
// set PORTD to output
TRISD = 0x00;
PORTD = 0x00; // clear Port D
PORTC = 0x00;
TRISC = 0xBF; // set RC6 as output
// set PORTE to output
PORTE = 0;
TRISE = 0xFE;
}
// part of isr routine
if((TMR1IF)&&(TMR1IE))
{
TMR1L = 0; // reset the timer
TMR1H = 0;
if(buff != 0xFF){
changestate(0x52);
}
count ++;
if(count == 5)
{
/*--------------------Test routine------*/
if(stat == 0xFF)
{
RE0=1;
RA0 = 1;
RA1 = 1;
RA2 = 1;
changestate(0x00);
}
else
{
RE0=0;
RA0=0;
RA1=0;
RA2=0;
changestate(0xFF);
}
/*---------------------------------------*/
count = 0;
}
TMR1IF = 0; // reset the timer interrupt
} // end if TMR1IF
I'm not sure if it is my circuit, or in my programming, since I've been hearing that microchip is tyring to phase out the TRIS function, yet it is included in the include files and datasheets.
if anyone can helpme in this matter, it would be greatly appreciated.
Thank you,
Derick
VIJAY BALAJI R Says:
hi+
my project is implementation of space vector modulation to multilevel inverter.
i am using pic16f877a. i need help on how to implement it in hardware and how to proceed...
See
file: /Techref/piclist/questions.htm, 76KB, , updated: 2018/8/1 10:46, local time: 2024/11/21 01:36,
owner: wshimada-hotmail-,
3.12.36.45:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/piclist/questions.htm"> PICList.com Questions:</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.