ESP32 Lolin32 Lite Solar Cell

ME6211 High Speed LDO Regulators, High PSRR, Low noise
Max Input Voltage 6.5v
Max Output Current 500mA
Output Voltage 3.3v

TP4054 Standalone Linear Li-lon Battery Charger with Thermal
Regulation in SOT
Input Supply Voltage 0.3-10v
Batt 0.3-7v

Solar Cell panel 5.5v-6v

ESPEasy ESP32 Lolin32 Lite DS18B20

ต้องไปกำหนดค่าขา GPIO เป็น Input Pull UP

เมื่อตั้งค่า Sensor  GPIO <- TX ถูกต้องแล้ว

ให้ดู log ว่าแสดง DS: อะไรหรือไม่

ที่พบคือเมื่อต่อขาถูกต้องแล้ว Enable พบว่าแสดงเป็น

DS : Cannot set Resloution 

และ Device Address ไม่แสดงอะไร

ผมลองปรับ Device Resolution bit ไปที่ 12 แล้ว submit

พบว่า Device Address  แสดง Address ออกมา เมื่อเลือกแล้ว submit จะแสดงอุณหภูมิออกมาได้

 

 

SADPTool System Error MSVCR120.dll

SADPTool
System Error
The code execution cannot proceed because MSVCR120.dll was not found. Reinstalling the program may fix this problem

download install

https://download.microsoft.com/download/C/C/2/CC2DF5F8-4454-44B4-802D-5EA68D086676/vcredist_x64.exehttps://download.microsoft.com/download/c/c/2/cc2df5f8-4454-44b4-802d-5ea68d086676/vcredist_x86.exe

win32 only x86.exe

win64 both file

Reinstall Mail Apps Windows 10 /11

powershell as admin

Get-AppxPackage –AllUsers

มองหา name: microsoft.windowscommunicationsapps แล้วคัดลอก PackageFullName เก็บไว้

เช่น PackageFullName : microsoft.windowscommunicationsapps_16005.11629.20316.0_x64__8wekyb3d8bbwe

จากนั้น Remove-AppxPackage ตามด้วย PackageFullName แล้ว Enter

cmd as admin

Service บน Windows ไม่ทำงาน Start Stop ก็ไม่ได้จาง

สมมุติ Remote Desktop Service ไม่ทำงาน เข้า Service กด Start Restart Stop ไม่ได้ จาง หรือ หายไป

เข้า Command Line พิมพ์

C:\Windows\system32>net start TermService (Enter) ระบบแสดง
The service is starting or stopping. Please try again later.

C:\Windows\system32>net stop TermService (Enter) ระบบแสดง
The service is starting or stopping. Please try again later.

ค้นหา Service

C:\Windows\system32>tasklist /svc | findstr /C:TermService(Enter) ระบบแสดง
svchost.exe 436 TermService

แสดงว่า TermService มีอยู่แต่ติดต่อไม่ได้ PID 436 ต้อง Kill process ทิ้ง

C:\Windows\system32>taskkill /F /PID 436 (Enter)
SUCCESS: The process with PID 436 has been terminated.

สั่ง Start ใหม่

C:\Windows\system32>net start TermService
The Remote Desktop Services service is starting.
The Remote Desktop Services service was started successfully.

error 0x000003e3 share print

do you trust this printer

cannot connect to the printer หรือ operation failed error 0x000003e3

ที่ตัวแม่ regedit

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-3

เลือกเครื่องพิมพ์ มองหา PrinterDriverAttributes แก้เป็น 1

Restart Print Spooler

เพิ่มเติม ถ้าไม่ได้ สำหรับ Drivers 64-bit HKLM\System\CurrentControlSet\Control\Print\Enviroments\Windowsx64\Drivers\Version-X{Driver Name} สำหรับ Drivers 32-bit

HKLM\System\CurrentControlSet\Control\Print\Enviroments\Windows NT x86\Drivers\Version-X{Driver Name}

X is the print driver Type, usually either 3 or 4

แก้ PrinterDriverAttributes เป็น 1

Mikrotik Hotspot Login Logo Change

