New answers tagged

3 votes
Accepted

ADC SDO/SDI timing in daisy chain

I agree, it sounds like this part is designed right at the limits, and the datasheet makes reference to the hold time already (extracts below). But as it's a key feature, I'd expect / hope that this ...
Attie's user avatar
  • 237
1 vote
Accepted

How does this circuit work? BAV99 (3.3V for an ADC)

D2 is clamping the voltage at around 3.3V by dumping current into the 3.3V source. This is a common configuration for input protection on integrated circuits where the diodes can provide limited over- ...
vir's user avatar
  • 16.4k
3 votes

PIC16F18855 adc read mismatch

Microchip cautions users that selecting a new ADC channel, then immediately starting an ADC-acquire-sample can lead to unexpected results similar to what OP has encountered. The reason given involves ...
glen_geek's user avatar
  • 24.4k
2 votes
Accepted

How to format data properly before using CDC_Transmit_FS?

Look closer at your scope shot, the control signals are in the wr0ng byte. Your are sampling channel 0x00 and not the one you tried to select with the 0x08 value. Fix is simple: Put it in the other ...
Turbo J's user avatar
  • 10.1k
0 votes
Accepted

Analogue Read in ESP8266 WEMOS D1 MINI is fluctuating

Take under interrupt (every 1 ms for 50 Hz mains) 21 samples. Calculate the "mean" measure. When done, you can calculate the RMS value of the current. As in this file for ATmega328N under ...
Antonio51's user avatar
  • 12k
0 votes

Analogue Read in ESP8266 WEMOS D1 MINI is fluctuating

You are taking one sample per 1 second. Taking the sample could be from any position in the waveform of current, so taking one sample per 1 second means nothing about the waveform of the current, not ...
Justme's user avatar
  • 138k
0 votes

Inconsistent resistance measurement in H-bridge

My hypothesis is that your transistors are slightly mismatched. The beta (hfe) on transistors can range between 30 and 400, which affects the effective emitter resistance. I've simulated the scenario: ...
user55924's user avatar
  • 710
1 vote

STM32F407 ADC with timer trigger not working for some reason

//External Event TIM2 TRGO ADC1->CR2 |= 0x14<<24; According to ADC_CR2 description in RM0090, EXTSEL field has only 4 bits, thus 0x14 writes also to ...
wek's user avatar
  • 146
7 votes

7-segment 4-digit display ghosting

You are turning two digits on at once by writing the 'or' first and then the &. The new one will have the segment drive for the old one on for a short period of time- enough to create perceptible ...
Spehro Pefhany's user avatar
0 votes

Which op-amp should I use to measure voltage across a current sense resistor?

Analog Devices has precision op-amps with ‘over the rail’ capability that can be used to sense current on the high side. This is much more convenient as you don’t have to break into the load's ground ...
hacktastical's user avatar
  • 51.2k
1 vote

Which op-amp should I use to measure voltage across a current sense resistor?

I came across a similar question. That's what I realized: The operational amplifier can be with a different type of power supply: unipolar (for example: +12V and ground) or bipolar (for example: +5V ...
Alexander's user avatar
0 votes

I can't get ADC Value and in ADC Conversion mode i can only get 1 data (MCP3561/2/4)

spi1Tx[1]= 0x03; in this line you have used bits[5:4] = 00 = External digital clock. I hope you are providing external clock. if not please change the setting to bits[5:4] = 10 this will make sure the ...
Swapnil Said's user avatar
1 vote

STM32F4 How to stop triple interleaved mode?

I ran into the same issue with a STM32F303. As mentioned by Casey what did help was: set 'DMA Continuous Requests' to ENABLED set 'DMA Request Settings' to 'Circular' Seems that with this settings ...
user1576088's user avatar
2 votes
Accepted

Understanding ADC digital isolation to avoid ground loops

You have to use a separate power supply for each side of the ADuM1250 because the ADuM1250 does not pass the power connections through. It isolates the two sides entirely - that's its job. If it ...
JRE's user avatar
  • 69.2k
2 votes
Accepted

The output of ADC (AD7091R-5) is slowly rising with constant input

One possibility is bad timing so that you get some of the temperature reading smeared into the other input. To test for that, change the firmware to measure only one channel. Another possibility is ...
Spehro Pefhany's user avatar
1 vote

How can I read analog video signal from fpv camera by Raspberry Pi?

I'm not an RPi wiz, but I don't think an RPi is fast enough for real-time video signal processing. The NTSC composite video signal bandwidth is 4.2 MHz. The most common A/D sample frequency is 10.73 ...
AnalogKid's user avatar
  • 18.3k

Top 50 recent answers are included