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)

0
votes
1answer
46 views

Connecting microcontroller

I'm trying to glow an led using a microcontroller and switch. I have programmed it to blink Every 2 seconds.when voltage comes from PB1 switch gets tuned on and led . Circuit diagram is shown here. ...
0
votes
0answers
24 views

Problem in writing register maps using C structure for a TI Microcontroller

I am writing register maps in C for a TI ARM based Micro-controller board. Here is the link to the datasheet. I am using the following guidelines on how Register maps should be written in C: ...
0
votes
1answer
37 views

Interfacing switches with microcontroller

Im trying to interface momentary push-button switches to my Stellaris EK-LM4F120XL. Im using a positive logic interface, to momentarily set pin as HIGH if the button is pressed. A 10K resistor is ...
0
votes
0answers
29 views

What microcontroller board to use for TCP and UDP Ethernet communication? [on hold]

I'm not really experienced, so I need a board that makes stuff easy. The microcontroller is supposed to read data from a power sensor, do some control processings and drive a motor (for the initial ...
-2
votes
0answers
32 views

Android Compatible microcontroller [on hold]

I am looking for a micro controller like arduino or Raspberry PI which runs the Android SDK and can access Wifi , 3G and GPS. i am aware that it requires wifi shield and 3G + GPS shield but what i ...
0
votes
1answer
58 views

what hardware is more suitable for a project measuring power constantly and keeping it on minimum ? Microcontroller, DSP, FPGA, FPAA, which one? [on hold]

I have been looking for a hardware to implement a controller for over a month, but I can't reach a decision. I want to implement a controller, which constantly measures power and keeps it in minimum ...
0
votes
0answers
36 views

Determining temperature using lm35 with avr MCU (program debugging) [on hold]

This Program converts the analog input from LM35 into binary outputs: ...
0
votes
1answer
52 views

Can some pins of the same port on AVR MCU's be declared as inputs and some as outputs?

Can some pins of the same port of AVR MCU's be declared as inputs and some as outputs? If yes, then I am not able to understand how this works since we have to compare the pins of the port and also ...
1
vote
1answer
69 views

Value for feedback resistor in pierce crystal oscillator configuration

This question is partially an "understanding english" question and partially and "understanding the pierce oscillator configuration" question. Backstory I'm currently looking at using a Freescale ...
1
vote
0answers
27 views

STM32 - Multiple channel PWM input

I am using an STM32F405 based board , (OpenPilot revo ) to receive PWM signals from a joystick receiver . i have to xapture 5 PWM signals using only two timers , the timer 8 and the timer 12 . I've ...
-3
votes
0answers
45 views

How can I convert a Mplab code into 8051 assembly code [on hold]

we have used keil software using text.a51 asm code format and the code is in mplab. can someone help me? thank you. Below is the code. ...
0
votes
0answers
8 views

Is my Arduino UNO fried? [migrated]

The title sums it all up. While testing the new proximity detector I bought off of Amazon, a spark flew from some random area and my Arduino's On LED went off while its Loop LED stayed in a dim ...
0
votes
1answer
35 views

PIC16F57 - problem implementing wake up signal on key stroke

I have designed a simple RC5 remote control using a PIC16F57 and the classic rows-columns scan over a 4x4 matrix keypad. The previous version of my firmware continuously scanned the keypad to find a ...
1
vote
3answers
113 views

RMS value calculation using micro-controller

how to calculate the RMS value of an AC signal (220v,50c/s) using micro-controller. i m using stm32f3 controller and its A/D convertor has 72MHZ clock frequency.
0
votes
1answer
32 views

Simple PORTA Control via PIC

I am trying to setup a simple blinking LED on a PIC18F25K50. I can get RA0 to toggle using LATAbits.LA0 = ~LATAbits.LA0; However, if I try to use ...
0
votes
1answer
68 views

Hosting web page from STM32 device

My goal for my next project is to interface with a computer in order to stream some data as well as get some configuration parameters. I have been looking at using USB, UART to USB, and hosting a web ...
0
votes
0answers
34 views

Bluetooth LE without microcontroller, capable of sending one value? [on hold]

