Board logo

標題: 想揾玩arduino的人一齊研究 [打印本頁]

作者: carlhung    時間: 2015-9-6 18:10     標題: 想揾玩arduino的人一齊研究

我係初哥,想揾人一齊研究同玩。
有無人有興趣?
作者: cooltaxi    時間: 2015-9-6 21:40

想問一下,如何一齊研究同玩呢.
作者: Offer    時間: 2015-9-6 22:00

我係初哥,想揾人一齊研究同玩。
有無人有興趣?
carlhung 發表於 2015-9-6 18:10



    想做一個未有人發表過的project?開發lib?design功能子板?
作者: carlhung    時間: 2015-9-6 23:05

開發library我就未有本事,最多玩下點樣控制鎖開門,紅外線,wifi傳輸或者relay
作者: C_Law    時間: 2015-9-6 23:46

本帖最後由 C_Law 於 2015-9-6 23:48 編輯
開發library我就未有本事,最多玩下點樣控制鎖開門,紅外線,wifi傳輸或者relay ...
carlhung 發表於 2015/9/6 23:05


之前玩過下這個 Library,一般 Receive/Send 都 OK,用來 Backup 用開的電器個遙控器。
https://github.com/z3t0/Arduino-IRremote

http://www.hkepc.com/forum/viewthread.php?tid=2200204
作者: carlhung    時間: 2015-9-7 11:07

可以交換電話一齊出黎討論下嗎?
作者: Offer    時間: 2015-9-7 17:43

可以交換電話一齊出黎討論下嗎?
carlhung 發表於 2015-9-7 11:07


在此發問吾方便?
作者: carlhung    時間: 2015-9-7 18:23

回覆 7# Offer


我都係想識d人一齊出黎研究下
作者: Offer    時間: 2015-9-7 18:55

回覆  Offer


我都係想識d人一齊出黎研究下
carlhung 發表於 2015-9-7 18:23

你會寫詩嗎?
作者: carlhung    時間: 2015-9-7 21:14

回覆 9# Offer

吾會呀!
作者: alundrahk    時間: 2015-9-7 22:56

我都係剛開始玩,都只係睇住書比佢玩。
其實有無地方可以學?
作者: sunnybar    時間: 2015-9-8 14:30

我都係剛開始玩,都只係睇住書比佢玩。
其實有無地方可以學?
alundrahk 發表於 2015-9-7 22:56



買書最實在,幾時想學就學,然後再加個QQ群什麼的有問題就去討論,又或直接到外國論壇討論,香港人口基數太細,好多野好難發展到群體出現
作者: carlhung    時間: 2015-9-9 15:56

回覆 11# alundrahk


    已pm你,希望可以交流下
作者: prof2034    時間: 2015-9-9 21:46

其實睇書學都OK,如果真係想上堂學可以去中華無線電會或工聯會讀啲初級電子課程。
作者: carlhung    時間: 2015-9-10 14:34

睇書一睇到算式就啞左
作者: yujin88    時間: 2015-9-10 20:37

回覆  Offer

吾會呀!
carlhung 發表於 2015-9-7 21:14

唔識寫詩( C )點玩落去?
作者: carlhung    時間: 2015-9-10 21:04

回覆 16# yujin88

都算識,但一定吾係高手。
用過下c socket,寫可加密程式(用人哋library)
作者: MS08    時間: 2015-9-11 17:24

提示: 作者被禁止或刪除 內容自動屏蔽
作者: seasky    時間: 2015-9-18 02:34

提示: 作者被禁止或刪除 內容自動屏蔽
作者: 魚蛋Strike    時間: 2015-10-24 20:05

之前玩過下這個 Library,一般 Receive/Send 都 OK,用來 Backup 用開的電器個遙控器。


...
C_Law 發表於 2015-9-6 23:46



    Backup ??
可以做 IR reader?
作者: C_Law    時間: 2015-10-24 23:28

Backup ??
可以做 IR reader?
魚蛋Strike 發表於 2015/10/24 20:05


