日記/2016-03-21
をテンプレートにして作成
ホーム
検索
最終更新
テスト
リンク
ヘルプ
新規
pukiwiki-official
pukiwiki-dev
ヘルプ
プラグインヘルプ
開始行:
***Arduino へRasPi経由で書き込みする方法 [#nd668f80]
Raspberry Pi(A) + DV-Mega RPi Radio(single) ケースを含め...
&ref(pic-2016032101.jpg,,40%);
RPIradioには送受信モジュールADF7021とArdiunoのチップATMEG...
必要に応じてファームウエアの書き込みをしなくてはならない...
装着のまま、Arduinoのファームウェア書き換えができる方法が...
参考:http://wp.me/P73v26-eM
+結線
コンデンサC45の内側とGPIOの7pinを緑のリードで結線する。
&ref(pic-20160321-151729.jpg,,60%);
+RPi側の準備
sudo apt-get update
sudo apt-get install git avrdude python-dev python-rpi.g...
git clone https://github.com/openenergymonitor/avrdude-r...
cd avrdude-rpi
sudo cp autoreset /usr/bin
sudo cp avrdude-autoreset /usr/bin
sudo mv /usr/bin/avrdude /usr/bin/avrdude-original
sudo ln -s /usr/bin/avrdude-autoreset /usr/bin/avrdude
+書き込み
&color(Red){''注意''};二回目以降書き込む場合、すでにser2n...
/dev/ttyAMA0を使用しているので、必ず&color(Red){/etc/init...
DVMEGA_HB_V223_UNO.cpp.hexを書き込む場合
avrdude -p m328p -c arduino -P /dev/ttyAMA0 -b 115200 -F...
短くコマンドにした
-- m328up.sh --
#!/bin/bash
if test $1 <> "" ;then
avrdude -p m328p -c arduino -P /dev/ttyAMA0 -b 115200 -F...
fi
echo "Usage: m328up.sh aabbcc.hex"
#clear
#comment
#navi(日記)
終了行:
***Arduino へRasPi経由で書き込みする方法 [#nd668f80]
Raspberry Pi(A) + DV-Mega RPi Radio(single) ケースを含め...
&ref(pic-2016032101.jpg,,40%);
RPIradioには送受信モジュールADF7021とArdiunoのチップATMEG...
必要に応じてファームウエアの書き込みをしなくてはならない...
装着のまま、Arduinoのファームウェア書き換えができる方法が...
参考:http://wp.me/P73v26-eM
+結線
コンデンサC45の内側とGPIOの7pinを緑のリードで結線する。
&ref(pic-20160321-151729.jpg,,60%);
+RPi側の準備
sudo apt-get update
sudo apt-get install git avrdude python-dev python-rpi.g...
git clone https://github.com/openenergymonitor/avrdude-r...
cd avrdude-rpi
sudo cp autoreset /usr/bin
sudo cp avrdude-autoreset /usr/bin
sudo mv /usr/bin/avrdude /usr/bin/avrdude-original
sudo ln -s /usr/bin/avrdude-autoreset /usr/bin/avrdude
+書き込み
&color(Red){''注意''};二回目以降書き込む場合、すでにser2n...
/dev/ttyAMA0を使用しているので、必ず&color(Red){/etc/init...
DVMEGA_HB_V223_UNO.cpp.hexを書き込む場合
avrdude -p m328p -c arduino -P /dev/ttyAMA0 -b 115200 -F...
短くコマンドにした
-- m328up.sh --
#!/bin/bash
if test $1 <> "" ;then
avrdude -p m328p -c arduino -P /dev/ttyAMA0 -b 115200 -F...
fi
echo "Usage: m328up.sh aabbcc.hex"
#clear
#comment
#navi(日記)
ページ名: