Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
64 views

I’m using an EEPROM where a Write control pin is present. If it is driven low, write operations are enabled. I want to keep it in low state all the time. However in some applications I’ve seen a 10k ...
glibcrossroads's user avatar
0 votes
0 answers
53 views

I need to interface an EEPROM to my microcontroller using I2C interface. I also want to connect an RTC in the same bus. How should I calculate the required pull-up resistor values? As per the EEPROM ...
glibcrossroads's user avatar
-3 votes
0 answers
30 views

I get error when i try to switch from sim1 to sim2 via "AT+SWITCHSIM=1" command @ SIM7672SA How can I fix this, or does the firmware not support dual SIM despite the hardware doing so?
محمد فريد's user avatar
0 votes
2 answers
143 views

I have designed a circuit that we use in practice, and it works correctly in real life. we connect J2 to microcontroller to monitor the current in primary side. it is working so good in practice. I ...
Karen Ra's user avatar
0 votes
0 answers
47 views

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 ...
Jason Crosby's user avatar
0 votes
1 answer
116 views

I have a PCB with UPD8872 CCD sensor that I took from an old scanner. I managed to solder the pins of the board to Arduino compatible wires and programmed the Arduino and, also, wrote desktop app that ...
Стебан's user avatar
-1 votes
1 answer
67 views

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 ...
Jaimin's user avatar
  • 75
0 votes
2 answers
60 views

I’m working with at32f403a. I’m trying to understand the flow of SPI communication. I’m using polling not interrupts in my implementation of an SPI_TransmitReceive ...
H.T's user avatar
  • 1
-3 votes
0 answers
29 views

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, ...
Potionless's user avatar
  • 1,879
1 vote
1 answer
156 views

Summary: I am using an Arduino UNO. I am using a potentiometer connected from 5V Arduino supply to ground to provide a variable voltage on the pot wiper, which I input to an analog input on the UNO ...
Vamir's user avatar
  • 69
7 votes
4 answers
275 views

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 ...
Gavin Wahl's user avatar
0 votes
1 answer
105 views

I’m working on my first prototype board and wanted to make sure there aren’t any major issues with my design before I move on to the layout stage. I believe I’ve got most things right, but I’m a bit ...
msalaz03's user avatar
1 vote
1 answer
58 views

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 ...
Calypso's user avatar
  • 13
-1 votes
0 answers
38 views

Please help me understand how all the dedicated +9V and +5V pins are connected. I can't explain it verbally, as this is the first time I've encountered hanging blocks and this type of connection ...
lapscaf's user avatar
  • 19
1 vote
2 answers
141 views

How are the hanging blocks of this device connected, and what function do they perform?
lapscaf's user avatar
  • 19
1 vote
3 answers
148 views

This diagram is from The Wearable Electronic Customizable Device for Monitoring Activity Indicators. Volume 6, Issue 5 . The system consists of a number of discrete off the shelf modules, which ...
алина нагорная's user avatar
0 votes
1 answer
86 views

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/...
BirdsInMyBrain's user avatar
0 votes
0 answers
47 views

I'm new to designing PCBs and have wanted to make a tiny accelerometer/gyroscope circuit for ages now. I did some ChatGPT-ing and digging around on the internet to come up with my own PCB which I ...
Ollie Olzu's user avatar
1 vote
1 answer
87 views

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 ...
JassicaYOK's user avatar
3 votes
1 answer
406 views

I have two identical PCBs that include the same MCU MC68705R3CP. Unfortunately, one of them has an output pin PB4 configured as Darlington drive output that has a high output regardless of the normal ...
Bavly's user avatar
  • 457
4 votes
1 answer
113 views

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 ...
John Birckhead's user avatar
2 votes
2 answers
130 views

I am just routing my PCB. Just wanted to check how crucial the crystal design is for an off highway application? It is a 8MHz crystal for a S32K144 NXP MCU. The GND plane you can see if stitched ...
Matt's user avatar
  • 65
2 votes
1 answer
97 views

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 ...
personal_cloud's user avatar
1 vote
1 answer
91 views

I'm new in the STM32 world. I’m currently testing basic UART communication on an STM32 (STM32F302R8) with an HC-05 Bluetooth module, and I’m running into a strange issue with receiving data. I'm using ...
Groundzero's user avatar
2 votes
0 answers
130 views

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 ...
Confused's user avatar
  • 4,055
-1 votes
2 answers
125 views

