Categories
Ask Engineering

Understanding voltage drop

Meanwhile in quarantine I been trying to learn about electronics. I am still not able to understand the voltage drop when it comes to long wires. My goal is to be able to send a 5v signal over a very long wire. I have read a lot about Ohm’s law, done a lot of exercises […]

Categories
Ask Engineering

Can you turn on a light bulb using only one of the two wires of the wall outlet?

Instead of trying crazy things I would rather ask. I am asking this for purposes of learning. So I have learned that if the voltage is high you can get electrocuted by touching only one side of the wall outlet. That is because the potential difference is high enough for the electrons to start flowing. […]

Categories
Ask Engineering

How do you select pin functions on an EPM7128 CPLD?

I have some old Altera MAX EPM7128SLC84-15N CPLDs kicking around that I want to use to interface with 5v TTL logic. If you look at the pinout, some of the pins have more than one function (eg. Pin 2 can be an input, output enable or global clock). How do you select which one it […]

Categories
Ask Engineering

Power recirculation rig using rectifiers and BLDC motors

I am currently trying to set up a rig to test my 3d printed gears under different torques and motor speeds. The power input side is going to be the BLDC motor, driven by a hobby ESC (BLHeli_32), powered by a generic AC to 12V PSU. On the braking side of the gears I am […]

Categories
Ask Engineering

Am I using the right resistors with these MOSFETs for an ESP8266 controlled LED strip?

this is my first question here. I hope I don’t mess it up. I made a WiFi controlled LED strip about a year ago. The LED strip is one of the “dumb” (no individual pixel control) 12V ones and I used a Wemos Mini to control it. Now, I want to make a another one, […]

Categories
Ask Engineering

Power recirculation rig using rectifiers and BLDC motors

I am currently trying to set up a rig to test my 3d printed gears under different torques and motor speeds. The power input side is going to be the BLDC motor, driven by a hobby ESC (BLHeli_32), powered by a generic AC to 12V PSU. On the braking side of the gears I am […]

Categories
Ask Engineering

How to wire a two pin bridge rectifier

I have this bridge rectifier (Image below). https://www.deantechnology.com/products/hvhp10k How do I wire this? I know how to wire four pin bridge rectifiers but how do I wire this two pin rectifier?

Categories
Ask Engineering

computing the parity of diagnostic requests’ frame id

As LIN_Specification_Package_2.2A states: 2.3.1.3 Protected identifier field A protected identifier field consists of two sub-fields; the frame identifier and the parity. Bits 0 to 5 are the frame identifier and bits 6 and 7 are the parity. Frame identifier Six bits are reserved for the frame identifier, values in the range 0 to 63 can […]

Categories
Ask Engineering

Power recirculation rig using rectifiers and BLDC motors

I am currently trying to set up a rig to test my 3d printed gears under different torques and motor speeds. The power input side is going to be the BLDC motor, driven by a hobby ESC (BLHeli_32), powered by a generic AC to 12V PSU. On the braking side of the gears I am […]

Categories
Ask Engineering

STM32F030P6 MCU returning high even when no voltage is measured on the pin

I am trying to make a custom PCB based on stm32f030p6 MCU. one of the requirements is to read a pin’s value (digitally i.e. high or low). for this purpose I am using stm32CubeIDE, and to read the pin’s value, its first initialised as below: GPIO_InitStruct.Pin = GPIO_PIN_6; GPIO_InitStruct.Mode = GPIO_MODE_INPUT; GPIO_InitStruct.Pull = GPIO_NOPULL; HAL_GPIO_Init(GPIOA, […]