User Tools

Site Tools


arduino_ide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arduino_ide [2023/11/17 04:20] – [Terms] jhagstrandarduino_ide [2023/11/28 21:34] (current) jhagstrand
Line 1: Line 1:
 ====== Arduino IDE ====== ====== Arduino IDE ======
  
-Using microcontrollers.+IDE vs CLI 
 + 
 +Arduino, Arduino CLI, include path 
 + 
 +Arduino mpu 6050 
 + 
 + 
 +=== Using microcontrollers ===
  
 A microcontroller is a type of integrated circuit (IC), a chip. A microcontroller is a type of integrated circuit (IC), a chip.
Line 72: Line 79:
 === core = package = platform === === core = package = platform ===
  
-<code> 
   $: arduino-cli upload ...    $: arduino-cli upload ... 
-  Error during Upload: Platform 'arduino:avr' not found: **platform** arduino:avr is not installed+  Error during Upload: Platform 'arduino:avr' not found: platform arduino:avr is not installed
   Try running `arduino-cli core install arduino:avr`   Try running `arduino-cli core install arduino:avr`
      
Line 82: Line 88:
   esp32:esp32   2.0.13    2.0.13 esp32                  esp32:esp32   2.0.13    2.0.13 esp32               
      
-  $: arduino-cli **core** <b>install</b> arduino:avr +  $: arduino-cli core install arduino:avr 
-  Downloading **packages**...+  Downloading packages...
   arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7 downloaded                                                                           arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7 downloaded                                                                        
   arduino:avrdude@6.3.0-arduino17 downloaded                                                                                     arduino:avrdude@6.3.0-arduino17 downloaded                                                                                  
Line 97: Line 103:
   Configuring tool....   Configuring tool....
   arduino:arduinoOTA@1.3.0 installed   arduino:arduinoOTA@1.3.0 installed
-  Installing **platform** arduino:avr@1.8.6...+  Installing platform arduino:avr@1.8.6...
   Configuring platform....   Configuring platform....
   Platform arduino:avr@1.8.6 installed   Platform arduino:avr@1.8.6 installed
-</code>+   
 +  $: arduino-cli core list 
 +  ID            Installed Latest Name                 
 +  arduino:avr   1.8.6     1.8.6  Arduino AVR Boards   
 +  arduino:esp32 2.0.13    2.0.13 Arduino ESP32 Boards 
 +  esp32:esp32   2.0.13    2.0.13 esp32     
 + 
 + 
 +^ Platform name in Boards Manager ^ folder ^  
 +| ESP32 Arduino (Arduino) /home/john/.arduino15/packages/esp32/hardware/esp32/2.0.13/boards.txt    | 
 +| Arduino AVR Boards       | /home/john/.arduino15/packages/arduino/hardware/avr/1.8.6/boards.txt     | 
 +| ESP32 Arduino            | /home/john/.arduino15/packages/arduino/hardware/esp32/2.0.13/boards.txt 
 + 
 +Where are the human names of the platforms displayed in the Boards Manager menu? 
 + 
 +File - Preferences:  /home/john/.arduino15/preferences.txt 
 + 
 +Boards Manager - where is this list of "packages"? 
 + 
 +Library Manager - where is this list of libraries? 
  
 ===== Folder Structure ===== ===== Folder Structure =====
Line 192: Line 218:
 UART - Universally Asynchronous Receiver/Transmitter, a transmission method UART - Universally Asynchronous Receiver/Transmitter, a transmission method
  
-  + 
 +=== USB to Serial chip === 
 + 
 +CP2102,, Silicon Labs, SINGLE-CHIP USB TO UART BRIDGE, requires drivers 
 +https://www.sparkfun.com/datasheets/IC/cp2102.pdf 
 + 
 +FT232RL,, FTDI, (my board is from HiLetGo, is NOT genuine FTDI, and I have NOT gotten it to work with ESP32-CAM) 
 + 
 +CH340G, CH340C - USB to serial chip, used by ESP32-CAM-MB (mine is from Aideepen, and it works) 
 + 
 +Atmega16U2 - an MCU programmed as a USB-to-serial converter (used by Arduino Uno R3) 
 + 
 +=== USB to Serial board === 
 + 
 +FTDI, , 6 pins: DTR, RX, TX, VCC, CTS, GND 
 + 
 +chips and boards, ICs and PCBs 
 + 
 +boards: converter, adapter, module, programmer, breakout, developer,  
 + 
 ===== Logic ===== ===== Logic =====
  
arduino_ide.1700212830.txt.gz · Last modified: 2023/11/17 04:20 by jhagstrand

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki