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
3 answers
95 views

Interface to sense 5kV through microcontroller GPIO

I want to sense the DC voltage of a capacitor from 0V to 5kV. I need to sense that with a standard 5V powered microcontroller GPIO. I need that the solution doesn't dissipate too much heat and it must ...
user avatar
0 votes
2 answers
93 views

How does one convert DC to AC in context of playing audio?

I'm working on a little gadget. A simple two button mini game with a simple oled i2c display. I wanted to add sound and a bit of music. Nothing too fancy, mainly drums using white noise and two or ...
user avatar
0 votes
0 answers
46 views

Microcontroller kit with PoE capability [closed]

With previous projects involving different boxes (essentially different input & output quantities), we just re-used this kit: https://www.ti.com/tool/EK-TM4C1294XL If a certain box needs more I/O ...
user avatar
0 votes
0 answers
12 views

Unable to interface XBEE with m3pi

I have a m3 pi pololu bot (lpc1768 controller) with a mbed slot. I want to send data from a XBEE S1 connected to my PC to the bot (through another XBEE mounted on it). To achieve this, I've a python ...
user avatar
0 votes
0 answers
36 views

Ethernet Controller - Signals

I was going through the datasheet of this Ethernet controller IC. I see that the pins are different than that of a Normal Ethernet PHY. Usually PHY has Ethernet Tx and Rx signals and has the MII/RMII ...
user avatar
  • 2,198
1 vote
1 answer
45 views

MOSFET Power Switching Circuit

I'm trying to implement the circuit below from here: http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/electronic-circuits/push-button-switch-turn-on/switching-battery-power. ...
user avatar
  • 31
1 vote
2 answers
55 views

Will driving six LEDs damage a PIC18F24K22 microcontroller? [closed]

Can this microcontroller drive six 20mA LEDs at once or will it just fry? Do I need to use transistors or not? Microcontroller datasheet.
user avatar
0 votes
0 answers
61 views

Activate arc lighter with Arduino

I have a SaberLight plasma arc lighter, and I have taken it apart for a flamethrower project. I would like to use an Arduino Uno to programmatically activate the arc lighter. Using the Arduino Uno, ...
user avatar
0 votes
1 answer
36 views

Meaning of Speed and Duplex pin in the IC

In this - Link of the datasheet, can someone tell me what is the meaning/purpose of the DUPLEX Pin and the SPEED pin. Unable to understand what it actually does and what does it indicate?
user avatar
  • 2,198
0 votes
2 answers
31 views

How to find the maximum power dissipation or Thermal resistance (J-A)

In this datasheet - Link there is no value of maximum power dissipation or junction to ambient thermal resistance. In this case, how to find the value of it?
user avatar
  • 2,198
0 votes
2 answers
49 views

Modifying RC controller to drive with Arduino [closed]

Good day all! I am trying to modify an RC car controller to control via an Arduino. The purpose is to send output data from a neural network running on my laptop. It's an autonomous RC car inspired by ...
user avatar
-1 votes
0 answers
34 views

Meaning of Virtual PHY, Managed Ethernet [closed]

Can someone tell me what is the meaning of "Virtual PHY", "Managed Ethernet Switch" & "switch fabric". Unable to get a good clarity on what terms actually mean in the ...
user avatar
  • 2,198
0 votes
1 answer
36 views

What is support for an end-to-end and peer-to-peer transparent clock?

In the datasheet of LAN9353, the description states that it supports "supports end-to-end and peer-to-peer transparent clocks" Can someone tell me what is the meaning of this?
user avatar
  • 2,198
0 votes
0 answers
48 views

What will be the best way to measure 100m water drill hole for water level

I have a drill hole of about 82m depth, i tended to be used for pumping house water. From specs, static water level will be at -20m and dynamic (when the pump is running) at -70m. Which will be the ...
user avatar
  • 481
1 vote
3 answers
116 views
+50

Turn on switches sequentially - ONLY ONCE - when triggered

I have some circuits in which I have to give two signals (I mean signals as positive) through push buttons to do some work like latch, and it is the only work of these buttons. I feel that this should ...
user avatar
0 votes
1 answer
113 views

Is there any alternative mechanism of using 7 relays?

I want to control 7 AC bulbs using a microcontroller. Only one bulb will be ON at a time. I can do that using 7 relays. But Is there any alternative mechanism or IC that can do that with low cost, ...
user avatar
1 vote
0 answers
23 views

Is there any shortcut to wireless charging, preferably Qi compatible or NFC?

Qi charging is awesome, can push a lot of power from the sender to the receiver, enough to quite rapidly charge a mobile phone. I do however find the circuits to be very advanced and involve a lot of ...
user avatar
0 votes
0 answers
17 views

