A device which includes a central processing unit (CPU), memory, and (generally) an assortment of I/O peripherals (UART, ADC, DAC, general-purpose I/O, I2C, etc.) in a tightly-coupled standalone package.

learn more… | top users | synonyms (1)

1
vote
1answer
84 views

Where/what functions as a clock on a (say intel i3-7) microprocessor?

In my Microcontrollers class today, our professor talked about how for the microcontrollers we use in lab, the clock is actually a "crystal" (either his command of English or of chemistry prevented ...
0
votes
2answers
76 views

What would be a good language interpreter to implement into a Microcontroller [on hold]

For beginners it is always a problem getting started with microcontrollers. The biggest problem is getting the whole system running and then programming it with C. C is a great language but it has its ...
1
vote
1answer
24 views

Struct at overrun error and framing error in USART PIC18F4550

I'm trying to communicate PIC18F4550 with biomed module. I'm very new to embedded. My module sends a packet of 5 byte information continuously at 4800 baud, 1 stop, ODD parity. I've set my baud ...
0
votes
2answers
100 views

Cooling an MCU to boost performance

As part of an ongoing project of computers ran by microcontrollers, one of my desktop models will overclock it's main MCU far past recommended operating frequency, since the first model isn't very ...
0
votes
2answers
46 views

How many IO pins in C8051F975

I can't tell how many IO pins that are available on the C8051F975. SiLabs website, Farnell and the datasheet p. 42 says 19 IO pins, so I guess that is correct, but the according to the datasheet p. 38 ...
0
votes
1answer
45 views

Microcontroller information transfer to Android application [on hold]

I wanted to do a project on bus tracking (GPS) through an Android application, therefore in order to do so: I need to install GPS module in bus along with microcontroller so that GPS fetches the bus ...
1
vote
0answers
47 views

Video streaming from image processor

The project I'm working on involves streaming video from an image sensor to an LCD, preferably as cheaply as possible. My question is: can I get an image processor/sensor SOC (a la ...
0
votes
0answers
67 views

Epaper using Arduino and other microcontroller

I am using an Epaper display, which is using SPI as interface. First I tried with Arduino which is working fine. But I tried to port the same code to a different microcontroller (TI's CC2530) which is ...
2
votes
1answer
44 views

SPI Interrupt Handler delay in STM32F303?

I'm working with an STM32F303 microcontroller configured in slave mode running at 72 MHz, and I've come across some strange behavior that I'm trying to track the origin of. The master first sends ...
0
votes
0answers
81 views

My first circuit- propane tank monitor, needs review

This is my very first electronics project, one that I'm working on out of need more than fun (but still having fun!) I've only recently picked up the fundamentals of electricity and electronics, so ...
1
vote
0answers
68 views

As a beginner, how can I learn about basic interfacing? [on hold]

I have a good background in programming (C, C++, Arduino, Python, Objective-C), and am majoring in electronics engineering. We have been taught about Digital Logic, Basic Microcontrollers (8051 - ...
4
votes
2answers
234 views

Sink or source from AVR

I've been (re)learning microcontroller programming using AVR ATinys (13/45/85). One reference on digital outputs said that I should sink outputs, but nearly all of the circuit examples I've seen ...
1
vote
0answers
45 views

at89c51 power supply [duplicate]

I am making a project using at89c51. I used my mobile charger (output: 5V, 1A) as the power supply. Will my IC get damaged due to the high current? I asked cause, without loading the program I ...
0
votes
3answers
53 views

Two microcontrollers, one common output

I have the next situation: I've got two microcontrollers that should drive 4 motors. It's either microcontroller1 or microcontroller2 that is driving the motors.And 4 motors means that each ...
0
votes
2answers
124 views

2.4 GHz versus 434 MHz transceiver for home automation

I am working on a project that uses an Arduino Uno R3 and will have one receiver and one transmitter. I'm going to use this for home automation within my home in India. I want to know which ...
0
votes
3answers
69 views

Is there any way to interface 4x4 matrix keypad using 2 IO lines

I have two IO lines and wants to interface 4x4 matrix keypad. Using MUX ICs I need 4 IO lines. Is there any method to achieve it using 2 IOs?
0
votes
0answers
42 views

How to replace all the arduino shields with just one [closed]

I came to know about a shield named 1shield by which we can use our android phone as many shields like g-sensor, GSM and etc. So this product is not available in my country and, can I replicate it ...
0
votes
1answer
43 views

Sense Automotive 12V Circuit from 3.3V microcontroller safely

I want to sense a circuit state in an Automotive circuit (12V nominal) from a 3.3V microcontroller (MSP430Gxxxx). The circuit is normally 12V (or VBat) until either the Wireless ECU or a Door Key ...
0
votes
1answer
28 views

Measuring pulse length with ICP

I am trying to measure pulse length, with ICP (input capture pin) on Atmega8, coming from this circuit:. PINB0 is ICP pin on AVR. This is (most of) the code: ...
-1
votes
1answer
93 views

Proteus error “Stack overflow is forcing device reset”

I used PIC18F452 microcontroller for my project. And I'm using mikroc pro software. My code compiled successfully. But in proteus, it will give the error "Stack overflow is forcing device reset". And ...
1
vote
2answers
87 views

How to replace the rectangle(DIP) bridge rectifier with round one.

I want to make an AC dimmer and the circuit diagram from the instructables uses a bridge rectifier which is in DIP package and rectangle in shape and the rectifier which I have is round one, so how ...
3
votes
1answer
61 views

Protect MCU pin from ESD

Quick question for someone with a bit more experience. I'm working on a product which will sit in an environment which is likely to experience some static discharge from time to time. Basically, ...
1
vote
1answer
94 views

AVR Input not reading correct value

I feel like this is a true beginners problem, but I fail to see what I am doing wrong here: I have a SIP switch connected to port A of an Atmega32 and I cannot read correct values from the port. Here ...
2
votes
1answer
53 views

PIC32MX795F512H UART1 interrupt problem

I know this topic has already been brought up and I have been going through those posts but I still can't get my UART1 RX interrupt working. What I am trying to do is receive the NMEA string from my ...
4
votes
0answers
109 views

History of the MSP430

This question crossed my mind today. What is the history of the MSP430? When did it start, what did it evolve from, why was it made (i.e. what goals was it trying to achieve/what technical ...
0
votes
3answers
128 views

Sending signals to PC over wifi

I need a microcontroller that would send statuses of it's input pins (around 5 of them, they can be 0 or 1) to a PC over wifi. I thought of using arduino, but I don't know what would I need to make ...
0
votes
0answers
32 views

SoC With PCI-e Bus Exposed [closed]

I am trying to find an affordable SoC (< $50, qty 1) That runs Linux and has a PCI-e bus exposed, 4x is preferable. I am also looking for a bare metal programmable TQFP with PPCI-e 1x available ...
-1
votes
0answers
56 views

Taking Buffer value more than Microcontroller RAM

I am using the microcontroller, which has 250KB flash and 4KB RAM. Is it possible to take a buffer of 5K.
1
vote
1answer
90 views

What is a typical light bulb screw temperature? Is it safe to put a microcontroller there?

I'm working on a small engineering project that involves putting a microcontroller inside a screw of a light bulb and I need to find what are the typical heat outputs of 60W bulbs and strong (like ...
4
votes
1answer
533 views

How can a micro controller turn off itself by closing the VCC line when battery is low?

My board has a Li-ion battery with the capacity of 4000mAh and maximum voltage of 4.25V and minimum voltage of 3.25V . This means that the battery voltage shouldn't get lower than 3.25V. When the ...
0
votes
0answers
48 views

Can I use exp() function inside PIC877A? [duplicate]

I compiled this code successfully in mikrocpro. But I can't get output in proteus. This is the hex file link HEX FILE: ...
-1
votes
2answers
74 views

Can I use math functions in PIC16F877A code?

Can I use exponential (exp) math function in PIC16F877A code? For example like this: double a,ans; a=5.7; ans=exp(0.5);
0
votes
2answers
44 views

Best way to power sensor circuit from LiPo

I want to make small (~cigarette pack size) oscillometric blood pressure monitor (with arm cuff). The device will be powered by single cell 3.7V LiPo battery with USB charger circuit, without LCD ...
0
votes
0answers
36 views

MSP430 PWM Dead-Time

According to the internet, the MSP430 has no hardware implemented to maintain proper PWM dead-time as the PWM duty cycle is modified. Apparently (and also according to the internet) this feature can ...
1
vote
0answers
33 views

Configuring input on MSP430?

I've been trying to get 2 input push-buttons working on my MSP430 FF529. I've been successful with 1, but not the other, which leads me to think the one not working is broken, since I'm doing the ...
1
vote
1answer
39 views

What should I do to have both the synchronous and asynchronous serial communications?

You know that ATmega32 supports Universal Asynchronous Receiver/Transmitter. with pins : RXD & TXD But it doesn't support Universal synchronous Receiver/Transmitter. with pins : RXD/TXD & ...
2
votes
1answer
75 views

Basic idea of color look up table

I'm driving an ILI9230 LCD 320*240 16bit interface, with a framebuffer of 250*200 and I want to drive it as 4bit. so I built a loook up color table like that: ...
1
vote
1answer
50 views

how to clear an UART interrupt flag manually?

I'm using an ATmega32. I have ISR(USART_RXC_vect) as follows ...
0
votes
0answers
9 views

Arduino Uno 3: Stuck at 'uploading…' sketches [migrated]

I was playing around with my Arduino Uno R3 board with Sublime Text 2 & 'Stino' as IDE I am not sure if it is my code is the problem or if I broke something... I pressed upload while another ...
1
vote
3answers
157 views

Where to put freewheeling diode in relay circuit?

I am building a circuit to lock/unlock a door using a standard electromagnetic door lock (http://www.amazon.com/Seco-Larm-E-941SA-600-Enforcer-Electromagnetic-Holding/dp/B00196YB5Y) and controlling it ...
0
votes
2answers
59 views

ADC 10-bit false results

I'm using atmega32 µc with the internal 10-bit ADC. I connected my potentiometer to the ADC 1 and I'm using 5 V Voltage Reference. using the following code, I did the ADC-config ...
0
votes
3answers
36 views

Globlal Variable Problem: Pic18f4550 and Pickit3 Debugging

I'm working on a project which includes the usage of the A/D converter module in the micro-controller (pic18f4550). I haven't had any problems in the past with the micro-controller using a pickit3 ...
11
votes
4answers
790 views

Reason of multiple GND and VCC on an IC

What is the reason that most of ICs (e.g. MCU) has multiple (A/D)GND and (A)VCC pins? If it is to increase performance of an IC, how does it help to performance? or is it easier for the IC designer ...
-4
votes
1answer
58 views

Does this cart look like a good starterkit to start programing microcontrollers? [closed]

im starting to program microcontrollers, and gathered a list of components that im thinking of buying just to get started. Do you think itd a good starting package ? ...
4
votes
3answers
169 views

What is the PIC micro controller naming scheme?

I've been dealing with the PIC micro controller for a while and as the question says I want to understand the naming scheme for each PIC line (8- 16- and 32-bit PIC). For example what is the ...
2
votes
1answer
102 views

Get temperature via ADC of microcontroller

I want to manipulate the physical value of temperature. Here is the characteristic of this µC: Resolution: 12 bits Supply: 5 V Min Mesure: -45 Max Mesure: 75 Min ADC IN: 0.4 Max ADC IN: 4.8 Here is ...
-1
votes
0answers
37 views

Taking sampling microcontroller input

How to take 10 samples per second of an input in MIKROC? Finally I want to add the that 10 elements and divide it by 10 to get the average value. I am using PIC16F877A. update: ...
1
vote
1answer
36 views

L298N Module Out 1 and Out 2 failure

I have an L298N motor controller module, rated at 5 amps. I'm using it to control two 12 volts linear actuators, and I'm using a current sensor per motor to learn when the motors have reached a high ...
-1
votes
0answers
51 views

Reserved address in the MCUs datasheets [duplicate]

Why some addresses and bits of registers of microcontrollers are reserved? What is the difference between the reserved and unused addresses? Does the reserving affect cost of design and production of ...
4
votes
1answer
80 views

Characteristics to look for in a bench power supply to use in microcontroller development

I'm doing some microcontroller development, mainly for education and as a hobbyist. So far I have powered it all from USB-power or 5V wall warts and regulated it down with 1117's or similar ...