alf45tar / PedalinoMini

Wireless and Bluetooth MIDI Foot Controller
GNU General Public License v3.0
474 stars 83 forks source link

Schematic Schematic_PedalinoMini_Sheet-1.svgnot up to date #472

Closed Wapata closed 5 months ago

Wapata commented 8 months ago

Hi there ! This schematic seem not up to date : Schematic_PedalinoMini_Sheet-1.svg at least for Leaf S3 board. As SDA and SCL as moved to there SDA-SCL "natural" pin, Pin_A5 and A6 can't be here too. There is other few things not up to date into the Readme page, where is it easier for us to tell you what ?

Have a nice day !

Wapata commented 8 months ago

LEAF_S3

And here GPIO_15 and 16 are assigned to A5/A6 and also SDA/SCL. I have pushed them to GPIO_19/20 `const byte pinA[] = {GPIO_NUM_11, GPIO_NUM_12, GPIO_NUM_13, GPIO_NUM_14, GPIO_NUM_19, GPIO_NUM_20, GPIO_NUM_17, GPIO_NUM_18, GPIO_NUM_0};

`

Jelle7and9 commented 8 months ago

I am also a little bit confused, cause I do not know what the reason was to change PIN assignments. Although I have very much respect for Alf45tar and all the effort he puts in this. And with different type of ESP32 boards it is sometimes challenging.

If you want to use the onboard 4pin I2C socket then pin 15 and 16 are the default SDA and SCL pins. So that is logical. For the previous firmware config I only changed SDA-46 to pin 42. (46 is strapping pin and has te be low for download boot mode) JTAG pins (39-42 )are not used by PedalinoMini and these pins are free assignable GPIO pins I think.

What I wonder if for example GPIO_15 an 16 can be used as output and input simultaneously. Output for SDA/SCL and input signals for pedal. Quick search on Google learns it is possible. If so then the latest pin assignment have logic, it counts up for pinD[ ] and down for pinA[ ] I can easily change the connections in my test setup on a breadboard to test.

Wapata commented 8 months ago

Capture010

Using "Momentary 1" kind look like a shortcut to me, from Pin_A1 linked to +3.3v via 10k resistor to Pin_A1 linked to GND. I'm not able to have any reaction from my buttons by using "Momentary 1" but they work great with "Momentary 2"

alf45tar commented 7 months ago

@Wapata Digital pins are using the internal pull-up resistor activated by the following code:

pinMode(PIN_D(i), INPUT_PULLUP);

There is no shortcut. When the switch is OPEN the pin is HIGH and vice versa.

alf45tar commented 5 months ago

Update schematics