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

external crystal not working but internal clock worked normaly in PIC18F45K22

I have designed a PCB based on the PIC18F45K22 microcontroller. I want to use an external crystal (4Mhz crystal with two 22pF capacitors). I can successfully program the code but the PIC won't run. ...
1
vote
1answer
40 views

How do I tell if my amplifier is voltage-to-voltage, voltage-to-current, etc

I have an amplifier, which is essentially an amplifier and a motor driver in one (link to data sheet), and I'm having an embarrasingly hard time trying to figure out what/how much it is amplifying. I ...
0
votes
2answers
31 views

Is the ROM of an MCU NAND FLASH ?

I understand binary code is stored in the ROM area of an MCU. Typically most MCUs have FLASH EEPROMS. Is this really the NAND type FLASH storage we find in most SSDs? If not, what are the ...
0
votes
2answers
46 views

AtTiny45 read lag?

I have set up 2 AtTiny45 setup like this (The left one is also connected to power): from which one (the left one) is generating a signal which is (when measured) looking like this: The second one ...
2
votes
1answer
21 views

Understanding PIC32 watchdog timer operation

I'm new to uC development and have been fooling around with the PIC series for about 6 months now. I recently started working with the PIC32 and Microchip's XC32 C++ compiler. I don't know if I have a ...
0
votes
0answers
18 views

g540 programmer not programming

I have written program in c language, I create hex file from it, but when I open g540 programmer and load file into it. It doesn't program the MCU but says "illegitimate user id detected". Also only a ...
0
votes
1answer
39 views

Safely connecting signal GPIOs

I'm using an STM32L053 MCU to interface to a poorly-documented PCB module (DRA818V). There are a couple of GPIO driven signals as well as a UART involved, and I want to make sure I'm doing things ...
0
votes
1answer
103 views

How to pick a microcontroller? [duplicate]

I have a rudimentary understanding of electronic components and computer architecture. I've built a CNC laser engraver. I created my own h-bridges, and my own laser driver, etc. However, the device is ...
1
vote
3answers
272 views

Why is the cost of microcontroller lesser than microprocessor

I was learning today about 8051 and I encountered a point which said microntroller generally costs less than a microprocessor. I didn't understood why is it so since microcontrollers have RAM, ROM, ...
0
votes
1answer
58 views

Remotely control power supply with adjustable voltage

I have a power supply unit with adjustable output voltage. The output voltage is adjusted using a potentiometer. However, I need to change output voltage remotely and dynamically. What kind of ...
-2
votes
0answers
58 views

Learning wireless technology. Where to start? [on hold]

I want to learn about microcontrollers (Atmega328 in my case) interfacing with wireless modules (nRF24l01+ in my case). I am currently using a library that makes things easy, but I want to understand ...
3
votes
2answers
62 views

Flash and EEPROM

Atmega16 datasheet says that it has a) 16 Kbytes of In-System Self-programmable Flash program memory and b) 512 Bytes EEPROM. Can a microcontoller have two separate ROMs which can be programmed ...
0
votes
0answers
28 views

Controller/Actuator for cold weather

I am working on a project that uses a control algorithm run on a PC, output over serial to a microcontroller which in turn positions external venetian blinds (both tilt and lift) on a home for 8 ...
1
vote
1answer
42 views

How to MOSFET to drive 12v relay from microcontroller (logic high is 3.3V) using ZXMS6004FF

The above is part of my project design. 'BRAKE_CTL_3' is output pin from uController. It sends 0 or 1 to drive Q4 to turn it on or off. 'BRAKE_LSD_3' connect to one end of Relay. Other end of relay ...
0
votes
1answer
54 views

how to generte a variable duty cycle based on the feedback?

i need to generate a pwm for boost converter , here is my code in mikro C it is correct ? , i test it on real circuit but i have a troube dc output best regards $ ...
2
votes
1answer
64 views

Is my lookup table with 50,000 entries too big for MCU memory (dsPIC33EP256MC506)?

I want to implement a 2-input 1-output fuzzy logic controller using lookup table on the dsPIC33EP256MC506 microcontroller. I am comparing the lookup table and actual fuzzy logic controller side by ...
0
votes
1answer
21 views

Loading new drivers

