Hello,
My current application is too specific to really get into in a forum post. I've got a complex circuit with cascading SIPOs and PISOs, which takes inputs from analog and digital sensors, and uses darlington arrays to drive relays.
My problem is that the controller has a habit of resetting itself frequently, but not so that you can tell what is causing the issue.
I'm running with a 16F819, and the code is tapping on the ceiling of memory.
At one point I had configured pin A.5 as input, and had a microswitch attached to it via about 15' of 16g lamp cord. I thought the problem was with the MCLR not configuring correctly in the code, so I switched it out and am now inputting the microswitch signal to an analog input [pretty chunky, I know], but I'm still getting the phantom reset.
I've debugged the physical circuitry until my eyes are crossed, and I don't have any problems there, evidenced by correct opperation, albeit with intermittent restart.
I have received a stack of 16F88, and will be using that chip for further development, as I'm in need of more memory.
I'm wondering if this rings a bell with anyone out there? I did notice that the problem subsided after I changed the pin confguration and set A.5 as MCLR.
I have a 1000uF cap decoupling the chip, with a 10K pulling MCLR high. My powersupply is from Mouser: 5V, 5A part# 552-PSA-25LS-050-R.
I will be plugging in the 'F88 tomorrow, and that might solve the issue... but still! What's going on?
Thanks for your help!
I've gotten much out of searching the forums for the past few months!
-Joel
Bookmarks