顯示具有 電腦 標籤的文章。 顯示所有文章
顯示具有 電腦 標籤的文章。 顯示所有文章

2025年10月11日 星期六

行動電話 - - 手機 的歷史,想留下自己用過的歷史紀錄 1990-1997-2025

行動電話  - - 手機 的歷史,想留下自己用過的歷史紀錄
 1990-1997-2025



1990年左右 Motorola 呼叫器 (pager)







1997年左右 AMPS 類比式行動電話 
Motorola micro T-A-C ELITE
電話號碼是 090 開頭的 090-920-813

(黑色的棒狀天線,塑膠已經老化而破碎掉了)




2000年左右 GSM數位行動電話 的第一代 
Motorola PCN600

用跟 信用卡一樣大的 SIM 卡







2002年左右  PHA 個人手持數位助理
Palm m585













2003年左右  MOTO CD928

 





2005年  宏達電的 Dopod

大概是 Windows mobile 系統,很好用,用了很多年,
後來是聯絡人太多,速度有稍微變慢,
然後螢幕也比較小,所以換了新機。
這畫面有點懷舊感。



   

  

 






2011年  HTC S510e

支持國產的宏達電,很好用的手機,很喜歡,
後來是因為用了蘋果,發現更好用,也就不大用安卓手機了。


    




2013年  iPhone 5


  


  







2014年 ZTE Q301C 

這是安卓備用機,亞太電信,使用順利。

    



G-Plus GN137 

這也是安卓備用機,
這台記憶體比前一台相對大一些,但是速度明顯慢很多,越用越卡,不理想。

    



InFocus M680
內存 16GB Android 6.0 這支不錯用 ( 據說是 鴻海 製造的 )

   



2017年  iPhone 6s 128G







2020年  iPhone 8 plus 256G








202x年  iPhone 11 Pro Max 512G

202x年  iPhone XS

2025年  iPhone 14 Pro Max 512G








2020-03-05
2022-09-21
2022-11-11
2025-10-12




2024年6月1日 星期六

Raspberry Pi 樹莓派 改 唯讀系統,刪除安裝軟體 etc

Raspberry Pi 樹莓派 改 唯讀系統,刪除安裝軟體 etc


Raspberry Pi 樹莓派 也用了幾年了,差不多就是個小電腦,滿好用的,

適合 24小時開機,執行相對簡單而想要一直執行的程式功能。 好處是省電,又比電腦便宜。





Raspberry Pi 樹莓派 如何改成 唯讀系統,避免重灌

Read-Only Raspberry Pi - Never Corrupt your Micro-SD Card









Raspberry Pi 樹莓派 已安裝之軟體 如何刪除?

但是如果要 移除已安裝的軟體,? Raspbian 不像 Windows 那樣容易可以解除安裝, 而是要用 命令列視窗 下命令


如何刪除樹莓派上已安裝之軟體:



pi@raspberrypi:~ $ dpkg --list


ii  teamviewer-host 14.1.9025    armhf        Remote control solution.


pi@raspberrypi:~ $ sudo apt-get --purge remove teamviewer-host

pi@raspberrypi:~ $ sudo apt autoremove








Raspberry Pi 樹莓派 安裝 與 使用





Raspberry Pi 4B 樹莓派 硬體欣賞






2022-06-07
2023-02-10



2023年10月28日 星期六

讓 windows 較密集同步 網路時間 的辦法 (NetTime )

讓 windows 較密集同步 網路時間 的辦法 (NetTime ) 



以下這個,作者使用感覺不錯: 


NetTime is a Simple Network Time Protocol (SNTP) client 

for Windows 95/98/Me/NT/2000/XP/Vista/7/8/10

https://www.timesynctool.com/






( 以下這個,作者使用沒效 )


How to Change the Time Synchronization Interval in Windows

較舊的電腦,系統時間容易比較快就不準,

讓 windows 較密集同步 網路時間 的辦法:

1. 設定 -> 時間與語言 -> 自動設定時間 「開啟」


2. 打開「命令提示字元」,輸入「regedit」

3. 找到


同步 網路時間 的間隔 秒數,按確定





2023-11-02

2023-11-04



2023年1月21日 星期六

Raspberry Pi 樹莓派 安裝 與 使用

Raspberry Pi 樹莓派 安裝 與 使用


Raspberry Pi 樹莓派,2012年12月買了 Raspberry Pi 2 也用了很多年了,

差不多就是個小電腦,滿好用的,適合 24小時開機,

執行相對簡單而想要一直執行的程式功能。 好處是省電,又比電腦便宜。

後來又陸續買了 Raspberry Pi 3B, Raspberry Pi 3B+, Raspberry Pi 4B,

最近新款是 Raspberry Pi 4B, 記憶體有分 2G, 4G, 與 8G 三款。

可惜 2022, 2023年以後漲價,變的很貴,

以前 Raspberry Pi 4B 大概三千多元,最近漲到四至七千元,實在買不下去,

原則上,規格需求低的,就改 Banana Pi, Orange Pi, MapleBoard,

如果規格需求較高的,就改用 小電腦,小 PC 吧。



Raspberry Pi 樹莓派 硬體 與 軟體

Raspberry Pi 樹莓派 硬體

Raspberry Pi 樹莓派 軟體 (作業系統)



Raspberry Pi 樹莓派 基金會




接腳圖







欣賞一下硬體,越做越好,越來越好用了。