I have a smart device with ESP32-S3 Wroom as MCU. The power supply is a non-isolated offline buck switching (MP175GS). In this circuit Phase line is feed directly to the circuit as Ground and Null ...
AKTanara's user avatar
  • 513
1 vote
1 answer
82 views

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 ...
pnatk's user avatar
  • 1,622
1 vote
0 answers
120 views

I am trying to communicate between 2 nRF24L01+ and am using 2 Raspberry Pi Pico's to control them. Below is my code, schematic, and the datasheet. My problem is that the transmitter always prints <...
Pixeled's user avatar
  • 89
2 votes
3 answers
218 views

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 ...
Lucas Marino Torres's user avatar
6 votes
4 answers
616 views

I am using a RELAY Rated 5V/5A (HONGFA HF49FD, coil resistance 210 Ohm) to switch a 200 watt heater (230 VAC). A transistor driver circuit connected between microcontroller and the relay. Transistor ...
sanjay's user avatar
  • 69
1 vote
0 answers
138 views

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 ...
tadavoila's user avatar
-1 votes
1 answer
101 views

I will be using this radiation sensor in my project. The schematic is given below. May I know can I connect the output of this sensor to ADC of CC1352P. The working voltage of CC1352P is 3.3V. If ...
Confused's user avatar
  • 4,055
0 votes
1 answer
123 views

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 ...
fxgreen's user avatar
  • 209
0 votes
0 answers
68 views

I’m working on a self-balancing robot using an MPU6050 with DMP for yaw/pitch/roll data. Right now, I read the yaw angle using: ...
Wahyu Dwi's user avatar
1 vote
2 answers
52 views

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 ...
Rovo's user avatar
  • 21
0 votes
2 answers
86 views

I’m working with a PHY device as described in the datasheet (p. 158) of this PHY, and I’m trying to understand the Tready timing with an EEPROM connected to the device. According to the datasheet, the ...
Potionless's user avatar
  • 1,879
0 votes
3 answers
165 views

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 ...
Boltu's user avatar
  • 111
0 votes
0 answers
66 views

Premise: I am trying to build a GPS tracker using the Teseo-LIV3F GNSS module. Since this is my first time dealing with RF components, please let me know whether the layout and design are good enough ...
Manoj Srivatsa Devaraja's user avatar
-6 votes
1 answer
104 views

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 ...
MIKE MATHEW's user avatar
1 vote
3 answers
118 views

I want to implement some buttons in my controll scheme to controll the operatings of the system controlled by a NUCLEO-H723ZG uC. For the switches i will be using ones actually rated for 230 V AC, ...
miha medved's user avatar
0 votes
1 answer
70 views

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 ...
Joje Talaee's user avatar
-1 votes
1 answer
155 views

I'm currently working on a Arduino controller that sends data to an API. One of the values I need is the surface temperature of a carrot, preferably a large distance away, approx. 2..3 metres. EDIT: ...
FrancoisBee's user avatar
2 votes
3 answers
151 views

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 ...
Artemysk's user avatar
0 votes
0 answers
68 views

The PIC32CX datasheet initially claims that the 64- and 80-pin packages support Ethernet: Ethernet is not merely supported, but is also apparently perfect: the PIC32X errata sheet is 30 pages long ...
personal_cloud's user avatar
2 votes
3 answers
521 views

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-&...
Shabbir Raghib4's user avatar
1 vote
1 answer
158 views

I have a simple LED indicator tower with 2 colors, at 12 V DC. They are green and red. The brown wire is a buzzer. They all have a common ground: I was trying to wire it up to an Arduino (2 separate ...
Cheesus Toast's user avatar
1 vote
0 answers
39 views

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 ...
personal_cloud's user avatar
-1 votes
1 answer
78 views

I’m building a USB IR blaster using a CH552T dev board, a Crowtail IR emitter, and an HS-S23B receiver connected to an ESP32. My goal is to send NEC protocol IR codes at 38 kHz using Timer2 for the ...
THIRUVENGADAM T K's user avatar
4 votes
1 answer
342 views

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 ...
Dominic Bleacher's user avatar
1 vote
2 answers
111 views

I am designing a HSE circuit for a STM32F1 series and am using an 8 MHz crystal. I have been using the STM32 application note AN2867. The crystal selected is ECS-080-18-5PX-JES-TR. I have calculated ...
LearnElectronics's user avatar

1
2 3 4 5
200