全部文章

查看所有文章

Arduino 使用 Nordic nRF52832 SoC 的Arduino Primo 開發板

Nordic Semiconductor宣布針對教育、創客和物聯網(IoT)市場的世界最成功開源教育生態系統Arduino已經選用Nordic Semiconductor的nRF52832低功耗藍牙(Bluetooth® low energy) (前稱為藍牙智能)系統級芯片(SoC)作為其最新產品的核心,這款瞄準IoT的低成本可編程單板計算機 (“基板”)稱作Arduino Primo。 (閱讀全文…)

使用Arduino 軟件/ IDE 開發 ESP8266 WeMos D1 R2

使用Arduino 軟件/ IDE 開發 ESP8266 WeMos D1 R2

Programming the ESP8266 WeMos-D1R2 Using Arduino Software/IDE

In this Instructable I will guide you through the steps needed to install, configure and program the WeMos-D1R2 board using the Arduino IDE. (閱讀全文…)

564008285aac5

新能源電動汽車為何選用 18650 電池,包括特斯拉?

新能源電動汽車為何選用 18650 電池,包括特斯拉?

對於用18650電芯做為電動車電池的技術路線,大家可能首先把目光轉向特斯拉。特斯拉在進行電動汽車電池開發時,測試了很多種類的電池,但最後把目標鎖定在18650電池,那麼究竟18650電芯有哪些優缺點? (閱讀全文…)

title

組裝 Braccio – TinkerKit 機械手臂教學

組裝 Braccio – TinkerKit 機械臂 (繁體)

組裝 Braccio - TinkerKit 機械手臂教學

一起裝配,測試和驅動由Arduino控制的TinkerKit機械臂套件測試和驅動。

Braccio是意大利文,意思是手臂,Braccio是一套要自己動手組裝和使用Arduino和擴展板控制的機械臂套件。機械臂包含一共6個伺服馬達: (閱讀全文…)

Arduino 掃描 I2C 位置查詢

Arduino 掃描 I2C 位置查詢

I²CInter-Integrated Circuit)字面上的意思是積體電路之間,它其實是I²C Bus簡稱,所以中文應該叫積體電路匯流排,它是一種串列通訊匯流排,使用內送流量備援容錯機制從架構,由飛利浦公司在1980年代為了讓主機板、嵌入式系統或手機用以連接低速週邊裝置而發展。I²C的正確讀法為「I平方C」("I-squared-C"),而「I二C」("I-two-C")則是另一種錯誤但被廣泛使用的讀法。

#include <Wire.h>

void setup(){
Wire.begin();
Serial.begin(9600);
Serial.println("\nI2C Scanner");
}
void loop(){
byte error, address;
int nDevices;
Serial.println("Scanning...");
nDevices = 0;
for (address = 1; address < 127; address++ ){
// The i2c_scanner uses the return value of
// the Write.endTransmisstion to see if
// a device did acknowledge to the address.
Wire.beginTransmission(address);
error = Wire.endTransmission();
if (error == 0){
Serial.print("I2C device found at address 0x");
if (address < 16)
Serial.print("0");
Serial.print(address, HEX);
Serial.println(" !");
nDevices++;
}else if (error == 4){
Serial.print("Unknow error at address 0x");
if (address < 16)
Serial.print("0");
Serial.println(address, HEX);
}
}
if (nDevices == 0)
Serial.println("No I2C devices found\n");
else
Serial.println("done\n");
delay(5000); // wait 5 seconds for next scan
}

 

台灣物聯科技 TaiwanIOT