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

Why the MCU gets too hot when I plug it in to the USB?

EDIT1: There is nothing connected to the board. EDIT2: The board works but I don't know why it gets too hot. I'm testing my new board MSP432P401R LaunchPad Rev 1.0 (black) from Texas Instruments. I'...
0
votes
0answers
19 views

How to add buzzer in parallel output?

I have a workstation which can be testing a number of 55 photo curtains. Each row has 5 total 11 rows are there. In 10mints all photo curtains output gets reset. What I want to do is to fit buzzer ...
0
votes
0answers
13 views

How to properly configure PWM signals in redundant mode on dsPIC33E?

I am new to the world of microcontrollers and am working on a project to commutate a BLDC motor. To do this I am using a dsPIC33 microcontroller from microchip. I'm experiencing an issue with ...
0
votes
1answer
43 views

dsPic33E : Digital Output issue on pin<20> RA1

I am working on dsPic33EP512GM604 microcontroller. I have written a small program to light a tower lamp with 3 LEDs (RED, YELLOW, GREEN). Below is the circuit diagram : As shown in the circuit ...
0
votes
0answers
45 views

Reset the mains power of device

I have a Device which work on main 120Vac, and internally it converted into low voltage for control. It also has RF chip inside, so the data and command can be monitor and control via wirelessly. Some ...
1
vote
1answer
40 views

Different square waves from one microcontroller

I'm doing a project and I need the microcontroller (ATmega328) to do these two things: Generate a rectangular wave to be filtered and obtain a DC voltage (that varies linearly with the duty cycle) ...
0
votes
1answer
40 views

Emply Information-Freezing values in data registers of compass module?

