Tagged Questions

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
2answers
34 views

Blinking LEDs in reverse order

The code below flashes some LEDs in order: pin 1, pin 2, pin 3, pin 4. After this sequence has completed I would like to reverse direction and show pin 4, pin 3, pin 2, pin 1. I wrote the code ...
0
votes
1answer
46 views

Is accelerometer taking as much power (current) as it needs? [on hold]

I want to connect accelerometer to an oscilloscope. I have 3x AA rechargable batteries (2550mAh). I was told that e.g. microcontroller knows how much amps should it take and it wont burn if I ...
0
votes
0answers
13 views

Guide to integrate CMOS camera with Arduino [migrated]

This is my first time working with camera. To start learning I need to capture images using the camera using arduino. I have Google searched on how to wire the camera and write simple program to ...
1
vote
3answers
129 views

May I power atmega32a-pu microcontroller from AA batteries?

I need to provide +-4.5V to the microcontroller. That would be fine by having 4x rechargable batteries, but how is it with current? On each AA battery is written min.2550mAh. I am not sure but I think ...
1
vote
2answers
85 views

Most stable internal microcontroller clock

According to the research I have done so far it appears that the stability of the internal clock of a typical microcontroller is approximately 1% (calibrated) to 10% (uncalibrated). Do you agree with ...
-5
votes
0answers
66 views

HOW TO DRAW THE BLOCK DIAGRAM OF MY GIVEN ABOVE CIRCUIT? [on hold]

Circuit Components: • IC • LM358 – 1 • T1 (BC547) – 1 • R1, R2 (4.7K) – 2 • R3 (22K) – 1 • R4 (10K) – 1 • R5 (4.7M) – 1 • R6 (100E) – 1 • C1 (. 47uF) – 1 • LED – 3
0
votes
2answers
39 views

Using DPST Relay to control AC Load

Below is the functional schematic that I am planning to use to control an AC load (air conditioner in this example with max current draw of 32A). Since I am still relatively new to mains power and ...
1
vote
1answer
58 views

Tie Arduino - ATMEGA328P reset pin directly to +5V?

I would like to know if it's okay to tie the reset pin on an ATMEGA328P directly to +5V without using a resistor to avoid random resets and lower part count. If it's not okay, can you explain why it's ...
1
vote
2answers
40 views

Same Priority Interrupt on ARM Cortex M0

I have two two interrupts of the same priority; each has its own interrupt service routine: ISR_A and ISR_B. When interrupt A occurs, ISR_A executes... what happens if interrupt B occurs while ISR_A ...
4
votes
2answers
363 views

Fastest time a PIC can set and clear a pin

What is the fastest time a microcontroller (PIC16 in this case) can be set and cleared? It is defined by the frequency, but I don't know the formula to calculate the fastest time that a single pin can ...
-1
votes
2answers
43 views

What's the difference between CC2564 and CC2564MODN bluetooth TI chips?

As per title, what's the actual difference between these two chips? I dug extensively the TI site but I cannot find such info.. thanks!
0
votes
0answers
24 views

What's the size of the Bluetopia Bluetooth stack?

As per title, what's the size of the Bluetopia Bluetooth stack on a MCU flash? TI says that the minimum requirement is 128KB. Can I use a 128KB flash MCU? Do I have some room for something else? ...
0
votes
3answers
136 views

Why is there a separate Floating Point Units in some micro controllers

I would like to know why there is a separate FPU peripheral in some high end micro-controllers even if the small end 8 bit controllers can perform float calculations on their own. I tried ...
3
votes
1answer
447 views

Turn 9V device off using 3.3V logic level signal

i'm facing the problem to turn a 9V (battery) powered device OFF using the output of a 3.3V based microcontroller. To do this i already threw together the following circuit (which works - assuming i ...
0
votes
1answer
60 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
31 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
46 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
37 views

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

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
37 views

Android Compatible microcontroller [closed]

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
67 views

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

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
44 views

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

This Program converts the analog input from LM35 into binary outputs: ...
0
votes
1answer
55 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
74 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
39 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
51 views

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

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
39 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
123 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
33 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
70 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
2answers
92 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
34 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
54 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
42 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
39 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
64 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
77 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 ...
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
176 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
61 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
7answers
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
69 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
85 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
58 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
81 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
39 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 ...