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月20日 星期二

A Joystick example for Connecting arduino to mblock (scratch 2.0)(一個arduino連結到mblock的範例-搖桿使用)





       This  example show  how to connect the arduino to mblock(actually,it is scratch 2.0).
       I used one arduino UNO and one joystick.the H/W connection like below <picture 1>.
       please pay attation, I connect the joystick VCC to 3.3V not 5V.  
       than connected the USB to computuer usb port.


<Picture 1> Arduino UNO+ Joystick




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年10月4日 星期日

Arduino Smart car with supersonic (Arduino 自動避障智慧小車)



   Using Arduino & spuersonic to implement the smart car.
 When it is driving and detected some stuff before  30cm distance,it can  brake automatically then
 drive backward a while and randomly change the  rightward or leftward direction.


運用Arduino 和超音波測距感測器實現智慧小車, 在偵測到物體約30cm之前
進行自動剎車,後退,隨機改變左右方向.