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

Simulating a TI microcontroller in Spice

I have bought a microcontroller from Texas instruments: MSP430F6779. I would like to simulate in a circuit along with other components: resistors, op amps, sensors.. What program allows me to do ...
-3
votes
2answers
70 views

ATMega on high voltage application [on hold]

Yesterday I had an argue with an electrical engineer. I am a beginner software engineer. He say that a logical circuit( processors, microcontrollers) should never be trusted in risky applications. ...
0
votes
2answers
69 views

Isolate microcontroller from board and use other one

The attached circuit block diagram shown in the rectangular box is my development board. It has microcontroller 1, which communicates with a SPI slave device (4 SPI line + 3 IO). 3.3V power goes to ...
-1
votes
1answer
40 views

How do I connect multiple camera modules to a microcontroller?

I want to connect 3-6 (probably 4) camera modules to a microcontroller, how do I go about doing this? The only option that I've come up with is to connect a camera to a dedicated microcontroller ...
0
votes
0answers
23 views

Doppler radar that can work with Arduino [on hold]

Is there any available affordable doppler radar in K Band(To measure speed up to 120 mph)?I have seen HB100 10.525 Ghz but that's not what i want.I need something that would measure vehicle speed ...
0
votes
0answers
53 views

UART baudrate issues on STM32F0xx board

I'm using STM32F0xx board for project. In this board there are two UART interfaces. UART1 is supporting upto 115200 baudrate and more than that, but UART2 is supporting upto only 38400 baudrate. If I ...
-1
votes
3answers
90 views

Microcontroller internal pull up [duplicate]

I was reading microntroller datasheet, they mention any I/O pins can be configrued as Open drain , or as Special pheripheral ( like SPI , I2C etc..) or push pull. Q) Can we enabled microcontroller ...
0
votes
1answer
65 views

What is wear leveling in SD cards? How I can check my sd card has wear leveling or not? [on hold]

I searched on internet. Still I'm not clear about wear leveling can somebody explain this concept?
0
votes
1answer
152 views

Is this circuit damaging my microcontroller?

I have a circuit which is designed to set off one of two e-matches at a given time as controlled by a microcontroller. The circuit itself functions as intended. The potential problem is that after ...
1
vote
2answers
56 views

Count PWM Pulses fed into Stepper Motor FET Driver

I am trying to (accurately) count the number of pulses fed to a stepper motor driver TI DRV8711. This driver "converts" one rising edge, depending on the settings, to a full step or microstep. The MCU ...
1
vote
2answers
62 views

When would it become necessary to use an OS for an ARM MCU [duplicate]

I take it an ARM MCU can be run without an OS - at which point might it become necessary to install one? Can the mbed SDK run without the mbed-os or any other mbed for that matter?
0
votes
0answers
44 views

OSs and SDKs for ARM MCUs [on hold]

Can anyone suggest some suitable operating systems and C++ SDKs for development on ARM microcontrollers? For example, something which handles GPIOs, timer interrupts, etc.
0
votes
0answers
38 views

Using the interrupts of ATmega16

I am using CodeVisionAVR and I'm trying to write an ISR which should do a specific job for me. the problem is that first time that the ISR is called, it works properly but for next time it does not. ...
0
votes
0answers
44 views

PIC18 strange bug

I am experimenting with the PIC18F46K80 in assembler with MPLAB 3.30 and MPASM 5.67. While execute some simple programs I noticed a strange bug which made it impossible for me to use the PIC in any ...
0
votes
2answers
53 views

Considering input pin impedance when calculating pull-up resistor value

When calculating the value of a pull up resistor , i am dividing the Vcc voltage by the desired current value. simulate this circuit – Schematic created using CircuitLab But since ...
0
votes
0answers
32 views

How can i make an array equal to another array [on hold]

I have a question how can i make an array equal to another array par example. My first array is: int Array1[] = {1,2,3,4}; My second array is: ...
3
votes
4answers
108 views

Methods for converting PWM to +/- 10v Signal

Suppose we have a PWM signal which controls the speed of a motor and a digital pin which specifies which direction a motor is travelling in, how can we convert these signals into 1 +/- 10V signal ...
-3
votes
0answers
20 views

