summaryrefslogtreecommitdiff
path: root/source/microcontrollers/olimex-esp32-pro/index.rst
blob: 8c86d7e3b89e467061e6574c5b432a96ac7b5671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
******************
 Olimex ESP32-PRO
******************

Notes on the ESP32-PRO_ boards from olimex.

.. _ESP32-PRO:
   https://www.olimex.com/Products/IoT/ESP32/ESP32-PRO/open-source-hardware

Arduino
=======

Version 1.8 of Arduino (as installed from Debian packages) is ok.

Setup
-----

* Under File → Preferences, add the espressif URL to the Additional
  Boards Manager URLs field. (on 2024-09-04 that's
  ``https://dl.espressif.com/dl/package_esp32_index.json``).
* Under Tools → Board → Boards Manager install a suitable version of
  esp32 by Espressif Systems: on 2024-10-04 version 3.0.2 worked.

.. note::
   As of September 2023 there was a bug in the Espressif esp32 package for
   Arduino that meant that it wasn't working with the Olimex ESP32-PRO
   board, the workaround was to use Version 2.0.9 of the package; this
   has been fixed at some point before version 3.0.2.

Programming
-----------

These are the settings used:

:Board: OLIMEX ESP32-EVB
:Upload Speed: 115200
:Flash Frequency: 80MHz
:Partition Scheme: Default
:Core Debug Level: None
:Erase All Flash Before Sketch Upload: Disabled

I2C
---

To use i2c on the marked pins 11 and 12 on EXT2 you need to select the
I2C port with::

   Wire.setPins(32, 27);

e.g. in the ``setup()``, before starting the i2c communications.

Troubleshooting
---------------

When using the Arduino serial monitor note that you may have to send
some data before it will start receiving from the board.

See also
--------

* `<https://www.olimex.com/forum/index.php?topic=9242.0>`_

..
   vim: set filetype=rst: