Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Pommie said:Aren't scope probes still around 10pF even on 10X?
and that's considerably less capacitance than a breadbopard adds!.
Pommie said:Nigel,
I was questioning your statement with regard to a x10 probe, you stated,
As I calculated the breadboard capacitance as 1pF and scopes are typically 15pF+ with a x10 probe, your statement appears erroneous.
Mike.
Due to large stray capacitance (from 2-25pF per contact point),
The probe is suited to equipment with an input impedance of 1MΩ shunted by 25pF. However, it is possible to compensate for equipment with an input capacitance in the range 10-35pF.
Nigel Goodwin said:I was (and still am) under the impression that breadboard capacitance is considerably higher than that?.
A quick google finds **broken link removed** which suggests that a x10 probe is 11-15pF.You scope probe capacitance estimate is also much too high, from a x10 probe spec:
Pommie said:Maybe you can suggest where my calculation is erroneous.
Nigel Goodwin said:I wouldn't bother calculating something like that, measure it, or refer to the manufacturers measurements - for the ones which might mention it?.
Pommie said:I suppose your meter can measure 1pF. Mere mortals have to calculate.
What about the x10 probe, it still appears to be higher than the breadboard. That is assuming that Wikipedia's 2pf if the small row and the 25pf is the power rails.
ssylee said:Does anyone know whether I can make a particular pin (namely RA2) as both an input and an output on a PIC? I am having trouble managing the TRIS register properly in my code. Thanks.
ssylee said:Does anyone know whether I can make a particular pin (namely RA2) as both an input and an output on a PIC? I am having trouble managing the TRIS register properly in my code. Thanks.
// This function sets the time of the Real time Clocks
// Note to self: change it such that it's user controllable
void set_time(void)
{
// Stop the Clock
start_stop_RTC(1);
// Clear the Write protect bit before setting time
write_protect(0);
// Set time
// set_seconds(0);
// set_minutes(9);
// set_hour(9, 1, TWELVEHOUR);
// set_hour(22, 0, TWENTYFOUR);
/* set_date(2);
set_month(1);
set_day(4);*/
set_year(2008);
// Start the clock
start_stop_RTC(0);
// Set the Write protect bit before setting time
//write_protect(1);
}
// This function starts or stops the Real-time Clock Upon Request
// halt == 1 -> stop the RTC
// halt == 0 -> start the RTC
void start_stop_RTC(short halt)
{
unsigned char current_time;
// retrieve current time
current_time = readbyte(READSEC);
if (halt==1){ // if desired to halt
// set the Clock Halt bit to bit 7 only
writebyte(WRITESEC, current_time | (halt << 7));
}
else if (halt == 0) // if desired to start
{
// clear the Clock Halt bit to bit 7 only
writebyte(WRITESEC, current_time & (0xfe << 7));
}
}