這個 Library 可以 Decode 到幾種家電遙控器的遙控訊號 Protocol,例如 NEC (有線電視解碼器、MagicTV 機頂盒、8 仔機頂盒,重有好多大陸山寨 DVD 機、Media Player Box…等等都係用 NEC Protocol)、Panasonic、Sharp,以上三種我都有試過真係 Work,個 Library 還可以 Decode 到 Sony、RC5、RC6……的 Protocol,不過我無機去試。

收到的遙控訊號後,可以用 Serial.print 方式將個訊號的 Protocol 和數值傳送去電腦。

亦可以掉轉由電腦傳送 Protocol 和數值去 Arduino,由 Arduino 發射出去。

就算個 Library 無包含的 Protocol,都可以 Read 到 Raw code(即係每個 Pulse 的 High/Low 時間)傳返去電腦又或者電腦傳 Raw code 去發射。
作者: jamesting    時間: 2015-10-28 01:54

我呢期玩緊呢個
http://www.instructables.com/id/ ... ck-Arduino-Powered/

呢個網站都幾多好玩嘢
https://learn.adafruit.com/trink ... eter-clock/overview
作者: ken85    時間: 2015-12-16 13:35

我都係Arduino 初學者,有心想交對Arduino 有興趣的朋友。
作者: sailoralan    時間: 2015-12-16 22:02

想請問下燒左program入粒micro controller之後
有咩方法將粒micro controller獨立洗用,唔洗靠塊arduino版?
作者: ahuo    時間: 2015-12-16 22:26

本帖最後由 ahuo 於 2015-12-16 22:29 編輯
想請問下燒左program入粒micro controller之後
有咩方法將粒micro controller獨立洗用,唔洗靠塊arduino版? ...
sailoralan 發表於 2015-12-16 22:02


上google search下就會知道了.如果輸入電壓符合MCU要求的話可以慳返降壓部分(arduino UNO之類的atmega 328可以直接用1.8-5.5V.其他MCU2未必一樣,需要自己查返datasheet)
拿出黎用的話只需保留以上紅框內的部分.其他你可以需要先加上去
AREF接參考電壓,如果無需要用adc的話AREF/AVCC/AGND應該都可以慳埋:p:
作者: Charcoal99    時間: 2015-12-17 09:27

注意這一 頻率-電壓 安全工作區圖
MCU跑16MHz 時在低電壓時並不保證穩定。


作者: seasky    時間: 2015-12-17 10:01

提示: 作者被禁止或刪除 內容自動屏蔽
作者: g2david    時間: 2015-12-17 10:27

我只懂logic gate. 對電子只有超基本認識, 只懂看電阻, 電容值

我第一次就可以用支棒控制LCD cursor.

Arduino 處理 Digital circuit 真係好易,  有libs. LCD, servo, 6 axis sensor. 一插就
work. 反而著重寫program.
作者: hon829    時間: 2015-12-20 22:17

覺得國產的Arduino UNO 只賣十幾蚊人仔,在mcu中算低用,易用
作者: schmike    時間: 2015-12-21 10:18

我都啱啱學緊

via HKEPC Reader for Android
作者: icoicqico    時間: 2015-12-25 19:35

如果完全唔識program,咁先由對port開,關,閃 led玩起(如果識,咁你己經知道最基本原理)之後就學logic gate等等既野(如果都識,其他野係用腦諗,計數等)控制門開鎖識依D已經做到,學識program之後就係要你配合既電子知識做其他野。
arduino其實係簡單易上手,以前玩8051 (assembly language) ,會比C 複雜,但就因為寫既野就係接近 mcu運作原理,會學到更多既logic。
作者: sunwawa    時間: 2015-12-26 10:14

有冇人知香港有冇 Facebook 的 Arduino 群組?
如無不如開一個。 我都係 Arduino 新手。。。
作者: yhk    時間: 2015-12-30 15:38

我都啱啱學緊x2
作者: carlchanhm    時間: 2016-1-4 23:11

Hi !
I want to try try
作者: handsomepork    時間: 2016-1-5 15:00

Arduino: RS 十個使用入門的Video課程(中文字幕)https://www.youtube.com/playlist ... ejGKwvMF3AgBPGGNr4l
作者: carlhung    時間: 2016-1-6 06:31

