arduino-tips
Arduino で遊んでみた (夏休みの自由研究用に)
互換のボード
USB シリアル変換
- 5V *** CH340(amazon)
- 5V ::: ft232rl(amazon)
- 5V ::: ft232rl(akiduki)
- 3V ::: ft231x(akiduki)
- 3v ::: ft231xs(akiduki)
開発元
開発環境
- https://www.arduino.cc/en/Main/Software
- https://github.com/arduino/Arduino
- http://www.atmel.com/
- https://www.arduino.cc/en/Main/ArduinoBoardUno
- https://www.arduino.cc/en/Main/ArduinoBoardMega2560
Linux では dialoutグループに使用したいユーザを追加すれば問題なく使えます。
- https://sourceforge.net/projects/owondriver/?source=typ_redirect
- https://qiita.com/nanbuwks/items/6bb036b5e915a5b24bd4
- https://fritzing.org/home/
emu
機械語
ArduBlock
https://github.com/taweili/ardublock
https://github.com/taweili/openblocks
上記2つを Maven でインストール ( mvn install で OK????)
https://qiita.com/nanbuwks/items/6bb036b5e915a5b24bd4
Firmata
https://github.com/firmata/ConfigurableFirmata/releases/tag/2.10.1
https://make.kosakalab.com/esp8266/firmata-builder/
stm32 と esp32
https://dl.espressif.com/dl/package_esp32_index.json
https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/master/STM32/package_stm_index.json
言語
Firmata
https://github.com/firmata/arduino
with Python
asyncio(https://github.com/MrYsLab/pymata-aio)
IO(https://github.com/tino/pyFirmata)
その他
DCCduino のUSBが認識しないhttp://www.wch.cn/download/CH341SER_LINUX_ZIP.html
MultiMator
https://electronoobs.com/eng_arduino_tut84.phphttp://it-edukacija.eu.hr/multidruino/default.html
表示モニタ
ラズベリーパイ
DIO 3.2V なので注意
Arduino は 5V
IDE-STM32 // STM32F103C8T6
https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/master/STM32/package_stm_index.json
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/stm32duino-bootloader
https://github.com/rogerclarkmelbourne/Arduino_STM32
https://github.com/rogerclarkmelbourne/STM32duino-bootloader
Nanoで 328P- に bootloader を書き込み
( Linux では上手く書き込めない。。Windows ではOK 1.6.11 (RESETへ10uFをつける事で解決))
ATMEGA328P-PU Arduino NANO
(1)RESET D10
(17)MISI D11
(18)MISO D12
(19)SCK D13
Arduino NANOのRESETとGND間に10uF
ATMEGA328P-PUのRESET(1)を10kでプルアップ
クリスタルをC(22p)・C(22p)をで接続
===========================================
NANOをPCに接続し、以下設定・書き込み
「ツール」-「書込装置」->Arduino as ISP」
「ツール」-「ブートローダーを書き込む」
8Mhz の場合には Arduino-pro / mini を選択?
http://sigrok.org/wiki/Main_Page
| Arduino UNO | ATmega328P-PU | Other |
|---|---|---|
| D13 | PB5 (SCK/PCINT5) | 抵抗 10kΩ |
| D12 | PB4 (MISO/PCINT4) | - |
| D11 | PB3 (MOSI/OC2A/PCINT3) | - |
| D10 | PC6 (PCINT14/RESET) | - |
| 5V | VCC & AVCC | - |
| GND | GND | - |
| - | PB6 (PCINT6/XTAL1/TOSC1) | 水晶 16MHz、コンデンサ 22pF |
| - | PB7 (PCINT7/XTAL2/TOSC2) | 水晶 16MHz、コンデンサ 22pF |
| RESET | 10uFでGNDへ::無い場合書き込みに失敗する::RESET側を+、GND側を- |
(UNO のRESET に10uFをつけるとボードへの書き込みを失敗する(SKETCHがUNOボードに書き込めない〜)の!!)
Arduino をつかって SKETCH を書き込む
- 0: [ツール]->[ボード:arduino nano]
- 1: シリアルポート : USB0]
- 2: 書き込み装置: Arduino as ISP
- 3: [file]->[スケッチの例]->[ArduinoISP]
- 4: [スケッチ]->[マイコンボードに書き込む]
- 5: SKETCH を選ぶ
- 6: [スケッチ]-> [書き込み装置を使って書き込む]
ESP8266 で wifi ( IDE を使う )
https://github.com/esp8266/Arduino
kicad libhttps://github.com/jdunmire/kicad-ESP8266
ESP32 で
https://github.com/espressif/arduino-esp32
https://dl.espressif.com/dl/package_esp32_index.json
http://akizukidenshi.com/catalog/g/gM-11819/
https://github.com/espressif/arduino-esp32
https://github.com/adamjvr/ESP32-kiCAD-Footprints
http://qiita.com/rukihena/items/6a904368700eb1c7d2a3
目標
ライントレースカーを作る
モータドライバIC : TA7291P / 部品箱にあったから
ラインセンサー: LBR-127HLD
ロジアナ
https://sigrok.org/wiki/PulseView
http://sigrok.org/wiki/Main_Page
設計
基板屋P板.com・・ユニクラフト・・基板本舗・・NEVERまとめ・・elecrow....FUSION....PCBgogo
CAD 3d
https://osdn.net/projects/sfnet_free-cad/releases/
3D printor ( 3D プリンタ )
http://reprap.org/wiki/Main_Page
http://reprap.org/wiki/Prusa_i3_Acrylic
http://reprap.org/wiki/Prusa_i3_Acrylic_Build_Manual
https://github.com/josefprusa/Prusa3
赤外線
http://www.geocities.jp/zattouka/GarageHouse/micon/InfraredCOM/InfraredCOM2.htm====
http://deviceplus.jp/hobby/entry023/
Recv https://github.com/cyborg5/IRLib/
Send https://github.com/cyborg5/IRLib2
## https://github.com/z3t0/Arduino-IRremote
https://github.com/MCUdude/MiniCore
ネタ元
http://nonbirikousaku.blog.fc2.com/blog-category-5.html
Arduinoの替わりにATMega328P-PUを使ってみる��
Arduino Duemilanove/Nanoを利用してAVRマイコン328P/Atiny85へ書き込みを行う
建築発明工作ゼミ2008 小型のDCモータ「FA-130」を制御する方法
MultiKey(KEY-120-sw-240-sw-330-sw-620-sw-1.2k-sw-3.9k-sw-GND)
====VisualStudio_community(無料)
http://playground.arduino.cc/code/AvailableMemory
====
8Mhz
bootloader
https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
optifix
http://forum.arduino.cc/index.php/topic,28733.0.html
http://qiita.com/hotchpotch/items/5aa3ccf8b5d94ea3f4a6
https://synapse.kyoto/hard/bootloader_sketch/page003.html
https://tiryoh.com/blog/archives/70
http://toshiba.semicon-storage.com/jp/design-support/e-learning/brushless_motor/chap3/1274519.html
ブラシレスモーター
http://www.cityfujisawa.ne.jp/~iijima-p/BRA2.htm
laser CNC
http://www.smartdiys.com/manual/smart-laser-mini-open-source-new/
Inkscape -> G_code
https://github.com/arpruss/gcodeplot/releases
CNC SHIELD
http://www.smartdiys.com/blog/cnc-shield/
Sound
http://wp.hrmux.com/?page_id=991
http://akizukidenshi.com/catalog/g/gI-12141/
FM音源
https://www.switch-science.com/catalog/3399/
https://github.com/yamaha-webmusic/ymf825board
flight controler
https://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
https://code.google.com/archive/p/multiwii/