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

reducing led flickering

I am using pic18f452 micro-controller to generate PWM with ADC. The PWM output is connected to LED through MOSFET. There flicker is occurred. please help to me to reduce the flickering.
0
votes
1answer
58 views

Weird problems with LCD (HD44780 compatible)

I've been trying to interface with a HD44780 compatible display (16x2) for quite a few hours now, but have run into some weird behavior problems which I can't solve. My setup: I'm using the LCD in ...
0
votes
2answers
48 views

Raspberry Pi + Microcontroller for commuting audio input and output [on hold]

I am new in electronics and I'm working on a project with Raspberry Pi that I need help. I want to make a board that allows to commute 4 audio inputs (TV, MP3, DVD, FM web) in 4 audio outputs ...
1
vote
0answers
31 views

LPCxpresso: How to write a constant value to flash memory at programming time?

Is there a file or setting that I can add to my project that maps specific values to specific memory location in IAP flash when it is programmed? The device is LPC1114. The use case is that each ...
0
votes
1answer
44 views

Explanation and usage of LM324

I am trying to make a line follower robot using LM324 as comparator, but I cannot understand the theory or the explanation of this circuit. I also don't know how to calibrate it with the IRs.
0
votes
1answer
69 views

Reed switch current sense

I'm working on a home project where a microcontroller records time when outdoor lights are switched on/off. Outdoor lights are 220V activated by built in PIR sensor. They're located outdoors 20-30m ...
1
vote
1answer
73 views

PIC12LF1552 I2C; uC won't exit Start Condition

So I've been tackling this problem with integrating I2C functionality into my code, which is documented here on StackOverflow: ...
1
vote
2answers
47 views

How to stabilize adc output display on 7 segment

I am designing a simple voltmeter. I am using 8 bit ADC of PIC16F72 and Mikro C compiler with a multiplexed 7 segment display. I am getting ADC value on 7 segment display but its continuously ...
-1
votes
1answer
73 views

Image Processing using a microcontroller [on hold]

I am currently doing a project on embedded systems where I need to do Image Processing within the microcontroller itself. The microcontroller I would be using is of ARM architecture. What is the ...
1
vote
1answer
25 views

Why can't I read the 328p from an Arduino board using USBasp?

I have been using a USBasp board and avrdude to successfully program Attiny13 chips. I thought I'd have a look at the chip from my Arduino (ATMega328p), but avrdude can't seem to read the chip. ...
0
votes
0answers
30 views

How to get an ENC28J60 to work?

For starters: Yes I know I'm about to reinvent the wheel with the following task ahead. I want to create my own library for the ENC28J60 for an AVR (ATMEGA1284P). So I've been browsing the net for ...
16
votes
9answers
8k views

Is it possible to physically destroy a microcontroller with software?

Assumptions: No external circuitry connected (other than the programming circuit, which we assume to be correct). uC is not faulty. By destroying I mean releasing the blue smoke of death, not ...
1
vote
1answer
211 views

Why my transistor switched when base was grounded?

I am from a programming background, so I dont quite know the theory, But I want to control a motor from a mictrocontroller. So I used a TIP 122 to do it. My circuit looks a bit like this: ...
0
votes
0answers
51 views

PIC16F72 Unable to use all pins of PORTC

I have written code for a voltmeter using a PIC16F72, but I am unable to use PORTC pins 1 & 2 as Digital Output. The datasheet says we can use all pins as output, but it does not work in my ...
0
votes
1answer
20 views

Need Atmel 89C5131 microcontroler library for Altium designer v14.3.9

I want to design a small electronic circuit using Altium designer v14.3.9, and I need the microcontroller Atmel's 89C5131 (the symbol, not for PCB), but couldn't find it in any of my libraries. Does ...
0
votes
1answer
59 views

Interesting observation on strange behaviour using motors and IR transceiver

I am working on a robot with with the following specs: Two coin type vibration motors rated at 3V for locomotion Motors triggered using two darlington transistors (sample schematic shown below) ...
0
votes
0answers
49 views

Problem with SPI communication on BLE112