Dim sum lab有人玩Arduino,但鬼佬多,會員費貴,上過去吹過下水
作者: carlhung    時間: 2016-1-6 14:09

用咩板多?
買starter kit,我覺得對入門好有用
作者: carlhung    時間: 2016-1-6 15:33

係呀!有無人願意搞個fb群組。
我都想搞,但覺得未夠班。
作者: sunwawa    時間: 2016-1-7 20:59

台灣有兩個Fb Arduino 群組,叫 Arduino Taiwan 和 Arduino taipai, 適合新手發問問題,和互相交流心得
作者: carlhung    時間: 2016-1-12 15:41

我整左個Arduino Hong Kong係fb
我係新手,希望多d人加入一齊分享。
作者: carlchanhm    時間: 2016-1-18 01:21

我係初哥,想揾人一齊研究同玩。
有無人有興趣?
carlhung 發表於 2015-9-6 18:10


不如介紹一下入門先啦!
作者: kwso888    時間: 2016-1-19 08:02

入門第—式,clone arduino uno 行LED. blinker,再改delay time
作者: archihammer    時間: 2016-1-22 20:43

我都想學。 0電子認識。但有c++ java programming底 舞唔舞得掂?

via LG G3
作者: carlhung    時間: 2016-1-29 03:10

識c/c++係快d囉!
作者: KwokAngus    時間: 2016-1-29 03:22

雖然已經2016! 此post 可能已old
但留名!
對arduino 極有興趣!
對command MCU 極有興趣!
見到啲maker 整到火紅火綠, 先發現原來arduino 都可以咁多hardcore application
後悔當年聽到arduino 冇即時hands-on... 只掛住讀好core
作者: carlchanhm    時間: 2016-1-29 11:32

Any projects?
作者: carlhung    時間: 2016-1-30 01:14

咩project?
作者: carlhung    時間: 2016-1-30 01:15

回覆 45# KwokAngus


    What did you study?
作者: carlhung    時間: 2016-1-30 02:39

Join this group:
https://m.facebook.com/groups/776880869112697/
作者: unixman    時間: 2016-1-30 10:01

咩project?
carlhung 發表於 2016-1-30 01:14

我近期搞緊2個MCUs經433MHz frequency來傳訊數據,一片是stm32l476 nucleo, 另一片是stm32f4 discovery。又學緊Python。
作者: carlhung    時間: 2016-1-30 21:27

python真係好正,已學
作者: carlhung    時間: 2016-1-30 21:32

咩libraries都有
作者: carlhung    時間: 2016-1-30 21:35

learning swift now.
i think swift is a bit harder to learn than python.
but much more powerful. i guess swift will be mainstream in the future.
作者: unixman    時間: 2016-1-30 22:18

python真係好正,已學
carlhung 發表於 2016-1-30 21:27


剛剛將Python update到3.5.1,但我至愛始終是C,又剛剛install eric6 是Python IDE不知好用呢?
作者: carlhung    時間: 2016-1-30 23:33

本帖最後由 carlhung 於 2016-1-30 23:34 編輯

其實我都好愛c,係Linux打吾識用的functions名會有說明,效率又高,但如果要加人哋個d程式庫就真係好x麻煩,有時可能要花大半日去裝,而且重要未必work.
Python咩程式庫都有,安裝程式庫易好多,程式碼又少。我想整個語音分析,我見到c程式庫真係好多野搞,又要錄音,錄完又要轉format,之後又要有個file,係字典檔咁,用python call人哋程式庫用好易搞掂,我可以專注寫分析指令個一部份
作者: carlhung    時間: 2016-1-30 23:37

Eric 6?
吾知咩黎。
我都有半年未掂過Python,自從整到我要整d野
未掂過Python 3.5,掂過3.4
不過好多程式庫係支援2.7
作者: carlhung    時間: 2016-1-30 23:43

本帖最後由 carlhung 於 2016-1-30 23:47 編輯