rs485 interrupt problem in slave reception pic 16f1805

I'm doing a project with communication RS485, I have used the library RS485 in micro C for PIC. I need to use interrupt in reception slave when I simulate with proteus the data is transmitting by ...
0
votes
2answers
63 views

Difference between buffer and mailbox

Peripherals in Micro-controllers usually provide a way for us to send and receive data from it. Usually this are memory mapped registers. I have come across few terminologies. The most often used one ...
-5
votes
0answers
53 views

Undesrstaning the example c code of Code Composer Studio

I am using msp432 to generate a digital signal. I have trouble understanding the example c language codes from MSPware extension of CCS. Is there any good site or reference material available?
1
vote
0answers
32 views

Atmega168 and ENC28j60 - Unable to communicate

I would like to make a web server from an AVR uC. I use Atmega168 with the ENC28J60 ethernet module. I have connected the module with my Atmega using SPI. I have a problem, because the communication ...
0
votes
1answer
44 views

How to interface Si8902 with ATmega128rfa1?

The ATtmega128rfa1 works as master and Si8902 works as slave that is okay. But when a request is given Si8902 takes 8us to reply back with the ADC data. How can master wait for 8 us. How to ...
0
votes
1answer
31 views

dsPic33f : How to interface ECAN with CAN High/Low Signal

I want to start communication between (dsPic33f) ECAN_Module & PCAN-USB ADAPTER I have downloaded a demo code AN1249 from microchip website. I am using Explorer-16 board for Testing. Now the ...
0
votes
1answer
54 views

Is Write/Read pin in LCD is need to changed every time? Or is it ok if we fixed it to write only?

We are using 16X2 LCD. In that we are only going to write to LCD we are not going to read anything from it. Is it ok if we put it as write pin ? or every time after writing do we need to change it as ...
0
votes
0answers
32 views

Bluetooth module for custom PCB [closed]