最近買了 Raspberry Pi 4B, 裝壓克力盒子

原則上一定要用風扇,不然夏天容易熱當機!




到 Raspberry Pi 官網,下載 OS Imager

將作業系統寫入 SD 卡裡面,現在常用 32GB 以上的 SD 卡





 





作業系統寫入 SD 卡之後,插入 Raspberry Pi 就可以開機了



內建有 Chromium 可以瀏覽網頁



建議進入 Raspberry Pi 設定,
啟用 ssh 與 vnc,方便以後連線操作:






設好螢幕解析度




我個人常用 mode 35 1280x1024




桌面右上角,按右鍵可以設定音效



用 ALSA 指令,放音或錄音

可以內建 default audio device bcm2835 ALSA 的音效。

如果用 USB sound card 音效卡,ALSA 指令包括: aplay, arecord, amixer, alsamixer, alsaloop, alsactl, speaker-test, etc.

  1. Aplay -l # List all sound playback devices
  2. Arecord -l # List all sound collection devices

Test USB Audio Device

speaker-test -Dplughw:CARD=Device -c2 -twav

參數 -D option 選擇 plughw:CARD=Device, 

參數 -c2 is the left and right channel, 選擇左右聲道

參數 -twav selects to play the .wav sound file. 選擇 wav 檔

指令 arecord for audio capture, 可錄音

指令 aplay to capture audio playback. 可播音

  1. arecord -Dplughw:CARD=Device -fcd -c2 -twav test.wav
  2. aplay -Dplughw:CARD=Device test.wav

參數 -f option sets the audio format, 是音效檔格式



** 安裝 pygame 支援 音效卡 **


有些版本的 Raspberry Pi 無內建 pygame 需要安裝

sudo apt-get update
sudo apt-get install python3-pygame
Python 程式中使用 pygame 播放音效檔

import pygame
pygame.mixer.init()
pygame.mixer.music.load("myFile.wav")
pygame.mixer.music.play()
while pygame.mixer.music.get_busy() == True:
    continue


發現滿好用的!





(不用) * 安裝 PyAudio 支援 音效卡 較早的硬體如 3B,可能播放音效會斷續!

說明網頁


Python 程式中使用 PyAudio




Example: Blocking Mode Audio I/O

"""PyAudio Example: Play a wave file."""

import pyaudio
import wave
import sys

CHUNK = 1024

if len(sys.argv) < 2:
    print("Plays a wave file.\n\nUsage: %s filename.wav" % sys.argv[0])
    sys.exit(-1)

wf = wave.open(sys.argv[1], 'rb')

# instantiate PyAudio (1)
p = pyaudio.PyAudio()

# open stream (2)
stream = p.open(format=p.get_format_from_width(wf.getsampwidth()),
                channels=wf.getnchannels(),
                rate=wf.getframerate(),
                output=True)

# read data
data = wf.readframes(CHUNK)

# play stream (3)
while len(data) > 0:
    stream.write(data)
    data = wf.readframes(CHUNK)

# stop stream (4)
stream.stop_stream()
stream.close()

# close PyAudio (5)
p.terminate()

以上為 python 範例


某些較早的硬體軟體版本,有可能播放音效會斷續,若要移除

Uninstall PyAudio

How to uninstall or remove python-pyaudio software package





** 有關 time 的用法 **

import time

time.sleep(1) # 暫停 1 秒鐘

time.strftime('%X')

time.strftime() result: 可以輸出指定的日期或時間字串:

Directive

Meaning

Notes

%a

Locale’s abbreviated weekday name.

%A

Locale’s full weekday name.

%b

Locale’s abbreviated month name.

%B

Locale’s full month name.

%c

Locale’s appropriate date and time representation.

%d

Day of the month as a decimal number [01,31].

%H

Hour (24-hour clock) as a decimal number [00,23].

%I

Hour (12-hour clock) as a decimal number [01,12].

%j

Day of the year as a decimal number [001,366].

%m

Month as a decimal number [01,12].

%M

Minute as a decimal number [00,59].

%p

Locale’s equivalent of either AM or PM.

(1)

%S

Second as a decimal number [00,61].

(2)

%U

Week number of the year (Sunday as the first day of the week) as a decimal number [00,53]. All days in a new year preceding the first Sunday are considered to be in week 0.

(3)

%w

Weekday as a decimal number [0(Sunday),6].

%W

Week number of the year (Monday as the first day of the week) as a decimal number [00,53]. All days in a new year preceding the first Monday are considered to be in week 0.

(3)

%x

Locale’s appropriate date representation.

%X

Locale’s appropriate time representation.

%y

Year without century as a decimal number [00,99].

%Y

Year with century as a decimal number.

%z

Time zone offset indicating a positive or negative time difference from UTC/GMT of the form +HHMM or -HHMM, where H represents decimal hour digits and M represents decimal minute digits [-23:59, +23:59].

%Z

Time zone name (no characters if no time zone exists).

%%

A literal '%' character.


範例:

>>> from time import gmtime, strftime
>>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
'Thu, 28 Jun 2001 14:17:15 +0000'









2021-07-17

2023-01-23



Dr. Shaw YC Shiau PhD 蕭醫師 蕭博士 蕭同學 首頁 置頂文 標籤 分類搜尋

There will be Advertisement  (personalized)   inserts in Google Blog. Sorry!  谷歌 的 部落格 會有 置入廣告 (個人化的) ,請見諒!    Information Service   b...