玩Python最好係raspberry pi,除左無ADC pins外,有pwn pins,同其他I/O pins.
我之前想整drone,本來想整到可以跟住人飛,用pi加cam加ardupilot(arduino),用Python加Simplecv.買左本simplecv書睇,2百幾頁,但detect個d codes都係得幾十行,後尾忙,無搞arduino個part,而家好多新drone都有e個功能。
已經python又有opencv個d強大程式庫,有本事可以用python整到架車autopilot 都得。有睇過有人用python加opencv整到架玩具車autopilot.
作者: KwokAngus    時間: 2016-1-31 04:30

本帖最後由 KwokAngus 於 2016-1-31 05:36 編輯
玩Python最好係raspberry pi,除左無ADC pins外,有pwn pins,同其他I/O pins.
我之前想整drone,本來想整到 ...
carlhung 發表於 2016-1-30 23:43



    咁勁? computing intensive 嘅野, 唔洗high computing power ?
btw 你係咪想講PWM pins
作者: KwokAngus    時間: 2016-1-31 04:30

回覆  KwokAngus


    What did you study?
carlhung 發表於 2016-1-30 01:15



    software development
作者: carlhung    時間: 2016-1-31 08:49

回覆 58# KwokAngus


    如果吾介意performance 的前提下。
不過opencv的python有gpu加速,但simplecv無

係呀,我講PWN pins
作者: carlhung    時間: 2016-1-31 08:58

其實Pi已經夠快
作者: unixman    時間: 2016-1-31 09:54

Eric 6?
吾知咩黎。
我都有半年未掂過Python,自從整到我要整d野
未掂過Python 3.5,掂過3.4
不過好多程式庫 ...
carlhung 發表於 2016-1-30 23:37


Eric6 is like eclipse for writing a Python programs. Eric6 is a full featured Python editor and IDE, written in Python. It is based on the cross platform Qt gui toolkit.
http://eric-ide.python-projects.org/

Autopilot can be referred as the following URL:
http://pixhawk.org/start
Pixhawk is an independent, open-hardware project aiming at providing a high-end autopilot to the academic, hobby and industrial communities (BSD licensed) at low costs and high availability.
作者: carlhung    時間: 2016-1-31 10:21

本帖最後由 carlhung 於 2016-1-31 10:24 編輯

I used the IDE that Python comes with.
I don't mean this "autopilot".

https://zhengludwig.wordpress.com/projects/self-driving-rc-car/

I think it is possible to put into car.
作者: unixman    時間: 2016-1-31 11:28

I used the IDE that Python comes with.
I don't mean this "autopilot".



I think it is possible to  ...
carlhung 發表於 2016-1-31 10:21


這pilot用係flight control是開源硬體套件,carlhung兄對raspberry pi己熟識?
作者: carlhung    時間: 2016-1-31 12:13

本帖最後由 carlhung 於 2016-1-31 12:16 編輯

我睇過,用黎做drone.

我已經對做drone無興趣啦。

對raspberry pi.....一般,吾知點衡量.

你問我對佢d pins幾熟,定linux系統幾熟?

我都係一般般,唔識就上網揾資料睇
作者: carlhung    時間: 2016-1-31 12:23

我當時想用ardupilot,係因為我見到個website解釋都好詳盡
http://owenson.me/build-your-own-quadcopter-autopilot/
作者: carlhung    時間: 2016-1-31 12:39

現在想玩IoT,用smart watch 控制。
用Python加socket試寫左簡單控制arduino開關LED燈
語音分析搞掂用Python搞掂左,但隻錶個部分要用JavaScript先可以send出去,吾識JavaScript. Send出先時重一定要用json format. 真麻煩.算我都應該搞得掂json,但我想加密資料係傳送信息時,而且要做到個server可以multi threads,同一時間可以接好多clients. e幾個部分未得閒研究。想學d野太多。又要返工。原來IoT門檻都吾少。
作者: unixman    時間: 2016-1-31 16:34

現在想玩IoT,用smart watch 控制。
用Python加socket試寫左簡單控制arduino開關LED燈
語音分析搞掂用Python ...
carlhung 發表於 2016-1-31 12:39


IoT我都想搞一年前買了一板nrf51822開發板BLE4,可惜愈恆心搞下去,本來用它來控制LED bulb, 一係用藍牙4或WiFi,WiFi可用CC3200 LaunchPad,我ptoject的433MHz也可以做到remote control LED bulb。
作者: carlhung    時間: 2016-1-31 16:38

