tag:blogger.com,1999:blog-41896123498236934182024-03-06T13:08:47.331+07:00ultimateohmultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-4189612349823693418.post-62486856767786351002018-12-09T17:48:00.000+07:002018-12-09T17:49:38.238+07:00LoRaWAN Gateway Raspberry Piเห็นเว็บ hackster.io เขียน blog เกี่ยวกับ <a href="https://blog.hackster.io/a-coming-of-age-for-lorawan-7510f4551a9b" rel="nofollow" target="_blank">A Coming of Age for LoRaWAN?</a> ว่ามีบอร์ดต่อขยายใช้งานเป็น LoRaWAN gateway อะไรบ้าง เลยอยากจะลองรวบรวมและเขียนเป็นภาษาไทยดูบ้าง ขอเน้นเฉพาะที่ใช้ต่อกับ Raspberry Pi นะครับ<br />
<br />
Tindie มี <a href="https://www.tindie.com/products/will123321/sx1308-raspberry-pi-lora-gateway-board/" target="_blank">SX1308 Raspberry Pi LoRa Gateway Board</a> โดย Will Whang's Electronics (ดูเหมือนเว็บ Hackster จะไม่ค่อยพาดพิง Tindie ซึ่งอยู่ในเครือ Hackaday)<br />
<br />
Arduino ก็ทำ <a href="https://blog.arduino.cc/2018/11/14/arduino-pro-gateway-for-lora-now-available-for-pre-order/" rel="nofollow" target="_blank">Arduino PRO Gateway for LoRa</a> เป็น HAT ให้ Raspberry Pi ตอนนี้เปิดพรีออร์เดอร์อยู่<br />
<br />
Pi Supply มี <a href="https://uk.pi-supply.com/products/iot-lora-gateway-hat-for-raspberry-pi">https://uk.pi-supply.com/products/iot-lora-gateway-hat-for-raspberry-pi</a> แต่ต้องให้มีคนสั่งซื้อจำนวนมากพอ จึงจะเริ่มผลิตครับ<br />
<br />
<a href="https://rakbitmall.aliexpress.com/store/group/LoRa-Module/2805180_510805217.html" rel="nofollow" target="_blank">RAK</a> มี <a href="https://www.aliexpress.com/store/product/LoraWAN-Starter-Kit-RAK831-with-Raspberry-Pi-and-WisNode-LoRa-SX1301-Chip-433-868-915MHz-Wireless/2805180_32839320324.html">https://www.aliexpress.com/store/product/LoraWAN-Starter-Kit-RAK831-with-Raspberry-Pi-and-WisNode-LoRa-SX1301-Chip-433-868-915MHz-Wireless/2805180_32839320324.html</a> ราคาแล้วแต่ว่าจะหยิบอะไรลงตะกร้าบ้าง<br />
<br />
Seeed มีขาย <a href="https://www.seeedstudio.com/LoRa-LoRaWAN-Gateway-915MHz-for-Raspberry-Pi-3-p-2821.html">https://www.seeedstudio.com/LoRa-LoRaWAN-Gateway-915MHz-for-Raspberry-Pi-3-p-2821.html</a> ราคาอาจจะแพงไปนิดนะผมว่า<br />
<br />
ของไทย มี <a href="https://twitter.com/micro4you/status/1067587332637777921" rel="nofollow" target="_blank">Micro4You</a> กำลังทำออกขายเหมือนกัน ใช้ของ RAK อันที่จริงก่อนหน้านี้เคยขายผ่าน Tindie เหมือนกัน แต่หยุดจำหน่ายแล้ว<br />
<br />
ส่วนบอร์ดที่ใช้ชิป ic880a ดูๆ แล้วมันไม่น่าใช้ความถี่ในไทย 923MHz ได้ ขอข้ามไปนะครับ<br />
<div>
<br /></div>
ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-26529947543692486392018-11-15T20:49:00.001+07:002018-11-15T20:49:19.718+07:00Raspberry Pi 3 Model A+ มาแล้ว <div style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 6px;">
คอมพิวเตอร์จิ๋วใหม่ Raspberry Pi 3 Model A+ มาแล้ว ใช้ชิป ARM Cortex-A53 (64-bit) ความเร็ว 1.4GHz มีกระดองโลหะหุ้ม แรม 512MB มี Wi-Fi คลื่น 5GHz </div>
<div style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 6px;">
<br /></div>
<div style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 6px;">
ราคา 25 ดอลลาร์ จะว่าไปก็คล้าย ๆ <a href="https://ultimateohm.blogspot.com/2018/03/raspberry-pi-3-model-b.html" target="_blank">Raspberry Pi 3 Model B+</a> ที่ขนาดเล็กลงมาหน่อย (แต่ก็ยังใหญ่กว่า Raspberry Pi Zero) และไม่มี Ethernet และมี USB ช่องเดียวเพราะไม่มีชิปที่ทำหน้าที่เป็น Ethernet และ USB hub นั้นเอง แต่นั้นก็เป็นไปได้ที่จะต่อใช้งานเป็น USB device</div>
<div style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 6px;">
<br /></div>
<div style="background-color: white; margin-bottom: 6px;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/_9ksicvynAE/0.jpg" src="https://www.youtube.com/embed/_9ksicvynAE?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<div style="background-color: white; margin-bottom: 6px;">
<span style="color: #1d2129; font-family: Helvetica, Arial, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 16px; margin-bottom: 6px;">
ที่มา <a href="https://www.raspberrypi.org/blog/new-product-raspberry-pi-3-model-a/">https://www.raspberrypi.org/blog/new-product-raspberry-pi-3-model-a/</a></div>
ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-67511420951140944512018-07-01T22:07:00.000+07:002018-07-01T22:07:04.504+07:00ใช้ Google AIY Kit กับ Raspberry Piต่อจากการ<a href="https://ultimateohm.blogspot.com/2018/01/google-aiy-raspberry-pi.html" target="_blank">แกะกล่อง Google AIY Kit</a> ก็มาทำการติดตั้งเพื่อใช้งาน (ดองบล็อกมานานเลยเรา) ขั้นแรกก็ต้องประกอบมันเข้ากับ Raspberry Pi ซึ่งในคู่มือที่มาพร้อมกับ AIY มีภาพประกอบค่อนข้างละเอียด ดูในนั้นได้เลยครับ โดยเมื่อประกอบเสร็จแล้วจะได้<br />
<br />
จากนั้นก็มาเตรียมระบบปฏิบัติการ ดาวน์โหลดที่ <a href="https://dl.google.com/dl/aiyprojects/aiyprojects-latest.img.xz" rel="nofollow" target="_blank">https://dl.google.com/dl/aiyprojects/aiyprojects-latest.img.xz</a> จะได้ image ล่าสุด (ของผมในตอนที่ดาวน์โหลดนั้นได้ไฟล์เป็น aiyprojects-2018-04-13.img.xz) ซึ่งมีโปรแกรมที่ต้องใช้ในการรับคำสั่งเสียงมาให้ในตัวอยู่แล้ว ก็แตกไฟล์ออกด้วยคำสั่ง unxz (ติดตั้งโดย <i>sudo apt-get install xz-utils</i>) จะได้ไฟล์ img แล้วก็เขียนลง SD card ซึ่งอาจใช้โปรแกรม <a href="https://poundxi.com/%E0%B8%AA%E0%B8%AD%E0%B8%99%E0%B8%95%E0%B8%B4%E0%B8%94%E0%B8%95%E0%B8%B1%E0%B9%89%E0%B8%87-raspbian-os-%E0%B8%A5%E0%B8%87%E0%B8%9A%E0%B8%99-micro-sd-card-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2%E0%B9%82%E0%B8%9B%E0%B8%A3%E0%B9%81%E0%B8%81%E0%B8%A3%E0%B8%A1-etcher" target="_blank">Etcher</a> มาช่วยเขียนได้ เมื่อได้ SD card ที่มีระบบปฏิบัติการแล้ว ขอให้ใช้ adaptor ที่จ่ายกำลังไฟสูงๆ สัก 2A (กับ 5v) ขึ้นไปนะครับ เพราะเรามีบอร์ด AIY มาขอพ่วงใช้ไฟฟ้าด้วย งานนี้ผมใช้ขนาด 3A ครับ<br />
<br />
แล้วก็เข้าใช้งาน RPi ผ่านทาง SSH ไปก่อนครับ username:password ยังคงเป็น pi:raspberry โดยผมสแกนหา IP address ของตัว RPi ด้วยคำสั่ง <a href="https://www.thaicert.or.th/papers/technical/2013/pa2013te001.html" target="_blank">nmap</a> จากนั้นก็สั่ง <i>raspi-config</i> เพื่อไปสั่งยืดขนาดให้ใช้พื้นที่ของ SD card ได้เต็มใบที่ <a href="https://www.rockdevper.com/2015/12/26/%E0%B8%A1%E0%B8%B2%E0%B9%80%E0%B8%A3%E0%B8%B4%E0%B9%88%E0%B8%A1%E0%B8%95%E0%B9%89%E0%B8%99%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%99%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5/" target="_blank">Expand Filesystem</a> นอกจากนี้ยังมีให้ใส่รหัสเข้า Wi-Fi ของที่บ้านก็ทำได้ตามสะดวก จากนั้นแนะนำให้ติดตั้ง remote desktop ด้วยคำสั่ง <a href="https://medium.com/sathittham/rpi-%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99-raspberry-pi-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5-remote-desktop-rdp-%E0%B8%97%E0%B8%B1%E0%B9%89%E0%B8%87-5-%E0%B9%81%E0%B8%9E%E0%B8%A5%E0%B8%95%E0%B8%9F%E0%B8%AD%E0%B8%A3%E0%B9%8C%E0%B8%A1-7d9540afd886" target="_blank"><i>sudo apt-get install xrdp</i></a> ที่ RPi ไปด้วย จะได้ใช้งานผ่านโปรแกรมพวก remote desktop ได้ง่ายๆ ซึ่งผมใช้วิธีนี้<br />
<br />
เมื่อเข้าไปที่ desktop ของ RPi จะมีไอค่อนที่ desktop เพื่อทดสอบระบบเบื้องต้นว่า ลำโพง ไมโครโฟนของเราทำงานได้ไหม ต่อ Wi-Fi ได้ไหม มีไฟล์ client ID จาก Google ไหม ซึ่งน่าจะยังไม่มีครับ <br />
<br />
ดังนั้นเราต้องดาวน์โหลดไฟล์ client ID ซึ่งเป็น JSON เพื่อมาใช้งาน เข้าไปที่หน้าเว็บ Google Cloud ซึ่งก็คือ <a href="https://cloud.google.com/">https://cloud.google.com/</a> ครับ login ด้วยบัญชี Google ที่เรามี (ถ้ายังไม่มีก็<a href="https://th.wikihow.com/%E0%B8%AA%E0%B8%A1%E0%B8%B1%E0%B8%84%E0%B8%A3-Google-Account" target="_blank">สร้างบัญชี Google</a> ขึ้นมาใหม่) เมื่อเข้าไปได้แล้วก็ให้เลือก New Project แล้วตั้งชื่อ project ของเราครับ<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOwkcRZwKsid64_C0rWG60EgbEJNMeKrRzxeF3E9XB_mjYCWT3dbHOCIpejZM70At4T6nmaYtK64Sej3qZadO9Hh8-zl99dyRWeK5Z0cGi0-qI6TaKRsHCS9mv_TFNQx19gfN_sscWc27g/s1600/IMG_20180617_193158.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="562" data-original-width="563" height="319" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOwkcRZwKsid64_C0rWG60EgbEJNMeKrRzxeF3E9XB_mjYCWT3dbHOCIpejZM70At4T6nmaYtK64Sej3qZadO9Hh8-zl99dyRWeK5Z0cGi0-qI6TaKRsHCS9mv_TFNQx19gfN_sscWc27g/s320/IMG_20180617_193158.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
จากนั้นกดที่ปุ่มสามขีดด้านซ้ายบน (บางทีมันถูกเรียกว่าปุ่มแฮมเบอร์เกอร์) ไปที่ APIs & Services -> Dashboard อ้อ ตรง drop-down list ต้องเป็นชื่อโปรเจคที่เราจะทำด้วยนะครับ เผื่อใครมีหลายโปรเจค </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRMENhveq8YirondQyfFGN323plID8ReXmH9InYjLxFzXA4f8voLEWIc9rJopctrLqwB3rBpluXPuQNxhFPSYk1q9uyWYaRsyvtOtKXTrQWl3I2OUgTaGdhzOM88KdBfOPXpq5A_HQXOeU/s1600/IMG_20180617_192423.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="487" data-original-width="488" height="319" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRMENhveq8YirondQyfFGN323plID8ReXmH9InYjLxFzXA4f8voLEWIc9rJopctrLqwB3rBpluXPuQNxhFPSYk1q9uyWYaRsyvtOtKXTrQWl3I2OUgTaGdhzOM88KdBfOPXpq5A_HQXOeU/s320/IMG_20180617_192423.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
จากนั้นที่ช่องค้นหา กรอกคำว่า embedded assistant เพื่อให้เจอ Google Assistant API </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigocDZYa-57NuJExjJcnP-PjwANCDEKOtQyBpjH046sXZH7fRHH9JLup21aO8NCSLm-_0r2DLZtEHrWoUP_BcDAKbw_T-91NnQlmI2ZrLdgAzSJk64UjlrVNMgQ_QG0EjZXmVYkw_6I965/s1600/IMG_20180617_192615.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="494" data-original-width="495" height="319" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigocDZYa-57NuJExjJcnP-PjwANCDEKOtQyBpjH046sXZH7fRHH9JLup21aO8NCSLm-_0r2DLZtEHrWoUP_BcDAKbw_T-91NnQlmI2ZrLdgAzSJk64UjlrVNMgQ_QG0EjZXmVYkw_6I965/s320/IMG_20180617_192615.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
ต่อมาก็กดเลือกและ enable เปิดการใช้งานครับ</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUZIA75SK9blsXpE7w7oYX5CAst22ko2my3e1u4d0T4y0c0AnidlYMs0x91A5rbrhNnZVBEjQPOHvd7sIK1CU7wXfsGOfQ4xga6rJC3KSf53tgiophL57jTDwQ_HtCm_SXZIwB94biYXiY/s1600/IMG_20180617_192738.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="471" data-original-width="472" height="319" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUZIA75SK9blsXpE7w7oYX5CAst22ko2my3e1u4d0T4y0c0AnidlYMs0x91A5rbrhNnZVBEjQPOHvd7sIK1CU7wXfsGOfQ4xga6rJC3KSf53tgiophL57jTDwQ_HtCm_SXZIwB94biYXiY/s320/IMG_20180617_192738.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
ขั้นต่อไปมันจะพาไปที่หน้า credentials กดสร้าง credentials เลือก Google Assistant API, Other UI และ User data ตามรูปครับ แล้วกดปุ่มน้ำเงินครับ<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1wY_tan-w67KaeXrgbp-XgV4Rhbm-Xyugdrux8g9CIF4WjG0URzhqG346CIcvCn67dQ5r1q0eJrKoQ_rxSskBMZauly7ysK2Sz6LyZamHTM9Khi3DHhHasWOr3Ss-fo3jDdC9VYliAU44/s1600/IMG_20180617_192924.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="751" data-original-width="753" height="319" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1wY_tan-w67KaeXrgbp-XgV4Rhbm-Xyugdrux8g9CIF4WjG0URzhqG346CIcvCn67dQ5r1q0eJrKoQ_rxSskBMZauly7ysK2Sz6LyZamHTM9Khi3DHhHasWOr3Ss-fo3jDdC9VYliAU44/s320/IMG_20180617_192924.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
จากนั้นก็สร้าง Client ID ง่ายๆ ก็ ชื่อเหมือนโปรเจคครับ จากนั้นจะมีให้กรอกรายละเอียดต่างๆ เช่น e-mail, Product ID เมื่อกรอกครบ ขั้นตอนสุดท้าย จะมีไฟล์ .json ให้ download ครับ<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDnDKcjb0UyRPGycWQB5ti5lxCzALLgcjU5ArsUrPN47nHejazEmM-uq_t-Rjh-PG3uSQsy6vtrPi7WRnG_Pif2ya3OkmB5nTvssFaLPmhvmS15PBAw0eb_-T4Laak__jJvJOB3U-cS_KY/s1600/IMG_20180617_193105.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="768" data-original-width="769" height="319" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDnDKcjb0UyRPGycWQB5ti5lxCzALLgcjU5ArsUrPN47nHejazEmM-uq_t-Rjh-PG3uSQsy6vtrPi7WRnG_Pif2ya3OkmB5nTvssFaLPmhvmS15PBAw0eb_-T4Laak__jJvJOB3U-cS_KY/s320/IMG_20180617_193105.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br /><div class="separator" style="clear: both; text-align: center;">
<br /></div>
ไฟล์ json ที่ได้มาแล้วนั้น ให้เปลี่ยนชื่อเป็น assistant.json แล้วไปวางไว้ที่ /home/pi ของ Pi ผมใช้งานผ่าน Ubuntu PC เลยใช้คำสั่ง scp จาก PC ได้เลย จากนั้นที่ Pi ไปที่ /home/pi/AIY-voice-kit-python/src/examples/voice แล้วก็เรียกใช้โปรแกรม ./assistant_grpc_demo.py ครับ ซึ่งการเรียกใช้งานครั้งแรกจะมีให้ยืนยันการใช้ credential นั้น โดยต้องเปิด link ที่โปรแกรมแสดงออกมา<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
แต่เนื่องจากผมใช้ผ่าน desktop ของ Pi ผลคือมันจะเปิด web browser ตาม link นั้นให้เลย ไม่ต้อง copy link ดังกล่าวไปเปิดเอง ก็ให้ login บัญชี Google ของเราตามในหน้าเว็บนั้น แล้ว Allow คืออนุญาตให้ใช้งาน<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihgdlGkAkaYn22pe1fIKTagq58oRniP_5ikMhmSUnF1UX3X-Ydz3SXOf3ekaKD-Q8yx6paWVb_74zMQvMOn7cXqd2FBsopvCi4cilg_XBFjYwjqqj61BBZLz5Xz-piwyHKaU-O47Y-knre/s1600/IMG_20180617_193556.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="767" data-original-width="770" height="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihgdlGkAkaYn22pe1fIKTagq58oRniP_5ikMhmSUnF1UX3X-Ydz3SXOf3ekaKD-Q8yx6paWVb_74zMQvMOn7cXqd2FBsopvCi4cilg_XBFjYwjqqj61BBZLz5Xz-piwyHKaU-O47Y-knre/s320/IMG_20180617_193556.png" width="320" /></a></div>
<br />
ถึงตอนนี้เมื่อเรียกใช้งาน ./assistant_grpc_demo.py ครั้งต่อ ๆ ไป ก็ควรจะใช้งานได้ด้วยเสียงแล้วครับ<br />
ถ้าต้องการเพิ่มการรับคำสั่งเสียงให้ shut down คัดลอกไฟล์ assistant_grpc_demo.py ไปยังชื่อใหม่ main.py (หลังจากนี้จะใช้ main.py แทนแล้วนะครับ) แล้วทำการแก้ไข สามารถทำได้โดยคำสั่ง<br />
<br />
<br />
<pre><i>cd /home/pi/AIY-projects-python/src/examples/voice
cp assistant_grpc_demo.py main.py</i></pre>
<pre><i>nano main.py</i>
</pre>
<br />
<br />
การแก้ไฟล์ main.py โดยเพิ่มข้อความตามที่ทำแทบสีเหลืองเพื่อให้มันรองรับคำสั่งเสียง power down ครับ<br />
<br />
<br />
<pre>#!/usr/bin/env python3
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""A demo of the Google Assistant GRPC recognizer."""
import logging
import aiy.assistant.grpc
import aiy.audio
import aiy.voicehat
<span style="background-color: yellow;">import subprocess</span>
logging.basicConfig(
level=logging.INFO,
format="[%(asctime)s] %(levelname)s:%(name)s:%(message)s"
)
<span style="background-color: yellow;">#Google Assistant to "Power Down"
def shutit():
subprocess.call('sudo shutdown now', shell=True)</span>
def main():
status_ui = aiy.voicehat.get_status_ui()
status_ui.status('starting')
assistant = aiy.assistant.grpc.get_assistant()
button = aiy.voicehat.get_button()
with aiy.audio.get_recorder():
while True:
status_ui.status('ready')
print('Press the button and speak')
button.wait_for_press()
status_ui.status('listening')
print('Listening...')
text, audio = assistant.recognize()
if text:
if text == 'goodbye':
status_ui.status('stopping')
print('Bye!')
break
<span style="background-color: yellow;"> if text == 'power down':
aiy.audio.say('Shutting Down!')
shutit()</span>
print('You said "', text, '"')
if audio:
aiy.audio.play_audio(audio, assistant.get_volume())
if __name__ == '__main__':
main()</pre>
<br />
<br />
<br />
ซึ่งก็คือเมื่อรับเสียงที่เป็นคำว่า power down ก็เรียกคำสั่งเชลล์ให้ปิดเครื่องเลยนั้นเอง และมีการส่งเสียงตอบกลับมาด้วย<br />
<br />
ถ้าจะเพิ่มความสามารถให้มันทำงานได้ตั้งแต่ตอนบูตขึ้นมาเลย โดยเราจะเรียกใช้จากไฟล์ main.py นั้น ก็ให้เพิ่มไฟล์ /etc/systemd/system/assist.service เช่นใช้คำสั่ง <i>sudo nano /etc/systemd/system/assist.service </i>ให้มีข้อความตามข้างล่างนี้ครับ <br />
<br />
<br />
<br />
<pre>[Unit]
Description=Assist @ reboot
After=sound.target
[Service]
ExecStart=/home/pi/AIY-projects-python/src/examples/voice/main.py
User=pi
Group=pi
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=assist
Environment=DISPLAY=:0
[Install]
WantedBy=multi-user.target
</pre>
<br />
<br />
จากนั้นก็เปิดใช้งาน ด้วยคำสั่ง<br />
<br />
<i>sudo systemctl enable assist.service </i><br />
<i>sudo systemctl start assist.service</i><br />
<br />
<br />
<br />
คลิปเมื่อทดลองใช้งานครับ<br />
<a href="https://www.youtube.com/watch?v=HxklMHURVxM">https://www.youtube.com/watch?v=HxklMHURVxM</a><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/HxklMHURVxM/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/HxklMHURVxM?feature=player_embedded" width="320"></iframe></div>
<br />
<br />
ได้แนวทางจาก<br />
<a href="https://aiyprojects.withgoogle.com/voice">https://aiyprojects.withgoogle.com/voice</a> <br />
<a href="https://www.raspberrypi.org/forums/viewtopic.php?t=200460">https://www.raspberrypi.org/forums/viewtopic.php?t=200460</a><br />
<a href="https://metrocoder.com/google-assistant-shutdown">https://metrocoder.com/google-assistant-shutdown</a><br />
<a href="https://gist.github.com/t1m0thyj/91d525aae9fa885f67b453cedf963d42">https://gist.github.com/t1m0thyj/91d525aae9fa885f67b453cedf963d42</a><br />
<a href="https://unix.stackexchange.com/questions/250629/systemd-not-playing-a-sound">https://unix.stackexchange.com/questions/250629/systemd-not-playing-a-sound</a><br />
<a href="https://medium.com/@flame.zaxaou/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%80%E0%B8%9B%E0%B8%B4%E0%B8%94%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99-cloud-speech-api-6b7a05c72752">https://medium.com/@flame.zaxaou/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%80%E0%B8%9B%E0%B8%B4%E0%B8%94%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99-cloud-speech-api-6b7a05c72752</a>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-3783583544772389982018-03-14T15:12:00.001+07:002018-03-22T21:46:56.410+07:00บอร์ดใหม่ Raspberry Pi 3 Model B+ มาแล้ว <p dir="ltr">บอร์ดใหม่ Raspberry Pi 3 Model B+ มาแล้ว ขยับจาก Model B ไม่มี + โดยคราวนี้ชิปได้สัญญาณนาฬิกาเร็ว 1.4GHz (Model B เร็ว 1.2GHz) มีแผ่นโลหะบนชิป คงเอาไว้ระบายความร้อน ทางด้านการเชื่อมต่อเร็วขึ้น <u>มีทั้ง</u> Wi-Fi 802.11ac และ Gigabit Ethernet (ต่อผ่าน USB นะครับ ซึ่งเร็วได้สูงสุด 480Mbps ความเร็วเน็ตเลยอาจไม่เต็มที่ที่มันทำได้) มาพร้อมกับ PoE ด้วย ในราคาเดิม 35 ดอลลาร์ </p>
<p dir="ltr">ที่มา <a href="https://www.raspberrypi.org/blog/raspberry-pi-3-model-bplus-sale-now-35/">https://www.raspberrypi.org/blog/raspberry-pi-3-model-bplus-sale-now-35/</a><br>
</p>
ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-35554348443756599272018-02-07T22:17:00.001+07:002018-02-07T22:17:03.752+07:00Hardkernel เอามั่ง ทำบอร์ด ODROID-N1 ใช้ชิป Rockchip RK3399 แรม 4GBนอกจาก <a href="https://ultimateohm.blogspot.com/2018/02/pine64-pine-h64-rockpro64-25.html" target="_blank">RockPro64</a> ที่ใช้ชิป Rockchip RK3399 แล้ว อีกเจ้า Hardkernel ที่ทำบอร์ดคอมพิวเตอร์จิ๋วมาหลายบอร์ดแล้ว จะออกบอร์ด ODROID-N1 ใช้ชิปตัวเดียวกันนี้บ้างครับ จะมีแรมถึง 4GB เลย และมี SATA3 มาให้ 2 พอร์ต (จริงๆ RockPro64 มีพอร์ต mini PCIe อยู่แล้ว ต่อบอร์ดขยายเพิ่มให้เป็น SATA ก็ได้) ราคา 110 ดอลลาร์ แต่เข้าใจว่าอาจจะแพงกว่าน้ ขึ้นกับขนาดแรม<br />
<br />
ดูๆ แล้ว น่าเอามาทำ NAS หรือ full node จัง<br />
<br />
ที่มา <a href="http://com.odroid.com/sigong/blog/blog_list.php?bid=193">http://com.odroid.com/sigong/blog/blog_list.php?bid=193</a><br />
ผ่านทาง <a href="https://www.cnx-software.com/2018/02/06/hardkernel-unveils-odroid-n1-board-with-rockchip-rk3399-processor-4gb-ram-dual-sata-and-more/">https://www.cnx-software.com/2018/02/06/hardkernel-unveils-odroid-n1-board-with-rockchip-rk3399-processor-4gb-ram-dual-sata-and-more/</a>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-55434739588383656652018-02-04T02:08:00.001+07:002018-02-04T02:08:40.805+07:00Pine64 ออกบอร์ดใหม่ๆ มี Pine H64 และ RockPro64 เริ่มต้นที่ 25 ดอลลาร์Pine64 ผู้ผลิตบอร์ดคอมพิวเตอร์จิ๋ว และเตรียมวางขายบอร์ดรุ่น RockPro64 ใช้ชิปจาก Rockchip เหมือนกับ<a href="https://www.cnx-software.com/2017/07/16/rock64-board-review-part-1-emmc-flash-module-android-7-1-firmware-benchmarks-and-kodi/" target="_blank">บอร์ด Rock64</a> แต่ขยับมาใช้ชิป RK3399 ซึ่งมี CPU เป็น ARM Cortex-A72 ขนาดสองแกน และ Cortex-A53 ขนาดสี่แกน และมี GPU Mali-T860MP4 ขนาดสี่แกน รองรับ OpenGL ES1.1/2.0/3.0 และ OpenCL 1.2 มีช่องต่อ PCIe4<br />
<br />
RockPro64 มีสามรุ่นย่อย คือขนาดแรม 2GB ราคาคาดว่าไม่เกิน 65 ดอลลาร์ รุ่นแรม 4GB ราคา 79 ดอลลาร์ สองรุ่นนี้จะมาวันที่ 15 มีนาคม และอีกรุ่น RockPro64-AI แรม 4GB แต่แตกต่างออกไปตรงที่ใช้ชิป RK3399 Pro ซึ่งมี Neural Network Processing Unit (NPU) สำหรับประมวลผลด้านปัญญาประดิษฐ์เพิ่มเข้าไป จะมาในราคา 99 ดอลลาร์ในวันที่ 1 สิงหาคม<br />
<br />
<br />
อีกบอร์ดที่ขายแล้วเมื่อวันที่ 31 มกราคมที่ผ่านมาคือ Pine H64 ใช้ชิป Allwinner H6 ซึ่ง CPU เป็นตระกูล ARM Cortex-A53 ขนาดสี่แกน แบบเดียวกับ Raspberry Pi 3 และ Rock64 ส่วน GPU เป็น Mali-T720 MP2 ขนาดสองแกน เล่นวิดีโอ 4K60 ได้และรองรับ OpenCL 1.1 มีช่องต่อ mini PCIe <br />
<br />
Pine H64 มีรุ่นย่อยที่มีแรม 1GB ซึ่งเท่ากับ Raspberry Pi มี แต่ราคาอยู่ที่ 25 ดอลลาร์ ส่วนรุ่นย่อยแรม 2GB และ 3GB ราคาอยู่ที่ 35 และ 45 ดอลลาร์ ตามลำดับ <br />
<br />
<br />
คู่แข่งของบอร์ดนี้ ก็น่าจะพิจารณาที่ <a href="https://www.overclockzone.com/article/9772-asus-tinker-board-2/">ASUS Tinker Board</a>, <a href="http://en.t-firefly.com/">FireFly</a><br />
ที่มา <a href="https://forum.pine64.org/showthread.php?tid=5614">https://forum.pine64.org/showthread.php?tid=5614</a> ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-57253230353909906922018-02-04T02:08:00.000+07:002018-02-04T02:08:37.503+07:00ใช้บัตร KTC กำลังขุด HashFlare <div dir="ltr">
<a href="https://hashflare.io/r/38E5C370" target="_blank">HashFlare</a> (link มีได้รับค่าตอบแทน) บริการขุดเหรียญดิจิทัลด้วย cloud ซึ่งถ้าจะซื้อกำลังขุดผ่านบัตรเครดิต ตอนจ่ายเงิน จะต้องกรอกเลขสี่หลักเพื่อการยืนยันการซื้อด้วย ถ้าต้องรอ statement ทางไปรษณีย์ก็รอนาน แต่ถ้าใช้บัตรเครดิต KTC กับแอพ <a href="https://play.google.com/store/apps/details?id=com.tapktc.app&hl=th" target="_blank">TapKTC</a> แล้ว เมื่อเกิดการใช้จ่าย จะมีแจ้งเตอนทันที และมาดูย้อนหลังได้ และเห็นตัวเลขสี่หลักที่ต้องกรอกในชื่อร้านค้าเลย<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmg7fTokVYl8ICwD7zIfkNx1xP4fYoe_7t8MdJ2pkFsRo4TIFd5N_WkIwSn_p5wIRFIb1zuQxmXMOflAB-Kal_PPAIYNXUhbbGzAwqwSEPUfqzSx08yUphwU3ISsmhyphenhyphen8OdnaepRFPbkYFa/s1600/IMG_20180130_171423.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmg7fTokVYl8ICwD7zIfkNx1xP4fYoe_7t8MdJ2pkFsRo4TIFd5N_WkIwSn_p5wIRFIb1zuQxmXMOflAB-Kal_PPAIYNXUhbbGzAwqwSEPUfqzSx08yUphwU3ISsmhyphenhyphen8OdnaepRFPbkYFa/s320/IMG_20180130_171423.png" width="180" /></a></div>
<br />
<br />
เคยทดลองกับบัตร UOB ไม่มีแจ้งเตือนแบบนี้ ซึ่งจะว่าไปเมื่อมีการแจ้งเตือน ก็รู้สึกปลอดภัยกับการใช้บัตรเครดิตเพื่อใช้จ่ายในเรื่องอื่นๆ เหมือนกัน </div>
ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-35756353019168394702018-02-03T18:45:00.000+07:002018-02-03T18:48:10.125+07:00Yamaha เปลี่ยนนักเต้น ให้เป็นนักเปียโน ด้วย AI <div dir="ltr">
ไปเจอข่าวว่า Yamaha ใช้ AI เปลี่ยนการร่ายรำของนักเต้นด้วย AI ให้เป็นการเล่นเปียโน (<a href="https://www.yamaha.com/en/news_release/2018/18013101/">https://www.yamaha.com/en/news_release/2018/18013101/</a>) โดยที่นักเต้นได้รับการติดตั้งเซนเซอร์จับการเคลื่อนไหวที่แผ่นหลัง แล้วสัญญาณจากเซ็นเซอร์นั้นส่งเข้า AI เพื่อตีความออกมาเป็น MIDI เพื่อส่งให้เปียโนเล่น <br />
<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/tLFe2AzCodk/0.jpg" src="https://www.youtube.com/embed/tLFe2AzCodk?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<br /></div>
<div dir="ltr">
https://youtu.be/tLFe2AzCodk<br />
<br /></div>
<div dir="ltr">
ไม่แน่ใจว่า ตัว <a href="https://ultimateohm.wordpress.com/2017/07/15/quick-dirty-magenta-generating-musics-docker/" target="_blank">AI ใช้วิธีเรียนรู้</a> (supervised) ท่าเต้นไปพร้อมกับเพลง เมื่อเรียนรู้เสร็จก็ได้เวลาแสดงจริง ก็ส่งสัญญาณท่าเต้นไป แล้ว AI ก็จะเขียนเพลงออกมาเป็น MIDI ส่งให้เปียโนเล่น จะเป็นแบบนี้ไหม ในข่าวบอกว่ามีใช้ piano touch น่าจะหมายถึงรองรับการตอบสนองเมื่อกดเบาหนัก (velocity sensitive) ด้วย (อันที่จริงชื่อเดิมของ piano คือ piano et forte โดย piano แปลว่าเบา forte แปลว่าหนัก) <br />
<br /></div>
<div dir="ltr">
น่าคิดต่อนะครับว่า ถ้าจะนำศิลปะแนวอื่นๆ เช่น การวาดรูป ไปเล่นเปียโนบ้างได้ไหม </div>
ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-75984989570325824662018-02-03T16:53:00.000+07:002018-02-03T16:53:25.001+07:00เก็บตกจาก Maker Faire Bangkok 2018 เจอ AIS NB-IoT, ASUS Tinker BoardMaker Faire Bangkok 2018 เมื่อวันที่ 20-21 ที่ผ่านมา ผมไปวันที่ 20 นอกจากผมจะได้ซื้อ <a href="https://ultimateohm.blogspot.com/2018/01/google-aiy-raspberry-pi.html" target="_blank">Google AIY Kit</a> กลับมา ก็ไปเจอสิ่งที่น่าสนใจ เอามาเขียน (หยุดดอง) บล็อก<br />
<br />
<br />
ไปเจอ <a href="https://twitter.com/ohmohm/status/954916935279366145" target="_blank">AIS NB-IoT</a> เป็นบริการเน็ต NB-IoT สำหรับอุปกรณ์ IoT มีโมดูลขายด้วย ติดต่อผ่านทาง serial port ราคาสองพันมีทอน และได้เน็ตไว้ใช้หนึ่งปี จากนั้นเน็ตวันละบาท<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVZ74M76uK7pETHj3e1E_SfzZgJyU1RWofKowylp1FTIUZdZYtYTezeoxVbhjPWx0gks1a0LO2AJAL4bfG8TAR4VSptnVXsT-CU1BE3NUK9m1QgRwSQk1mFRE0Zp3CFRx5UyLvLSxq4AvE/s1600/IMG_20180201_003253.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1417" data-original-width="1600" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVZ74M76uK7pETHj3e1E_SfzZgJyU1RWofKowylp1FTIUZdZYtYTezeoxVbhjPWx0gks1a0LO2AJAL4bfG8TAR4VSptnVXsT-CU1BE3NUK9m1QgRwSQk1mFRE0Zp3CFRx5UyLvLSxq4AvE/s320/IMG_20180201_003253.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
โมดูลมีทั้งที่เป็นแบบ Arduino Shield มีแบบที่คล้ายๆ หัวต่อ ZigBee และแบบที่คล้ายๆ Mini PCIe</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoKSpYxdPlhpnNqHh-YFng290yixd7Wx8CfzND59JntJ6-JCx7cA9CtWkqQ1vJHCJ7LAgJQ-m3wgN7MudNp-Phu5UIOCXHBJOqO_T7Y4LC1UMAb0rFeJ6_Bglyc1OtqyhWOHHZe2ysQrMr/s1600/IMG_20180120_181554.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoKSpYxdPlhpnNqHh-YFng290yixd7Wx8CfzND59JntJ6-JCx7cA9CtWkqQ1vJHCJ7LAgJQ-m3wgN7MudNp-Phu5UIOCXHBJOqO_T7Y4LC1UMAb0rFeJ6_Bglyc1OtqyhWOHHZe2ysQrMr/s320/IMG_20180120_181554.jpg" width="320" /></a></div>
ต่อมาก็ไปเจอ ASUS Tinker Board แรม 2 GiB ราคาขายถ้าจำไม่ผิด 2,7xx ราคาขนาดนี้ ถ้าเกินไปอีกหน่อยก็อาจต้องแข่งกับพวก NUC อยู่เหมือนกัน รู้สึกว่าชิปจะเป็นแบบ ARMv7 ยังเป็น 32-bit อยู่นะครับ (Raspberry Pi 3 เป็น ARMv8 64-bit) คอมพิวเตอร์จิ๋วอื่นๆ ก็มีเช่น <a href="https://twitter.com/ohmohm/status/954953153606123520" target="_blank">Ovec Pi</a> จากสำนักงานฯ อาชีวะศึกษา<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimGQs7TZd_iW00-L2zgEK7eAfJnEKw8mhz1twoUTmIw8ycpbqWJvM0F0J-D9SAbLelBpcm2E3jETNVDLd0ObWKpNGxH6uTK7XwhZlp-OwYJBBlSz_nox0Efwysflc_cSbwTZbEXQ89VRk2/s1600/IMG_20180120_172248.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimGQs7TZd_iW00-L2zgEK7eAfJnEKw8mhz1twoUTmIw8ycpbqWJvM0F0J-D9SAbLelBpcm2E3jETNVDLd0ObWKpNGxH6uTK7XwhZlp-OwYJBBlSz_nox0Efwysflc_cSbwTZbEXQ89VRk2/s320/IMG_20180120_172248.jpg" width="320" /></a></div>
<br />
<br />
<br />
<br />ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-65247358930036661642018-01-28T00:13:00.000+07:002018-01-28T00:13:28.987+07:00แกะกล่อง Google AIY ใช้กับ Raspberry Pi สร้างผู้ช่วยด้วยลำโพงไปงาน Maker Faire Bangkok 2018 มา ในงานมีขายชุดคิท Google AIY ไว้ต่อกับ Raspberry Pi 3 เพื่อทำ Assistant น่าจะเรียกได้ว่าเป็นลำโพงอัจฉริยะกลายๆ<br />
<br />
จ่ายไป 1,500 บาท ได้มาหนึ่งกล่อง <br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD-LW7eQuBku3OwtcksPQ6ijdOuLHdG4Npl7PazUMstKVFWi9C6gU9b6CzDZw4Z3vEj9dqu3dvyy0oTaD1GloO9UZ4I076hVwY3YGr1K4uiqRMZddN0k4kPxQjTJZHMeL_HLVN8umtcO3o/s1600/IMG_20180122_075916.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD-LW7eQuBku3OwtcksPQ6ijdOuLHdG4Npl7PazUMstKVFWi9C6gU9b6CzDZw4Z3vEj9dqu3dvyy0oTaD1GloO9UZ4I076hVwY3YGr1K4uiqRMZddN0k4kPxQjTJZHMeL_HLVN8umtcO3o/s320/IMG_20180122_075916.jpg" width="320" /></a></div>
<br />
เอากล่องขาวๆ ส่วนที่ห่อหุ้มออก เหลือแต่ที่เป็นกระดาษลัง<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgboupsmin8qoidYSFTbKlSc01_qe6LWTMOf_M54gOWNobzuKeK5ejD95tUNtaEN3xqNzYqWhbL7ehXxS31j7CKb8TJWYFuow3ijGC6qBORzq0EYYc2eukzp8sc_7Wruvq8SyV_aA0Nmtbv/s1600/IMG_20180122_080011.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgboupsmin8qoidYSFTbKlSc01_qe6LWTMOf_M54gOWNobzuKeK5ejD95tUNtaEN3xqNzYqWhbL7ehXxS31j7CKb8TJWYFuow3ijGC6qBORzq0EYYc2eukzp8sc_7Wruvq8SyV_aA0Nmtbv/s320/IMG_20180122_080011.jpg" width="320" /></a></div>
<br />
ข้างใน มีคู่มือ อ่านดูคร่าวๆ แล้ว เป็นการอธิบายการประกอบ มีภาพประกอบ ละเอียดจนอ่านไม่ครบเลย<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6UeJ7Ucjo0fAshcAY0HL6u_LDGpn0bj0kYJXJd8SHLpvOprsSjj1bSC_WvAoS1DxMoW5Kf-vppVQV3Q3eUMD8rUOC2zK2UfzRUT68EyV7kmxByDCZbaALZPgXo9qU9luttpXyp2qb_llq/s1600/IMG_20180122_080103.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6UeJ7Ucjo0fAshcAY0HL6u_LDGpn0bj0kYJXJd8SHLpvOprsSjj1bSC_WvAoS1DxMoW5Kf-vppVQV3Q3eUMD8rUOC2zK2UfzRUT68EyV7kmxByDCZbaALZPgXo9qU9luttpXyp2qb_llq/s320/IMG_20180122_080103.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
เอาคู่มือออก เจอลังกระดาษที่เราจะใช้ทำกล่องใส่ลำโพงของเรา และแน่นอน ลำโพง<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAkBWWFlMmjm-444WAD3jaYjIW4gb_cTAac4rjMXRwUTeZL-SKc7b-T4tKw6Reln41Ja0maVNJd8_8mM4jaLKSw0FNuR-x15T5RBUs6sPqA8OzbovGZK5X7ewJ_BGsgP9EXQaQDGK8DRGg/s1600/IMG_20180122_080140.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAkBWWFlMmjm-444WAD3jaYjIW4gb_cTAac4rjMXRwUTeZL-SKc7b-T4tKw6Reln41Ja0maVNJd8_8mM4jaLKSw0FNuR-x15T5RBUs6sPqA8OzbovGZK5X7ewJ_BGsgP9EXQaQDGK8DRGg/s320/IMG_20180122_080140.jpg" width="320" /></a></div>
<br />
ดูว่า ข้างในมีอะไรบ้าง<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3jXCHUsL6oP4vZ4ckwwq1myf-lAUWPC6h_5P9uwpw_6iu_f3cBT78zcyGJ_hPZGij1N-Ek-jzyXbBINDN1WvH6E3Da6B2QI0oG8DKzo9xT3YRJ2bWT3rVHjcB971h0XVC59Z2w4e8BXwu/s1600/IMG_20180122_080158.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3jXCHUsL6oP4vZ4ckwwq1myf-lAUWPC6h_5P9uwpw_6iu_f3cBT78zcyGJ_hPZGij1N-Ek-jzyXbBINDN1WvH6E3Da6B2QI0oG8DKzo9xT3YRJ2bWT3rVHjcB971h0XVC59Z2w4e8BXwu/s320/IMG_20180122_080158.jpg" width="320" /></a></div>
<br />
เดี๋ยวต้องอ่านคู่มือให้ละเอียดก่อนประกอบ<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTCrrnnKWgMKWT9ALS6BLyt9XAvvUBbFCEVR2yMqN3VAm3DCO7A3ro9KQgZsl2ffx8PY9THuCLVUwfaA9XtjoR5R1If39jpvvbGzEfkZrdaQS8lQnzYfW3BlTjOjfEmYi4EH9H5g0_Mt5I/s1600/IMG_20180122_080230.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTCrrnnKWgMKWT9ALS6BLyt9XAvvUBbFCEVR2yMqN3VAm3DCO7A3ro9KQgZsl2ffx8PY9THuCLVUwfaA9XtjoR5R1If39jpvvbGzEfkZrdaQS8lQnzYfW3BlTjOjfEmYi4EH9H5g0_Mt5I/s320/IMG_20180122_080230.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3cLeWDxnNwi-yUVokvBGAroP1js2pfQ2fhsnHgSp3OfVQg0hK3jpjKHLKMmqg01nj9sshMCJEeSmHdTvgcu0S9V12c1I9sxB2NP0vmQwvNBey1giZHvtpy0WmhCl0EC0zxDtOHue4BFjO/s1600/IMG_20180122_080251.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3cLeWDxnNwi-yUVokvBGAroP1js2pfQ2fhsnHgSp3OfVQg0hK3jpjKHLKMmqg01nj9sshMCJEeSmHdTvgcu0S9V12c1I9sxB2NP0vmQwvNBey1giZHvtpy0WmhCl0EC0zxDtOHue4BFjO/s320/IMG_20180122_080251.jpg" width="320" /></a></div>
<br />
ปุ่มกด แบบตู้เกม แผงวงจรมีสองแผง แผงหนึ่งต่อกับ HAT กับ Raspberry Pi อีกแผงรูู้สึกจะเป็นไมโครโฟน<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijOMpkXxj0fRL0dPYnvjhkQdyryYbcKtcHXxo9kYpJOgPp7Amacps_OmN86DXTVVD7PQc5aGK1sJIS0ODayUL8T3jCxuMwVbhJ3yA45LtwomE-ACkIPjfmTayVIsuLvZ6qVUSWrmkf_dxs/s1600/IMG_20180122_080355.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1200" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijOMpkXxj0fRL0dPYnvjhkQdyryYbcKtcHXxo9kYpJOgPp7Amacps_OmN86DXTVVD7PQc5aGK1sJIS0ODayUL8T3jCxuMwVbhJ3yA45LtwomE-ACkIPjfmTayVIsuLvZ6qVUSWrmkf_dxs/s320/IMG_20180122_080355.jpg" width="240" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMnQXYr_Pg01SJngXHP2ElT1urimuz3AP0Bo95OEmSmF0OQcAnvWfB8gJ94rQWY8dt2FPG44NOTeqxHWNKK9sbYbI8L2NGVJPFTPAqD2sPuU_X73OkPxXDY44lRgVyZLZp7XhFjQ5d08l_/s1600/IMG_20180122_080418.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMnQXYr_Pg01SJngXHP2ElT1urimuz3AP0Bo95OEmSmF0OQcAnvWfB8gJ94rQWY8dt2FPG44NOTeqxHWNKK9sbYbI8L2NGVJPFTPAqD2sPuU_X73OkPxXDY44lRgVyZLZp7XhFjQ5d08l_/s320/IMG_20180122_080418.jpg" width="320" /></a></div>
<br />ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-89569845138492772212018-01-06T17:20:00.000+07:002018-01-06T17:35:27.759+07:00ขุดเหรียญ Monero ผ่าน pool ด้วย Raspberry Pi<div dir="ltr">
Monero (XMR) เป็นอีก cryptocurrency หนึ่ง สามารถขุดด้วย Raspberry Pi แต่ hash rate ก็ไม่เยอะนะครับ งานนี้จะใช้ Raspberry Pi 3 และระบบปฏิบัติการ Raspbian โดยเข้าใช้งานเป็น root คำสั่งทั้งหมดก็</div>
<div dir="ltr">
<br /></div>
<div dir="ltr">
<b>sudo -i
</b><br />
<b><br /></b>
<b>apt install autoconf libcurl4-openssl-dev libjansson-dev openssl libssl-dev gcc gawk automake git libssl1.0-dev -y
</b><br />
<br />
<b>git clone https://github.com/lucasjones/cpuminer-multi.git
</b><br />
<br />
<b>cd cpuminer-multi/
</b><br />
<b></b><br />
<br />
<b>./autogen.sh</b><br />
<b><br /></b>
<b>./configure CFLAGS="-Ofast -mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits -ffast-math" CXXFLAGS="-Ofast -mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits -ffast-math"
</b><br />
<br />
<b>make --always-make
</b><br />
<br />
<br /></div>
<div dir="ltr">
</div>
<div dir="ltr">
</div>
<div dir="ltr">
รอนานเอาเรื่องเหมือนกันนะครับ เราจะได้โปรแกรม minerd มาขุด XMR ผ่าน pool ได้ ถ้าใช้ <a href="https://minergate.com/a/0c14c35efd9f7af9a8cec203" rel="nofollow" target="_blank">MinerGate (Link ได้รับการสนับสนุน)</a> เราสามารถขุด XMR พร้อมๆ ไปกับ FCN ได้ด้วย ก็สั่ง</div>
<div dir="ltr">
<b>./minerd -a cryptonight -o stratum+tcp://fcn-xmr.pool.minergate.com:45590 -u xxxx@mmmm.com -p x</b></div>
<div dir="ltr">
<br /></div>
<div dir="ltr">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNHSrP42FvWHit1lNdbbDV91ywFHxROYYPmOfK-X3OgFQNunQ3-tCm2ly2Vy3-_229VGbywCNM1PVGImpXNUur26yO3D5q0DjdiFagFxEVFaksyTNOiuWU-KeyAnColHH0GHW5dNynccxO/s1600/rpi-monero-minerd.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="439" data-original-width="737" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNHSrP42FvWHit1lNdbbDV91ywFHxROYYPmOfK-X3OgFQNunQ3-tCm2ly2Vy3-_229VGbywCNM1PVGImpXNUur26yO3D5q0DjdiFagFxEVFaksyTNOiuWU-KeyAnColHH0GHW5dNynccxO/s320/rpi-monero-minerd.png" width="320" /></a></div>
<br />
เปลี่ยน <b>xxxx@mmmm.com</b> เป็น e-mail ที่เราสมัครกับ MinerGate ด้วยนะครับ ตามภาพนั้นยังขุดแค่ XMR อยู่ อันที่จริง <a href="https://minergate.com/altminers/cpuminer-multi-wolf" target="_blank">MinerGate รองรับหลายสกุลเงิน</a>ที่ขุดด้วย minerd อยู่เหมือนกัน หรือถ้าใช้ pool เจ้าอื่น ก็ดูคู่มือจากเจ้านั้นๆ นะครับ</div>
<div dir="ltr">
<br /></div>
<div dir="ltr">
ได้แนวทางจาก<br />
<a href="http://raspberrypi4u.blogspot.com/2017/11/raspberry-pi-bitcoin-miner-monero-xmr.html">http://raspberrypi4u.blogspot.com/2017/11/raspberry-pi-bitcoin-miner-monero-xmr.html</a></div>
<div dir="ltr">
<a href="http://awesomeprojectsxyz.blogspot.com/2017/10/tutorial-compile-and-run-as-service.html">http://awesomeprojectsxyz.blogspot.com/2017/10/tutorial-compile-and-run-as-service.html</a> </div>
<div dir="ltr">
<a href="https://www.raspberrypi.org/forums/viewtopic.php?t=195750">https://www.raspberrypi.org/forums/viewtopic.php?t=195750</a></div>
<div dir="ltr">
<br /></div>
ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-56616567467514185592017-01-06T22:35:00.001+07:002017-01-28T16:10:59.336+07:00เพาะเห็ดถั่งเช่าสีทอง ในตู้เย็น<p dir="ltr">กำลังทดลองเพาะถั่งเช่าสีทองในตู้เย็น โดยใช้เครื่องควบคุมอุณหภูมิและความชื้น อุณหภูมิก็ควบคุมโดยการเปิดปิดไฟฟ้าที่จะเข้าปลั๊กไฟของตู้เย็น ส่วนความชื้นก็ไปเปิดปิดไฟเลี้ยงเครื่องกำเนิดความชื้น และมี LED strip เพื่อกระตุ้นการเกิดดอกเห็ด</p>
<p dir="ltr">ปัญหาที่เจอ<br>
- sensor อ่านค่าความชื้น ค่าที่อ่านได้ไม่ค่อยสอดคล้องกับความเป็นจริง (น้อยกว่าค่าที่ควรจะเป็นมากๆ) เมื่อไปดูเครื่องวัดความชื้นจะอื่นที่วางไว้เพื่อเทียบกัน ได้ค่าที่น่าจะถูกต้องมากกว่า อาจเป็นเพราะเปิดตู้เย็นอย่างสนิทไปเลย แก้โดยใช้ท่อสายยางเล็กๆ ต่อลอดเข้าไปในตู้เพื่อช่วยเรื่องความชื้น<br>
- แสงไฟ LED strip ร้อนมาก คาดว่าเกิดจากตัวต้านทานที่ใช้จำกัดกระแส ทำให้สูญเสียพลังงานโดยใช่เหตุ อาจต้องใช้ LED แบบที่ใช้ตัวขับ LED driver แบบ constant current source จะได้ไม่มีการสูญเสียความร้อนแล้วส่งเข้าไปในตู้<br>
- เครื่องสร้างความชื้นด้วย ultrasonic เสียไปเลย สงสัยเป็นแบบวางลงในน้ำเองง่ายๆ เลยมีบางจังหวะที่แผ่นของมันไม่จมน้ำ</p>
<div class="separator" style="clear: both; text-align: center;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgneKKygWks8iTd34hi9r2QhQCf_7Nju7x9Serlb-gVqaLDSRiF4n9Gz6GUW8FioRyg2Q6E2hGEzMftVxXRJuRjpcjMqj6s_NVYZh-AjuOuO2Tz0siwlM00xER246OdcpO8_-MNYbZpg-0Q/s1600/IMG_20170106_222138.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"> <img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgneKKygWks8iTd34hi9r2QhQCf_7Nju7x9Serlb-gVqaLDSRiF4n9Gz6GUW8FioRyg2Q6E2hGEzMftVxXRJuRjpcjMqj6s_NVYZh-AjuOuO2Tz0siwlM00xER246OdcpO8_-MNYbZpg-0Q/s640/IMG_20170106_222138.jpg"> </a> </div>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-71578925974288258522016-07-11T23:19:00.001+07:002016-07-11T23:19:03.543+07:00ของมาอยู่ในมือแล้ว RM mini 3<p dir="ltr">สั่งซื้อ RM mini 3 และได้ของมาแล้ว ตัวมันคืออุปกรณ์ที่ทำหน้าที่แทนรีโมตคอนโทรลอินฟราเรด แต่สั่งผ่านแอพมือถือได้ ตอนนี้กำลังงมอยู่ (บล็อกนี้ งานเผานั้นเอง)</p>
<p dir="ltr">ในกล่อง มีตัวมันเอง, สาย micro USB แต่ไม่มี adapter มาให้ ต้องหาเอาเอง และคู่มือแผ่นพับ </p>
ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-54536974848815388002012-08-05T14:54:00.002+07:002012-08-05T14:56:55.070+07:00Mini Fan for Raspberry Pi<p>I buy tiny fan that should be used with SoC on Raspberry Pi. Unfortunately, it is not included heat sink and no matching power connector in board.</p>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-0KCjDp0bYl-Z83scPQ5EVzuMAHh6h79dziQrlmiPxdvoW_jNBvoLU0uzUM5MfV6q90KBlxhBDCOutD3e8XpOysKRcskcrVV5uxryQ3VzZLY0QpRnmhTSRnZXqm-LMI4t6IPHQM84Ie8i/s1600/fan-rpi-size.jpg" imageanchor="1" style="clear:left; float:left;margin-right:1em; margin-bottom:1em"><img border="0" height="240" width="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-0KCjDp0bYl-Z83scPQ5EVzuMAHh6h79dziQrlmiPxdvoW_jNBvoLU0uzUM5MfV6q90KBlxhBDCOutD3e8XpOysKRcskcrVV5uxryQ3VzZLY0QpRnmhTSRnZXqm-LMI4t6IPHQM84Ie8i/s320/fan-rpi-size.jpg" /></a>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUfTXTUhZvHqmF3R1Ds9DeuAgTbgHDmXpCegy2I22XfGzMr94xtE4ON3xZU5hX_dt3V29AUBr9kMaOXIrx1vFgwemBxM-X0D4yR2XzSEPruK0Q4Cu8VWIgRvLqKbL2FWBuAOPEcTMzpwQJ/s1600/fan-rpi-topview.jpg" imageanchor="1" style=""><img border="0" height="240" width="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUfTXTUhZvHqmF3R1Ds9DeuAgTbgHDmXpCegy2I22XfGzMr94xtE4ON3xZU5hX_dt3V29AUBr9kMaOXIrx1vFgwemBxM-X0D4yR2XzSEPruK0Q4Cu8VWIgRvLqKbL2FWBuAOPEcTMzpwQJ/s320/fan-rpi-topview.jpg" /></a>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr5Vb1AnCD04TNMoBs0z6yfmhEcFgJ-H4UnYzcAaD6gkhImyvQOGcjXSUwZgnMCS1rnI9u1PDlJ3Pqnh4s3mixhO5QYxg1LvmwvQHSKw2e3TPqiOFx-THiWC2WfWajbaRySWae6RXxFqHT/s1600/fan-rpi-height.jpg" imageanchor="1" style=""><img border="0" height="240" width="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr5Vb1AnCD04TNMoBs0z6yfmhEcFgJ-H4UnYzcAaD6gkhImyvQOGcjXSUwZgnMCS1rnI9u1PDlJ3Pqnh4s3mixhO5QYxg1LvmwvQHSKw2e3TPqiOFx-THiWC2WfWajbaRySWae6RXxFqHT/s320/fan-rpi-height.jpg" /></a>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-73712827963440138802012-08-02T23:28:00.000+07:002012-08-02T23:28:32.058+07:00Connect Bluetooth module to Raspberry Pi<object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/dZOs3-tG57M?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dZOs3-tG57M?version=3&hl=en_US" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
I try to connect Bluetooth module (not USB dongle) to Raspberry Pi's UART (Tx, Rx). Only LED on Bluetooth module blinking. It seems does not work. My PC that connects USB Bluetooth dongle sees Bluetooth device that connect to Raspberry Pi but terminal program in that PC cannot work.ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-83496170185974206202012-01-15T19:17:00.002+07:002012-01-15T19:20:45.204+07:00Speedtest TOT 3GSpeedtest TOT 3G 365 4.49/1.67Mbps seems high speed at Retro Live Cafe QSNCC.<br /><br /><img src="http://www.speedtest.net/android/126646114.png" />ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-68410369454581605232010-04-10T15:06:00.011+07:002010-04-10T22:01:26.139+07:00About SocialSpark<img alt="Socialspark_small" src="http://socialspark.com/uploads/socialspark/public/assets/1972/socialspark_small.png" /><p><em>This is a Sponsored Post written by me on behalf of <a href="http://socialspark.com/metrics/click/disclosure?slot_id=199512&url=http%3A%2F%2Fsocialspark.com" rel="nofollow">IZEA</a>. All opinions are 100% mine.</em></p><br /><a href="http://socialspark.com/metrics/click/post?slot_id=199512&url=http%3A%2F%2Fsocialspark.com" rel="nofollow">SocialSpark</a> is an opportunity site for bloggers out there to earn extra income from their site by doing blog posts for an advertisement needed by clients. It is very easy to get started with <a href="http://socialspark.com/metrics/click/post?slot_id=199512&url=http%3A%2F%2Fsocialspark.com" rel="nofollow">SocialSpark</a> as one needs to create an account as a blogger and start getting paid. Once you have <a href="http://socialspark.com/metrics/click/post?slot_id=199512&url=http%3A%2F%2Fsocialspark.com%2Fblogger_signup" rel="nofollow">Sign up for SocialSpark</a> by input your username, password, e-mail and blog url, then claim your blog by adding HTML/Javascript that provided after signing up to your blog. There are a lot of ways for you to make money. The process is as simple as claiming your blog, then complete your profile and then choose either you write reviews of the advertiser’s products and services on your blog, posts and displays advertisements to your blog and get paid per click or you can also get paid by exposing the Advertiser’s website by using different Social media or bookmarking sites like Twitter. <a href="http://socialspark.com/metrics/click/post?slot_id=199512&url=http%3A%2F%2Fsocialspark.com" rel="nofollow">SocialSpark</a> is a great income opportunity for many bloggers out there that has a very creative minds and a heart for promoting Advertiser or Sponsor’s website. If you are good, Advertisers here at <a href="http://socialspark.com/metrics/click/post?slot_id=199512&url=http%3A%2F%2Fsocialspark.com" rel="nofollow">SocialSpark</a> will give you a lot of cash sponsorship offers every day. So what else are you waiting for? Grab this money-making opportunity here at <a href="http://socialspark.com/metrics/click/post?slot_id=199512&url=http%3A%2F%2Fsocialspark.com" rel="nofollow">SocialSpark</a> and start talking about Advertisers and Sponsors right now and start getting paid.<br /><a href="http://socialspark.com/metrics/click/disclosure?slot_id=199512&url=http%3A%2F%2Fsocialspark.com" rel="nofollow"><img alt="Visit my sponsor: I Signed Up for SocialSpark!" src="http://socialspark.com/metrics/view/post?slot_id=199512&url=http%3A%2F%2Fsocialspark.com%2Fimages%2Fdisclosure_badges%2Fdisclosure_badge_grey_three.png" style="border: 0pt none ;" border="0" /></a>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-91039907486405225442009-04-08T00:15:00.002+07:002009-04-08T00:22:42.191+07:00oxigenizer<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/vVE4rEui-iU&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/vVE4rEui-iU&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-67999564993881911372009-02-07T01:02:00.003+07:002009-02-07T01:39:46.041+07:00Hyperactive cat 2<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Er-iici7xao&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Er-iici7xao&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br /><br><br />or <a href="http://www.youtube.com/watch?v=Er-iici7xao" rel="nofollow">here</a>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com2tag:blogger.com,1999:blog-4189612349823693418.post-59215181987438817292009-01-10T18:13:00.005+07:002009-01-10T18:47:24.587+07:00How to cooking pasta by microwave ovenThis is my recipe for cooking pasta ( spaghetti, spaghetti, fettuccine ... ). I did it many times. It should work.<br />1. Put pasta and salt into bowl.<br />2. then put water. If long pasta, just half submerge.<br />3. Put that bowl into microwave oven. Bake with high temperature for 2 minutes.<br />4. After finish baking, if this is long pasta, submerge to under boiled water.<br />5. Continue to bake again with high temperature for 10-12 minutes. It depends on which type of pasta. Thick pasta needs more time.<br />6. Finish. Rinse water.ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com1tag:blogger.com,1999:blog-4189612349823693418.post-71812024471588228002008-12-20T00:24:00.003+07:002009-02-07T01:30:25.265+07:00Hyperactive cat<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/GEExN7ki-9g&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GEExN7ki-9g&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br /><br><br />or <a href="http://www.youtube.com/watch?v=GEExN7ki-9g" rel="nofollow">here</a>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com1tag:blogger.com,1999:blog-4189612349823693418.post-2602658248681200792008-12-05T17:30:00.006+07:002009-02-07T01:48:58.905+07:00Uranium Ore<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO_eiv-JnrTV-QiUQpyMoRkC8swKBV5tkKAgRXkhsYmNYKooeuFiGR8Z82FQSk8CQ1x1CQUDD4N6LyHN9C4dGNj96VLZUNmFCopTwT8wBuN1JOJgwFe2XasDyRjjjZs6X-o-T45QTMY8Zo/s1600-h/41KH6M0LWJL._SL160_.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 160px; height: 120px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO_eiv-JnrTV-QiUQpyMoRkC8swKBV5tkKAgRXkhsYmNYKooeuFiGR8Z82FQSk8CQ1x1CQUDD4N6LyHN9C4dGNj96VLZUNmFCopTwT8wBuN1JOJgwFe2XasDyRjjjZs6X-o-T45QTMY8Zo/s320/41KH6M0LWJL._SL160_.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5276265917162427314" /></a><br />I discover that Amazon sells <a href="http://www.amazon.com/dp/B000796XXM">uranium</a> ore too. Interested?ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-45219985701149996012008-09-07T21:23:00.004+07:002009-02-07T01:32:24.684+07:00Thai catnip <><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/lNDxLZE2yUI&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/lNDxLZE2yUI&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object><br /><br><br />or <a href="http://www.youtube.com/watch?v=lNDxLZE2yUI" rel="nofollow">here</a>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-53241361888005048962008-07-10T00:50:00.001+07:002008-09-07T21:27:49.796+07:00Sex I.D. Find out how your mind works!<a href="http://www.bbc.co.uk/science/humanbody/sex/">http://www.bbc.co.uk/science/humanbody/sex/</a>ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0tag:blogger.com,1999:blog-4189612349823693418.post-46187996787372997332008-06-30T22:42:00.005+07:002008-06-30T23:09:53.908+07:00100 years of Tunguska event100 years ago of this day ( 1908-06-30 ), there was large scale explosion by large meteoroid or comet over <span style="font-weight:bold;">Tunguska</span>, Krasnoyarsk, Russia.<br />Explosion destroyed estimated area 2150 sq.km. Tunguska is forest not populated area. We so lucky if this event will not happen near anyone's home.ultimateohmhttp://www.blogger.com/profile/06108743080834764855noreply@blogger.com0