I am designing a custom PCB with a couple of simple sensors (IR/LED's). I am looking to produce the PCB in bulk and it needs an MCU + Bluetooth Module (To communicate with mobile devices, BLE). Can ...
-1
votes
1answer
45 views

N channel MOSFET to drive 9-12V device with micro controller

Would this MOSFET would fine for driving things like a 9-12V DC motor? Datasheet: http://www.jameco.com/Jameco/Products/ProdDS/1560173.pdf
0
votes
0answers
28 views

STM32L151C6U6 Evaluation Board [closed]

I will be doing a project that I will have to debug STM32L151C6U6 Micro-controller using JTAG/SWD interfaces. After a long Googling I was unable to find a discovery/development board for ...
0
votes
0answers
48 views

Notes when designing circuits near Noisy Sources (Fluid pumps)

I'm currently designing a data-logger that logs water level of the well ,there is a water pump of unknown specifications that will be near the data-logger but i will not be connected to it in any way, ...
1
vote
1answer
45 views

Power switching peripherial parts by MCU

Using an MCU like from MSP430 series, it is possible to create circuits that runs from battery power for years in some standby mode (waiting for button or realtime clock alarm for example). However, ...
0
votes
0answers
13 views

Can Atmel-ICE programing and debugging with STK500 [closed]

Can i programing and debugging STK500 with atmega32 though Atmel-ICE?
0
votes
0answers
39 views

Best and Simplest component for switching

I have a SIM 928 that has 4 pins for serial rx/tx. One set is for GSM and the other is GPS. On raspberry pi or micro controller, I only have one set. What is the best component to use to switch from ...
1
vote
1answer
31 views

Resources for learning how TFT works and how to drive it at the glass level?

I just scavenged an TFT display from a digital picture frame. Using the number on the back of the panel, I was able to locate and download the data sheet. I read through the document hoping to ...
1
vote
0answers
40 views

Controlling a 3 phase BLDC motor with an absolute magnetic encoder

I am working on a project where the motor controller needs to be rewritten because it's not behaving properly (the motor is vibrating too much and tuning its parameters is close to impossible). The ...
0
votes
1answer
44 views

1200 Baud Rate UART at a 9kHz clock speed [closed]

I just did the math and with the internal clock of the ATMega328. The lowest clock frequency that you could use to have a 1200 Baud rate is 9.6kHz. Unfortunately I need to be under 9kHz. Is there ...
-3
votes
0answers
35 views

Differences between architectures in microcontrollers [closed]

Could anyone explain me what are major differences and features of the Harvard architecture microcontroller devices that are different to the Von Neumann architecture usually found in microprocessors? ...
0
votes
1answer
70 views

Atmega328p: why button input is read as 0 when pressed?

I'd like to turn on the board's LED (PB5) when I press its button (PB7). ...
1
vote
4answers
237 views

What features of C++ lead to extra resource usage that I should be aware of when developing for an embedded system?

Some features of C++ have implied run-time cost or can lead to significant code size increases. Which features should I consider avoiding when developing for a bare-metal resource constrained ...
0
votes
1answer
96 views

What is the best way to store date & time in eeprom using less bit possible?

I want to save data associated to a timestamp (like a datalogger) along a month, in a very small memory (probably only 1024bytes). I was thinking using epoch time to save timestamp but it already take ...
1
vote
2answers
57 views

Can I drive a stepper motor with a regular MCU?

If we just focus on the signals and not the power, will an ordinary MCU like any of the ubiquitous Atmel 32-bit controllers be sufficient to drive a step motor? What are the benefits of prepackaged ...
0
votes
0answers
46 views

is there a chip that has BLE, accelerometers, and an application CPU? [closed]

For Internet of Things application, I need a small chip that has [1] a CPU for running my application software (algorithm), [2] ideally a 3-axis accelerometer, and [3] some kind of communication (BLE, ...
1
vote
1answer
63 views

STM32 HAL SPI Remap Single Pin

I would like to know if it is possible to remap a single pin of a multi-pin (SPI) peripheral? For instance, I have a STM32F107 and I want to use UART4, SPI3 and Ethernet. PC10 = UART4_TX - Remap ...
0
votes
1answer
32 views

FRDM-KL25Z programming using InterruptIn

I am trying to develop a software to FRDM-KL25Z that needs a button. Anytime this button is pressed, I need the variable "select" to increase by 1, so I designed the function changeSelection: ...
-1
votes
1answer
78 views

AVR ATmega32 UART Not Reciving

I'm trying simple UART transaction functions for ATmega32. I can send the bytes but not receiving anything. I am using polled UART receive. ...
0
votes
1answer
57 views

How to measure micro and nano amps via microcontroller [closed]

The objective is to build/construct a circuit powered by an ATMEGA32 IC, using C++. This circuit will essentially be an ammeter for small current levels (10-6 and 10-9). I've done some basic points ...
1
vote
3answers
101 views

Is power cycle reset different from reset pin reset?

I am using custom built arduino uno for a home automation project. Sometimes, the arduino locks up due to electrical noise or sparks in the ac lines. More details here. I tried conducting some ...
0
votes
5answers
117 views

How to check 4 inputs and set flag in Microcontroller

I have a PIC MCU and have 4 input pins. I need to check the status of inputs and set the value of flag. Like if input 1 is active, then value of flag should be 1, if input 1 and input 2 are activated ...
0
votes
1answer
35 views

FIFO ASF drivers and USART avr problem sending and recieve data via rs232 connection

I'm working to send frame of 8 bytes to Micro-controller Xmega128a1 (via RS485). The frame looks like this: {header1,header2,CMD,D1,D2,D3,D4,CRC} For example: ...
2
votes
1answer
89 views

STM32 “USB Device” vs. “USB OTG HS” - what is the difference?

I recently downloaded the stm32 app for MCU search and found out that for example STM32F429 has "NO" in "USB Device" peripheral, while it says "YES" in "USB OTG FS" and "USB OTG HS". Which is quite ...
0
votes
2answers
59 views

Switch to make MCU pin float [closed]

I have an application where I need to make a ADC input pin (0-1V) float controlled by GPIO (any connect it in other cases to its input obviously). I was considering a transistor in-line with the ADC ...
0
votes
0answers
72 views

Types of isolation and when to use them [closed]

What are the types of isolation in circuits? Based on some Internet searching I have found the following types of isolation: Analog Digital Power How do you decide which one is needed, and more ...