I'm simply wondering what tips everyone can offer when working with microcontrollers (from a circuits standpoint). I know most people here have more experience than I do, so I'm wondering what "rules of thumb" there are for powering microcontrollers, unused pins, etc.
For my project, I already have all of the code working and running on Microchip's PIC18F45K20 development board. The project takes input from 4 different analog sources using the A/D converter and creates a PWM signal of varying duty cycle, response time, etc based on these inputs. I'm waiting on parts to prototype it, but I know there is more to the actual construction of the circuit than simply hooking stuff up and hoping it works.
I'm familiar with the concept of decoupling and bypass capacitors (occasionally I read stickies ) and I'm planning on using two 0.1 uF capacitors from Vdd to GND (that's what Microchip did on their demo board). Is there anything else I should be aware of before I try my luck? Thanks all!
And for anyone wondering, the analog inputs are just a constant voltage level source (voltage regulator output) varied by a voltage divider using a potentiometer. Not sure if that matters, or maybe there's a better way of doing it.
For my project, I already have all of the code working and running on Microchip's PIC18F45K20 development board. The project takes input from 4 different analog sources using the A/D converter and creates a PWM signal of varying duty cycle, response time, etc based on these inputs. I'm waiting on parts to prototype it, but I know there is more to the actual construction of the circuit than simply hooking stuff up and hoping it works.
I'm familiar with the concept of decoupling and bypass capacitors (occasionally I read stickies ) and I'm planning on using two 0.1 uF capacitors from Vdd to GND (that's what Microchip did on their demo board). Is there anything else I should be aware of before I try my luck? Thanks all!
And for anyone wondering, the analog inputs are just a constant voltage level source (voltage regulator output) varied by a voltage divider using a potentiometer. Not sure if that matters, or maybe there's a better way of doing it.