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)

-3
votes
0answers
11 views

ADC most common specificaitons and criterias

i would like to collect most common specifications and criteria which is practically are used in most ADC projects. please Help to collect this list with very small description for each criteria. ...
7
votes
3answers
380 views

One large microcontroller, or lots of small microcontrollers?

I'm used to doing basic and straightforward things with microcontrollers, relatively speaking. Things such as driving LEDs, running motors, basic routines, GUIs on character LCDs, and so on, but ...
0
votes
3answers
80 views

PIC12 DAC has no output

I have a PIC12F1571 (datasheet here: http://ww1.microchip.com/downloads/en/DeviceDoc/40001723b.pdf) that I have programmed to read an analog input, do some processing on the value read and then ouput ...
0
votes
2answers
88 views

How to avoid short circuit when connecting a microcontroller and device using I2C bus?

I am attempting to connect an 8051-compatible microcontroller to an accelerometer using the I2C bus. Both devices operate at the same voltage, 3.3v. However, I am failing to understand something: ...
0
votes
0answers
43 views

Help with the use of FPGAs to make custom microprocessor chips [on hold]

I have been reading up on FPGAs, and I was wondering how can I get my hands on one? If I were to get my hands on one, would I hire someone to perform the tasks that I needed to get done with the FPGA. ...
0
votes
1answer
27 views

Help with this protocol - LCTC

I have a 640x200 monochrome display from a HP 200LX palmtop computer. On its PCB I can see two types of ICs: HD66204TFL and HD66205TFL from Hitachi. Here is its schematic (it has 200 px not 240 as in ...
2
votes
0answers
44 views

How can I control brightness of a CFL with a microcontroller?

I'm new to electronics and just turned on and off appliances with an Arduino and relays. Now I also want to control the brightness of a CFL with an Arduino as I controlled the brightness of a LED. So ...
2
votes
3answers
163 views

Attiny44A Arduino Multitasking

I am trying to blink a led as well as switch a motor on/off parallely using attiny44A below is my code: Pump Controller: ...
0
votes
0answers
22 views

MikroC could not detect the serial programmer

I know I'm doing something wrong I use serial PIC programmer with a serial to usb converter but the mikroC doesn't seem to identify it. What extension should I do for it to work (from the serial PIC ...
1
vote
1answer
68 views

Problems Re-Flashing ATtiny85 After Setting prescale to 0x00

After flashing the ATtiny85 with code including setting the clock prescale to 0x00 (in code, not flashing the fuse), the next time I try and flash I get the following errors preventing me from doing ...
3
votes
1answer
111 views

Interfacing an RCA audio output to a microcontroller ADC

I'd like to connect the audio output from a set-top box (and similar) to a microcontroller's ADC. They all have an RCA connector so I was wondering what sort of circuit may be required to interface ...
0
votes
1answer
46 views

Atmega328P not starting up

I am playing with an atmega328p microcontroller to try and build a simple circuit which open/close a relay to control a garden light, my problem is that while the circuit works fine on my breadboard ...
0
votes
1answer
47 views

How to Identify faulty bus pins on LCD?

I've soldered 14 pins on the back of my LCD and connected to an AVR Microcontroller. The LCD powers on correctly and contrast is set correctly but I'm having trouble sending software initialization to ...
0
votes
1answer
52 views

Connecting ARM cortex m4 to the internet [on hold]

So I would like to connect my arm cortex M4 Microcontroller from TI to the internet through the home network. The purpose is so that i can remotely control something, lets just say an LED. Where ...
2
votes
1answer
49 views

What are these components in block diagram of STM32?

Today, when I was seeing in STM32F103RET6 datasheet I saw some odd things(also, they are odd for me, probably you have enough information about these). if look in 12P of datasheet, you will see this ...
1
vote
3answers
106 views

NPN BJT Relay Circuit will not turn off

I'm applying a 3.3V signal with my Raspberry Pi to the base of an NPN transistor to activate a SPDT 6V relay (relay data sheet, model G2R-1-S-DC6(S)). The relay pickup/dropoff voltage is 4.4/0.9V. ...
0
votes
1answer
39 views

What is each pin's output voltage of an ATmega328P?

I would like to operate an ATmega328P in 3.3V supply alongside some other 3.3V non-5V-tolerant-peripherals. I looked up in the datasheet but I couldn't find an answer as to what is the output voltage ...
0
votes
1answer
57 views

Counting PIC18F46K20 internal clock edges using MPLAB C18?

I am trying to create a countdown timer using the PIC18F46K20 and display the time on the OLED. I have set up TIMER0 to create a delay of 1 second ( T0CON = 0b00000001 ) so the variabe intCLKsecs ...
-2
votes
0answers
28 views

Counting PIC18F46K20 internal clock edges using MPLAB IDE C18? [closed]

I am trying to create a countdown timer using the PIC18F46K20 and display the time on the OLED. I have set up TIMER0 to create a delay of 1 second ( T0CON = 0b00000001 ) so the variabe intCLKsecs ...
0
votes
0answers
46 views

Application of intel 8253 timer

8253 timer works in 6 different modes namely interrupt on terminal count, hardware-retriggerable one shot, rate generator, square wave generator, software triggered strobe and hardware triggered ...
0
votes
1answer
35 views

Equivalent of S27c512-20A PLCC for project

I've found interesting project for modification of an age old NMT Ericsson 430 Hotline mobile telephone to radio amateur station on 70 cm: ...
0
votes
1answer
65 views

Two interrupts for a single operation

I am using infineon XC866-1FR controller for my project. For the motor control, I am in need of exciting the coil by the combination of two external interrupts(external interrupt 1 && external ...
0
votes
2answers
40 views

Button cells for arduino uno

OK, before I start I know that there is significant difference and that the Arduino Uno is not designed to run off button cell batteries especially to run both the ...
6
votes
4answers
1k views

How different are 8-bit microcontrollers from 32-bit microcontrollers when it comes to programming them

Right, so we have 8-bit, 16-bit and 32-bit microcontrollers in this world at the moment. All of them are often used. How different is it to program 8-bit and 16-bit micrcontrollers? I mean, does it ...
1
vote
2answers
61 views

Would driving transformer with MCU's GPIO cause durability issue?

For making isolated power supply, I would like to drive a transformer with two GPIO's of a MCU. The center tab of the primary will be connected to Vcc. And each end of the primary will be toggled ...
3
votes
4answers
177 views

Dialing a miniaturized stargate

I want to build a miniaturized Stargate but I have no clue regarding the electronic part. The Stargate is a fixed circle with 9 chevrons (see links bellow). An inner circle is spinning inside the ...
1
vote
3answers
87 views

Using single resistor to receive 5v signal on the 3.3v rated pin

I have been investigating ways to safely receive 5v signal on the input pin that can only support 3.3v input signal. I came across an article that states that it's possible to only use a single 10k ...
1
vote
1answer
52 views

Does the LPC1343 MCU need an external clock for USB operation?

I am trying to design a board using the LPC1343: http://www.nxp.com/documents/data_sheet/LPC1311_13_42_43.pdf I would like to be able to use its on-board USB bootloader to program it. My question is ...
1
vote
6answers
155 views

Why is pin protection needed?

I have read this article about protecting input pins. One thing is still unclear to me — why is the protection needed at all with such a high resistance on the input pin inside of the ...
3
votes
1answer
122 views

How can some guys discern all parts of a MCU?

Today, when I was searching for find some dies, I saw these pictures: Now I'm curious that know how can some guys discern all part of a MCU? Is there any points that I use those to discern all ...
0
votes
0answers
28 views

How to use ADXL335 to detect direction of movement

I want to use my ATmega32 with the ADXL335 accelerometer to make a glove that works like a mouse. How to detect whether accelerometer is moved to the left or right direction. Any help would be ...
0
votes
1answer
36 views

How to read configuration bit register from PIC?

I'm debugging and want to inspect CONFIG1H (CONFIGURATION REGISTER 1 HIGH) of a PIC18F. CONFIG1H does seem to be recongized as an SFR when I enter it into the Watch window. After stopping at ...
1
vote
1answer
45 views

Adding Profibus capabilities to a product

We are currently developing a product and now the "idea" has come up to integrate Profibus since it is quite used in that specific area. Now I was wondering if anyone has made such a product. If I ...
1
vote
2answers
93 views

PWM generation PIC16F628A

I have followed the instructions in the data sheet and tried to generate PWM signal using PIC16F628A. However it seems to be not generating any output. My code is shown below. Any help appreciated ...
4
votes
3answers
172 views

Calculating time spent by a function in Microcontroller Applications

I would like to write a simple profiler for my STM32F100VE microcontroller. I have seen that I can include time.h and based on the c standard functions I can use it, but I was confused about ...
1
vote
2answers
57 views

How to create a circuit to reduce my H-Bridge Inputs from 4 to 2, much like the 4427 Dual Driver does?

My H-bridge is identical to the one here: http://www.robotroom.com/BipolarHBridge2.html I'm trying to reduce the number of inputs from 4-2 so I can control it with my arduino using the 2 inputs. In ...
1
vote
1answer
63 views

1/8" i/o components

Im looking to make a microcontroller that has one stereo 1/8inch input and one stereo 1/8inch output and a processor that can effect / filter the audio. Im looking around for microcontroller tutorials ...
0
votes
0answers
54 views

Do I need to use a programmable oscillator?

I can produce pwm signals with my mcu and I am intended to use this signal to feed another MCU's external clock input. But my output pwm signal voltage is 5V and I need peak to peak 2.5V signal and it ...
1
vote
1answer
131 views

An alternative to microcontroller as a clock generator

I use ATTiny2313 microcontroller to drive a linear CCD imager. That's all it does - an infinite loop that toggles six IO ports at different times. However, it is only a 20MHz controller. I calculated ...
5
votes
2answers
197 views

Attiny85 hardware interrupt unreliable, 433 MHz remote

SCROLL DOWN TO SEE THE SOLUTION (UPDATE II) ORIGINAL POST: I am currently building a 433MHz remote with two buttons. The remote is controlled by an Attiny85v(8MHz). Sadly it does not work very ...
0
votes
0answers
41 views

Suddenly program is not burning

I write a code for my MCU ckt and burn it in my MCU. I edit that code several times and burn . It cause no problem. Suddenly when I add a for loop in my code, when I tried to burn my code, it says " ...
6
votes
5answers
667 views

How to control three LEDs with two uC pins using just passive components?

I only have 2 (3-state) pins available on a microcontroller and need to control 3 red LEDs, uC is running on 5V. I can only use passive components in addition.
1
vote
2answers
93 views

Purpose/Usage of Boot Segments

I would like to find out more about the purpose of a boot segment, the segment of program memory that is declared by the user, and I would like to ask the following questions to have a concise ...
0
votes
1answer
59 views

Problems with I2C on PIC18F25K22

I've been googling for about two weeks now and I still can't seem to get my I2C working. I've used this (what seems to be complete) tutorial. I followed the Master Write and Master Read examples to ...
3
votes
2answers
155 views

Is is possible for a microcontroller with a single serial output to interact with two serial peripherals?

I'm looking into using Atmel's 2051 microcontroller with an Xbee and a HC-05 Bluetooth module, the micro however has only one serial connection and no possibility for expandability with ...
1
vote
0answers
62 views

Float calculations hangs on Kinetis K20 (arm-m4-no-fpu) when PWM interrupt is on

I will use this ARM to control Induction Motor with three-phase inverter. When the program encounters any float operations, like simple plus operation, the system hangs but the pause of debug works ...
0
votes
1answer
62 views

Controlling an ATmega328P via Wi-Fi

I am a software guy who hasn't been under assembler level. I have a project in my mind but I don't have sufficient knowledge on electronics. I have been searching in the internet for help, but I ...
1
vote
2answers
73 views

Serial Data Input through Microcontroller to Output Voltage

I am new here and new to programming, so I thought maybe some of you might be able to help me in the right direction. I am looking to design a circuit that receives serial data from an RS232 port on ...
1
vote
0answers
35 views

Atmega328 NFC cannot wake

I'm trying to communicate my 328 with DFRobot's NFC Module a while now, but I cannot wake the card. Below is my code, where I use DF's instructions on how to make the card work. I write what card ...
0
votes
2answers
108 views

A Beginner's Question: 32 bit vs 8 Bit [closed]

I am in the process of getting started with electronics, and I have come to a crossroads. Being a complete beginner, should I start with 32 bit microcontrollers (specifically Atmel's UC3 series), or 8 ...