Good morning, I am a student and this is my first time with this microcontroller. My task : I would like to established a SPI communication between my BLE112 board and the sensor LSM9DSO. The ...
1
vote
3answers
67 views

What is SPI Interrupt (SPIE) in SPI control register?

I have been trying to understand SPI Interrupt i.e. what does it do and why is it used ? Reading about it on the web has not helped me. Can some one please explain it in a simple terms ?
1
vote
2answers
131 views

Removable MCU for a PCB

I am trying to make my first PCB, an would like to program an ATmega328P-PU using my Arduino and a breadboard and transfer it to my printed circuit board. My problem is that either I will make a ...
1
vote
1answer
50 views

MCU Output Driver Verification

I am creating a circuit in which a MCU (STM32) must drive 12VDC outputs, and wanted to make sure there wasn't anything missing in my driver circuit for the outputs. ...
6
votes
3answers
340 views

How is this circuit for interfacing 20V signal with 3v3 microcontroller

I have designed the following circuit to interface a 12-20V signal to a microcontroller running on 3.3 volts. The signal is either 20V or open circuit. I want the circuit to be as resilient as ...
0
votes
3answers
151 views

DIY current-limited 40A+ power supply to emulate LiPo batteries

I want to do some experiments developing brushless DC motor control hardware, and maybe wiring my own motors for my own edification. LiPo batteries aren't convenient enough, and I want ...
0
votes
3answers
56 views

RC filter on a clamping circuit

I have designed a clamping circuit to protect pins of my microcontroller and I have to add a low pass RC circuit at the microcontroller end to filter out the high frequency noise. My circuit analysis ...
1
vote
2answers
52 views

Issues related to Bit-banging transceiver modules

I have two Infrared Transceiver modules from TFDU4101-TR3 on two separate boards each interfaced to ATMega164PA microcontroller. To drive these transceivers an endec is needed which I have not used in ...
2
votes
1answer
52 views

ATmega32U4: no output

I've got a little problem with a board I designed. What I tried to achieve is to control some LEDs with a microcontroller featuring an Arduino bootloader so that you can program it with the Arduino ...
1
vote
0answers
10 views

Controlling Floppy Disk Drive with Arduino [migrated]

I am having problems controlling a 3.5" Floppy Disk Drive with an Arduino Uno. I have the floppy disk drive powered with a computer power supply that is switched on, and the Arduino powered by my ...
0
votes
1answer
106 views

Maximum resistance that can be put in series with an input to a (PIC) microcontroller

EDIT: What is the maximum resistance that can be put in series with an input to the PIC. Original Question: I am designing a clamping circuit to protect my microcontroller's pins, I need to know the ...
0
votes
4answers
232 views

Powering an ATmega328 chip

I am trying to make a printed circuit board for a robot. I would like to make this look as neat as possible, and I would like to have the peripherals like the sensors and other stuff, and the ...
2
votes
3answers
442 views

Logic design to circuit — how is it generally done?

So I've designed this CPU with purely logical components (basic logic gates), now how would I go about converting it into a circuit? I know that logical gates can be implemented using transistors, but ...
0
votes
1answer
48 views

Shutdown mode in si4010 microcontroller

I'm working on a project with si4010 microcontroller plus a battery and I want to save power, so I have to enable the shutdown mode. I need to wake up every 1s and do the process and then go back to ...
0
votes
1answer
70 views

driving a control pin to ground with different voltages

I'm using a 3.3V atmega2560 to disable a switching regulator that's operating on a ~12V battery. The EN pin on the switcher is pulled up to the battery voltage, and needs to be driven to ground to ...
1
vote
1answer
63 views

Upgrading a treadmill controller / console [closed]

So I have an older model treadmill that I would like to upgrade if possible. The newer treadmills roll to a stop very elegantly, whereas this older model just switches off. Also the console is old, ...
0
votes
2answers
61 views

Efficient way to power 2W LED using 5V Li-Ion battery, with PWM

I am hoping to power a single high power LED with a forward voltage of 1.4V and a forward current of 1.4A using a 5V lithium ion battery. From what I understand, there are several approaches: ...
0
votes
1answer
71 views

