# Tag Info

Accepted

### How to deal with signed int overflows

Clearing up some misunderstandings will probably help. First, your data is a 16-bit value. There's no "overflows" and "actual data" -- the 16 bits are just divided into two 8-bit pieces (bytes). To ...
• 22.3k
Accepted

### Convert VAh to kWh

You need to know the power factor, which is highly depedant on your application. Then you simply use this formula: $$P = S * PF$$ where ...
• 1,283
Accepted

• 16.4k

### Inductor Symbol? What does this symbol indicate?

The symbol represents a common mode choke. They look like these: (Source) There are SMD versions as well. They are used to block common mode noise i.e. noise incident on both lines of power supply. ...
• 8,379

### Converting 3V3 PWM to 5V analog

Since there is 5V supply available, one solution would be to use a logic gate to convert 3.3V PWM signal to 5V PWM signal, and then RC filter the 5V PWM signal to analog with the requirement of the ...
• 165k

### Converting square wave into a sine wave

But a square wave is already a sine wave. Or to be more precise it is a infinite sum of sine waves. Just feed the output of the square wave to a filter which will cutoff all the unnecessary ...
• 491
Accepted

### Scaling DAC voltage to smaller range for controlling gate of transistor

As your load is the gate of a FET, so very high resistance, it's appropriate to simply use a resistive divider here. Three resistors and a 5 V reference, possibly available from your DAC circuit, will ...
• 171k

### In digital systems do we discretize both time and magnitude or only time?

The answer depends on what you are doing. A sample and hold circuit will sample the analog signal at discrete time points, hence converting to digital in only the time (X) axis. An analog-to-...

### How to deal with signed int overflows

You're over-complicating this. ...
• 14.8k
Accepted

### Mathematical conversion of hex to decimal

The number appears to be encoded as a fixed point similar to Q1.30 Q-format by Texas Instruments If you take the 0x26dd3b6a and divide it by ...
• 724

### Convert VAh to kWh

You can’t convert them. All you know is that the actual power(’s absolute value) is ≤ the apparent power. The actual power might be 0 (purely inductive or capacitive load) or negative (if you are ...
• 1,745

### Systemverilog to Verilog translation

I recently released an open source tool for converting SystemVerilog to Verilog. It covers many of the differences highlighted by the other answer. Check it out at https://github.com/zachjs/sv2v.
• 141
Accepted

### Convert ps/2 to usb using ttl to usb converter

I have a ttl(V G tx rx) to usb converter too. Can i use this converter to connecting my keyboard to USB port? No. What about RS232/RS485 to USB converter? Can i use that to this convertion and ...
• 18.3k

### How can I convert a VGA signal to work with an old CRT monitor

From the nomenclature describing its inputs, and the ancient jack, and having a CRT display, am guessing that this accepts video from long ago. Long ago, video with NTSC timing format was very common. ...
• 27k

### Reading internal temperature sensor STM32

// Disable Vbat signal from input channel and wake up temp sensor from power down mode ADC->CCR &= ~(ADC_CCR_TSVREFE); It actually right opposite :) ...
• 2,594
Accepted

### Need advice on power supply for a device in India purchased from USA

First of all, what says on the cable has very little to do with anything. You didn't buy it for the cable. From the manual: Power Supply Voltage 100 – 240 V AC +/-10%, 50/60 So you just need ...
• 14.5k