Categories
Ask Electrical Engineering Engineering

Is MOSFET threshold min and max only limits when it goes on and off?

From the 2N7002’s data sheet, it can be shown than there is a minimum voltage threshold and maximum threshold and also a typical voltage threshold. https://www.electrokit.com/uploads/productfile/40327/2N7000-2.pdf Case 1: When the MOSFET gate gets 1V, the MOSFET begins to turn ON(> 0%). When the MOSFET gets 2.5V, it’s 100% turn ON? Case 2: When MOSFET get […]

Categories
Ask Electrical Engineering Engineering

Steppers will hold position and vibrate when sent xSTP instructions but won’t move at all

Edit: setting the Wait time to 0.1 causes it to make music, yay? I’ve managed to get the steppers to react to xSTP with this code: #include "mbed.h" DigitalOut xEN(P2_1); //Pin 74 of LPC DigitalOut xSTP(P2_2); //Pin 73 of LPC DigitalOut xDIR(P2_6); //Pin 67 of LPC //DigitalOut yEN(P2_8); //Pin 65 of LPC //DigitalOut ySTP(P0_19); //Pin […]

Categories
Ask Electrical Engineering Engineering

Is this Arduino regulator power switch circuit okay?

(Okay so I’ve been informed that you’re supposed to edit your existing post and not make a new one even if you want to change the question, so just FYI for anyone reading the comments, this is slightly different than what was originally here.) This is a new version of the old question that should […]

Categories
Ask Chemistry

I have a hard time understanding adiabatic processes

Why is work 0 when an adiabatic process occurs? And it does matter if it’s irreversible or reversible?

Categories
Ask Chemistry

Helmholtz energy

I have a question about the following problem. Calculate Helmholtz energy (ΔA) from the following processes. Consider that both processes are reversible and isothermal. a) The melting of 36.0 g of ice, H2O(s), in liquid water H2O(l), under conditions of 0 ° C and 1 atm. a) The vaporization of 39.0 g of C6H6(l) at […]

Categories
Cryptocurrency Ethereum Mastering Development

Trouble sending value from a contract to another’s fallback function

I’m going through the Solidity docs and in the fallback function section, I’m having some issues running the example provided, specifically in terms of sending value to the receive function of TestPayable. These are the steps I’ve followed in Remix: Compile Deploy TestPayable contract Deploy Caller contract Top up the Caller contract with 4 ether […]

Categories
Linux Mastering Development

wrong grub prefix (efi) `grub-install` and `update-grub` doesn’t fix it

problem: When booting, grub goes to the prompt (grub>, not grub rescue>). I need to type in: set prefix=(hd0,gpt8)/boot/grub insmod normal normal To get the normal grub menu. Every post I found so far was solved by doing grub-install and/or update-grub once you manage to boot your system. I tried these but the problem persists. […]

Categories
Linux Mastering Development

Arch Linux install: wlan0 is up but not connecting to Wi-Fi

I’m trying to install Arch Linux on a Lenovo Harman/Kardon IdeaCentre, and I can’t start a working internet connection. $ ping archlinux.org ping: archlinux.org: Name or service not known $ ping 8.8.8.8 ping: connect: Network is unreachable This is after I have connected to my home Wi-Fi. I tried using an external network interface but […]

Categories
Mastering Development

React App only re-renders on first state change and changes are not visible for second change even though the change is successful

I am tryin to implement dark mode in a React app. I have given a toggle on my child component to change the theme to dark mode. So lets say if we start with dark mode and we click on toggle then theme changes to light one. Now, if toggle a second time, the theme […]

Categories
Mastering Development

SQL one-to-many relationship: Should I see a “many” field in the table?

This is something basic which drives me crazy: If for example I have a table "team" and a table "player". And the team can have multiple players in a one-to-many relation. Should this be expressed in a dedicated field in the team table? I mean, should there be a "players" column in the team table? […]