Suppose I'd like to make changes to the drivers of ADXL345 for SPI by building on https://github.com/analogdevicesinc/no-OS/tree/master/drivers/ADXL345 How should the updated drivers be loaded? Should ...
0
votes
0answers
23 views

Clone pro micro serial port 'COM4' already in use, [closed]

So I just got this board I ordered from ebay and tried to play with it for the first time. ...
3
votes
2answers
93 views

How to access the data from RAM and ROM(Flash)

I have a two-part question based on the memory of the Microcontroller (Common Platform not to any controller specific). How to access the data/variable stored in RAM and flash. I know the about the ...
-3
votes
2answers
52 views

Input port 8051

I have a microcontroller kit and I am using a 8051 microcontroller. The IC is P8951RD2. My questions are: All of the pins of all the ports are pulled up by resistors. Port 0 I can understand that ...
3
votes
5answers
185 views

Microcontrollers: What to do with unused non-IO pins?

There's plenty of information on what to do with unused IO-pins on a microcontroller. You can set them to a floating output, ground them, or pull them up to Vcc or down to ground. However I can't find ...
0
votes
1answer
60 views

Current regulator with controller?

I want to implement a circuit which allows to regulate the current flowing to the load. I have two use cases: Case 1 is the normal case where I would set the max. allowed current with a ...
2
votes
2answers
99 views

How to control a buck-boost converter circuit from a microcontroller?

I'm reading about buck-boost DC-DC converters lately and one thing is still not very clear for me. Most of the converter ICs that I've seen have a feedback loop input pin. For example LTC3780 requires ...
0
votes
2answers
151 views

How to control 200 relays with micro controller?

I want to control 200 relays, I want to use AVR controller. Because I am out of pins, I was thinking of connecting the micro controller (for routines and such things) to a FPGA and use the output of ...
1
vote
1answer
40 views

ATMEL AT89S52 programmer help finding suitable software for flashing over LPT

I have this old ATMEL programmer and I'm hoping to start learning about micro controllers on a lower level before I move to Arduino. Unfortunately the floppy disk that came with it is lost, and the ...
0
votes
0answers
13 views

I want To Make IR Transmitter Using STM32F2XX Controller

This is my First Questions here. I am making An IR Transmitter Using STM32F2xx. In my Project I want Implement the Pronto Protocol. My Question is, How i Transmit the code or string on IR using PWM ...
1
vote
1answer
47 views

PIC 16F887 and the mysterious System Clock Select bit (SCS)

I'm using a PIC 16F887 and I'd like to use the internal oscillator HFINTOSC. To accomplish this, I set the IRCF 2:0 bits to 110 (4Mhz prescaler) and the FOSC 2:0 config bits to INTOSC. Now I should ...
0
votes
2answers
77 views

Can a logic level converter be used as a replacement for a relay for detecting if a buzzer is currently active?

I have a small microcontroller (VoCore, runs Linux, has wifi and GPIOs) and i want to use it to hook into another system (basically a doorbell) to make the state of the doorbell-buzzer available over ...
-8
votes
1answer
33 views

need to Create our requirement circuit diagram and Microcontroller program for the same [closed]

In My company, I’m going to Implement “Offline Code Reader” for Soldering machines. WHAT IS THIS..??? Here in Machine, we have coding system to use exact tool during changeover. We have 7 magnet ...
0
votes
0answers
6 views

What is the significance of Auto gating register ?

I am beginner in writing device driver, and have to write one for DMA controller as a part of my project. I am reading the specification of the DMA controller for the hardware, and encountered ...
1
vote
1answer
51 views

Control LEDS with PWM and transistors

I have three transistors that are each connected to 5 LEDs like so. I am attempting to increase and decrease the current through the LED's in a linear fashion by increasing the current in the base ...
0
votes
4answers
79 views

How to detect the rising edge of a pulse that is not in sync with the clock

This may be a trivial question. I have a microcontroller that will attempt to recognize the rising and falling edges of a pulse. This pulse is not in sync with the microcontroller's clock or any ...
0
votes
0answers
30 views

Vbe multiplier logic shifting

I need to shift 5V form to 3.3 for USB communication. Is it possible to use Vbe multiplier instead of 3V3 Zener diodes simulate this circuit – Schematic created using CircuitLab
1
vote
2answers
29 views

