追蹤者

2020年1月24日 星期五

Portable Programs of Windows

2.  
  • Open the extracted folder and in its root create a new directory called portable, alongside the others;


  • portable> 

    • portable>packages

    • portable>sketchbook>libraries

    • portable>staging

3. From now on all the sketches, libraries and additional cores will be installed in the portable folder. 

You can copy the whole main folder and bring it with you anywhere you want: it will retain all your preferences, libraries, cores and sketches.


若從未安裝

[偏好設定 ]
1.
要設開發板管理網址 加上下列網址

https://dl.espressif.com/dl/package_esp32_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json

2.
 sketchbooks
選  C:\Users\..Downloads\arduino-1.8.15\portable\packages\esp32

[設定ESP32]
 1. 工具 > 開發板選 Arduino UNO
 2. 工具 > 開發板選 開發板管理員> 搜尋 ESP32> 安裝 ESP32
     3.       工具 > upload speed > 115200
     4.       工具 >  choice com port 

[以系統管理員執行 Arduino] 
存檔 or 新增Sketch
便會存在portable\packages\esp32目錄下
 

PS   C:\Users\李明智\Downloads\arduino-1.8.15Portable-arduino15\arduino-1.8.15\Arduino15\packages\esp32

==================================================

Arduino
http://www.circuitguru.co.uk/教學-portable-arduino-installation/

?
https://forum.arduino.cc/index.php?topic=636156.0

Discuz
https://forum.arduino.cc/index.php?topic=636156.0

There is a new feature which will somewhat address this issue. It is the addition of a "recently used boards section, which is always at the top of the Tools > Board menu. This is already available in the beta build of the Arduino IDE:
https://www.arduino.cc/en/Main/Software#beta

Download Arduino portable版本
https://sourceforge.net/projects/arduino-portable/  
ArduinoPortable直接啟動有錯誤


直接到APP>>arduino>examples>選取範例 INO檔  
(如範例Button.ino)
可帶動arduino程式及範例

另外可將 Button.ino按右鍵 傳送捷徑到桌面
再將捷徑 複製到想放的目錄  代替啟動程式


&
有 openoffice, chrome, Xammp, 7Zip, Putty(telnet)...




初步看起來___ 其實就是下載 備份 另建一個portable目錄吧!!!
1. Arduino 官網 下載 Windows  zip file for non admin intall  
2. 解壓縮到 C: arduino 新建一個目錄 clean , arduin0-1.8.9  & arduino-1.8.9-TG
(下面 有C: /arduino/clean/arduino-1.8.9-windows/ arduino1.8.9)
3. 再在C: /arduino/clean/arduino-1.8.9-windows/ arduino1.8.9下,  新建一個 portable 目錄
這個portable dir 可放置一份 aruino ide備份

copy C: /arduino/clean/arduino-1.8.9-windows/ arduino1.8.9/portable  dir 
to     C: /arduino/arduino-1.8.9-TG dir

--------------------------------------------------------------------------------------------------


2020年1月6日 星期一

ESP32 DEVKIT V1 - DOIT (ESP-WROOM-32) COMMON BOARD

嘗試設計一個共用板, 方便大家連接使用 IIC, SPI顯示器, 溫溼度計, PM1.0感測器, 外接馬達, Encoder Switch旋鈕(調整輸入數值大小, 及一個按鍵)


DHT22 3.3V GND, D15
PMS7003 5V,GND, D16 RX2 ( SPI RGB OLED也用到RX2 )


[]

[ 0.95" oled color 96x64 ssd1331 ]

2020/Jan/07 實驗成功



YOUTUBE 教學 https://www.okclips.net/video/印度/esp32ssd1331oled.html  
GOOD

二 解壓縮 SSD_13XX-1.0 目錄後, 再將該目錄改名成 SSD_13XX ,
放進 C:\Users\user\Documents\Arduino\libraries\
三 arduino> examples> SSD_13XX> Clock_example, 不用修改直接 upload to ESP32
四 接線:
ESP32 DEVKIT V1
GPIO 23 to oled SDA GPIO 18 to oled SCL, GPIO 5 to oled RST GPIO 16(RX2) to oled DC GPIO 17(TX2) to oled CS


PS


另一組程式待測
https://github.com/kodera2t/ESP32_project/tree/master/ESP32_color_board




[ IIC 128X32 OLED顯示 ]
2020.Jan.11 實驗板測試成功























[ 電子紙 ] EPAPER
16 RST as E-PAPER
17 DC as E-PAPER 5 VSPI CS0 as E-PAPER
[提供基本兩組應用]

1. SPI 彩色OLED 顯示的 空氣品質及驅動馬達過濾空氣。
2. I2C 雙色OLED顯示器, 繼電器級進音量控制 及訊號選擇 加溫度顯示功能,
以及 超過65度風扇散熱。



待測
使用兩個I2C oled
https://clockanddata.com/reading-gps-signals/



各式 OLED, LCD


RGB OLED 0.95" 96x64 Pixels 16-bit Color OLED - SPI Interface

/*
SD1331 Pin Arduino ESP8266 rPi
1 GND
2 VCC
3 SCL/SCK/CLK/D0 13 GPIO14/D5 GPIO11/SPI0-SCL
4 SDA/MOSI/D1 11 GPIO13/D7 GPIO10/SPI0-MOSI
5 RES/RST 9 GPIO15/D8 GPIO24
6 DC/A0 (data) 8 GPIO05/D1 GPIO23
7 CS 10 GPIO04/D2 GPIO08
*/ ESP32 SPI基礎研究 https://www.youtube.com/watch?v=w3VIxtLPuRE ESP GPIO 23 MOSI, = SDO slave data out (out to slave device) SDA GPIO19 MISO (SD卡讀資料), =SDI slave data in (OLED 用不到) GPIO 18 SCK, GPIO 5 CS (SS Chip or Slave select), GPIO 16 RST (GPIO 9?) GPIO 17 DC (data or command)