i am using cc3000 as well.
i am using cc3000 and arduino. you can go to adafruit to download cc3000's library.
you can use cc3000 and arduino to control LED.
i may be able to help you if you use cc3000 and arduino.
作者: carlhung    時間: 2016-1-31 16:44

if you connect cc3000 and arduino together, arduino will become server to listen the client to connect. therefore, there is a example in adafruit's cc3000 library, the name is "chat server", modify it. then, you can make your arduino with cc3000 as server.
client side i used python to send signal to arduino over internet.
作者: unixman    時間: 2016-1-31 16:52

IoT我都想搞一年前買了一板nrf51822開發板BLE4,可惜愈恆心搞下去,本來用它來控制LED bulb, 一係用藍牙4 ...
unixman 發表於 2016-1-31 16:34


介紹剛剛出BLE4 IC nrf52832, 近期都去華強買了LED bulb 9W 人仔9元幾平,現在用緊幾好。
作者: carlhung    時間: 2016-1-31 17:01

what is "BLE4 IC nrf52832"?
come with library?
i don't want any accessory with no library to come with.
i don't know if i can make my own library to make it work. even though, i can. it will cost me so much time.
作者: carlhung    時間: 2016-1-31 17:11

using bluetooth to do remote control?
作者: unixman    時間: 2016-1-31 17:15

what is "BLE4 IC nrf52832"?
come with library?
i don't want any accessory with no library to come wi ...
carlhung 發表於 2016-1-31 17:01


Nordic Semiconductor nrf52832 has its SDK.
作者: carlhung    時間: 2016-1-31 17:24

i am too stupid. i don't want to dive into something else apart from arduino.
so, i just include the library of bluetooth functions? and call it?
作者: unixman    時間: 2016-1-31 17:28

using bluetooth to do remote control?
carlhung 發表於 2016-1-31 17:11



Yes, nrf52 DK (nrf52832 development card)has GPIOs which are controlled by mobile phone's app.
作者: carlhung    時間: 2016-1-31 17:59

Please join my fb group.
I want more people to share.
Thanks
作者: carlhung    時間: 2016-1-31 18:00

https://m.facebook.com/groups/776880869112697/
作者: KwokAngus    時間: 2016-2-1 00:20

現在想玩IoT,用smart watch 控制。
用Python加socket試寫左簡單控制arduino開關LED燈
語音分析搞掂用Python ...
carlhung 發表於 2016-1-31 12:39



    wt server do u mean. you mean using raspberry pi? ever considered nodejs for raspberry pi?
作者: carlhung    時間: 2016-2-1 02:08

本帖最後由 carlhung 於 2016-2-1 02:13 編輯

回覆 79# KwokAngus


   e 你好似明我講咩喎!我想用pi做家中server比指令Arduino,所以arduino又係server,因為比服務。
Arduino mcu吾夠勁去處理AES加密,又無可能做到multithread,所以用pi做server比指令,而係係同一個wifi網路下,本身個wifi網路有加密,所以係wifi網路下吾加密都無問題。
但我要寫個程式比pi,又會加密又可以multithread同一時間聽幾個connection,e部分未試。

我用pebble time,佢有mic,支援c或JavaScript, 好似係node.js.
但網路個部分係一定要用JavaScript 寫入json file(我無估錯的話,因為我睇過佢d tutorial做),之後send出。所以我諗應該跟住d sample code改改應該可以send到出去,不過pi server要分析個json, 我用c++玩過下個library讀寫json叫jsoncpp,但當然用python方便好多,我舞睇錯記錯,python內置有library讀寫json,之前學puthon見到,個時吾知json係咩,而且又吾會用到。
我望過用Python加socket加multithread d code,應該吾難,加密都望過下。
我覺得最難個部份係實踐放係一齊。
作者: 村上麗奈    時間: 2016-2-4 21:07

師兄我都有興趣,可惜從來未接觸過電子嘢,只懂電腦,programming都唔太叻,會難玩嗎?

via HKEPC Reader for Android
作者: carlhung    時間: 2016-2-5 21:24

