What is Microcontroller: Definition and 107 Discussions

A microcontroller (MCU for microcontroller unit) is a small computer on a single metal-oxide-semiconductor (MOS) integrated circuit (IC) chip. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable input/output peripherals. Program memory in the form of ferroelectric RAM, NOR flash or OTP ROM is also often included on chip, as well as a small amount of RAM. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications consisting of various discrete chips.
In modern terminology, a microcontroller is similar to, but less sophisticated than, a system on a chip (SoC). An SoC may include a microcontroller as one of its components, but usually integrates it with advanced peripherals like a graphics processing unit (GPU), a Wi-Fi module, or one or more coprocessors.
Microcontrollers are used in automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, toys and other embedded systems. By reducing the size and cost compared to a design that uses a separate microprocessor, memory, and input/output devices, microcontrollers make it economical to digitally control even more devices and processes. Mixed signal microcontrollers are common, integrating analog components needed to control non-digital electronic systems. In the context of the internet of things, microcontrollers are an economical and popular means of data collection, sensing and actuating the physical world as edge devices.
Some microcontrollers may use four-bit words and operate at frequencies as low as 4 kHz for low power consumption (single-digit milliwatts or microwatts). They generally have the ability to retain functionality while waiting for an event such as a button press or other interrupt; power consumption while sleeping (CPU clock and most peripherals off) may be just nanowatts, making many of them well suited for long lasting battery applications. Other microcontrollers may serve performance-critical roles, where they may need to act more like a digital signal processor (DSP), with higher clock speeds and power consumption.

