Contents
Is there a problem reading pic18f4550 input?
Hi I am facing some problem with Reading the input from a PIC18f4550 , for a simple arrangement where when a switch on (switch = 1), few led should glow., and on releasing the switch the led should go off (switch = 0),. On providing some volts across a pin (RA0 or RA1)- the leds should glow but I am getting no success in doing so.
What are the features of a microcontroller pic18f4550?
The microcontroller PIC18F4550 has two CCP modules CCP1 and CCP2, the CCP1 module is implemented as a standard CCP module with Enhanced PWM capabilities. These include the provision for 2 or 4 output channels, user-selectable polarity, dead-band control and automatic shutdown and restart.
What is the resolution of an ADC in Pic 18f4550?
For example, an ADC with 10-bit resolution as one in PIC 18F4550 can have 2^10 (1024) intervals for the range of analog input signal. The ADC in PIC18F4550 is a successive approximation ADC with a resolution of 10 bits. The resolution indicates how much the reference voltage can be divided.
How many channels does a pic18f4550 converter have?
PIC18F4550 has 13 channels which mean 13 analog input signals can be converted simultaneously using the module. 8 choosable clock inputs are available for conversion and the module can be configured in auto triggering mode.
Why is there a separate floating point in a microcontroller?
When a microprocessor or microcontroller needs to execute a lot floating-point calculations, there are three ways to carry this out: Choice 1, doing it all in software, may be the only option if hardware FPU’s are not available. A software solution will be 5-10 times slower, or even worse depending on the register size of the processor.
Why are floating point calculations written in FPU?
Have an FPU allows floating point calculations to be made more quickly. Software floating point is more flexible (single, double, or whatever precision you like if you write the routines), but is extremely slow in comparison (at least an order of magnitude, all other things being equal).
Can a FPU be integrated into a microcontroller?
However there is no reason not to include an FPU integrated into a microcontroller, like some ARM’s do.