i think programming skill for arduino not hard.
but if you dive into it, you need to know much more.
so, i would say hard to get better. but easy to get entry.
作者: jj0923    時間: 2016-2-23 16:13

Arduino 系好玩,我無電子底,兩年前diy 過四軸無人機(apm),同用mega2560做過3d printer.因為系open source ,好多資料可以搵到,跟住做就ok.已經一排無玩,剛買左d esp 8266 wifi ,又想睇睇有麥野可以玩。
作者: tommyleeka    時間: 2016-2-26 19:22

請求各位師兄
如果我用sensor 收集sensorvalue
有無方法可以把連續數據可以相加
EG. if 連續的sensorvalue>150
x=x+1
作者: tanoshi    時間: 2016-2-26 21:57

回覆 84# tommyleeka

你都大約寫了個方法,只要參考番ARDUINO個語法,其實就是C LANGUAGE,求其一本書都有例子。
作者: tommyleeka    時間: 2016-2-27 01:47

回覆  tommyleeka

你都大約寫了個方法,只要參考番ARDUINO個語法,其實就是C LANGUAGE,求其一本書都有例 ...
tanoshi 發表於 2016-2-26 21:57

但我係唔識收集連續數據 我係想5秒內果幾個數據都大個一個值 先做果件事 可以教一教我嗎?
作者: newbox    時間: 2016-2-27 02:13

但我係唔識收集連續數據 我係想5秒內果幾個數據都大個一個值 先做果件事 可以教一教我嗎? ...
tommyleeka 發表於 2016-2-27 01:47


你想點樣收集連續數據?每x秒讀一次咁?
作者: tommyleeka    時間: 2016-2-27 02:26

回覆 87# newbox

係啊 我想大約5秒收集一次 5個數據會否都大過一個值
可能有點難明 希望大家體諒
作者: newbox    時間: 2016-2-27 13:33

回覆  newbox

係啊 我想大約5秒收集一次 5個數據會否都大過一個值
可能有點難明 希望大家體諒 ...
tommyleeka 發表於 2016-2-27 02:26


可以用timer interrupt,每隔5秒call read sensor values 既function

http://playground.arduino.cc/Code/Timer1
作者: pokmo    時間: 2016-3-21 22:30

There's plenty of documentation online. Most of the time, you won't need to write your own library and reinvent the wheel. Just write a sketch and off you go.
作者: benyeungsh    時間: 2016-5-14 22:08

我都有興趣。不過香港好似吾係好多人玩 Arduino !反而台灣同大陸多人玩D。
作者: unixman    時間: 2016-5-15 09:54

我都有興趣。不過香港好似吾係好多人玩 Arduino !反而台灣同大陸多人玩D。
benyeungsh 發表於 2016-5-14 22:08


C兄你揾啱呢處,係這裏比較多人玩arduino及raspberry pi, 這裹有無人玩beagle board black呢?
作者: marcolum    時間: 2016-6-12 09:52

Arduino 唔難玩~ 不過香港人熱情唔夠~ 有興趣可以約埋交流下~
我玩兩年,貪佢方便 LIBRARY 多~ 唔似以前玩51~咩都要自己寫。不過而家除左交D CUSTOM PROJECT 都冇咩時間玩~ 事關寫個PROJECT CODE 一兩個鐘,做埋TEST 都係幾日可以交貨。以前用51,淨係IO都分分鐘玩幾日。不過而家INTERNET同OPEN SOURCE 發達,連D51都係齊料~
作者: bbsen    時間: 2016-6-12 11:02

Arduino 系好玩,我無電子底,兩年前diy 過四軸無人機(apm),同用mega2560做過3d printer.因為系open sourc ...
jj0923 發表於 2016-2-23 16:13


師兄有無教學link 可以share? 我研究緊。

唔該曬
作者: carlchanhm    時間: 2016-12-16 17:01

我係初哥,想揾人一齊研究同玩。
有無人有興趣?
carlhung 發表於 2015-9-6 18:10



    planning any project?





歡迎光臨 電腦領域 HKEPC Hardware (https://h2.hkepc.com/forum/) Powered by Discuz! 7.2