View More On Wikipedia.org
  1. A

    How Many Bytes Does Float Occupy Inside PIC Microcontroller?

    Homework Statement How many bytes does a variable of float data type occupy in the data memory of PIC microcontroller? Homework Equations None The Attempt at a Solution All I know, is that float data type has a size of 4 bytes, that's 32 bits. I'm not sure if it occupies...
  2. M

    FPGA or Microcontroller for Robot Project?

    Hi I'm currently doing a design project for my engineering class, and we have to select either an FPGA and use VHDL or a microcontroller. The project entails following a line, and using IR communication to change the colors of LEDs. I know that FPGAs might be better because you can do...
  3. B

    Connection cables for microcontroller

    Hey, I'm looking for a robust connection to microcontroller pins, just wondering what everyone has found works best? Cheers
  4. H

    Where Do I Start with a Microcontroller Project?

    Hello all, I am in need of a microcontroller. The only problem is that I do not know where to start as I have never used or programmed a microcontroller before. I need the circuit to perform the following functions: -Drive a coil -Scan through a range of frequencies -Be able to...
  5. D

    Microcontroller kit beyond beginner

    I'd just like to apologize in advance for asking this, I understand that it's probably been asked many times but I couldn't find an answer exactly applicable to me. Anyway, I want to buy a microcontroller kit, and am unsure which one to buy. I am going for my masters in computer science so the...
  6. S

    Needing a simple microcontroller to program ADC0831

    Hi all, I am building a LED tomography system (think of it as a simple transmitter and receiver). I would like to do signal processing on the received data, so I am needing to convert my analog, received signal to a digital signal. The ADC I have chosen is the ADC0831 (DIP package). The...
  7. X

    Mono Audio DAC for ~20Mhz Microcontroller Synthesizer

    I have just joined EE senior design class. We have decided on making a synthesizer box with bunches of controls available to us. Ultimately, we would like to be able to output sound analog straight to headphones or external speakers through a 3.5 mm jack (standard headphones plug). I was...
  8. D

    Which is the Best Choice for a Wireless Fencing Unit: Bluetooth or USB?

    Hey everyone. I'm new on physics forums, and I have a project that I would appreciate some help... This project is to make a wireless fencing unit (olympic fencing, not like farming...) that can connect via usb or bluetooth into a smartphone to simplify the tools for local referees. So, I...
  9. T

    PIC Microcontroller in a custom Harley motorcycle project.

    Hi guys... be kind as I am a software engineer by trade and this is my first little side-project in EE. So I'm building a custom motorcycle from the ground-up and it is nearly complete. I decided for the brake light and various indicator lights, that I would control them using a pic...
  10. pairofstrings

    Exploring Microcontroller & Microprocessor Architectures

    I drew picture of microcontroller and microprocessor based on what I read earlier. I am not sure if it's right. Tell me if I am missing anything here. If possible give me detailed figure of microcontroller's and microprocessor's internal stuff or give me a website that describes a real...
  11. A

    Making a 5V DC Power Supply for Microcontroller: Possible Damage?

    i want to make a 5v dc power supply for microcontroller i know how to make it i am going to use a 220v to 15v transformer and then by using capacitor and 7805 regulator ic i will convert it to 5v my question is as in transformer pout=pinput (ideally) by decresing the voltage from 220 to 15...
  12. K

    Best budget microcontroller kits?

    For those of you who have toyed with microcontroller kits as a hobby, how would you rate the kit(s) you've used in the following categories? 1) Price - how much is the total cost of the development hardware and software? 2) Usability of an IDE for development? 3) Ease of starting - how long...
  13. M

    Wifi communication with microcontroller

    Hi, I'm doing a project to send messages from a PC to a micro controller using WiFi. The MCU will intern display the message on an LCD. I have doubts about what devices I should buy to make the wifi communication and also what type of MCU I need to buy?...Any suggestions...
  14. P

    Bench Power Supply With Microcontroller

    I know this question is so simple and probably stupid that it will enrage some people, but bear with me. :) When connecting a bench power supply that does 5V@3A, to let's say a P16F88, should I use 25 ohm resistor to bring those 3 Amps down to 200 ma? According to the p16f88 datasheet...
  15. T

    Could I make a transmitter with just a microcontroller

    Would this work? If I had a microcontroller output a 400mhz signal through one of its I/O then to a loop of wire. Would it transmit a RF signal at 400mhz?
  16. F

    Project ideas with microcontroller

    Hello everyone. can anyone help me with project to build that has microcontroller. i need something not very hard and not very very easy.
  17. E

    How can I transmit data from a microcontroller to a PC using a PIC16F690?

    Hi, I am brand new to micro-controllers, but have thus far been able to do basic programing of one. I have now reached a stage where I would like to transmit data from the micro-controller to my PC; in this particular case, the number stored in a register of a PIC16F690. Unfortunately I...
  18. E

    SNMP protocol and microcontroller

    hi. I'm new to SNMP protocols. i have a general understanding about snmp is that, we can monitor sensors attached to atmega8 microcontroller by sending their data through max232 to pc on serial port and a software running on pc with snmp protocol supported can be used to monitor this...
  19. P

    Help choosing optocoupler/switch for microcontroller project

    Hey guys i'm putting together a shopping list for my first microcontroller project. One thing i need is a slotted photoswitch (to count rotations of an anometer) The project will be powered by a 9v battery, regulated to 5v. The photoswitch has an led on one "post" and the other post has...
  20. L

    Getting Inside A Microcontroller

    I have a microcontroller here that's dead. I want to get inside it and look at the actual die. Last time I tried this I used a sander, and it scratched it quite badly. I know there is the industry method of dumping hot acid on the device, but I don't have the equipment to do that safely. I...
  21. P

    Beginner Microcontroller Project Resources?

    Hey guys I've been toying with the idea of building a diy digital annometer I'm hoping it can be achieved with a device which rotates in the wind which will generate pulses from a light interupted switch. The pulses will be sent to a microcontroller which will use the info to calculate...
  22. K

    AT89c51 Microcontroller Password Based Lock

    Hello, I have to make a project using AT89c51 microcontroller with a keypad to input a passcode, then compare this passcode to the one stored in ROM of microcontroller and finally operate a lock connected with relay. Keypad is 4*3 Axis. Can someone guide me on how to interface the keypad with...
  23. E

    Understanding the Role of Bank Selection in PIC Microcontroller Programming

    Hi there. Why is it that when programming PIC microcontrollers, you are forced to select the correct bank/page for registers like TRISA, but you can always do operations on STATUS? From the PIC that I am using (PIC16F690) STATUS is stored in Bank 0 and TRISA is stored in Bank 1. I get it...
  24. M

    Computer DIY embedded linux microcontroller

    Hi all! Does anyone know of any good sites for how to build a DIY embedded linux microcontroller? I know that I'll need a processor of some sort (was thinking maybe an ARM device), a ROM for the bootloader and kernal, RAM for the general processing, and a JTAG or programming interface of...
  25. S

    Problem with Compassconnection to microcontroller

    Hi, i have a LabJack UE9 microcontroller, and i have no idea how to connect the hitachi hm55b compass module to the labjack, the picture of the pins are located here: http://foxlx.acmesystems.it/?id=114 For the Labjack the I/O ports are here...
  26. S

    Desigining A Microcontroller On Fpga using Verilog Hdl

    Hi to all. I am into my last semester of graduation, i have assigned a project "Design of a micro controller using verilog in a fpga" i am studding the following books for help. Advanced_Digital_Design_with_the_Verilog_HDL-M.D.Ciletti and Verilog HDL (2nd Edition) by Samir Palnitkar i...
  27. A

    MATLAB Any recommendations for using Matlab GUI with microcontrollers?

    Hi Forum , i am planning to communicate with the microcontroller via serial communication and a GUI in matlab. On microcontroller , I can make a serial terminal program that waits for data from MatLab coming through a serial port on the computer. From there I can make it so that MatLab can send...
  28. Z

    Maximizing Solar Energy with Microcontroller Circuit

    our proposed thesis will be about solar panel..we want to design a circuit that will maximize the usage of the energy of the sun, whenever it is available in greater amount using microcontroller. we would like to ask some ideas to realize this project in order for us to complete our requirements...
  29. D

    Which Microcontroller to Choose for VARIABLE DIGITAL NOTCH FILTER Lab Project

    Which Microcontroller?? i am supposed to build a VARIABLE DIGITAL NOTCH FILTER using a microcontroller (either avr atmega-32 or 8051) for my lab project. I don't know which one to chose please help me out. And suggest any nice tutorials to learn about microcontrollers.
  30. E

    How Do SPI, I2C, RS232, and RS485 Interfaces Categorize?

    Homework Statement 1. SPI 2. i2c 3. RS232 4. RS485 Match The following interfaces to their category a. Asynchronous Serial, point-to-point b. Synchronous Serial with CS line c. Asynchronous data bus d. synchronous with address on the same line as data Homework...
  31. K

    Building a wireless robotic car using PIC microcontroller 16F877.

    I have a few questions. 1. Which programming language should I use? I am thinking of using C++. I know assembly but am not very good at it, so I am trying to avoid assembly. 2. Which program should i use to compile the PIC code? I am thinking of using MPLAB IDE. Is it sufficient/ok? 3...
  32. P

    Temperature Measurement Using 8051 Microcontroller

    Hi..please help me in designing a temperature measurement device using 8051 microcontroller. some one please help me out...with the circuit diagram please:confused:
  33. I

    Executing Programs on Microcontrollers & Hexadecimal

    Hi i'm doing a circuits lab in physics at the moment based on programming a PIC16F819 microcontroller. What i don't understand is how the program is executed. I kind of understand that when a pin is logic high voltage then the bit of the number is one and when it is logic low it is zero...
  34. J

    First Microcontroller Buyer: Find Best Controller & Company

    Hey Guys I have been experimenting with electrical engineering for the past few months and I now am interested in buying my 2nd micro-controller. My first was Basic Stamp II but that got friend and was not really suitable. I have read several articles on microcontrollers but am confused where...
  35. K

    Best way to get wireless networking on microcontroller?

    Hi. I am planning to build a controller for a machine I have built. I can handle all the normal operation with any standard microcontroller and a few other components. However, I want my board to be able to communicate over a wireless network as well as wired network. Can anyone point me to...
  36. R

    Microcontroller to Laptop through RS232-USB Converter

    HI, I'm currently using a microcontroller 16f877A. The Tx and Rx pins of my microcontroller will output either 1 or 0 respectively. The microcontroller is connected to my laptop using RS232-USB converter. The microcontroller has been programmed and the connection was tested. May i know what is...
  37. E

    Microcontroller for DC Motor Controller

    Hello, I am designing and eventually constructing a high current DC motor controller to be used in an electric vehicle for a senior design class. Right now I am at the stage of selecting the PWM source for the MOSFET drivers. A team member wants to use dedicated PWM TTL chips, I wish to use a...
  38. M

    Exploring HDL Programming: My 2-Week Microcontroller Project

    Hi people! I am a student of Electrical engineering (5th semester) and have a profound interest in HDL (ie. verilog) Programming. For my 5th semester project of Digital System Design i have designed and implemented a primitive microcontroller Hardware architecture from scratch having...
  39. C

    Difference between a microcontroller and a microprocessor?

    what is the difference between a microcontroller and a microprocessor? wat are the prescribed languages for programming a m.c
  40. S

    Use PIC microcontroller for Time application

    Dear, I want to make a project to switch-n a device on day-date-time basis i.e. I want to lighup a lamp on 30/08/2008 at 02:00PM .Is it possible to make a circuit for this by using PIC microcontroller.I want to use it in my company for rotational under frequency relay which trips off the...
  41. electronic engineer

    Drilling PCB using Microcontroller

    Hello. I need to know the mechanism of drilling my printed circuit board (PCB) with two step motors x,y using microcontroller. How to use eagle or orcad to control two step motors to drill and how can the microcontroller accept the eagle file to locate the coordinates of the driller...
  42. N

    Freescale Microcontroller Help

    I'm using a freescale DEMO9S12XDT512 microcontroller as a control system for an airship. The airship uses ultrasonic transducers to detect obstacles so it can then avoid them, to do this I want to send out a pulse from the transmitter sensor and measure the time that it takes to return to the...
  43. M

    MATLAB Buck with pid microcontroller in matlab environment

    please anyone help me with my final year project...esspcially about the modelling of the PID microcontroller ,how to design it...plus how "matlabing"
  44. B

    Question on microcontroller

    HI , I have this question from the book " software and hardware engineering for freescale HCS12 microcrontroller from CADY" I was not sure where to post it so I did it here. Sorry about that. Here is the problem: A microcontroller memory map shows 16K bytes of Flash EEPROM in memory...
  45. D

    Creating Input Buttons for Microcontroller Circuits

    I am an ee student and i want to start a project with a microcontroller and i was wondering how i would go about useing/creating input buttons in my circuits... possibly i would like something like the button arangement on a channel changer. Can someone direct my to a resource about how i could...
  46. P

    PIC microcontroller Project Ideas

    I have to design, test and build a project for my final year of my HND Electrical & Electronic engineering course, and I am unsure of what I will do. I would appreciate any ideas, no matter how difficult or easy they are, these will just be ideas which I might use to adapt into my own...
  47. J

    Microcontroller, FPGA or CPLD?

    Hello All, I'm still working on the ultimate programmable precision pulse control circuit for my experiments. Most of the stuff I have made so far has used discrete components and analog parts to do the job but I'm ready to start looking into some of the more advanced approaches. As the...
  48. A

    Adjusting Light Sensor Sensitivity for Microcontroller Input

    Hi, I am using a light sensor connected to an analog input of a microcontroller. My circuit turns an output high when there is a voltage of 2.5V or higher at the analog input i.e when there is a light shining on the sensor. But sometimes my output goes high even though I have no light shining...
  49. S

    Controlling a DC Motor with 8051 Microcontroller for a Radio-Controlled Car

    hey ny1 can give me the 8051 microcontroller programming... to control dc motor ...? we r making a radio conrol car...with the help of mobile...when we press 2 ...car move if forward direc. when 4 then move in left n when press 6 move in...right ...whe press 8 thne backward ..when press 5 then...
  50. S

    How do I send a file to a microcontroller for programming using a computer?

    I'm thinking about buying a few DIP microcontrollers just for fooling around's sake. I think I'll be able to figure most things out except this: how do I send the necessary file (for example, .s19 for freescale mcs) to the microcontroller. In school we have development boards which sort of...
Back
Top