顯示具有 HC-05 標籤的文章。 顯示所有文章
顯示具有 HC-05 標籤的文章。 顯示所有文章

2016年9月24日 星期六

使用中文語音下令機器人去控制家裡的電燈



      使用中文語音下達指令給機器人,讓機器人去控制家裡的電燈.
原本的範例也可以直接利用手機平板或是電腦直接做控制家裡的電燈,這次利用
Google語音辨識的功能,讓機器人去完成該指令動作,一來是省去了必須另外打開手機電腦
的麻煩,二來是讓機器人比較像是家裡一份子的感覺. 是機器人與物聯網概念的結合,其運用也可以用在其他家電如電視,電風扇,冷氣,電子鎖等等.

<圖一>系統概念圖


<圖二>阿布拉機機器人



<圖三>辨識語音輸出文字



影片DEMO:

2016年9月11日 星期日

ESP8266 WIFI(6) -Using Python to control LED ON/OFF




這篇介紹如何用Python 語言透過ESP8266 Wifi連線去控制Arduino 端的LED.

<圖一概念圖>





<圖二> 下圖是Python GUI 程式執行時,及Arduino 端LED實際運作狀態.
              當按下分別對應的LED按鈕後,LED即會 ON/OFF 動作. 



2016年4月17日 星期日

Arduino Smart Car V3.0(手機藍芽遙控多功能自走車V3.0)


  Base on Smart Car V2.0 to modify theUltraSonic portion.Add one servo(MG 90s) to check turn left or turn right when close the barrier.


See the previous Smart Car design:
http://arbu00.blogspot.tw/2015/11/arduino-btsmartcarv2-v20.html
 To connect Servo signal on D13 pin.

Download 3DP things from below website:
http://www.thingiverse.com/thing:1497224


Below source code just to reference ,it can work normally,but not yet perfect.
Download the new Arduino source code:
https://github.com/Ashing00/Smart_Car-V3.0/tree/master




2015年11月21日 星期六

Arduino BT_SmartCar_V2(藍芽智慧小車 V2.0)



     I re-designed my BT_Smart Car .The new architecture is more easy to assemble.

 download the  3DP components here:
http://www.thingiverse.com/thing:1147275

and just see the below pictures you will understand how to assemble it.


新的設計方便使用麵包版做實驗,並且設計成卡凖式的.電池盒,麵包版跟馬達裝進去
時都會有卡一聲.


加入阿布拉機的3D列印與機器人的FB粉絲團
https://www.facebook.com/arbu00/

Scan QRcode to join FB Fans.
1.Mechanism:

 1 All of 3DP components.

2015年11月5日 星期四

Build the BT_SmartCar with 3DP & Arduino -HW/SW section(用3D列印和arduino製作藍芽智慧小車-軟硬體部分)




     底下是主要的線路設計,最後還是用<MS小畫家>直接畫,為了方便性等等其他原因
全部都用模組化零件,這樣就算不是很懂電子電路的新手或小朋友也可以用麵包版,在不需任何焊接的情形下做好系統.


## <Below is my Bt_SmartCar H/W design & circuit ,It is conveinent to put all of modules on the Lab platform. without welding anything,I think it is good for children or education purpose.>

<Picture 1> 線路設計 <H/W Circuit> 可以另存新檔下載放大.



   
          有一個設計的重點要特別注意,我是用4顆 L9110H分別4顆驅動直流馬達(一個L9110H模組上有兩棵),一般其他設計上   L9110H 的輸入端IA/IB 有一真值表如<picture 2>,直接控制輸入high(高電位) or low(低電位).來控制正反轉,但是這樣不能控制速度,於是我把它改成用PWM的方式輸入IA/IB.PWM訊號等於0時就相當於low. 其他值100-255之間就相當於High(H)同時也可以控制速度.低於100的值有可能太低馬達扭力不足於驅動車子.

2015年10月31日 星期六

Build the BT_SmartCar with 3DP & Arduino -Mechanism section(用3D列印和arduino製作藍芽智慧小車-機構部分)





  這是我自己用3D印表機+Arduino設計的藍芽智慧小車,目前已完成了下面功能
1. 手機遙控模式:用android手機遙控藍芽智慧小車
2. 自走模式-------: 自走自動避障模式 ,防止掉落,靠近懸涯邊癌粽動後退改向
3. 循跡模式------:自動走線  (不反光黑線)  

可以從底下網址下載我設計的3D圖檔
http://www.thingiverse.com/thing:1104057


## I build a Bluetooth Smart Car with 3DP & Arduino.There below functions .
1.Mobile phone control mode -using Android control the BT_SmartCar
2.Auto mode-It cam auto avoid stuff and randomly change the move direction.
3.Line search mode ,Just Walking along the black line.

You can download my BT_SmartCar 3DP elements from below website.
http://www.thingiverse.com/thing:1104057



底下先介紹3D列印機構的組裝,
##Below are the assembly steps.

<Picture 1> 全部機構件,黃色部分的是一般常見的可買到的減速馬達組,我用了四顆所以她其實是四驅車.
<Picture 1> All elements ,for the yellow parts are the generic motor modules.I used 4 motors.


2015年10月5日 星期一

Building the Android APP to control Arduino Smart Car (製作Android APP控制Arduino 智慧車)


Below is a compeleted sample code created from MIT APP inventor2.
To Show how to connect to Andruino thru BT.
You can modify it by youself to meet which function you want.
Bassically,it is really easy to build a APP to support Arduino +BT projects  .

##這是一個用MIT APP Inventor2 所製作的Andriod APP .透過藍芽連接可以用來控制
由Arduino 所做的智慧小車.這是一個完整的範例,你也可以自己修改它來完成其他功能.
基本上由MIT APP Inventor2 來製作的Andriod APP 其實非常簡單,很容易就可以達成跟Arduino 做藍芽(BT)連線控制的動作.

Download this APP.Arduino SmartCar


<Picture 1> This is the APP layout ,At first,put the elements on the Screen1.
<Picture 1> 首先放所有元件在Screen1.

2015年9月13日 星期日

Using Android Phone to control House's Lamp ON/OFF(用Android手機遙控家裡電燈開關)





         My idea is just use one servo to switch the lamp's power button.
 Without Relay ,It just is a plug, It means we don't need to change house's original power circuits.




2015年9月10日 星期四

Using Android cell phone and Arduino + BT to control LED ON/OFF


    This is  a simple example to implement how to use android mobile phone to control LED ON/OFF thru Arduino +BT HC_05.


<Picture 1> This show the circuit design. I used the Arduino Digital Pin D2,D3 as  RX.TX signal.






<Picture2>  Using APP inventor 2 to create android APP .