談天說地主旨 ﹝請按主旨作出回應﹞ 下頁 尾頁 | 寄件者 | 傳送日期 |
[#1] 有冇人玩緊 Arduino ? 謝謝 |
Daddy^k 正式會員 116.xxx.xxx.175 |
2016-05-30 01:52 | |
|
[#2] 有冇人玩緊 Arduino ? 剛淘左一隻 UNO, 一隻 PRO MINI 一共 RMB 20 左右. 可以通過 UNO 上既 USB to Serial chip 去 program PRO MINI 成功用 Analog pin 去讀不同電壓, 沒問題. 下一步會去試寫 program 紀錄 18650 放電既電壓變化, 計算電池容量. 之後會用 RC discharge 既電壓變化去計算電容既容量, 去証明風扇壞左既起動電容壞到咩程度. |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 02:46 |
[#3] 有冇人玩緊 Arduino ? 勁!請問是用c程式? |
馬蘭奴. 正式會員 14.xxx.xxx.117 |
2017-07-23 07:32 |
[#4] 有冇人玩緊 Arduino ? 是的。 |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 10:56 |
[#5] 有冇人玩緊 Arduino ? 用 Analog pin 去讀不同電壓 void setup() { // put your setup code here, to run once: Serial.begin (9600); // Setup com port baud rate to 9600 bps pinMode (A3 , INPUT); // Define A3 pin as input } void loop() { // put your main code here, to run repeatedly: Serial.print ("ADC value read from A3 input pin! "); int adc = analogRead(A3); // Read the A3 voltage value Serial.print (adc); // Display the value float volt = 4.8 * adc; // Change the value to voltage (vcc is 4.8v) volt = volt / 1023; // Change the value to voltage (vcc is 4.8v) Serial.print (" Equivalent to "); Serial.print (volt, 4); // Display the voltage with 4 decimal digits Serial.println (" volt"); delay (500); // sampling every 500ms } |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 13:52 |
[#6] 有冇人玩緊 Arduino ? 用最簡單既方法去測試電池的 mAh NiMh 電池充滿, 用固定的 1.5 ohm 電阻放電. 用 Arduino 每 10 秒紀錄一次電阻上之電壓, 除以 1.5 ohm 就得出電流, 再乘番 (10秒/3600) 就知道那 10 秒用左幾多 mAh. 將每一個 10 秒之 mAh 累計起來, 直至去到 0.9v 為止, 就大約得出該電池的 mAh 了. |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 18:52 |
[#7] 有冇人玩緊 Arduino ? Code unsigned long time; float mah = 0; float volt = 1.2; int adc; void setup() { // put your setup code here, to run once: Serial.begin (9600); // Setup com port baud rate to 9600 bps pinMode (A3 , INPUT); // Define A3 pin as input } void loop() { if (volt > 0.9) { // Use 0.9V as termination voltage // put your main code here, to run repeatedly: delay (9996); // sampling every 10s but compensate code delay adc = analogRead(A3); // Read the A3 voltage value Serial.print ("ADC : "); // Display ADC value Serial.print (adc); // Display the value Serial.print (" ,"); volt = (4.83 * adc) / 1023; // Change the value to voltage (vcc is 4.83v) Serial.print ("Voltage : "); Serial.print (volt, 4); // Display the voltage with 4 decimal digits Serial.print (" volt , Time : "); time = millis(); // Display timer value in ms Serial.print (time); // calculate mAh for each 10s discharge period mah = mah + (volt/0.0015)/360; // discharge resistor is 1.5 ohm Serial.print (" , mAh : "); // Display accumulated mAh value Serial.println (mah); } else { // reached 0.9V termination condition Serial.println (); Serial.print ("The battery capacity is "); Serial.print (mah, 1); // print capacity of the battery Serial.println (" mAh"); delay (3600000); } } |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 18:52 |
[#8] 有冇人玩緊 Arduino ? 我寫C51 assembly, 唔寫C。 唔明點解成日要void, 好地地點解要void乜void物? 請指教。 |
jwong852 正式會員 202.xxx.xxx.89 |
2017-07-23 19:12 |
[#9] 有冇人玩緊 Arduino ? 我唔知道. 我一直寫 pascal, 用 procedure 同 function 都好易明. |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 19:18 |
[#10] 有冇人玩緊 Arduino ? Youtube大把demo |
kk6666 會員 14.xxx.xxx.36 |
2017-07-23 19:24 |
[#11] 有冇人玩緊 Arduino ? 阿金ching原來係電子佬,失敬. 我都係電子佬,搞logic 線路,mod音響配件多d. |
olivea88 會員 61.xxx.xxx.5 |
2017-07-23 19:27 |
[#12] 有冇人玩緊 Arduino ? 我呢的60年代出世電子佬已經 outdated 喇. 唔想腦筋退化得太快, 就搵的野訓練下自己. |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 19:30 |
[#13] 有冇人玩緊 Arduino ? 我都係六十後,三十多年的功力,電子技術係由一層層的攻破的,尤如以前不懂寫program,到知道點入門,點寫 program,先有技術的突破... |
olivea88 會員 61.xxx.xxx.5 |
2017-07-23 20:04 |
[#14] 有冇人玩緊 Arduino ? 我以前做PLC工控的。 |
wumande 正式會員 58.xxx.xxx.115 |
2017-07-23 20:33 |
[#15] 有冇人玩緊 Arduino ? hello 金, 原來你玩緊 我上年想用arduino 推三個 driver 同 stepper 改裝部小型鑼床做 cnc 睇左幾本書準備出Q , 但後來時間關係用左d更直接方式 不過research 過程發覺 pinterest 有大量同道中人D有趣 project. 參考下: https://www.pinterest.com/search/pins/?q=Arduino&rs=typed&term_meta[]=Arduino%7Ctyped 陶寶 15蚊塊板真係唔知佢點賺錢... |
Daddy^k 正式會員 116.xxx.xxx.31 |
2017-07-23 21:51 |
[#16] 有冇人玩緊 Arduino ? Review33好多電子佬包括我 |
kk6666 會員 14.xxx.xxx.36 |
2017-07-23 22:00 |
[#17] 有冇人玩緊 Arduino ? daddy ching 你介紹個 webpage 好正. |
olivea88 會員 61.xxx.xxx.5 |
2017-07-23 22:06 |
[#18] 有冇人玩緊 Arduino ? #17 thank you , 我都開眼界. 還有另一個世界: Raspberry Pi R33 好似有人玩緊 |
Daddy^k 正式會員 116.xxx.xxx.31 |
2017-07-23 22:11 |
[#19] 有冇人玩緊 Arduino ? Daddy^k 兄 我上星期先淘寶, 前兩日先收到, 剛剛開始玩, 暫時只係做一些簡單的事情. |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 22:20 |
[#20] 有冇人玩緊 Arduino ? Raspberry Pi 我都有興趣, 不過因為佢未夠平......... |
呀金 正式會員 113.xxx.xxx.52 |
2017-07-23 22:21 |