How to test PDM conversion on MCU

I have a MEMS microphone which outputs PDM and is connected to an STM32U5. It's connected via the integrated Audio Digital Filter (ADF) peripheral which implements conversion from PDM including ...
user avatar
  • 229
0 votes
0 answers
39 views

Control AC motor with microcontroller [closed]

I am working for a company that develops a robotic solution that uses a PLC with an embedded motion control module that supports the CANOpen protocol, this PLC then controls 3 servo drives to ...
user avatar
0 votes
2 answers
37 views

ATmega324PB, reading registers through SPI, the meaning of sending 0xAA

I have an electronics board that uses an ATmega324PB microcontroller that uses SPI communications to communicate with another device on the board. In a coding function that reads a register through ...
user avatar
  • 547
4 votes
1 answer
79 views

Incorrect results without printing message

I am trying to make a custom tv remote using an ATmeta328p microcontroller. It contains 28 buttons which are wired in a matrix configuration, resulting in 5 outputs (columns) and 6 inputs (rows). ...
user avatar
1 vote
2 answers
76 views

Cannot configure timer to 10µs on STM32F401 device

I'm using an STM32F401CCU6 microcontroller and am trying to generate a timer interrupt of 10 us with TIMER3. The timer is a update event timer. The formula I'm using is: ...
user avatar
0 votes
1 answer
66 views

A simulator for an ARM Cortex based microcontroller, an LCD, and a 4x4 keypad [closed]

I am looking for a simulator for the TM4C123GH6PM microcontroller which is based on the ARM Cortex. I am working with Keil but Keil doesn't support LCD or keypad. Is there any simulator that supports ...
user avatar
0 votes
1 answer
61 views

Mysterium Keyboard ATmega32a malfunctioning. "USB device not recognized."

I tried sourcing all the parts for this keyboard. I soldered everything up and when I plug in the keyboard I immediately get an error message "USB device not recognized": My first though ...
user avatar
0 votes
0 answers
18 views

Normal Switch and LAN9353

I am reading about the different types of LAN Switches. And I came across the LAN9353 device - Link I want to understand the difference between a normal Gigabit Ethernet 3 port switch and this LAN9353 ...
user avatar
  • 2,198
0 votes
0 answers
35 views

preprogrammed interactive application for testing FM4-176L-S6E2CC-ETH board features

I am facing a problem with FM4-176L-S6E2CC-ETH board. I am not able to test this microcontroller using the preprogrammed interactive application on CMSIS-DAP virtual communication port terminal. The ...
user avatar
0 votes
1 answer
62 views

Can I get rid of my Arduino board and control a solenoid with a square signal generator?

I am using an Arduino board right now with two dials - one controls length of time open and the second controls the duration between openings. I would like to simplify the design and just use a square ...
user avatar
  • 1
0 votes
0 answers
44 views

External Interrupt Peripheral Microcontroller

I'm using this ATSAME53N20A-AU microcontroller - Link I'd like to know what does the EIC and EXTINT peripherals would do? So, I went through the Appnotes - EXTINT and EIC I just want to know whether ...
user avatar
  • 2,198
3 votes
1 answer
65 views

VSSA/VSS and Vref - ADC

For measuring a voltage via an ADC into a microcontroller (STM32), is it better to set the reference voltage (Vref) referenced to VSS or to VSSA ? The voltage that I want to measure is referenced to ...
user avatar
  • 1,246
1 vote
2 answers
58 views

Ai Thinker ESP32-CAM max input voltage

What is the maximum input voltage on the Ai-Thinker ESP32-CAM? I'm asking because the official docs specify a max input voltage of 5.25V, however it has an AMS1117 power regulator which has a maximum ...
user avatar
3 votes
3 answers
153 views

Measuring capacitance with STM32

I'm trying to measure capacitance with my STM32L053-Disco. I'm using the ADC and one output pin to charge the capacitor. I tried measuring the time it takes for the capacitor to charge to 62.3%. The ...
user avatar
1 vote
1 answer
82 views

How to drive 1 x 168 LCD using 4 x 32 LCD driver?

I have to drive an LCD that has only single COM and 166 segments: Somehow using 4 x 32 LCD driver: So I am going to use five such LCD drivers (32+32+32+32+32+32) ...
user avatar
0 votes
1 answer
82 views

The source part of an IRF540N transistor

So, I have built a DC-DC booster using an IRF540N as my transistor, according to the following schematic diagram. It did work and I had a 18V output from a 1.5V battery. The transistor is connected ...
user avatar
1 vote
0 answers
50 views

How do I connect a micro USB B-type interface to a microcontroller only for the purpose of providing power?

