Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
esp32:esp32_main [2017/12/15 14:03]
admin [Espressif ESP32 Development Board]
esp32:esp32_main [2018/02/23 14:47]
admin [WeMos ESP32 OLED Board]
Line 20: Line 20:
 Set the flashing speed to 460800 or lower.\\ Set the flashing speed to 460800 or lower.\\
 Upload your scetch.\\ Upload your scetch.\\
 +It could be necessary to start the IDE with administrator rights, too.\\
  
 ---- ----
Line 26: Line 27:
 {{:esp32:ita4kni.jpg?600|}}\\ {{:esp32:ita4kni.jpg?600|}}\\
 The OLED is connected to pin5 (SDA) and to pin 4 (SCL).\\ The OLED is connected to pin5 (SDA) and to pin 4 (SCL).\\
 +The I2C address of the screen is 0x3c.\\
 +
 +
 Librarie:\\ Librarie:\\
 [[https://github.com/squix78/esp8266-oled-ssd1306]]\\ [[https://github.com/squix78/esp8266-oled-ssd1306]]\\
 Board:  ESP32 Dev Module Board:  ESP32 Dev Module
  
 +Manuals:\\
 [[http://www.instructables.com/id/ESP32-With-Integrated-OLED-WEMOSLolin-Getting-Star/]]\\ [[http://www.instructables.com/id/ESP32-With-Integrated-OLED-WEMOSLolin-Getting-Star/]]\\
 +[[https://techtutorialsx.com/2017/12/02/esp32-arduino-interacting-with-a-ssd1306-oled-display/]]\\
  
 ---- ----
Line 57: Line 62:
    cd tools    cd tools
    sudo python2 get.py    sudo python2 get.py
 +
 +----
 +==== Programming the ESP32 ====
 +IO pin 34 and pin 35 don't work!\\
 +**ESP-IDF Programming Guide**\\
 +[[https://esp-idf.readthedocs.io/en/v2.0/index.html]]\\
 +
 +**the 8bit DAC:**\\
 +[[https://esp-idf.readthedocs.io/en/v2.0/api/peripherals/dac.html]]\\
 +   #include <driver/dac.h>
 +   void setup() {
 +   }
 +  void loop() {
 +   for (int i=0; i<255; i++){
 +   dac_out_voltage(DAC_CHANNEL_1, i);
 +   }
 +  }
 +Output is a signal between 0 and 3.2V with 76Hz.
  
 ---- ----