Hi,
I recently prototyped a LCD/SPI interface, both on breadboard, and on stripboard. I decided to use an old basic stripboard 'breakout' baord for 18 pin PIC's I had, all good, its worked many times before. Although I realise that stripboard isn't as good as a solid FR4 etched PCB, its better than a breadboard, this circuit wouldn't work on either. Does now, but I'll explain.
I used a PIC18F819, so I set the internal oscillator and very strange things happening...finally wrote a test program and the PIC was constantly reseting itself. The voltage on MCLR was 4.8V via a 10K resistor. However, whenever I brought my hand near the board, the LED I connected, to be turned on as soon as it powered up flickered, until it was of. The closer I got my hand to the board, to slower it flickered...we're talking about 4 inches from any track/pin...on any part of the circuit, including both power rails.
I used a different config setting at the top of the code:
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _INTRC_IO & _LVP_OFF & _BODEN_OFF
Before it was:
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_OFF & _INTRC_IO
Now, I'm thinking two things...either it defaults to LVP (didn't know this), and when I connected up RB3 to a CMOS chip, it entered programming mode....or the brownout detector went gaga...even though the supply was a healthy 4.9V, with a 10uF cap, and a 0.1uF cap. Or perhaps the powerup timer was doing its thang? I know I'm a big antenna, and I'll provide noise to the power supply by touching it...but enough for a reset??
has anyone else had real issues with PIC's on stripboard? I'm sure I've seen some complaints somewhere, but I couldn't find any. Its no biggie now, I'll just have to remember this config, as I tend not to use many of the options there, just internal osc.
Blueteeth
I recently prototyped a LCD/SPI interface, both on breadboard, and on stripboard. I decided to use an old basic stripboard 'breakout' baord for 18 pin PIC's I had, all good, its worked many times before. Although I realise that stripboard isn't as good as a solid FR4 etched PCB, its better than a breadboard, this circuit wouldn't work on either. Does now, but I'll explain.
I used a PIC18F819, so I set the internal oscillator and very strange things happening...finally wrote a test program and the PIC was constantly reseting itself. The voltage on MCLR was 4.8V via a 10K resistor. However, whenever I brought my hand near the board, the LED I connected, to be turned on as soon as it powered up flickered, until it was of. The closer I got my hand to the board, to slower it flickered...we're talking about 4 inches from any track/pin...on any part of the circuit, including both power rails.
I used a different config setting at the top of the code:
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _INTRC_IO & _LVP_OFF & _BODEN_OFF
Before it was:
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_OFF & _INTRC_IO
Now, I'm thinking two things...either it defaults to LVP (didn't know this), and when I connected up RB3 to a CMOS chip, it entered programming mode....or the brownout detector went gaga...even though the supply was a healthy 4.9V, with a 10uF cap, and a 0.1uF cap. Or perhaps the powerup timer was doing its thang? I know I'm a big antenna, and I'll provide noise to the power supply by touching it...but enough for a reset??
has anyone else had real issues with PIC's on stripboard? I'm sure I've seen some complaints somewhere, but I couldn't find any. Its no biggie now, I'll just have to remember this config, as I tend not to use many of the options there, just internal osc.
Blueteeth
Last edited: