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
0answers
22 views

Surge protect RS-232

We are designing a circuit for Connecting our uC to an RFID reader via RS232 Interface. On searching for best installation practices online I found out that a surge protector is recommended as shown ...
0
votes
2answers
80 views

Indecipherable Data on Serial Monitor

I have ready made working electronic product. I am applying reverse engineering on it. The WiFi module is connected to micro-controller via UART( RX & TX). The android app sends command to WiFi ...
1
vote
1answer
43 views

Problem with pic24f code

I'm trying to write some code that waits for a pin to change before continuing but it doesn't work. The code that I already have is: ...
0
votes
0answers
29 views

Why does this IR receiver not receiving some signals?

I am trying to read some IR signals. There is a synchronizer emitting modulated IR signals. And my receiver must receive those signals and interpret them. Actually, there are only two different ...
0
votes
0answers
20 views

Linear (non-stepper) motor control with stm32f4

I have a linear motor equipped with a sensor, such as is used in the printer. My task is to set the desired position with two switches, and with the third switch to drive off the motor in this ...
0
votes
0answers
31 views

Sensing a light object on a plane [on hold]

I'm attempting to complete a project involving a microcontroller and some sensors. I want to detect that a very light object (20 grams) is touching a place at four different points of contact. Some ...
0
votes
1answer
41 views

determine ir protocol without ir controller

I have the following issue: I bought an ir controller for my Blaupunkt radio which has an built in ir reciever.The problem is that the controller does not works togather with the radio. Its seem they ...
0
votes
0answers
21 views

Connecting microcontroller to battery of working mobile phone

Is it safe to use battery of working mobile (ex. Nokia 6310i) through voltage regulator as power supply for MCU? If so, is it safe to charge phone while MCU working?
0
votes
1answer
35 views

Mysterious Noise Issue in Automotive Ignition Coil Application, Arduino

I'm building a circuit to count RPM based on watching the negative pole of the primary coil in an old automotive ignition coil. I had no illusions this would be easy, but here I am stuck even though I ...
-5
votes
0answers
42 views

Facing issue in writing Lower sectors of SD card

I'm using SD card for data storage. If I start writing data from 10th sector of SD card when I reach 25th sector my 10th sectors data start corrupting. But same data storage I tried with higher sector ...
0
votes
1answer
89 views

Output type of incremental rotary encoder

I have been trying to choose incremental rotary encoder for speed control of three phase induction motor. My problem is that I am not sure what type of output should I choose. There is following ...
11
votes
3answers
801 views

Is there an ideal PWM frequency for DC brush motors?

I'll be using a microcontroller to create a pwm signal for motor control. I understand how PWM and duty cycle works, however I am unsure about an ideal frequency. I do not have my motor in yet, so I ...
3
votes
1answer
135 views

Odd NPN Circuit behavior

I've seen lots of useful threads here over the years but this is my first post. I'm building a little box to switch an output based on RPM's watching the ground of an the primary ignition coil on an ...
1
vote
1answer
97 views

Faulty display behavior using a Atmega328 due to (wrong?) logic voltage level

I have built a little circuit using a Atmega328P to drive a DD-32645C-2A display using a connector board. The display uses a SSD1303 driver. So here is my circuit: Pretty straight forward, I ...
0
votes
1answer
41 views

MULTICOMP MCAK304NBWB KEYPAD: What are the pins 8 and 9 connected to?

According to the datasheet, the 7 pins are from the 4 rows and 3 columns. What are the other 2 pins connected to ? The image shows 9 pin outs.
2
votes
2answers
83 views

Logic family for 3.3 V microcontroller interface

I need to generate a bunch of chip selects for a SPI bus that I want to use on a project. I will use a 36 position (similar to PCIExpress = cheap) card edge connector and etc. The bus is simple : <...
0
votes
0answers
75 views

Microcontroller vendor comparison [closed]

I was researching microcontroller vendor market shares for my project, then I found this: As a student, I have mostly heard of Atmel, Microchip and Texas Instruments. Yet I'm quite embarrassed that ...
0
votes
1answer
93 views

Pull up/Pull down power consumption [closed]

For a microcontroller, does pulling up a GPIO pin consumes more power than pulling it down? (I've got the option to pull a GPIO pin up or down)
1
vote
0answers
70 views

Why my TFT screen takes time to fill screen? [closed]

I am using WB-7 TFT LCD Module Rev2.2 in 8-bit mode with MCU dsPIC33EP512MU810 cloicking at 80 MHz. The LCD module is 7-inch 800x480 display with SSD1963 controller. I am totally new to using LCD ...
0
votes
1answer
93 views

Which circuit is more Stable?

The circuits in the picture are basically opto-couplers connected to a relay circuit. The input pin of the opto coupler is connected to a MCU and the output of the opto coupler is connected to the ...
2
votes
2answers
109 views

AC voltage measurement with a microcontroller

I want to build a circuit that will eventually calculate power, power factor and thd for a light switch or a wall outlet. But I'm having some problems with the voltage measurement circuit. ...
0
votes
1answer
98 views

Best way to get 5v or 12v or 0v from arduino pin [closed]

Concerning the answer to this question explained in the link "Best way to get +5V or +12V or 0V from arduino pin" I am at very basic level of electronics because I am in first semester of Electronics ...
0
votes
1answer
74 views

Power consumption of Cortex-M7-based microcontrollers

I'm designing a USB-powered microcontroller board, and I'm considering choosing a Cortex-M7-based microcontroller for it (I want a double-precision FPU, along with other features M7 offers). Currently,...
0
votes
0answers
9 views

Aruino pro mini not accepting new code [migrated]

I recently purchased an Arduino pro mini from Amazon, and a ch340g serial adaptor to program it. When I first used it, I only used the simple blink program, just editing the delays. This worked great, ...
0
votes
0answers
47 views
0
votes
0answers
29 views

Atmega32 Timer1 CTC Mode problem

I'm just a beginner. I'm using atmega32. I read many tutorials on timer1 Compare Mode. I wanted an interrupt in every 1 millisecond.The frequency of the CPU is 1 Mhz. So I programmed it as follows: <...
0
votes
1answer
95 views

“switching box” with microcontroller and relays [duplicate]

I need to build a switching box, which switch between 4 pairs of the contacts, and give one of the pairs to the output (to read one of the 4 signals). I am going to do that as follows: For each pair ...
-3
votes
1answer
117 views

Can I achieve debounce using a zener diode?

I am interfacing a 4x3 keypad with LPC1778 using GPIO pins. These pins are 5V tolerant. Can I use zener diodes in the debouncing circuit? Can I use zener diodes like this?
0
votes
2answers
51 views

Read latch versus read pin (8051)

As far as I understand, the 8051 microcontroller is able to read a pin (1) by reading the actual pin, assuming the nFET is in cutoff (so a logic 1 is written before reading the pin) (2) by reading ...
0
votes
1answer
40 views

minimum detectable signal of an IMU (MPU 6050)

I want to work with the MPU 6050 IMU, but before I have to check, which minimum detectable signal the IMU can measure or rather what is the lowest change of angle the IMU can measures. I have the ...
4
votes
2answers
184 views

What type of controller is this?

In many simple microcontroller power controller applications, I see controllers that work in an "increment/decrement" on error with hysteresis implemented e.g. ...
1
vote
2answers
143 views

Double polarity pulse with one single power source and virtual spdt switch

I have a problem in the design or my circuit. I need send data at a maxixum bitrate of 12000 bits /second. The high value should be +12v and the low value should be -12v providing at least 35mA of ...
0
votes
0answers
58 views

RS 422 signal voltage booster

I have RS422 output signal with 2.6V peak to peak, However after distance 25 meter this signal voltage is attenuated upto 0.8V and receiver is not able to detect signal. Is there any IC for boost this ...
0
votes
1answer
79 views

ADC continuous conversion STM32F103

I'm facing with a problem regarding continuous acquisition of ADC channel in STM32F103. I use the interrupt at the end of conversion to call a callback function to store the acquired value. The ...
0
votes
0answers
45 views

Measure individual cell voltages in a 111-cell battery stack with differential ADC

I have string of 111 lead acid cells (2V each) connected in series with the stack negative terminal tied to Ground. I have 18 TI F28377S MCU launchpads with differential ADC onboard (6 differential ...
0
votes
1answer
55 views

SPI Master: High impedance on MOSI?

I'm interfacing the Nordic nRF52 chip with an FPGA, and sometimes I need MOSI to be at a high impedance state (read "Z" in VHDL). Else the slave won't acknowledge that the data has been transferred ...
0
votes
2answers
84 views

Identify the change in switch states using a single wire system

Say I have 10 switches which will be automatically tripped at any time. The switches are supplied with the constant voltage(Say 5v). So the conventional way for identifying the trip is by connecting ...
-2
votes
1answer
37 views

MikroC VS xc8 codes [closed]

I have found this codes for controlling DC motor speed using PWM by connecting two switches to increase and decrease the PWM value. The problem is this codes is in MiKroc and my compiler is XC8. May i ...
0
votes
0answers
11 views

Duble use crystal speaker for capacitive touch sensing

I like to use a piezo crystal speaker to double as a capacitive proximity / touch sensor while not used for audio. The small speaker is directly driven by MCU digital pins. To accomplish this, I ...
12
votes
6answers
3k views

What's the point of DMA in embedded CPU's?

I was doing a project recently with the mbed (LPC1768), using the DAC to output various waves. I read parts of the datasheet, and it talked about how it had DMA for a lot of the peripherals. This ...
0
votes
1answer
148 views

SPI transaction between FPGA and Microcontroller

I'm trying to write a communication protocol between an FPGA and a Microcontroller through an SPI, the µC being the Master here. FPGA: Lattice iCE40 Ultra Breakout Board Rev.A (iCE5LP4K) µC : ...
-3
votes
2answers
81 views

How can I learn interfacing Microcontrollers? [closed]

My study field was computer and I'm newbie in electronics. so sorry if my question is very simple or low level! I want to build a Microcontroller based board(I think it called MCU board?) and when I ...
0
votes
1answer
78 views

eliminating audio hum

I'm working on a circuit that feeds a microphone into the ADC of the STM32F4 Discovery and then outputs that exact signal out of the microcontroller's DAC and then to a headphone jack. I am able to ...
1
vote
0answers
81 views

How to network hundreds of sensors over a serial connection?

So I'm looking for a way to connect hundreds (300-400) sensors (like an accelerometer) together over a serial connection to a micro-controller. The sensors would transmit about 500kbps each. I've ...
0
votes
1answer
51 views

Measuring Active power through current sensors

i want to measure the AC current - with 220 V AC 50 HZ at home - i will use a current sensor then find the power factor through comparing the signals of the V and I then find the power then i ...
1
vote
1answer
82 views

Trying to use MUCs to sample data from IMUs over bluetooth at a specific sampling frequency

I am designing a data collecting system and I want to be able to collect the data from both sensors at a rate of 500Hz. I was wondering if anyone could help me calculate/prove this mathematically ...