Recording motion/movement sequence efficiently & accurately

We have a motion platform (camera - pan & tilt) that is controlled by a user using a joystick (so the demand inputs are pan & tilt velocities). The platform itself uses stepper motors, so we ...
0
votes
2answers
45 views

Bidirectional connection between a device and a webserver

I'm a software developer, I'm in no way familiar with electronic devices but I'm working with people who are familiar with them. Our problem is: We need to design a small device able to communicate ...
0
votes
1answer
43 views

Simulating a microphone with a microcontroller?

I'm trying to use a microcontroller to replace where a microphone would normally be connected (to a radio module) to feed a sine wave into the radio module. I can produce a sine wave (I think) but it ...
0
votes
1answer
27 views

Choosing a RJ45 to WIFI adapater for use with Embedded Server

I wanted to build the classic web page that turns on and off an L.E.D. My plan was to use one of the Atmega line of micro-controllers with an enc28j60, which seems to be a popular solution to this ...
1
vote
0answers
15 views

PIC18F8720 in word write mode and control signals on the EMI

I'm reading the datasheet of the PIC18F8720 and I'm stuck on the control signals diagram. Here it is. What I don't understand is the difference between ...
0
votes
1answer
39 views

Gyro-based mechanical stabilization in robotics

I'm from a computer engineering background and have a good knowledge about programming microcontrollers. I want to create a small plastic plane that is always kept parallel to ground regardless of the ...
2
votes
2answers
99 views

What is the meaning of 16 Bit instruction format in 8 bit microcontroller?

While studying about PIC18 I came across this weird thing. I understand what instruction format means and I also know what '8 bit' means in case of 8 bit Microcontroller. But my doubt is that, "If the ...
0
votes
0answers
77 views

code mickro C for CLosed loop control for switching boost converter not working [closed]

i try to write a code in mikro C for closed loop control for boost converter for get the stabe output voltage inputvoltage : 12V output voltage =26V bellow the code ...
0
votes
2answers
87 views

How can I convert an audio signal from a phone to 0-5v for a microcontroller? [duplicate]

I am trying to build a micro controller system where I input music from a phone/tablet and control the volume using a hardware keypad and do other stuff with the audio. I am trying to understand how ...
2
votes
3answers
180 views

How can a 8-bit CPU calculate big numbers?

I'm trying to design an instructable 8-bit CPU in Logisim. Is it possible to calculate big numbers with an 8-bit CPU? In a 32-bit computer, you can calculate numbers bigger than 32-bit, I think it's ...
3
votes
2answers
85 views

Design Decisions for using ADC with no VREF

I was looking at Freescale's KE02 processor family, and the MCU designers made an interesting design decision revolving around the ADC that I can't completely wrap my head around. The KE02 has an ...
1
vote
1answer
82 views

Why two resistors at Gate side of IGBT

Why two resistors(R5 and R9) are required at the gate side of IGBT Q3? According to me they are used as potential divider, but can any one tell why it is needed over there? In datasheet it is clear ...
1
vote
1answer
54 views

Changing fan Speed of a 4pin PC case fan with a microcontroller

I'm very new to electronic projects, I know the BASICS of circuits (i.e Ohms law, capacitance)but I've never constructed something on my own. For my project I want to take the side fan for my ...
0
votes
0answers
17 views

make hc-sr04 receive from another one

I have 3 ultrasonic Sensor (HC-SR04), i want to use one of them as transmitter, and the other as receiver, i want to let the first one send ultra Sonic waves and the other receive these waves from the ...
1
vote
3answers
63 views

Benefit of (logically/virtually) separate I/O and memory bus

In my course on embedded systems, it is explained that memory inputs can be separated from I/O inputs using a "mode bit" for the address decoder. The most obvious advantage of this is that the amount ...
3
votes
1answer
514 views

Implement cryptography algorithms in an ARM microcontroller

Assume a situation in which you want do some encryption procedures in your ARM microcontroller. (Receive a file, encrypt with 3DES and some hash functions and returning it, for example.) As far as I ...
-2
votes
1answer
41 views

microcontroller to drive relay using uln 2003a [closed]

I am getting around 2v from microcontroller port and I am using uln2003a to drive the relay. is 2v from microcontroller is enough to switch on the relay using relay driver. if not what should I use to ...