I want to connect a micro USB B-type connector to the microcontroller, datasheet: here. From this post I got to know that if I am not using D+ and D- lines, I need to connect them to the resistors (...
user avatar
1 vote
0 answers
120 views

Problem with Arduino exercise

I have to do the following exercise: An 8-bit binary number is input to Port D of the ATMEGA328. Show on two 7-segment displays the independent value of bits 4,3,2,1 on the display. Note: Set keys ...
user avatar
0 votes
1 answer
51 views

Replacing button switching 1.3V with microcontroller

First, sorry, I am a total hardware beginner (and 20 years since I had some electronics classes on the uni). I want to replace a mechanical switch (well two switches…) with something driven by a 3.3v ...
user avatar
  • 3
0 votes
2 answers
47 views

Pin Buffer Types

I'm going through the datasheet of this PHY Transceiver LAN8742A On table 2.2, it is mentioned as buffer types. I see a row called as O12, which stands for Output 12mA sink or Output 12mA source. My ...
user avatar
  • 2,198
0 votes
1 answer
41 views

Does the frequency of APB1 on stm32f4 have to stay at 42 MHz?

I'm trying to configure the clock of my stm32 board. And I'm wondering if I always have to make the SYSCLK 168 MHz and APB1 42 MHz. If the APB1 is not 42 MHz, I get a weird result when using uart. I ...
user avatar
2 votes
1 answer
34 views

Same part devices supporting different temperature ranges

I just had this question. We often come across microcontrollers having the same internal peripherals and supporting the same functions but supporting different temperature ranges. Can you tell me how ...
user avatar
  • 2,198
1 vote
1 answer
70 views

STM32) Why DMA can't approach global variable?

I test memory to memory DMA with my STM32H750VBT. I study with following this link. enter link description here According this link, source is inside flash and destination is inside SRAM. I test ...
user avatar
  • 105
0 votes
2 answers
44 views

ADS1115: Using 5V supply instead of 3V, do I need to increase the logic level signal from 3V to 5V?

I am using a microcontroller that has a 3.3V Logic level output. The microcontroller is connected to ADS1115 via I2C pins, and the ADS1115 can be powered with 3.3V or 5V depending on the range of ...
user avatar
0 votes
1 answer
91 views

Code protection (firmware security) in PI PICO RP2040?

What are the available code protection (firmware security) options for off chip flash in PI PICO RP2040 for industrial IP critical designs?
user avatar
  • 11
3 votes
3 answers
158 views

Multiple voltage sources connected to Attiny85

I have a circuit with a Attiny85 micro controller that is powered by a solar cell and a capacitor (10F 3V8). When I want to change the code on the micro controller I have to attache a USB programmer ...
user avatar
  • 171
-1 votes
1 answer
57 views

Differential signalling [duplicate]

This is a similar question to one over here. Posting a new question here, assuming that my question was not clear in that. Can we split a differential signal into 2? Assume the below image: I'm using ...
user avatar
  • 2,198
0 votes
3 answers
96 views

Splitting of a differential signal

Can the Ethernet Tx and Rx signals (Using all 4 pairs; RGMII interface) be split into 2 so as to connect to 2 RJ-45 connectors, but only 1 will be used at a time. In general, can we split any ...
user avatar
  • 2,198
0 votes
1 answer
45 views

Driving parallel channels with 1 PWM signal [closed]

I am currently developing a protoboard for an LED driver having PWM control for dimming using a microcontroller. I plan to drive a number of parallel channels of LEDs ('n' number of RGB channels) and ...
user avatar
6 votes
2 answers
777 views

Problems casting a uint8_t array to a struct

I'm having problems casting an array of uint8_t to a struct in C using a Silicon Labs MCU (EFM32GG11B120F2048GQ64). The byte array is the received data from a UART, and I want to cast it to a struct ...
user avatar
  • 197
0 votes
1 answer
21 views

KSZ8081 PHY address configuration

I'm using this KSZ8081 PHY transceiver. I'm unable to understand how to configure the PHYAD[0:2] pin and the B-CAST_OFF pin. As far as I read, the PHY Broadcast address will always be "0" ...
user avatar
  • 2,198
0 votes
0 answers
37 views

Flashing an independently powered MCU-based device with ST-Link dongle

So far I've been toying with a Blue Pill (STM32F103C8T6) dangling in the air on four wires from an ST-Link dongle. No problem experienced or expected. Now I consider a breadboard with its own power ...
user avatar
2 votes
2 answers
58 views

Soft Latch ON-OFF with support of DC High Voltage side, compatibile with Arduino or any Low Voltage MCU (with schematic)

First Schematic I'm trying to implement this schematic that I found in this interesting article (Soft Latching Power Circuits). This is a circuit can substitute a mechanical on off switch, and use ...
user avatar

1
2 3 4 5
168