Questions tagged [microcontroller]
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.
9,966 questions
-5
votes
0
answers
39
views
How can I create a fixed Status Bar at the top of all pages on a Nextion Intelligent Display? [closed]
I’m working with a Nextion Intelligent series HMI display, and I want to create a fixed status bar at the top of the screen that stays visible across all pages.
The status bar should include elements ...
0
votes
0
answers
46
views
Error Simulating ESP32 in Proteus
I'm using Proteus 9.1 I'm running into trouble simulating a ESP32. From what I know, it should be working.
The python file
...
-1
votes
1
answer
65
views
Relay switching problem when load is connected
I'm using PIC16F18346 controller for relay switching. When the load is not connected relay is switching properly, no toggling or any other problem.
When the load is connected, after some press relay ...
-3
votes
0
answers
28
views
Parallel Bus interface on SOM module [duplicate]
I have this SOM module. I initially planned to boot the SOM module from a NAND Flash IC that uses a parallel interface (requiring address, clock, enable, and data signals). According to the datasheet, ...
7
votes
4
answers
268
views
Accessing 16-bit Registers: Is this an error in the ATTiny102 datasheet?
EDIT: Microchip responded that this is an error in the datasheet.
We have received clarification from our technical experts regarding the 16-bit register access order in the ATtiny102/104. After a ...
1
vote
1
answer
55
views
Bode Plot Analysis - Determine parameters
I'm designing a digital boost converter and need help analyzing this Bode plot. Could you please help me determine the following parameters:
Crossover Frequency
Phase Margin
Gain Margin
My conclusions ...
1
vote
2
answers
137
views
How are the circled blocks connected on this Geiger-Muller counter?
How are the hanging blocks of this device connected, and what function do they perform?
0
votes
1
answer
78
views
ATtiny85 pin connection
I'm looking at a tutorial
( https://www.teamxnl.com/how-to-flash-an-attiny-25-45-or-85-with-arduino/ )
and I'm confused about one of the pin connections illustrated.
I've read that, for the 85, Pin1/...
1
vote
1
answer
82
views
This is a single phase SCR controlled Reactor. Simulation load is RL instead of fan motor
My problem is that I can't adjust the angle. When I adjust the angle, signal at output aurduino move but output at RL (fan motor) doesn't move as adjusted.
I don't know how to fix it.
green is output ...
4
votes
1
answer
112
views
How to read a temperature diode on the PIC24FV32KA301
I am unsuccessfully trying to read the temperature diode on a PIC24FV32KA301 using the temperature sensing diode as described in section 8 of this document. The data sheet provides a temperature vs ...
2
votes
1
answer
92
views
STM32H573 code protection
I am considering porting a commercial design to STM32H573. The datasheet and manual describe a PRODUCT_STATE "option byte" located in FLASH memory. This "option byte" is discussed ...
2
votes
0
answers
129
views
Chip current calculation mAs to mAh conversion
May I know whether I am properly converting from mAs to mAh. If wrong please guide for the proper method. I am taking standby current to show my calculation.
The chip is working on a 3.3 V supply and ...
1
vote
1
answer
80
views
Why does the USART count in STM32 MCU differ between datasheet and IDE?
Regarding this STM32 MCU family (in my case STM32F303K8T6), in the datasheet there is the following statement about UART peripherals:
If I'm not wrong it says this MCU has three USARTs.
But when I ...
2
votes
3
answers
216
views
How to properly handle floating input on an optocoupler LED with long wires in automotive environment?
I am working on a circuit that uses a PC817 (or LTV-847 for multiple channels) as an input stage for my microcontroller (via MCP23017). The installation is in an automobile, and the input comes from a ...
1
vote
0
answers
120
views
How to power RGB LED Strip with ESP32-S3 microcontroller on breadboard?
I am trying to use my ESP32-S3-DevKitC-1 microcontroller to power RGB addressable LEDs via the ESP-IDF 5.5 Command Prompt, but I am not able to power on the LEDs. I have tested the microcontroller ...
0
votes
1
answer
123
views
Does D78F9177 MCU support reading the device?
NEC D78F9177 (8-Bit Single-Chip Microcontroller)
Can someone specify, does this MCU support reading the device? It's not clear, does this particular MCU have built-in functions to disable flash memory ...
1
vote
2
answers
51
views
Selecting External Clock Source for NUCLEO-WB55RG Board
I am not finding the clock frequency of the oscillator used on the NUCLEO-WB55RG board?
What's the value?
Where can I find it?
How to select it as clock source for the MCU?
Which one should be ...
0
votes
3
answers
163
views
Serial Terminal Showing Weird Characters when Communicating with Atmega168
I'm trying to setup a serial connection between my Atmega168 and my PC. I've tested out the connections and I think they're fine, since I'm getting some results on the terminal with each of my ...
-6
votes
1
answer
103
views
How can I protect an MCU ADC pin from high fault currents when sensing large overcurrent via a current monitor output
I’m monitoring large currents (~200A normal) using a current sense output (IMON) from a high-side driver. In a fault, the current can spike up to ~1000A almost instantly, possibly creating a voltage ...
0
votes
1
answer
69
views
How to verify ADC data sampling aligned with center-aligned TIM8 PWM on STM32H743 without oscilloscope?
I am working on an STM32H743 project where I need to read ADC data synchronized with a center-aligned PWM signal generated by TIM8. My goal is to ensure ADC sampling is correctly aligned at the center ...
2
votes
3
answers
146
views
Using a 10k Thermistor Across a Wide Temperature Range to Produce Linear Voltage Change
I have a 1/8 NPT thermistor that will be installed into a oil filter sandwich plate to measure oil temperature. Here is a link to it -> https://www.ebay.com/itm/276877376822
It is a 10k type, but ...
2
votes
3
answers
518
views
What should I go through microcontroller datasheet if I use vendor HAL libraries?
I am new to microcontroller programming and I am confused about bare-metal vs vendor HAL (Hardware Abstraction Layer) .
From what I understand:
Bare-metal coding = accessing registers directly (GPIOx-&...
1
vote
0
answers
37
views
RA6M4: Is there a functional significance to the _A/_B/_C suffixes following RSPCKA etc?
The Renesas R7FA6M4AD3CBQ#BC0 has "2 SPI channels". Is this 2 SPI channels in total, or per SPI port?
At first I thought it would be 2 total, but then I saw that there were additional ...
4
votes
1
answer
328
views
4 layer pcb design review (revised board v1.0.2)
I would first like to thank you all for your continued support of me as I continue to learn more about pcb design and electrical concepts. I can not express how truly thankful I am to have so many ...
1
vote
1
answer
112
views
How to connect the ACOUT pin of the BM1Z102FJ to a STM32G070RB MCU?
So, when i was checking the BM1Z102Fj datasheet it mentioned its ACOUT Pin voltage range from 0-0.3V to +29. Now I am using a STM32G070RB which has highest +5V tolerant pin only not more than that. ...