Difference between a microcontroller and a microprocessor?

AI Thread Summary
A microprocessor serves as the core processing unit responsible for logic operations and machine code interpretation, while a microcontroller includes a microprocessor along with additional on-board peripherals like A/D converters and interface units. The distinction between microprocessors and microcontrollers can be blurred, as some microprocessors may include features typically found in microcontrollers. Common programming languages for microcontrollers are C and assembly language. Understanding these differences is crucial for selecting the right component for specific applications.
craze4physics
Messages
6
Reaction score
0
what is the difference between a microcontroller and a microprocessor?
wat are the prescribed languages for programming a m.c
 
Engineering news on Phys.org


craze4physics said:
what is the difference between a microcontroller and a microprocessor?
wat are the prescribed languages for programming a m.c

The strict difference is that a microprocessor is just the "core" processing unit (logic operations, interpretation of machine code), with some basic inputs and outputs. A microcontroller contains a microprocessor, and additional on-board peripherals (A/D converters, DACs, servo controllers, fancy interface units, etc.)

In practice however, the line blurs a fair bit between self-declared microprocessors and self-declared microcontrollers (does, say, a floating point unit count as a peripheral?) But that's a semantics issue.
 


craze4physics said:
wat are the prescribed languages for programming a m.c

Usually C or assembly language.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top