Mikrotik ตั้งแต่ รุ่น 6.47 ปรับปรุง login hotspot ใหม่ เป็นรูปแบบ SVG

แก้ไข Login.html มองหา

				
					<svg class="logo" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 174 42">
                        <path fill="#fff" d="M7.32 13.66L0 41.74 3.12 41.74 9.49 15.94 9.58 15.94 15.01 41.74 18.22 41.74 36.86 16.34 36.95 16.34 30.02 41.74 33.18 41.74 40.4 13.66 35.73 13.66 17.23 38.87 11.99 13.66 7.32 13.66zM43.43 21.45L38.19 41.74 41.16 41.74 46.4 21.45 43.43 21.45zM50.68 21.45L45.5 41.74 48.47 41.74 50.36 34.39 55.55 30.77 62.02 41.74 65.27 41.74 57.91 29.28 69.43 21.45 65.46 21.45 51.21 31.36 51.12 31.28 53.66 21.45 50.68 21.45z" />
                        <path d="M71.18 21.45L65.94 41.74h3l2.74-10.62c1-3.81 3.82-7.39 9.16-7.47.56 0 1.13 0 1.7 0l.66-2.48c-.52 0-1.09 0-1.61 0-4.34 0-6.94 2-8.82 5h-.1l1.23-4.68zM103.8 28.8c0-5-4-7.94-9.63-7.94-8.69 0-13.59 6.37-13.59 13 0 5.07 3.44 8.45 9.72 8.45 9 0 13.5-6.68 13.5-13.53m-3 .52c0 4.72-3.44 10.93-9.95 10.93-5 0-7.32-2.68-7.32-6.61 0-4.76 3.59-10.7 10.1-10.7 4.77 0 7.17 2.6 7.17 6.38M132.33 21.43L134.26 13.66 105.19 13.66 103.27 21.45 112.59 21.45 112.59 21.45 122.99 21.45 122.99 21.45 132.33 21.43zM111.67 25.17L107.55 41.74 117.93 41.74 122.06 25.17 122.06 25.16 111.67 25.16 111.67 25.17zM134 25.17l-4.11 16.57h9.35l4.1-16.57zm10.28-3.73l1.94-7.78h-9.34l-2 7.79zM150.09 13.66L143.11 41.74 152.45 41.74 153.91 35.92 156.04 34.34 159.34 41.74 169.49 41.74 163.26 29.55 174.26 21.33 163.07 21.33 156.18 27.3 156.09 27.3 159.44 13.66 150.09 13.66zM47.45 0c1.14 7.93 5.39 12.74 14.07 13.14A10.69 10.69 0 0 1 47.45 0" fill="#fff" fill-rule="evenodd" />
                        <path d="M42.91,1.4c.1,0,.11,0,.12.11A16.55,16.55,0,0,0,48.26,13a16.6,16.6,0,0,0,12,4.66c-10,4-20.55-5.6-17.33-16.28" fill="#fff" fill-rule="evenodd" /></svg>

				
			

จากนั้นไปเวป https://editor.method.ac/

https://boxy-svg.com/app

สร้างรูปแก้ไขปรับปรุง แล้วเอามาใส่แทน เช่น

				
					<svg class="logo" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 744.000000 246.000000" >
 <text transform="matrix(10.5683 0 0 15.5699 -190.632 -2500.72)" stroke="#000" font-weight="bold" xml:space="preserve" text-anchor="start" font-family="'Yrsa'" font-size="NaN" id="svg_8" y="171.85095" x="19.44624" stroke-width="0" fill="#0000ff">EDD EASY</text>
</svg>
				
			

ESPHOME ESP-01 Relay board

esphome:
  name: esp-01-relay-3

esp8266:
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: “97e03zzzzzzzzzzzzzzzzzzzz”

wifi:
  ssid: Your SSID
  password: Your PAssword

  manual_ip:
    static_ip: 192.168.1.100
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    dns1: 192.168.1.1
    dns2: 8.8.8.8
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: “Esp-01-Relay-3 Fallback Hotspot”
    password: “0fjsyyyyyy”

captive_portal:
switch:
  – platform: gpio
    pin: GPIO0
    name: “Relay Switch 10A”