Categories
Ask Engineering

How to calculate capacitor to fix a brownout

I have connected an ESP32 to a 3v3 voltage regulator as seen in the picture below. Essentially: Unregulated voltage —-[4.7uF]—LDO—[4.7uF]–[0.1uF]– Then at the ESP32 at the VIN i have [10uF]–[0.1uF]—ESP3V3 [Where all the caps are connected between LDO and ground]. The LDO datasheet https://www.digikey.com/en/datasheets/diodes-incorporated/diodes-incorporated-ap7361c After connecting it the ESP during wifi boot detects a brownout […]

Categories
Ask Engineering

Unknown induction motor wiring?

I just took apart an old dishwasher for parts. The large motor I got from it seems to be an induction motor. It has 4 wires. Green, yellow, red, and blue. I know for a fact that the green one is ground, so it can be ignored. It also had a 15uF capacitor for the […]

Categories
CMS Magento Mastering Development

Performance problems with Magento 2.3.5-p1 out of box (no changes made whatsoever). Is tweaking necessary after initial install?

fresh install of Magento 2.3.5-p1 via Softaculous php 7.2 4 x 2.50GHz Cores 8 GB RAM 160 GB SSD Space 5 TB Bandwidth cPanel/WHM/Softaculous 5000 Mbps Network Out We moved to a new hosting company which clams to be Magento friendly. We have a Cloud VPS package with the specs above. We are able to […]

Categories
Ask Engineering

How to find RPM from the square wave of a MSD box

I am trying to make a tachometer for my car. I am using a MSD6Al-2. The box outputs a 12 volt square wave at a 20 % duty cycle I talked to someone at MSD and they said you’ll get a signal every time it sparks. The problem is it can spark up to 10 […]

Categories
CMS Drupal Mastering Development

Set ‘And/Or’ conditions for view filter criteria – Drupal 8

I have a view with bunch of filter criteria. Of those, I have zip code and miles fields. I am writig the below query to add a where clause to my view query: function mymodule_views_query_alter(\Drupal\views\ViewExecutable $view, \Drupal\views\Plugin\views\query\QueryPluginBase $query) { //If my view is program-search and the Miles field is not empty and not ‘Any’ and […]

Categories
Database Development

Connection issue to Mysql from Apache server

I am operating on Centos7 and Mysql 5.6.46. I needed to move the default datadir location to an encrypted partition and I changed my default /etc/my.cnf file accordingly: # For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html [mysqld] # # Remove leading # and set to the amount of RAM for the […]

Categories
Cryptocurrency Ethereum Mastering Development

ethereum transaction hash is not showing any result on ropsten ether scan.. here is my code and transaction hash. any suggestion?

var web3 = new Web3(”); var contractData =[]; //var Tx = require(‘ethereumjs-tx’).Transaction var account1 = sendFrom; var account2 = sendTo; var PRIVATE_KEY_ACCOUNT_1=PriKey; //from private key var PRIVATE_KEY_ACCOUNT_2 =ToPkey; //sender private key var contract_address_ac1 =conAdd; var txCount = web3.eth.getTransactionCount(account1) var smartContract = new web3.eth.Contract(contractData,contract_address_ac1) var gas = web3.eth.getGasPrice(function(error, result){ console.log(result); }); // Transaction var txObject = […]

Categories
User Help

Windows can not booting and can not enter BIOS

A few days ago I have an issue with my laptop’s touchpad(Not fixed yet). Now, my laptop can’t booting, just stack at logo ASUS. I have tried to enter the BIOS(F2), nothing displayed but black screen. Ussually, it required password to enter BIOS. Now, just blank. I searched on ASUS FAQ. Press power button for […]

Categories
User Help

Opening a HTML file in SeaMonkey composer from the command prompt

I use SeaMonkey from MS-Windows 10 and I use it for it’s nice (HTML) Composer feature. I do not use it for web browsing. I have setup SeaMonkey’s preferences to only open the composer at application startup. When I startup SeaMonkey from the Windows CMD prompt without any command line arguments, it does open up […]

Categories
User Help

Powershell Monitor Clipboard Change

I’m trying monitor clipboard change by powershell, and not consider to use comparing (Get-Clipboard) before and after change because it cannot distinguish between “two copy are identical” and “haven’t make new copy action yet”. So I tried to override WndProc of a dummy-control which is added to the chain of clipboard viewers by winAPI SetClipboardViewer. […]