I've been looking into implementing extremely basic bluetooth functionality in a small piece of hardware. Ideally, I would like to do this without any sort of microcontroller. Upon connecting with a ...
0
votes
2answers
87 views

Calculate mosfet gate resistor?

I got this schematic : In the image you see; I'm driving two infrared leds at 40 Ma each one with a FDN327N Mosfet. Attached at D8 there is one of Teensy 3.1 digital output that has HIGH voltage ...
1
vote
1answer
32 views

What is the best way to interface ST7066 lcd controller with Atmel SAM4E

I am trying to interface ST7066 LCD controller with Atmel SAM4E MCU, but is quite confused about the best way(Least no. of pins used) to interface them together. Should I use GPIOs or Should I go for ...
0
votes
1answer
44 views

Multiple I2C slaves on Intel Edison I2C-6 Bus

I've managed to get my hands on an Edison a few weeks ago and have been messing around with the I2C-6 bus and have encountered a few problems. Problem I mainly have sensors on the I2C line. I can ...
0
votes
0answers
21 views

Phase Angle b/w two Electrical quantities

I m going to implement a distance protection of transmission line using stm32f3VC micro controller. I am facing a problem in finding phase difference b/w voltage and current in order to calculate the ...
0
votes
0answers
39 views

C Coding Examples For Mc9S08Se8 Microcontroller

Can any one provide me an example c coding for producing a single PWM output and toggling a port pin from MC9S08SE8 microcontroller. I browsed many sites but I find no example c coding for this ...
0
votes
1answer
38 views

Microcontroller self-shutdown with MAX682

I have read How to implement a soft power switch controllable by microcontroller? and am wondering if something similar would be possible with a MAX682. What I want, is a device that is turned on by ...
1
vote
1answer
60 views

Microcontroller circuit

I am using a Stellaris EK-LM4F120XL for a project. The project includes an LCD module, servo motor, ultrasonic ranger and a numpad. The LCD, servo and ranger are rated at 5V operating voltage, and the ...
0
votes
1answer
75 views

Chattering relay on microcontroller power supply

I am working with a device that has a relay on the 12v power supply to the micro controller that runs the device. Under certain unplanned circumstances this relay can chatter. What is the potential ...
0
votes
2answers
60 views

IC for 4 Kbytes of RAM [closed]

Is there a Memory IC for 4Kbytes of RAM? I'm trying to make a schematic capture in Proteus and I need a Memory IC for 4Kbytes of RAM, I've searched throughout the library and I can't find one, tried ...
-3
votes
1answer
34 views

how to measure the negative and positive dc voltage using pic16f [closed]

I am new to microcontrollers and am making a project to measure the negative and positive dc voltage + ac voltage using pic16f,but i don't known how to divider voltage.Can anybody help me with ...
0
votes
1answer
52 views

MCU Performance: running with emulator vs running without emulator

If I connect to my MCU with its SWD emulator/debugger, is there ANY difference in performance/behavior as compared to when I run the MCU without the emulator? EDIT: I am using a freescale KL25z ...
1
vote
3answers
173 views

Pin and port in microcontroller

I'm a bit new to microcontrollers. Can you please tell me what is a port and pin in a microcontroller? What are their uses (pin and port)?
2
votes
1answer
59 views

Clarification about FCC exemption for subassemblies

please kindly help me understand the "subassembly" exemption of the Part 15 certification requirements regarding intentional radiators. I want to produce and sell a MCU board which includes wireless ...
21
votes
6answers
5k views

Why do microcontrollers have so little RAM?

Maybe this is more of a perceptional problem, but it seems like microcontrollers have advanced by leaps and bounds in the last 20 years, in almost all regards, higher clock speed, more peripherals, ...
1
vote
2answers
67 views

How to find duty ratio of a PWM using input capture?

I have a controller PIC18F and it supports input capture peripheral. I understand it can be used to find the frequency of the incoming signal. How can the duty ratio of PWM can be obtained from the ...
0
votes
3answers
80 views

Very wide range high voltage measurement with optical isolation

I have a voltage source I'd like to measure, it is from 0V to 1kV, any value in that range. The accuracy isn't that important, but measuring with an accuracy with 1-5% would be perfect. This has to be ...
2
votes
1answer
107 views

