Categories
Arduino Ask Engineering

Running a DC motor for a set amount of time

I am trying to run a DC motor for 100ms and then turn it off completely. Here is my code any suggestions on why it might not be working?

Categories
Ask Engineering Software Engineering

Any mobile SDK to identify distracted driving?

I’m looking for list of Android/iOS SDKs(paid/free) to identify distracted driving.

Categories
Ask Electrical Engineering Engineering

How to power a 24v 2.5A DC motor with a Switching Power Supply?

I need to power a windshield wiper motor at 24v. Switching mode power supply shuts off. The motor, rated 50 W, runs at 12v (50 rpm) or 24v (110 rpm), and it’s exactly the same one this guy has in the youtube video) https://youtu.be/id5usTwHwtY PROBLEM I have a a 24v 5A switching power supply that […]

Categories
Ask Electrical Engineering Engineering

What is this black tape on my laptop’s keyboard?

I am trying to replace the keyboard on my 2019 Samsung Notebook 9 Pro. I had to pull off a layer of black tape on the old one to get it out. The tape was glued to the bottom of the keyboard, right above the motherboard. It ripped a little bit as I pulled it […]

Categories
Arduino Ask Engineering

Running a DC motor for a set amount of time

I am trying to run a DC motor for 100ms and then turn it off completely. Here is my code any suggestions on why it might not be working?

Categories
Arduino Ask Engineering

Using Arduino UNO as FTDI

so , just bought some pre-bootloaded ATmega328(p/pu) to which I need to upload sketches on a breadboard using uno TX and RX pin as FTDI Here is what I am to do. I connected Uno GND and Reset . Arduino Tx to Standalone Atmega Tx Arduino Rx to Standalone Atmegaa Rx Connected Crystal , capacitor […]

Categories
Ask Engineering Software Engineering

Token based authentication to multiple API servers

We have a Web server (which also does authentication and authorization) that manages, via an API, one or more servers that contain highly sensitive data. In the below architecture diagram, we manage everything except the end user: We are looking at using JWTs for token based authentication/authorization. This token is issued from the Web server […]

Categories
Ask Engineering Software Engineering

Advantages of strategy design pattern versus simple if-else

I am not clear on what advantage does strategy pattern offers over simple if-else. Example of poor code //poor code that we all can agree is not the way to go —– main class —– String strategyname; //lets assume at this point variable strategyname has a value assigned somehow at runtime if(strategyname == ‘algorithm1’){ //long […]

Categories
Ask Electrical Engineering Engineering

How to power a 24v 2.5A DC motor with a Switching Power Supply?

I need to power a windshield wiper motor at 24v. Switching mode power supply shuts off. The motor, rated 50 W, runs at 12v (50 rpm) or 24v (110 rpm), and it’s exactly the same one this guy has in the youtube video) https://youtu.be/id5usTwHwtY PROBLEM I have a a 24v 5A switching power supply that […]

Categories
Ask Electrical Engineering Engineering

RTD with a +/- 0.01 oC from its normal set value (78.37oC)

I am doing an assignement and have been asked to find a TMS for a whiskey distillary and I cannot find a suitable RTD. The parameters are that it needs to have a T range between 0 and 120 degrees celcius and an Output range between 0mV and 120mV. The input range is 0V to […]