Are you over 18 and want to see adult content?
More Annotations
![A complete backup of celebritytalent.net](https://www.archivebay.com/archive5/images/19ab63bf-b8c5-4417-aa83-6aa946ff540b.png)
A complete backup of celebritytalent.net
Are you over 18 and want to see adult content?
![A complete backup of hispanicaccess.org](https://www.archivebay.com/archive5/images/7f3efc89-ce60-433a-b64f-0ae96c545a0f.png)
A complete backup of hispanicaccess.org
Are you over 18 and want to see adult content?
![A complete backup of hebergementweb.org](https://www.archivebay.com/archive5/images/3921f8c6-83e5-459c-bb47-8a7c285fd9e2.png)
A complete backup of hebergementweb.org
Are you over 18 and want to see adult content?
![A complete backup of oostappenvakantieparken.nl](https://www.archivebay.com/archive5/images/f90c514b-7ba3-4530-a316-555c90adee88.png)
A complete backup of oostappenvakantieparken.nl
Are you over 18 and want to see adult content?
![A complete backup of healthykitchen101.com](https://www.archivebay.com/archive5/images/d1cd2969-7efc-472c-bd70-a7ff08a4d919.png)
A complete backup of healthykitchen101.com
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of www.dailymail.co.uk/sport/football/article-8007385/Zinedine-Zidane-excited-Eden-Hazards-Real-Madrid-return-](https://www.archivebay.com/archive2/fc5cb177-11df-4ee8-8d27-3ef585fab2d9.png)
A complete backup of www.dailymail.co.uk/sport/football/article-8007385/Zinedine-Zidane-excited-Eden-Hazards-Real-Madrid-return-
Are you over 18 and want to see adult content?
![A complete backup of www.letelegramme.fr/finistere/morlaix/le-tourneur-morlaisien-wart-et-jeanne-added-nommes-aux-victoires-de-l](https://www.archivebay.com/archive2/60ce21ed-8f1a-4f38-957d-279eb2760f58.png)
A complete backup of www.letelegramme.fr/finistere/morlaix/le-tourneur-morlaisien-wart-et-jeanne-added-nommes-aux-victoires-de-l
Are you over 18 and want to see adult content?
![A complete backup of www.augsburger-allgemeine.de/panorama/Heldin-des-Warschauer-Ghettos-Google-widmet-Irena-Sendler-heute-ein-D](https://www.archivebay.com/archive2/5db2e5ec-4f1f-438b-9f46-9e6b829ed9d3.png)
A complete backup of www.augsburger-allgemeine.de/panorama/Heldin-des-Warschauer-Ghettos-Google-widmet-Irena-Sendler-heute-ein-D
Are you over 18 and want to see adult content?
Text
REGIS -許英豪
DIY﹣Arduino, 3D printing, CNC, Linux and Machine Learning.古人智慧
_Just Do it!_
_上士聞道,勤而行之;中士聞道,若存若亡;下士聞道,大笑之。不笑,不足以爲道。__~ 道德經 41_
_
_
_
「實現夢想不是追逐成功,而是在於賦予生命意義,人生中的每個決定與聲音都有其重要含義。」"The key to realizing a dream is to focus not on success but on significance — and then even the small steps and little victories along your path will take on greater meaning." 電視名人-歐普拉·溫芙蕾(OPRAH WINFREY)_搜尋此網誌
TRANSLATION
Select
LanguageEnglishAfrikaansAlbanianAmharicArabicArmenianAzerbaijaniBasqueBelarusianBengaliBosnianBulgarianCatalanCebuanoChichewaChinese (Traditional)CorsicanCroatianCzechDanishDutchEsperantoEstonianFilipinoFinnishFrenchFrisianGalicianGeorgianGermanGreekGujaratiHaitian CreoleHausaHawaiianHebrewHindiHmongHungarianIcelandicIgboIndonesianIrishItalianJapaneseJavaneseKannadaKazakhKhmerKoreanKurdish (Kurmanji)KyrgyzLaoLatinLatvianLithuanianLuxembourgishMacedonianMalagasyMalayMalayalamMalteseMaoriMarathiMongolianMyanmar (Burmese)NepaliNorwegianPashtoPersianPolishPortuguesePunjabiRomanianRussianSamoanScots GaelicSerbianSesothoShonaSindhiSinhalaSlovakSlovenianSomaliSpanishSundaneseSwahiliSwedishTajikTamilTeluguThaiTurkishUkrainianUrduUzbekVietnameseWelshXhosaYiddishYorubaZulu Poweredby Translate
2019年10月12日 星期六 養生鍋 - 3D打印機的應用 因緣際會收到這只故障的電熱玻璃壺。 上網搜尋後,原來這叫做養生鍋,活到老學到老~~症狀:
上電後,控制器開關的指示燈有亮燈,但是養生鍋主體的指示燈不亮,也不發熱。問題分析:
初級分析是使用電表量測是否有短路與接觸不良的現象。 在控制器端,兩段式開關切換時,電壓110v與12v都正常輸出。 本體玻璃壺沒作動,判斷這部分有問題,拆機維修拆機維修
打開底座,發現這養身鍋有個安全鈕的設計,但這個結構件似乎破損遺失。功能測試:
修理這部分不難,但是手上並無這個安全鈕的結構件,這時候~鐺鐺,3D打印機就是咱們好朋友~~~ 首先,用尺規量這個安全鈕的尺寸,在紙上畫好示意圖 再來用SketchUp來3D建模 接下來,用Cura切片app,因為這安全鈕時常壓住,所以我設定填充率100%,層高0.1mm 不到10分鐘,成品就出爐了 有個“大”插曲,這個打印機固定擠出頭的結構件 碎了 碎了 碎了!!! 用鐵絲固定來急救~~~~ 還好,可以把安全鈕印出來。 裝上養生鍋一切正常,讚啦! 紅色的安全鈕更顯眼,好看!!!測試視屏
完工了,功能正常!
沒有留言:
2019年9月15日 星期日 解決 MATPLOTLIB 在 JUPYTER 無法顯示中文的方法 Jupyter這個工具是學習Python的好工具。 但是,在顯示中文會有問題,google有不少解決方式,下列方式比較彈性與合適我。環境:
MacOS
Python 3.7.4
解決方法
在Jupyter內找出系統字型Font的名稱import matplotlib
fm = matplotlib.font_manager.FontManager() for f in fm.ttflist:print (f.name)
可以查到很多字型名稱。 在裡面找到帶有TC 的Font大部分應該是繁體字型,如果是SC是簡體字型。 這兩行設定這App要用的字型庫。 plt.rcParams = 'Noto Sans Mono CJK TC' plt.rcParams = False 我用這個字型為例%pylab inline
x = linspace(-5, 5, 2000) #plt.rcParams = 'Noto Sans CJK TC' plt.rcParams = 'Noto Sans Mono CJK TC' plt.rcParams = Falseplot(x, sinc(x))
plt.gcf().set_size_inches(20, 8) plt.title(u'sinc(x)圖形', fontsize=25) plt.xlabel(u'-5到5範圍', fontsize=25) plt.ylabel(u'sinc(x)', fontsize=25) plt.tick_params(axis ='both', labelsize=25) plt.savefig('sample.jpg')結果如下:
沒有留言:
2019年9月1日 星期日 風扇維修 - 啟動電容 與 溫度保險絲 電風扇應該是每個家庭必需品吧? 我自個就擁有4部風扇。。。 台北夏天非常炎熱,擔心貓在家會中暑,所以成天開著風扇讓室溫降低與通風。 連續開了幾天,結果突然罷工! 修這個電扇馬達之前,大多只是做上油與清理灰塵的保養工作,這次特別想好好研究與Debug。 進入維修主題: 這個是今天主角:1. 拆機:
先從後面卸下6根螺絲,與底部8根螺絲,就可以看到風扇的馬達與控制開關。2. DEBUG:
風扇有兩個重要的零件,馬達與啟動電容。 首先,先確定風扇故障現象,如果馬達有嗡嗡的叫聲,那啟動電容大概已經掛了。也可以從外觀是否有隆起的現象。如下圖,我的啟動電容已經微微隆起,應該沒掛也撐不了太久。 然後,觀察馬達是否有做動。 這馬達完全沒動作,經過Google後,發現馬達線圈裡有埋個“溫度保險絲“,用電表量測是否溫度保險絲已經熔斷。 確定這兩個零件要更換。3. 維修:
啟動電容可以在一般電器行或材料店買到,但是溫度保險絲是比較冷門的零件不容易買到,我在露天與蝦皮有找到相似規格的零件,一顆15元台幣,但是運費要60元。。。下單後2天就收到了。 拆下舊的啟動電容與溫度保險絲,注意溫度保險絲最好用冷壓接頭,避免溫度過高,把保險絲熔斷了。用熱縮套包住保險絲,然後折好後再用束帶綁緊在馬達線圈上,記得保險絲要接觸到馬達線圈,如下圖。4.測試:
上電前記得用電表量測是否有確實連接與是否有短路。 然後,把馬達組好,但先不要上螺絲來測試。 5. 清理灰塵與組裝:完成~~~
沒有留言:
2019年8月15日 星期四物件辨識
Here is just do some note for how to setup and install the object detection by Tensorflow on Raspberry Pi 3B+. The original article here Ok, let’s go my practise. 1. UPDATE THE RASPBERRY PIsudo apt update
sudo apt upgrade
sudo apt autoremove 2. INSTALL TENSORFLOW, OPENCV AND RELATED PYTHON MODULESRefer to here
You should install this tool as well. sudo apt install protobuf-compiler 3. SETUP THE TENSORFLOW MODELS mkdir tf_objectdetect cd tf_objectdetect/ git clone https://github.com/tensorflow/models Download/unzip the pre-trained model in this folder wget http://download.tensorflow.org/models/object_detection/ssdlite_mobilenet_v2_coco_2018_05_09.tar.gz tar -xzvf ssdlite_mobilenet_v2_coco_2018_05_09.tar.gzCopy this file
models\research\object_detection\data\mscoco_label_map.pbtxt to datafolder.
mkdir data
cp models/research/object_detection/data/mscoco_label_map.pbtxt data/. compile the protos database cd models/research/ protoc object_detection/protos/*.proto --python_out=. cd models/research/ export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim It will be better that add this line to .bashrc # for tensorflow object detection export PYTHONPATH=$PYTHONPATH:/home/pi/tf_objectdetect/models/research:/home/pi/tf_objectdetect/models/research/slim 4. DO THE OBJECT DETECTION Download the code, and test cd ~/tf_objectdetect wget https://raw.githubusercontent.com/EdjeElectronics/TensorFlow-Object-Detection-on-the-Raspberry-Pi/master/Object_detection_picamera.py python3 Object_detection_picamera.py You may got problems just like me, do some modify would be solved asbelow process.
nano Object_detection_picamera.pyLine 52
from object_detection.utils import label_map_util from object_detection.utils import visualization_utils as vis_utilLine 66
PATH_TO_LABELS = os.path.join(CWD_PATH,'models/research/object_detection/data','mscoco_label_map.pbtxt') THAT IS AND YOU WILL BE OK FOR THIS PRACTISE
沒有留言:
2019年7月27日 星期六 收納盒卡扣3D建模 家裡多了一位可愛的成員,肥肥。。。 我把好吃的零食都放到這個卡扣壞了的收納盒好幾個月都相安無事,直到這幾天他開始嘗試用頭把蓋子撐開。。。 不懶惰,做個卡扣吧~~視頻:
收納盒:
卡鉤壞了
量尺寸
用便宜的電子尺規 畫3D建模并打印 噹噹,完成了~~看來還不錯
完工!
沒有留言:
充電寶維修
現在手機原來越強,但也吃電非常兇。每個人幾乎至少一個隨身充 又稱 充電寶,隨時奉上電源。 本篇主角是3年前小米超薄充電寶,多次充放電後裡面電池終於掛了。拆解圖如下:
電池已經隆起,電壓只有2.7v低於過度放電標準,應該陣亡。 手上剛好有一組18650三洋電池芯48000,分析小米充電寶的電路板,看來應該可以接的上。 主要把 + - 還有一條溫度回饋T接在對的pin上。 然後,看到綠色指示燈表示連接成功。 接上手機,咚咚,進入充電模式,成功! 但是,因為電池芯無法塞進原來小米的殼,只好自己量尺寸設計3D建模,然後打印。開始組裝。
先塞進電池,然後用於熱熔膠固定。 面板是一大敗筆,忘了設計圓弧邊框,不想再重新打印,用熱熔膠封口。 看來封口不會太難看,將就著使用。後視圖
一切功能OK!
收工!!!!
沒有留言:
2019年7月12日 星期五 ESP8266 MQTT CLIENT DEVICE (IOT 自動給水器) IoT萬物聯網是個很大的發展空間,尤其是在家庭應用是最接近我們生活,提供智能互動提升生活水平。 為何做這個項目? 做這個項目主要目的是用一個價格便宜具備WiFi的MCU可以運行MQTT的協議,然後連結週邊的設備,例如貓咪的自動給水器。 另外在Instructables 網站上也有細節分享 IoT Internet of Things is a big scope for development, especially in home applications providing intelligent and high quality life. Why I built this project? I am doing this because of using a cheaper WiFi-enabled MCU that can run the MQTT protocol and then use the peripheral devices, such as the cat’s automatic water feeder. I am also share more detail instruction guide here PROJECT SPECIFICATION AND ID OUTLOOK * Basic version(Open source): * connect to a predefined Access-Point SSID and MQTT broker * the relay turn-on/off 3mins periodically , the esp8266 will into deep sleep mode while relay turn-off. * Remote control by MQTT protocol from mobile phone * Advance version(charge by request): * Can be config the turn-on/off timing with webpage(HTML) * Save the setting to RTC memory. * upload sketch by OTA * perfectinal version(charge by request): * Can be config the SSID and MQTT broker by webpage(HTML)dynamically
* Can be config the turn-on/off timing by webpage(HTML) * Save those setting into SPIFFS STEP 0: SYSTEM BLOCK DIAGRAM Here is my MQTT system MQTT Broker: Raspberry Pi 3B+ with mosquittoPython: paho-mqtt
Mobile Phone Apps: IoT Controller v0.37 SNR LabMCU: ESP8266
STEP 1: ELECTRICS PARTS PREPARATIONBOM LIST:
1 x ESP6266 12E
1 x 2P relay module
2 x S8050 transistor 2 x 100 ohm resistor1 x 10uF capacitor
1 x 0.1uF capacitor
1 x LM1117 3.3v module 1 x HLK-PM01 230V AC to 5V/3W DC power module1 x 5x7cm perfboard
1 x AC Electrical socketTOOLS:
1 x 3D printer with PLA filament1 x Soldering iron
EQUIPMENT
1 x Raspberry pi 3B+ STEP 2: MAKE THE MAIN-BOARD AND TESTINGSCHEMATIC:
REFERENCE PICTURES:
TESTING
The power supply was made by myself, it is also an open project in hereHandy Power Supply Upload the sketch to this board by USB2Uart cable shown as the picture as below.The testing video
STEP 3: UPLOAD THE SOFTWARE TO ESP8266Download the sketch
Code: Download
/*
Basic ESP8266 MQTT for relay controllerRegis Hsu
2019-07-10
*/
#includevoid setup_wifi()
{
// We start by connecting to a WiFi networkSerial.println();
Serial.print("Connecting to "); Serial.println(AP_SSID); WiFi.mode(WIFI_AP_STA); WiFi.begin(AP_SSID, AP_PASSWD);int i = 0;
while ((WiFi.status() != WL_CONNECTED)){
delay(500);
Serial.print(".");
digitalWrite(BUILTIN_LED, i % 2);i = i + 1;
}
//turn off the LED digitalWrite(BUILTIN_LED, HIGH); randomSeed(micros()); // we send our IP address on the WiFi network if (!MDNS.begin("esp8266")) { Serial.println("Error setting up MDNS responder!");while (1) {
delay(1000);
}
}
Serial.println("mDNS responder started"); // Add service to MDNS-SD MDNS.addService("http", "tcp", 80);}
void callback(char* topic, byte * payload, unsigned int length) { Serial.print(F("Message arrived ")); for (int i = 0; i < length; i++) { Serial.print((char)payload);}
Serial.println();
client.publish(MQTT_PUB, (char *)payload); // Switch on the LED if an 1 was received as first character switch ((char)payload - 48){
case 0:
ESP.restart();
break;
case 1:
digitalWrite(RELAY1_PIN, ((char)payload - 48));break;
case 2:
digitalWrite(RELAY2_PIN, ((char)payload - 48));break;
default:
Serial.println(F("Not a command!"));break;
}
}
void reconnect() { // Loop until we're reconnected //while (!client.connected()) { Serial.print(F("Attempting MQTT connection...")); // Create a random client ID String clientId = "ESP8266-"; clientId += String(random(0xffff), HEX); // Attempt to connect if (client.connect(clientId.c_str())) { Serial.println(F("connected")); // Once connected, publish an announcement... //client.publish("Home/esp32_pub", "hello world"); // ... and resubscribe client.subscribe(MQTT_SUB);} else {
Serial.print(F("failed, rc=")); Serial.print(client.state()); Serial.println(F(" try again in few seconds")); // Wait 5 seconds before retryingdelay(5000);
//delay(2000);
}
//}
}
void setup() {
pinMode(BUILTIN_LED, OUTPUT); // Initialize the BUILTIN_LED pin as an output pinMode(RELAY1_PIN, OUTPUT); // Initialize the BUILTIN_LED pin as an output pinMode(RELAY2_PIN, OUTPUT); Serial.begin(115200);delay(500);
Serial.println();
digitalWrite(RELAY1_PIN, HIGH);setup_wifi();
client.setServer(MQTT_BROKER, 1883); client.setCallback(callback); if (!client.connected()) {reconnect();
}
client.publish(MQTT_PUB, "11");}
void loop()
{
if (!client.connected()) {reconnect();
}
else
client.loop();
long now = millis(); if (now > (RELAY_1_ON * 60 * 1000)) { //ms client.publish(MQTT_PUB, "10"); Serial.printf("Going into deep sleep for %d mins", RELAY_1_OFF);client.loop();
delay(2000);
ESP.deepSleep(RELAY_1_OFF * 60 * 1000000); //us}
}
ARDUINO IDE SETTING
Be noticed that reserve 1M SPIFFS at least. STEP 4: SETUP THE MQTT BROKER INSTALL MQTT BROKER AND TOOLSsudo apt update
sudo apt upgrade
sudo apt autoremove sudo apt autoclean sudo apt-get install mosquitto mosquitto-clients CHECK THE BROKER STATUS service mosquitto status STEP 5: DOWNLOAD MOBILE APP AND CONFIGURE THE MQTT I AM USING THIS APPS. I have tested several Apps, but why I suggest this one? Because of it seems easy for my stupid head, It is sure that you can use another one by your personal preference. how to config the MQTT objects? Set the MQTT broker server and switch button as well as the log. SET 6: VERIFY THE MQTT CONNECTION A tool written by Python to verify the connection between ESP8266 and MQTT broker(RPI 3B+) through Wifi.HERE IS THE PROCESS
nano SubscriberTest.py python SubscriberTest.pyPYTHON CODE:
# SubscriberTest.py import paho.mqtt.client as mqttimport time
def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) client.subscribe("Home/esp32_sub") client.subscribe("Home/esp32_pub") def on_message(client, userdata, msg): #print(msg.topic+" "+str(msg.payload)) tt = time.localtime(time.time()) print(str(tt.tm_hour)+":"+str(tt.tm_min)+" "+msg.topic+" "+str(msg.payload)) client = mqtt.Client() client.on_connect = on_connect client.on_message = on_message client.connect("xxx.xxx.xxx.xxx", 1883, 60) client.loop_forever()RUNNING ON RPI 3B+
STEP 6: BUILDING THE MECHANICAL PARTS I am using Sketchup to build the 3D modeling, it is just for you reference and should do it by yourself. STEP 7: WEB PAGE SETTING (CHARGE BY REQUEST) WEBPAGE FOR SSID/PASSWORD AND MQTT BROKEROTA UPLOAD SKETCH
IF YOU NEED EXTRA REQUEST FROM ME, IT WILL BE BETTER THAT MAKE SOME SUITABLE DONATION TO ME: HTTP://PAYPAL.ME/REGISHSU
沒有留言:
較舊的文
首頁
訂閱: 文章 (Atom)CATAGORY
* 0.SpiderRobot蜘蛛(39)
* 6.household生活馬蓋先(35)
* 4.Banana pro
(22)
* 3.1 Cyclone-PCB-Factory雕刻机(21)
* 1.Balance car自平衡車(20)
* 3.0 3D printer
(14)
* 5.3D project作品(12)
* 2.1 ESP8266
(10)
* 10. 學習Study
(7)
* 9.Others其他
(6)
* 2. Robot Study機器人研究(3)
* 4.1 RaspberryPi樹莓派(3)
* 6_5.household生活馬蓋先-咖啡專欄(3)
* 99. 心得分享
(3)
* 020.STM32F MCU
(2)
* 01a. IoT
(1)
* 02.TrackRobot履帶機器人(1)
* 060.OpenCV
(1)
* 11.旅遊
(1)
* 3.2 Handy Power Supply(1)
* 7.FPGA (1)
* 8.Ardupilot無人機(1)
PAGE
* 首頁
ABOUT
* Regis -許英豪
檢視我的完整簡介追蹤者
網誌存檔
* ▼ 2019 (9)
* ▼ 十月 (1)
* 養生鍋 - 3D打印機的應用* ► 九月 (2)
* ► 八月 (1)
* ► 七月 (3)
* ► 二月 (1)
* ► 一月 (1)
* ► 2018 (20)
* ► 十二月 (1) * ► 十一月 (2)* ► 九月 (2)
* ► 八月 (1)
* ► 七月 (2)
* ► 六月 (2)
* ► 五月 (3)
* ► 四月 (3)
* ► 三月 (2)
* ► 一月 (2)
* ► 2017 (29)
* ► 十二月 (2) * ► 十一月 (1)* ► 九月 (4)
* ► 八月 (1)
* ► 七月 (2)
* ► 六月 (1)
* ► 五月 (3)
* ► 四月 (1)
* ► 三月 (1)
* ► 二月 (8)
* ► 一月 (5)
* ► 2016 (68)
* ► 十二月 (4) * ► 十一月 (4)* ► 十月 (3)
* ► 九月 (4)
* ► 八月 (10) * ► 七月 (11)* ► 六月 (5)
* ► 五月 (4)
* ► 四月 (1)
* ► 三月 (5)
* ► 二月 (6)
* ► 一月 (11)* ► 2015 (56)
* ► 十二月 (7) * ► 十一月 (5)* ► 十月 (6)
* ► 九月 (5)
* ► 八月 (4)
* ► 七月 (5)
* ► 六月 (4)
* ► 五月 (12)* ► 四月 (2)
* ► 三月 (1)
* ► 二月 (3)
* ► 一月 (2)
* ► 2014 (22)
* ► 十二月 (1) * ► 十一月 (6)* ► 九月 (3)
* ► 八月 (2)
* ► 七月 (3)
* ► 六月 (1)
* ► 五月 (1)
* ► 四月 (1)
* ► 三月 (4)
Regis Hsu. 頂尖企業主題. 技術提供:Blogger.
ORIGINAL TEXT
Contribute a better translation -------------------------Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0