UART without using the same clock

I am using the C027 development board for prototyping an application and I was wondering it it was possible to use the Tx and Rx pins of the GSM module (available on the pinout of the board as P0_15 ...
0
votes
1answer
47 views

Choosing between internal oscillator and external crystal- ATXMega32E5

We are working with a modern microcontroller ATXMega32E5, from the ATMEL XMega family. Our aim is to use the UART of the controller for effective communication, with the speed of about 9600 or 4800 ...
-1
votes
1answer
80 views

Will ARM replace that older processor architecture? [closed]

I know that those processors with ARM architecture have their advantages, but will it replace those old kind of ones? Or they just will be dealing with different kinds of applications and continue to ...
1
vote
0answers
38 views

Two functions in the high priority interrupt

I'm using the PIC18F46k22 mcu and I'm using two function in my high priority interrupt routine: ...
0
votes
1answer
47 views

How come the value in my RAM of DS1307 RTC become zero?

I'm using the 56 bytes of RAM in the DS1307 to store some data. My DS1307 is connected to the PIC18F46K22. But after running a few days, all the data inside the RAM will suddenly become zeros. The ...
0
votes
4answers
73 views

Wiring up an LCD display with unknown controller

I found an old LCD in my pile of trunk. I would like to be able to use it. However, someone (possibly / probably me) sawed off the part of the PCB with the series code, so I can't know what the ...
0
votes
1answer
59 views

Integrating simple Bluetooth functionality without microcontrollers

I have recently bought a Bluetooth HC-05 Module, and have followed many tutorials on integrating it with an Arduino, or a microcontroller. However I got interested in whether it is possible without ...
1
vote
2answers
161 views

Communication between micro controllers - I2C, SPI, UART?

Basically I have two microcontrollers that I need to communicate with each other. Both controllers send and receive data. Basic idea that I have: I2C, SPI - What I think we can NOT use these ...
0
votes
0answers
53 views

How do I protect digital design from EMI?

I have built a system that controls a 3 phase induction motor. Unfortunately I don't have schematics, but the system is simple: A 24V DC contactor switches AC to the motor. 24V is fed by a separate ...
1
vote
3answers
77 views

Returning from interrupts at a different location from where the interrupt occurs. (PIC16F877A)

Is there a way to return from interrupts at a different location from where the interrupt occurred in Microchip PIC16F877A? I have a problem where I need my code restarts at a specific point always ...
0
votes
1answer
80 views

Microcontroller freezes (or doesn't) when plugged into different outlets in my home

I have an ARM development board (Marvell ARMADA XP CPU) and depending on which plug outlet I plug the system into, the system will freeze up after a few minutes or not. I found that plug outlets in ...
0
votes
0answers
36 views

Is there a free HE-AAC decoder suitable for ARM MCUs?

Question itself: Is there a free (of charge, but if it's also open source that's even better) audio decoder for HE-AAC (AAC with SBR) that can use the FPU and/or DSP instructions in an STM32F4 ...
2
votes
1answer
78 views

Power Mosfet design issue

My schematic The components BSN20 is a N-channel enhancement mode field-effect transistor (datasheet) IRF7416 is a HEXFET power MOSFET (datasheet) This is a part of a project in which the line ...
0
votes
1answer
42 views

led blinking using 89v51

I had written program to blink 8 led's one by one in 8051.it is working fine. Is possible to indicate if any one of the led goes bad? I know through multi meter we can check led is good or bad.Is it ...
0
votes
1answer
89 views

Best microcontroller for industrial applications [closed]

I have an industrial project requirement to build a device having this functionality: Store Data Send Data to Web Server Device to be placed under scorching sun Sensors - around 5 A Graphical ...
0
votes
1answer
67 views

Switch Vcc to Ground with a control bit

I have a device that is 1 ohm and it consumes 3Amp. I want to run my device in both ways and I have only one voltage supply. I want to switch ground to Vcc and vice versa with a control bit from mcu. ...
1
vote
1answer
45 views

SPI reading from slave

I have small question about how bytes move around during SPI reading. I have a flash memory chip and microcontroller. Suppose I want to know jedec data from the chip(although it can be any data, this ...