Costs of microcontroller with GSM module [closed]

First of all, I have to confess that I am a noob on this topic ;) Currently I try to realize a pet project with a microcontroller, which is connected to a GSM module. I've done some research and ...
1
vote
2answers
78 views

Can a digital input having internal pull up resistor drive a load?

simulate this circuit – Schematic created using CircuitLab I am working on MC56F8006 DSC . On power up or reset the default state of all GPIOs is inputs with internal pullups enabled. I ...
0
votes
1answer
83 views

Connecting a microcontroller to USB interface

Currently I have the following microcontroller Atmel 89C61RD2 through a max 232 chip to RS232 interface. I would like to have an extra connection to a USB interface also. How can I do that? I would ...
0
votes
1answer
67 views

Using CooCox as an alternative to Keil MDK-ARM - any limitations?

A very popular and advertised tool for programming ARM microcontrollers is Keil MDK-ARM. The evaluation version can be downloaded here. However there is a code-size limitation of 32kb for using the ...
0
votes
1answer
45 views

GPIO interrupts in alternate mode

Are the interrupts in GPIO module triggered (high to low edge, low to high edge, low level or high level) when GPIO is operating in alternate mode functionality?
14
votes
10answers
3k views

Do Electrical Engineers use microcontrollers? [closed]

I've always loved to program, and I just recently became interested in electronics and programming microcontrollers. It is very fun, but I am wondering if I am learning something useful that can get a ...
0
votes
1answer
91 views

Driving 7-Segment Displays using a microcontroller

Before I start out, let me just point out that I'm new to hardware design. In fact, this is just hobby for now, but might turn into something later. Because of this, I don't follow any standards per ...
1
vote
1answer
119 views

Grounding the chassis with capacitor

My question involves chassis grounding to earth ground. My PCB circuit is a simple signal generator using a microcontroller. It has a separate 'ground' from earth ground, supplied by a floating 5VDC ...
-2
votes
1answer
66 views

Microcontroller to be used as period counter

I have a sensor module whoose purpose is to detect speed of moving target. I need to analyse the dat coming out from the sensor . The frequency output from sensor is 5 Khz and then I want to use ...
0
votes
1answer
36 views

How to modulate Transceiver module for use with ATmega164PA

I am using a transceiver TFDU4101-TR3 to communicate with another device which has exactly the same transceiver. I bought this thinking I can communicate with the transceiver using my microcontroller ...
0
votes
3answers
85 views

Reprogram / modify existing products containing microcontrollers

Is it possible to reprogram a device containing a microcontroller if I know the name of the microcontroller and have the necessary equipment to program a clean microcontroller of the same type? To be ...
0
votes
1answer
57 views

Inform microcontroller that the analogue circuit is powered up

Basically, I want to pull-down the microcontroller pin if some analogue circuit is powered up. The analogue circuit power is 9V, 1.6A. The idea I have is to use something like IRLZ24N MOSFET, connect ...
3
votes
0answers
76 views

Lithium battery consuming more power on Sleep Mode

I am trying to reduce the power consumption for PIC18F87J11 on sleep mode. The PIC is drawing about .01 mA (6 uA) on sleep mode with Alkaline AAA batteries and other power source, but when I use ...
7
votes
5answers
1k views

Why is my microcontroller passing a current through it when not connected?

MCU: ATTiny13 I noticed this after trying to debug why pushing my switch (connected via R2, a 507kOhm pulldown resistor) makes the LED dimmer while depressed. The switch was powered by the same ...
0
votes
1answer
56 views

How to use Turnigy MultiStar ESC with generic microcontroller? [duplicate]

I just got the Turnigy Multistar 20 Amp Multi-rotor Brushless ESC 2-4S. I have a motor and a battery hooked up to the ESC. On the three pin connector, I attached the brown ground wire to a ground ...
0
votes
1answer
67 views

n-channel MOSFET source load alternative

I'm trying to drive some RBG leds using MOSFETS. Let's say I have 2 individually RBG LEDS, each controlled by 12V, with each R, B and G with its own output to GND. What I want to control, is to be ...