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
20 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
29 views

TLC5940 IC working principle

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
30 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
531 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
57 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 ...
0
votes
1answer
73 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
30 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
67 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
46 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
26 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
57 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
500 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
53 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 (...
-3
votes
0answers
44 views

STM32 Microcontroller programming [on hold]

how to Creat a sine wave signal modulated by a random fucntion with a frequency that's 100 times the frequency of the sine . It's seems easy but I really have no clue how to even start .
2
votes
1answer
66 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
135 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
37 views

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

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
80 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
93 views

voltage controled router [on hold]

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
43 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
80 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
0answers
34 views

Best Linear motion with minimum speed range? [on hold]

I wish to know what might be the best option to get a linear motion with high precision of .01mm/second with a dimension of 20cm. I could go with PLC or other normal microcontrollers. Suggestions are ...
0
votes
3answers
61 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
21 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
1answer
34 views

Problem with Inputs on PIC16F627A [on hold]

I'm trying to create some kind of a keyboard. My hardware is working fine. I'm using a PIC16F627A and a 7 Segment LED Display. I want to light up several diodes when a button is pressed, but they ...
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?
-3
votes
0answers
31 views

what can i replace Voltage Sensor with? [closed]

i can't find a voltage sensor, we are using ATmega128 Micro controller so i want to replace the voltage sensor. I am using voltage divider followed by the A/D converter. will this work exactly as the ...
0
votes
1answer
46 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
58 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 ...
3
votes
1answer
74 views

Micro controller power up reset

I came across this circuit in pioneer brand vsx522 model amplifier circuit diagram. This supposed to initialize the microcontroller during AC power up. But it looks like wrongly drawn. The resistor ...
-6
votes
1answer
51 views

How do I sense a 440vac, 3phase supply line with a microcontroller? [closed]

I have two generator sources (gen1 & gen2). If gen1 fails then the microcontroller should switch to gen2 and vice-versa. Is it possible? What are the components required ?
1
vote
1answer
94 views

Is it possible that I fried an MCU pin by performing a continuity test

I have a microcontroller (dsPIC33EP64GS506, 64-pin, TQFP, link to its datasheet), which doesn't seem to work on 2 GPIO pins (pins 4:RC0 and ...
0
votes
1answer
35 views

Floating USART line cause uC reset

I am working on a project using Atmel SAMD20 microcontroller (anyway, my question is in a general aspect, so I think this should not affect the answer) I use an USART to connect my board to the ...
0
votes
2answers
40 views

Address decoding

I'm currently working on a task where I'm supposed to find the memory address of the following external bus interface of a microcontroller (logical 0, CS-signal) However, I am uncertain of how to ...
0
votes
1answer
55 views

How are programs written into a microcontroller? What role does JTAG play?

I can write programs for an Arduino, and all I do is plug it in and click "upload". My compiled code gets into the ATMega's program memory. Easy right? Well, I would like to know what exactly is ...
0
votes
1answer
51 views

measuring AC rms voltage of TMP36 using TDS Tektronix 2002C digital oscilloscope

When measuring AC rms volt of TMP36 temperature sensor by TDS Tektronix 2002C digital oscilloscope, I got value of 5.97mV.What's the absolute error in my measurement (absolute error from oscilloscope )...
0
votes
0answers
32 views

Problem Remapping SPI2 And SPI2_ Routine Read/Write [closed]

I have been working on Pic18F47j13 with 2nd SPI module. I remapped SPI2 pins using Remappable peripheral module and SPI ROUTINES ( Read/Write). ...
0
votes
1answer
62 views

RTC Alarm deepSleep STM32L073RZ

I'm trying to configure 2 differents Alarms on my STM32L073RZ to leave the deepSleep mode but unfortunately after the first wakeUp the memory is reset and the second alarm never wakeUp the STM32. My ...
0
votes
3answers
75 views

Powering MCU with capacitor during short power off when MCU VCC comes from LDO?

I'm trying to create a solution to power an ATtiny85v MCU for maybe two seconds after a power loss to perform some power down tasks, but I don't have much knowledge with electronics. I did some ...
2
votes
3answers
346 views

Serial Output returns wrong ASCII

I am using a FTDI cable and connected it with my mac. I can connect successfully with my serial terminal on my mac via the cable and can input text on my keyboard to be transmitted to the AVR. When ...
0
votes
1answer
40 views

Runs with debugger but not standalone, using ATSAMD10D13 and Atmel ICE

I made a custom board with 2 ATSAMD10D13AM parts. The are 8k flash/4k sram Cortex-M0 24QFN parts. When I power the board the IC's start but then freeze (I have LED's blinking that go solid). When I ...
0
votes
1answer
32 views

USART interrupts in hy-ministm32v board

I'm currently doing USART interrupt program and I have kept my code along with this. But the program is not working as an interrupt can anyone suggest me how to fix this?I'm doing a project using the ...
0
votes
1answer
113 views

Why does a GPIO pin always return logic low when devices are connected to it?

I made myself a transceiver in which I want a microcontroller to control. I created a microcontroller test circuit where some GPIO pins are pulled up via 10K resistors and when I tested them with ...
0
votes
2answers
108 views

Low power switch with microcontroller

I'm designing a light switch that will be controlled by a uC. The problem is that the uC will be connected to a coin battery cell (3,3v) and he can't waste energy in the switch circuit. So what would ...
0
votes
0answers
42 views

Ticking sound when sending data to a Yamaha YM2612 sound chip [closed]

I am working on a project which is based on the Yamaha ym2612 sound chip which was used in the Sega Genesis to generate most of its sounds. I am using an Arduino Nano to provide bus data to the D0-D7 ...
1
vote
1answer
53 views

Measure an engine valve lift in a fixture

I work in a company which manufactures engine valves and we have a rig in which valves can be tested for endurance. The fixture in the rig is custom designed for the valve and the corresponding ...
0
votes
2answers
77 views

Error in my AVR BUTTON code [closed]

Can anyone help me understand whats wrong in my logic for writing a push button that toggles a LED in this way? I know the XOR way, I just want to figure out why it doesn't work when written in this ...
1
vote
0answers
410 views

Can anybody advise what type of connector this is? [migrated]

I recently purchased an LiPower shield from SparkFun. I also bought a Lithium Polymer battery off eBay and it appears to have a JST male connector (i could be wrong)? I expected it to slot right ...