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
1answer
49 views

Microcontroller to PC via USB - do I need to use isolation?

I want to connect my microcontroller (dsPIC33E) to a PC via USB. Since the particular microcontroller doesn't have a built-in hardware for the USB protocol, I have to use an external chip (e.g. ...
-1
votes
1answer
62 views

MCU with 16-bit resolution PWM frequency [on hold]

I'm looking for a dedicated pwm LED driver with 16-bit resolution. I found the TI TLC5943 with an update frequency of 457 Hz (30Mhz core/2^16 = 457Hz). I need something that can provide higher ...
1
vote
0answers
69 views

Is it a practical technique to add a dedicated flash/RAM IC to increase a microcontroller's memory to avoid writing to an SD card?

I'm working with an Atmega328P microcontroller. This microcontroller will be generating data and will be storing that data onto an SD card. My project will also be battery powered. My research has ...
0
votes
1answer
58 views

PIC Microcontroller - __delay_ms() no effect

I am newbie to C programming on a pic microcontroller. I am slowly working my way through the various tutorials and literature available to try and apply my knowledge. I am currently trying to blink ...
1
vote
1answer
32 views

What's the difference between all of the Atmega328p clocking options?

Reading through the data sheet of Atmel's Atmega328p microcontroller, I had heard reference of an internal 127kHz RC oscillator. This being the default oscillator if no external crystal/resonator was ...
0
votes
1answer
54 views

I²C interface between 3V/5V sensor and a 2.4V MCU

simulate this circuit – Schematic created using CircuitLab I have an ultra low power application where the minimum VDD of my temperature sensor (ADT7420) is 2.7V, while I need to run my MCU at ...
1
vote
2answers
66 views

Battery powered Arduino on a breadboard

I am trying to run a low-power, battery powered Arduino on a breadboard. I followed these instructions exactly: https://www.openhomeautomation.net/arduino-battery/ I uploaded the "Blink" sketch to ...
0
votes
1answer
31 views

MCP2221 USB To UART Programmer

I am very new to the electrical design and had a very basic question. I am trying to program a Atmega328p using the MCP2221 interfacing chip. I picked this chip due to it being the only converter I ...
1
vote
2answers
92 views

Bit-Structured Registers for Embedded Hardware

So I've designed a piece of hardware that has an Atmega168pa microcontroller communicating with an external IC over an SPI bus. The external device has a few registers, with hardware mapped bits. I'...
2
votes
2answers
76 views

Understanding of microcontroller datasheet

Generally if I start a project with new microcontroller, what shall be the extent of understanding i should have of the microcontroller. Should I be in a position to understand very basic details and ...
3
votes
2answers
73 views

UART baud rate error tolerance

I have a question regarding the UART baud rate error tolerance, as the thread title indicates. First of all, I want to point to an excellent tutorial on clock accuracy: Maxim Integrated Tutorial I ...
-3
votes
1answer
64 views

Micro controller with 60 IO pins? [on hold]

I am designing a wifi controlled RGB light, for use at house parties, etc etc, I do not want to use an IO expander, I do not need a fast switching IC, and any output would do, 3.3v,/5v etc, its just ...
0
votes
3answers
76 views

10-bit binary number to decimal

I have ATMEGA328P-PU and I have hooked up the photocell to it. I'm using the following code to read the analog values and send them back to computer for debugging. ...
2
votes
2answers
100 views

What is the best way to estimate the power consumption of an Atmega328p microcontroller?

I'm currently working with a barebone Atemga328p microcontroller implemented within a battery powered design. I've realized I'm pretty clueless on how microcontrollers are rated on power consumption. ...
0
votes
1answer
24 views

Arduino Uno, HC-06 Bluetooth & RGB LED Strip on the same 9V Power source

Hello! I am a complete amateur when it comes to electronics so forgive me for any misconceptions. I am trying to design a circuit that will power an RGB LED Strip (here depicted by a single RGB LED)...
1
vote
1answer
122 views

What happens before the first instruction on a µC? [on hold]

