DIY Soil Moisture Sensor

SparkFun Soil Moisture Sensor

2N3904 Transistor same as:BC547,BC598,BC599,2N2222,BC107,2N2907,BC327,BC327,C9013,C1815,C4012,C4012,BC377 (printed C33725),C338

ref:https://www.sparkfun.com/products/13322?_ga=2.88403867.1446786914.1610372384-655404040.1609953707

faludi.com

ref:https://www.faludi.com/2006/11/02/moisture-sensor-circuit/

ESP12 Flash TTL Pin

https://microcontrollerslab.com/wp-content/uploads/2020/01/ESP-12E-Pinout-1280×720.png

แก้ RAW Partition ด้วย MiniTool Partition Wizard

Harddisk Parttion ล่ม กลายเป็น RAW

ขอเริ่มเลยนะครับ

สิ่งที่ต้องเตรียม
1.WindowsPE (กรณีบูตเข้า Windows ไม่ได้นะครับ)
2.โปรแกรม MiniTool Partition Wizard Professional หรือ Technician

ขั้นตอน
1.เปิดโปรแกรม MiniTool Partition Wizard ขึ้นมา

2.เลือกพาร์ทิชั่นที่เป็น RAW (ที่เห็นจากใน Disk Management ซึ่งบางทีมันจะขึ้นไม่ตรงกันครับ ใน Partition Wizard อาจจะเป็น NTFS แต่ใน Disk Management จะเป็น RAW) คลิกขวามัน แล้ว Delete เลยครับ

3.หลังจาก Delete มันเรียบร้อยแล้ว มันจะกลายเป็น แบบดังภาพนะครับ

4.คลิกที่ Partition Recovery Wizard จะขึ้นหน้าต่างตามภาพครับ

5.กด Next ไป แล้วก็เลือก HDD ลูกที่ท่านต้องการกู้คืนครับ เลือกได้แล้วกด Next ครับ

6.ในขั้นตอนนี้นะครับ ให้เลือกว่าจะแสกนเอาแค่ไหน ผมแนะนำว่าถ้ามันเสียหาแค่ Partition เดียว ก็เลือก Specified Range พอแล้ว แล้วไปคลิกเลือก Partition ที่ท่านต้องการกู้คืน แล้วก็ Next ครับ

7.ให้เลือก Quick Scan ก็พอครับ ถ้าหากไม่สำเร็จค่อยมาลองทำใหม่โดยเลือก Full Scan แล้วกด Next ครับ

8.เมื่อมันสแกนเสร็จเรียบร้อย มันก็จะแสดงผมมาให้ครับ ว่าเจออะไรบ้าง ให้ติ๊กถูกทั้ง 2 พาร์ทิชั่นนั่นเลยนะครับ เพราะเราจะเอามาใช้ทั้งคู่ โดยพาร์ทิชั่นที่มันเสีย เราจะเห็นว่า คอลลัมน์หลังสุดจะเขียนว่า Lost/Deleted เลือกแล้ว Finished ครับ

9.ถึงขั้นตอนนี้ก็ให้เรามาตั้งตัวอักษรให้พาร์ทิชั่นนั้นแล้วครับ โดยการคลิกขวาที่พาร์ทิชั่นนั้น แล้วกด Change Letter เลือกแล้ว OK ครับ

10.เสร็จเรียบร้อยแล้วครับ

Credit:https://pantip.com/topic/32836308

windows 10 1909 2004 20H2 access share network drive Error

– DNS Client it seems is used to cache DNS entries – so disabling it may lead to slow downs in page loading but not much more then that in “regular” configurations using only TCP/IP (no netbios or multiple networks involved here). To quote one source, this service is a “target of attacks which poisons the cache with fake DNS entries” sometimes.

after use Regedit to change the Dnscache’s start type to auto=2,

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache, and locate Start registry key
Change Startup type : =2

Automatic -2
Manual -3
Disabled -4
Automatic (Delayed Start) -2

จากนั้น Restart เครื่อง , the DNS CLIENT SERVICE status turns into STARTED, and the mapped drive works now.
กรณีขึ้น

