!Arduino で遊んでみた (夏休みの自由研究用に) *[ArduinoUNO|http://www.amazon.co.jp/gp/product/B0044X2E5S/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=B0044X2E5S&linkCode=as2&tag=greennetworks-22] *[ArduinoMEGA|https://www.amazon.co.jp/Arduino-Mega-2560-Rev3/dp/B009FCOCCG/ref=as_li_ss_tl?ie=UTF8&qid=1470281998&sr=8-2&keywords=Arduino+Mega&linkCode=ll1&tag=greennetworks-22&linkId=2669a858b90bb1956744e001d739319c] !互換のボード *[DCcduino UNO|http://www.amazon.co.jp/gp/product/B00Q1CTB2Y/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=B00Q1CTB2Y&linkCode=as2&tag=greennetworks-22] *[サインスマート UNO R3|http://amzn.to/2aK7LpZ] *https://github.com/watterott/ATmega328PB-Testing *[DCCduino Mini USB CH340 5個セット|http://www.amazon.co.jp/gp/product/B01D3Q8ELY/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=B01D3Q8ELY&linkCode=as2&tag=greennetworks-22] *[サインスマートMega |http://amzn.to/2aw96E4] !USB シリアル変換 *5V *** [CH340|https://amzn.to/2PgMxHa](amazon) *5V ::: [ft232rl|https://amzn.to/2ZkDFEP](amazon) *5V ::: [ft232rl|http://akizukidenshi.com/catalog/g/gK-06693/](akiduki) *3V ::: [ft231x|http://akizukidenshi.com/catalog/g/gK-06894/](akiduki) *3v ::: [ft231xs|http://akizukidenshi.com/catalog/g/gI-06713/](akiduki) !開発元 *https://www.arduino.cc/ *http://www.atmel.com/ !開発環境 *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 *https://github.com/Roller23/digi-avr !機械語 *http://edu.net.c.dendai.ac.jp/micom/2019/4/ !ArduBlock https://github.com/taweili/ardublock https://github.com/taweili/openblocks 上記2つを Maven でインストール ( mvn install で OK????) https://qiita.com/nanbuwks/items/6bb036b5e915a5b24bd4 !Firmata http://firmatabuilder.com/ https://github.com/firmata/ConfigurableFirmata/releases/tag/2.10.1 https://make.kosakalab.com/esp8266/firmata-builder/ http://firmatabuilder.com/ ! stm32 と esp32 https://dl.espressif.com/dl/package_esp32_index.json https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/master/STM32/package_stm_index.json !言語 [[tiny-forth|PRG-arduino-tforth]] [[tiny-basic|PRG-arduino-tiny-basic]] !Firmata https://github.com/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.php ==http://it-edukacija.eu.hr/multidruino/default.html== !表示モニタ [HiLetgo|https://amzn.to/2Dtuasp]// [kmon|https://amzn.to/2QUn9n7] !ラズベリーパイ DIO 3.2V なので注意 Arduino は 5V !IDE-STM32 // STM32F103C8T6 http://amzn.to/2i0IubV http://amzn.to/2p3E8Yi 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 lib https://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 / 部品箱にあったから [ タミヤ ダブルギヤボックス |http://www.amazon.co.jp/gp/product/B001Q13BIU/ref=as_li_ss_tl?ie=UTF8&camp=247&creative=7399&creativeASIN=B001Q13BIU&linkCode=as2&tag=greennetworks-22] ラインセンサー: LBR-127HLD [モータの制御方法|https://micro.rohm.com/jp/techweb_motor/knowledge/basics/] [CNC の作り方|https://www.originalmind.co.jp/special/arduino/index.php] ---- !ロジアナ https://sigrok.org/wiki/PulseView http://sigrok.org/wiki/Main_Page ---- !設計 [Eagle 回路設計|https://cadsoft.io/] [KiCad 回路設計|http://kicad-pcb.org/][日本語|http://kicad.jp/] 基板屋 [P板.com|https://www.p-ban.com/] ・・ [ユニクラフト|http://unicraft-jp.com/] ・・ [基板本舗|http://kibanhonpo.shop-pro.jp/] ・・ [NEVERまとめ|http://matome.naver.jp/odai/2138026954372116601] ・・ [elecrow|https://www.elecrow.com/10pcs-2-layer-pcb.html] .... [FUSION|http://www.fusionpcb.jp/fusion_pcb.html] .... [PCBgogo|http://www.pcbgogo.jp/] ---- ! 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://gadget.renesas.com/ja/ ---- ---- ! ネタ元 [知らないとソン!? Arduinoの小ネタ色々|http://100year.cocolog-nifty.com/blog/2014/07/arduino-544e.html] http://nonbirikousaku.blog.fc2.com/blog-category-5.html [Arduinoの替わりにATMega328P-PUを使ってみる��|http://www.dorapro.co.jp/engineerblog/?p=760] [Arduino Duemilanove/Nanoを利用してAVRマイコン328P/Atiny85へ書き込みを行う|http://tetsuakibaba.jp/index.php?page=workshop/ArduinoAsISP/main] [USB-Serial-2|http://hello-world.blog.so-net.ne.jp/2011-06-20] [割り込みのサンプル|http://www.eleki-jack.com/sengokufan/2011/12/seeed-studio2.html] [建築発明工作ゼミ2008 小型のDCモータ「FA-130」を制御する方法|http://kousaku-kousaku.blogspot.jp/2008/06/arduino-dcta7291p.html] [MARUTSU TA7291Pを使った小型モータ駆動回路|http://www.marutsu.co.jp/contents/shop/marutsu/mame/81.html] [make encoder|http://cpu4edu.net/23004.html] [九州工業大学さんのオシロスコープ|http://www.iizuka.kyutech.ac.jp/faculty/physicalcomputing/pc_kitscope/] [Nano Tips|http://www.martyncurrey.com/arduino-nano-as-an-isp-programmer/] ( [google 訳|https://translate.google.co.jp/translate?sl=en&tl=ja&js=y&prev=_t&hl=ja&ie=UTF-8&u=http%3A%2F%2Fwww.martyncurrey.com%2Farduino-nano-as-an-isp-programmer%2F&edit-text=&act=url] ) [RCcont|http://www.reseau.org/arduinorc/index.php?n=Main.Connections] [IR-sens|http://d.hatena.ne.jp/NeoCat/20090419/1240158722] [pwm_cont|http://www.japanese-makers.com/archives/157] [StepMotor|http://monoist.atmarkit.co.jp/mn/articles/1608/25/news004.html] [BootLoader|https://synapse.kyoto/hard/bootloader_writer/page001.html] [BootLoader2|http://www.adgjm.pw/archives/101] [Teensy を arduinoIDE で|https://www.pjrc.com/teensy/teensyduino.html] [ejac bord|http://make.kosakalab.com/arduino/make/ae-atmega/] [逆引きArduino|http://garretlab.web.fc2.com/arduino/reverse_lookup/index.html] [USB host|https://makershub.jp/make/1175] [8x8マトリクスLED Charlieplexing|http://yoshi-s.cocolog-nifty.com/cpu/8x8.html] [MultiKey|http://www003.upp.so-net.ne.jp/doggie/linu-zau/rem/rem.htm](KEY-120-sw-240-sw-330-sw-620-sw-1.2k-sw-3.9k-sw-GND) ==== [VisualStudio_community(無料)|http://www.atmarkit.co.jp/ait/articles/1508/07/news031.html] ---- 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 http://uda.la/fm/ ---- ! flight controler https://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/ https://code.google.com/archive/p/multiwii/ ---- !motor control *http://radiopench.blog96.fc2.com/blog-entry-1253.html ----