I was reading a book by Elecia White (O'reilly) recently and came to a question: What happens before main()? Actually as soon as the programcounter is at the first instruction I guess I'm ...
0
votes
1answer
31 views

Passing port/pin to a user defined function in 89c52 code

I want to pass a pin value in user define function in 89c52 code like given below ...
0
votes
1answer
69 views

avr 8 bit vs 32 bit instruction set

Does the avr 32 bit have similar instruction set from 8bit or atleast borrowed some? Is it a completely different microcontroller...I was thinking of learning arm if this was the case.I really want to ...
0
votes
1answer
52 views

Addding Chip Schematics to Proteus

NOTE: I most probably have lack of information on this topic. So rather than reacting furiously or deleting my post; you can inform me, so I can edit/update my post. I want to start learning to ...
-5
votes
0answers
31 views

is there a microcontroller module with dot matrix LED, and WiFi or Bluetooth? [on hold]

I want to remote control a dot matrix LED display to show short messages controlled by iPhone. Enter message at iPhone, shown at microcomputer's dot matrix display. I saw one a few days ago while ...
0
votes
1answer
36 views

LCR Meter Methods [on hold]

I am to design a LCR meter for my graduate project with STM32 MCU. The resistance I am aiming to measure will be between 10 ohm and 1M ohm. So far I have tried using voltage divider method, however ...
1
vote
1answer
60 views

How to overcome 3.2 mm x 2.5 mm smd crystal pinout differences

As i am currently designing a project involving a stm32f446ve that requires semi good timing, I am looking into using a crystal oscillator. As this is still an early prototype, I would like to be ...
1
vote
2answers
59 views

Turning-off Watchdog Timer

Under severe power constraints I'm considering disabling the watchdog.The MCU is to work as a stepper motor controller in a watch and drive a simple bar display too. What can the consequences be? (...
0
votes
1answer
53 views

Garbled characters from micro-controller

I have ATMEGA328P-PU micro-controller connected to POLOLU - PMG03A programmer. I'm using the following code to send data: ...
0
votes
1answer
66 views

Can't write to serial from microcontroller

I have the following items: ATMEGA328P-PU POLOLU - PGM03A (Programmer) https://www.pololu.com/docs/pdf/0J36/pololu_usb_avr_programmer.pdf So far, I've been able to write output to data pins. Now I ...
4
votes
1answer
95 views

STM32 Sleep Mode: Interrupt gets executed but the CPU stays in WFI

I'm fairly new to the ARM architecture and I'm working with a board that contains STM32F0 microcontroller and an RF modem, which sends an interrupt every time it receives a message. I'm trying to ...
6
votes
2answers
283 views

Driver impedance of a microcontroller pin, for series termination?

Many guides instruct that digital signals should have a series resistor placed by the driver, whose resistance is equal to the line impedance (Z0) minus the driver impedance (Zd). Here is one such ...
3
votes
1answer
61 views

Importance of baud rate in USB CDC

As I understand it, in PC-to-MCU communications over USB CDC, specifying a baud rate is only necessary when the MCU sends its received data to a UART. The baud rate is needed by the bridging device to ...
2
votes
2answers
82 views

Question about production of computer USB peripheral [closed]

I have a game controller. This controller have USB cable and when connected it is instantly recognized by the computer. I wanted to know what it made of so I opened the case and found "STM32F103C8T6" ...
-1
votes
0answers
34 views

how to remote control LED matrix within nearby sealed environment

I want to display text on an LED matrix that is located within a sealed environment. I want to change the text by remote control, by using my iPhone. Power is available in the environment for ...
1
vote
0answers
36 views

Connecting atmega328 to PGM03A

I just got Pololu PGM03A programmer and ATMEGA328P-PU chip. The problem is that the programmer doesn't come with any 'case' where I can put the chip on so I'm guessing I have to wire it manually. I ...
0
votes
0answers
21 views

Arduino Micro Cannot get Interrupt 6 work on PIN 7 [migrated]

After finding out about the situation with pin7 from this tutorial: https://forum.sparkfun.com/viewtopic.php?f=32&t=35847 ...
0
votes
0answers
42 views

Improve the time of BLE beacon scan

I have 3 Atmel MCU based BLE scanners, each uses TI CC2540 based BLE module (PDF User Manual) chip to scan for the advertise packets (bluetooth Beacons) around. There are approx. 10 Beacons at a time ...
0
votes
1answer
85 views

Programming blank atmega328 microcontroller [duplicate]

I bought couple ATMEGA328P-PU as a replacement for my Arduino Uno. The problem is that I don't have any cables to program to 328 directly and I'm trying to avoid using Arduino and it's bootloader. I ...
0
votes
1answer
50 views

arduino pc communication

I wanted to ask what communication protocol arduino boards use exactly to communicate with pc? How can the serial monitor work on such high baud rates through usb? Will it be possible for using a ...
-7
votes
0answers
26 views

What does a voice recognition module do? [closed]

What is the work of a voice recognition module and what is the difference between speaker -dependent and speaker - independent??
0
votes
2answers
81 views

Amplified microphone signal output to ADC input. How can I eliminate DC offset?

I'm making simple sound level meter. I try to make it precise. I'm using ADC ref voltage (2,048) so rms calculation can be simpler. Can I use this ref voltage to set offset voltage to (Vref/2) and ...
0
votes
0answers
45 views

How to make Microcontroller enter into ISP mode

I am using P89LPC954 micro-controller from NXP. In the user manual it was mentioned that microcontroller comes with inbuilt firmware from the factory which is required for entering into ISP mode. ...
1
vote
2answers
44 views

How to read RPM data from car with micro-controller?

I am building a Vehicle diagnostic tracker device. I want to read all the data from different sensor interfaces in the car. The problem I am facing is with reading the RPM data. The data I could get ...
0
votes
2answers
85 views

Is there a processor IC inside a microcontroller package? [duplicate]

I am reading about the TI TM4C12x microcontroller, which is available as an IC: The datasheet of one of its variants can be found here: http://www.ti.com/lit/ds/symlink/tm4c123gh6pz.pdf On the ...
-4
votes
0answers
30 views

can anyone tell me how to implement CONSTANT FALSE ALARM RATE (CFAR) on FMCW RADAR? [closed]

I am developing FMCW RADAR. I need a CFAR algorithm in c. anyone can tell me how to write in c ?
3
votes
1answer
57 views

Parallel and series cut crystal difference

Section 2.2.2 of pic18f4550 datasheet says: In HS, HSPLL, XT and XTPLL Oscillator modes, a crystal or ceramic resonator is connected to the OSC1 and OSC2 pins to establish oscillation. Figure ...
0
votes
1answer
55 views

Write operations on eMMC chip (not SPI) with data incoming from MCU

I'm working on integrating an eMMC ship to a FPGA. As for now, the initialization is working fine, I've managed to receive the CSD and CID registers properly, and I can select and move the chip to ...
1
vote
3answers
159 views

Turning off IC's when not used in battery powered circuit

I'm building a small battery powered device which contains an ATTiny85 micro controller, a dual common anode 7 segment display and 2x595 shift registers to drive the 7 segment display. The device ...
2
votes
0answers
32 views

STM32F4: WWDG interrupt fires as soon as it's enabled

I'm doing some coding on an STM32F411 board, used the CubeMX & HAL Libraries for laziness. I'm trying to get the windowed watchdog (WWDG) up & running, and doing the very basic version (non ...
-1
votes
0answers
55 views

Analog input protection

I want to design analog input, and i'm wondering about protection. Analog input should be able to interface: - +/- 10V, - +/- 20mA, (*Okey so let's assume ...
0
votes
0answers
40 views

Can I simulate Microcontroller based circuits in Altium as I can do it in Proteus?

I want to know is there a way to draw a schematic with Microcontroller in Altium designer and download my code on it and simulate it like what we can do in Proteus? Is this a good way or I should keep ...
0
votes
0answers
29 views

Trigger and Sawtooth Generator for Galvo Mirrors

I am currently searching for a way to control two galvo mirrors (voltage range of -10V to +10V) and triggering a camera to record images. For the two galvos I need to generate two different sawtooth ...
1
vote
1answer
63 views

External pull down device required, How much?

In the datasheet for a MCU, it is mentioned that TM "Test Mode" pin require an external pull down device. But there is no details: If I will put pull down resistor, what value should I choose then ?
0
votes
0answers
17 views

Need help with dsPIC33EP512MU810 usb module

I want to use the USB module of this microcontroller to transmit data gathered from the ADC to the computer. I want the module to work in "device-mode" and to work with maximum efficiency and at "Full-...