Windows 10 Event ID 7001.
ERROR : The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
can not map the drive using IP address of fileserver

ดูใน Error EVENT log for SOURCE: Service Control Manager, with EVENT ID 7001, with DNS Client service was disabled and stopped-remote access connection manager service failed.
Thus, i wondering how to – enable DNS Client Service. currently i is running under the account “Network Service”, local builtin administrator account can’t make change to this.

1.Enable the SMB 1.0 support by enabling the following Windows features from the Control Panel, then see if you could access the share:

Windows Feature

SMB 1.0/CIFS Client

2.Change the following services startup type from Manual to Automatic:
– Function Discovery Provider Host
– Function Discovery Resource Publication
– SSDP Discovery
– UPnP Device Host

3.

https://docs.microsoft.com/en-us/answers/questions/113515/mapped-drive-error-network-path-was-not-found-dns.html

html5 google drive play video autoplay

<p><video preload=”true” autoplay=”autoplay” loop=”loop” muted=”” width=”640″ height=”480″>

  <!– Safari –>

  <source src=”https://drive.google.com/uc?export=download&amp;id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” type=”video/mp4″ />

  <!– Chrome and FF –>

  <source src=”https://drive.google.com/uc?export=download&amp;id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” type=”video/webm” /></video></p>

xxx = 

Windows LAN Normal but Status show X Red Cross not Connect

regedit

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList

คลิ๊กขวา Permission

มองหา Network Service และ Local Service ดูถ้าไม่มีให้เพิ่ม สิทธิ์ Full Control

เลือก Advanced เลือก Replace all

จากนั้น Restart เครื่อง

Install Office to Installed Click to Run Office

Office 2016 Deployment Tool
https://www.microsoft.com/en-us/download/details.aspx?id=49117
download ติดตั้งลงใน folder ที่ต้องการ

ไปเวป
https://docs.microsoft.com/en-us/deployoffice/use-the-office-deployment-tool-to-install-volume-licensed-editions-of-visio-2016
คัดลอก script มาสร้างเป็นไฟล์ xml

ProductIDPIDKEY
Project Standard 2016ProjectStdXVolumeD8NRQ-JTYM3-7J2DX-646CT-6836M
Project Professional 2016ProjectProXVolumeWGT24-HCNMF-FQ7XH-6M8K7-DRTW9
Visio Standard 2016VisioStdXVolumeNY48V-PPYYH-3F4PX-XJRKJ-W4423
Visio Professional 2016VisioProXVolume69WXN-MBYV6-22PQG-3WGHK-RM6XC

และ Script ตัวอย่าง

<Configuration> <Add OfficeClientEdition=”64″ > <Product ID=”VisioProXVolume” PIDKEY=”69WXN-MBYV6-22PQG-3WGHK-RM6XC”> <Language ID=”en-us” /> </Product> </Add> </Configuration>

ตัวอย่างเช่น จะติด Project Pro 2016 ต้องแก้เป็น

<Configuration> <Add OfficeClientEdition=”64″ > <Product ID=”ProjectProXVolume” PIDKEY=”WGT24-HCNMF-FQ7XH-6M8K7-DRTW9″> <Language ID=”en-us” /> </Product> </Add> </Configuration>

แล้ว Save ชื่อ project.xml

จากนั้น cmd สิทธิ์ Admin ไป

พิมพ์ Setup.exe /download project.xml

โปรแกรมจะ download project มาให้

แล้วติดตั้ง Setup.exe /configure project.xml

10.0.19041.662

[10.0.19041.662]
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=88E81
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=0CAE2
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=189D5
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1D50C
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.19041.662-SLInit]
bInitialized.x64 =106028
bServerSku.x64 =10602C
lMaxUserSessions.x64 =106030
bAppServerAllowed.x64 =106038
bRemoteConnAllowed.x64=106040
bMultimonAllowed.x64 =106044
ulMaxDebugSessions.x64=106048
bFUSEnabled.x64 =10604C