I am working on a compass module. This module provides the information through 6 registers. In fact, there are 3 pairs of registers.Each register pertaining to one coordinate (...
0
votes
0answers
50 views

What Actually The Process Behind Microcontroller + IOT Devices? [on hold]

I am essentially a mobile developer, and I can see I start having much interest in such IOT Devices in the market and I have the idea to build my own. I am not planning to learn IOT from scratch, but ...
-3
votes
0answers
20 views

Reading analog voltage 0-10v USB interfacing with computer using pic18f4550? [on hold]

"Reading analog voltage 0-10v USB interfacing with computer using pic18f4550" means whether i have to measure the input voltage or to obtain output voltage to interface through usb to computer.plz ...
0
votes
2answers
74 views

Why Data Recovery Block needs to operate at 16 times the baud rate [duplicate]

The data is received on the RXx/DTx pin and drives the data recovery block. The data recovery block is actually a high-speed shifter operating at 16 times the baud rate, whereas the serial Receive ...
0
votes
1answer
36 views

Switching voltages with demux and switches

I am trying to design a circuit that, depending on a value that a microcontroller recieves (between 1 and 10), a fixed voltage of 20 V, 40 V, 60 V,... or 200 V (depending on the value recieved by the ...
3
votes
1answer
132 views

How do scanned interface inputs work?

I'm learning about different ways to interface physical switches to microcontrollers and I don't understand how scanning interfaces work. I am told in the notes that the software from the ...
0
votes
2answers
85 views

why many timers in microcontrollers

I was going through timers in pic and found that there are so many timers available in micro controllers. For example a PWM time base is driven by Timer2. My doubt is why there are so many timers? Why ...
2
votes
0answers
47 views

Interfacing dual supply op-amp with microcontroller

I have an dual op-amp amplifier circuit (LM833) to amplify a signal with a +-10V dual-supply rail from a 22V supply with a resistor voltage divider. The output is rectified into a 0-8V output, for ...
-1
votes
0answers
21 views

Netduino Plus 2 pulse sensor code not working [on hold]

I'm currently using Netduino Plus 2 & .net micro framework for a project which requires me to code for a pulse sensor. I have tried finding codes for pulse sensor but to no avail. I tried using ...
0
votes
0answers
31 views

16bit microcontroller with UART, PWM, I2C and 4 ADC channels? [on hold]

I am in need of a 16bit can be 32bit but I think thats overkill, with I2C, UART, ADC, and pins that support PWM (for driving PWM fans) the I2C is for communication with another chip on the board.
0
votes
0answers
32 views

I2C Problem on STM32F4 Discovery connecting to CS43L22

I'm trying to use the internal beep generator of CS43L22 on my STM32F4 Discovery. I'm using the HAL libary and can access the Chip via I2C but only for 4 Bytes (read or write) then the function ...
0
votes
2answers
164 views

Most cost-efficient way to implement USB full-speed host? [on hold]

I need to a device which can act as a USB host to send various chunks of static binary data periodically to a full-peed USB serial peripheral of FT232 type (RS-232-ish UART). I was thinking maybe ...
0
votes
2answers
58 views

CAN to SPI Converter

I am looking for a chip which will convert CAN messages to a SPI message. Is there any chip available as such ? Till now I have found MCP2515 http://ww1.microchip.com/downloads/en/DeviceDoc/21801e....
1
vote
1answer
25 views

Atmel SAMC21 MCU internal oscillator based counter inaccurate

I am programming a SAMC21 for a control system and I need a milliseconds counter similar to the millis function in arduino to keep track of samples, etc. To do this I first set up a clock channel for ...
0
votes
1answer
34 views

Small low power circuit power domains inrush

I have a battery powered circuit using a MCU and several peripherial circuits (eg. an SD Card slot, small audio amplifier). The peripherials are rarely used, but the MCU is constantly running. So ...
0
votes
0answers
7 views

Saving file OBEX FTP output [closed]

I'm planning on pushing and pulling files from my phone using the BlueGigga WT 12 module using OBEX FTP and the iWRAP software they have. I want to save this data using a micro controller to a flash ...
-6
votes
0answers
25 views

Decect Different Between two frequencies of input Microcontroller [closed]

I want Decect Different Between two frequencies of input Microcontroller But I haven't any idea for this😔
0
votes
3answers
77 views

How to Correctly Implement this Schematic Circuit including two MOSFET?

I am trying to steer a 12v motor from my microcontroller's 5V pins (CHIP). I have successfully wired it up to support on and off which included an N-MOSFET, 100kResistor and a diode. Now I want to be ...
0
votes
1answer
39 views

TLC5940 IC working principle [closed]

I just want to know how a TLC5940 IC works? I mean how an individual pin provides a different width of PWM?
0
votes
1answer
49 views

Connecting hc-05(bluetooth) with clicker2 with STM32(ARM)

For a school project I a got HC-05 bluetooth module and MikroE Clicker2 with STM32 (ARM). When I connect and use module with Arduino, 9600 BAUD rate and all other settings used with SoftwareSerial ...
3
votes
1answer
585 views

Stepping down 48V (from power over Ethernet) to 5V

I'd like to use power over Ethernet to power an ATMega328 microcontroller at 5V, however PoE operates at around 48V for commercial PoE switches. How can I drop the voltage from 48V to 5V efficiently? ...
0
votes
1answer
90 views

AVR: Serial communication gives strange characters

I am having some serious problems trying to get the serial monitor to output the correct characters. I have looked over a lot of the posts with similar problems, but nothing seems to solve it. I am ...
1
vote
1answer
88 views

Backup battery enable with microcontroller

I'm interested in making a battery backup circuit that is operated by a microcontrollersuch that when the main battery gets below a certain voltage, the system switches to the backup battery. ...
1
vote
1answer
37 views

USB3300 with TM4C129 MCU

I am using a USB3300 board with my Texas Instruments MCU (TM4C129), but there are things that I do not understand, first, when I give to the USB3300 3.3V from a voltage source, the CLKOUT pin generate ...
0
votes
1answer
70 views

How to calculate the segment array resistors in a multiplexed display array?

The situation: Four seven segment displays are multiplexed by a 16F648A. Now I need to calculate the required value for the segment resistors. Supply voltage 5V. Datasheet: Segment voltage 1,8V. ...
3
votes
2answers
49 views

Where do find a Microchip MCU's ADC AC characteristics?

I'm trying to calculate the ENOB bits of my a PIC18F26K22 ADC, the problem is that I can only find the DC error specifications, namely, Gain Error, Offset error, Integral Linear Error,etc. But I'm ...
0
votes
0answers
36 views

Use 2 RTC Alarm on STM32L073RZ

I'm trying to configure two different alarms on my STM32L073RZ with the given example by StMicroelectronics. The problem is, when I try something like the script below, only the first Alarm turned on ...
0
votes
1answer
60 views

Clocks, Processors and Timers on a MCU

So i am going through this excellent book Patterns for Time-Triggered Embedded Systems and have a question regarding calculating values for hardware timers precisely. See "Hardware Delay" pattern in ...
1
vote
3answers
515 views

Switching between +9V and -9V (using 5V logic)

I got some linear actuators today and found out that when I give them +9V they extend and -9V makes them contract. This is easy enough to test by hand, simply by wiring the actuator up to the battery ...
0
votes
3answers
56 views

Intel 8052 (and friends) minimum set up

I recently got a batch of old microcontrollers (8052 and Z8671) and I just want to get a minimum working set up for them. Since these microcontrollers already have most everything baked into them (...
2
votes
1answer
76 views

STM32 handmade USART driver

I designed a new electronic card which has a STM32F4 microcontroller on it. Each peripheral except the Wifi module works. Wifi module is supposed to communicate with the controller via USART channel ...
2
votes
2answers
137 views

Arduino power and networking over cat6

I plan to run about 4-5 arduino pro micro in my backyard to handle controlling of solenoid valves for garden watering based on measurements of soil (so we keep it well watered). My question regards ...
-2
votes
1answer
41 views

What is tolerance of sensor and how to find it? [closed]

What does tolerance of a sensor specify? I believe it should be given on the datasheet. However, I could not find the tolerance of TMP36 temperature sensor.
0
votes
1answer
88 views

Trouble interfacing NewHaven oled display with stm32f4

The last two days I've been trying to interface a NewHaven Dislpay with my stm32f4 discovery board with no result. The datasheet gives poor written examples as to how to initialize this display and ...
10
votes
5answers
2k views

Considerations when using internal pull-up/down resistors

I am working with STM32 micro-controllers. These micro-controllers have the option to set the input pin as pull up or pull down: Earlier I used to give external pull up or pull down resistor wherever ...
-2
votes
1answer
100 views

voltage controled router [closed]

In many occasions, it is desired to design a circuit that would work under a wide range of input voltages, e.g. 3V-40V. This turns out to be annoying and difficult. I come to understand that all what ...
3
votes
1answer
50 views

MCU HIB pin only pulls Buck/Boost EN pin every-other Hibernation

MCU: TM4C1294NCPDT Buck/Boost Converter: TPS63051 Hib dedicated LDO: MIC5504-3.3YM5-TR I have a LiPo battery coming into the board, feeding both the TPS63051 and the MIC5504. Tiva's HIB pin is ...
6
votes
5answers
1k views

What is the UART TX interrupt for?

I know that the RX interrupt is obviously used to save polling, but why the TX one too?
0
votes
1answer
81 views

How does an MCU pin detect a voltage?

If I have an MCU pin connected in between 2 resistors (a voltage divider) how does the MCU ...
0
votes
3answers
63 views

No output from shift register

I'm trying to use a Teensy 3.2 to control a digital scoreboard display. I'm using 6 common anode 7-seg displays controlled by two 74HC595 shift registers daisy chained to control a transistor array. (...
0
votes
0answers
22 views

Longer Watchdog Timer Reset Time in MSP430G2553

I am trying to reset MSP430G2553 incase clearing of Watchdog counter (setting WDTCNTCL) doesn't take place in the time limit provided. I selected clock from ACLK (WDTSSEL = 1) and longest period I was ...
0
votes
4answers
55 views

Nyquist theory for sampling data from TMP36

Is there any way to make sure that sampling temperature(voltage) using arduiono UNO from TMP36 sensor does not violate Nyquist theory?
0
votes
1answer
50 views

How can I make a cheaper, more modern UHF RFID reader board?

I just began working on a new project that involves reading RFID tags, especiall UHF RFID tags. After doing some research on the available solutions, I came across the Cottonwood reader board. (here's ...
0
votes
1answer
59 views

Use one power source for two atmega chips

I'm working on a big project recently that requires 2 atmega chips one to handle input midi signals and one to transmit output midi signals. Because of the complexity of the project I cannot use one ...