juani13973 / pedalinio-18-footswitches-prototype

9 stars 0 forks source link

Ordered some PCBs #2

Open Sthopeless opened 3 years ago

Sthopeless commented 3 years ago

Hello there and thanks for sharing your work with us :)

I have ordered a small batch of the Motherboards PCB's and have a few questions if you don't mind

Which Vreg did you use? The pictures can't see very well the pcb

Also I noticed the pins of the Oled don't match my Display, the VCC and GND seem changed, is that correct or your display has it that way?

Last one! only today I noticed the PCB ESP32 has 36 pins, I have ordered one of those from Aliexpress with 38 pins and cannot find one that matches the pinout on the PCB. could you link one of the ESP32 boards for reference?

juani13973 commented 3 years ago

Hi Sthopeless, Vreg is a tension regulator. You can enter with up to 36V and it will take it down to 5V.

This is the Oled I bought.

This is the DOITESP32 dev kit I bought. Since it has more pins, you can externalise the boot switch and change the A/B/C modes of pedalino externally. You can follow this link and this other link to do it.

If you have already your components I would encourage you to spend some time in Fusion 360 to build your own PCB and buy it in China. It comes in 10 days max and it cost 5 dollars + shipping cost. Or if you can leverage my fusion 360 files you might be able to amend my designs.

Sthopeless commented 3 years ago

thanks alot!! I've spended all day on Aliexpress searching for the same ESP32 board but couldn't find it.. Lucky all the ones I bought were from Amazon and I can return them!

Once again thanks alot!!

NeidalMcCanuk commented 3 years ago

Hello and good night. I'm from Mexico and like Sthopeless, I only find in my country the ESP32 with 38 pins (https://articulo.mercadolibre.com.mx/MLM-727796906-esp32-38-pines-esp-wroom-32-_JM), then... if I buy this board, when I load the project (PedalinoMini) in VSCode via PlatformIO, in the "Project Task" tab, should I select the "esp32dev" or "esp32doit-devkit-1" environment?

Another one... PlatformIO is the only way to build and upload the project? or it can be possible via Arduino IDE?

Thanks juani13973!

juani13973 commented 3 years ago

Hola MeidalMcCanuk, For these type of questions it is better if you refer to alf45tar who created the pedaling project. I just implemented that open source footswitch into my final prototype. (So the mechanics). In that page you will get tons of QnA answered and you will learn a lot on how to make this project work.

In any case I can answer the questions : Use the ....devkit-V1 that has all the interphases (wifi, BT etc) PlatformIO is not the only IDE you can use. I used that one because alf45tar recommended that one and he provided the step by step on how to sync up the project with GitHub, compile and upload.... (all worked well). I think that the Arudino IDE is very basic and will not work but I am not an expert to answer that.

When I started this project I was clueless of all this !. It took me 6 months to get there. Amazing learning process.

Buena Suerte ! juani13973

e36910 commented 3 years ago

Hi, how did you connect led bulbs to esp32? I'm curious about the pinout and how to get them to work on every button press? The interconnection of the button and the LED is necessary, when I press 1 I would like the lamp 1 to turn on, when I press 5 I would like the lamp 5 to turn on and 1 to turn off. Do you know how to solder and configure it?

juani13973 commented 3 years ago

Hi e36910. Please refer to the project owner to learn about the overall design and project. It is here

To quickly answer. The leds are not connected to the footswitches. In my design they are in the same PCB but the footswitch ladder and the leds are 2 independent circuits. I put them together so I can mount all easily.

The leds are digital programable leds. They are all connected in serial mode (one after the other one). One after the other one and with the software that alf45tar created, you let each one to turn on and off and pick the color you want. So they are not normal cheap leds. They have 16M colors. :)

These leds are WS2812

hope this helps,

e36910 commented 3 years ago

Ok, I'll ask you otherwise. The datа is connected to pin D5, + via vin, and gdn to -. LEDs one by one. There are 10 ice and 7 slots in the settings, how did you choose for the 18 ice settings?

juani13973 commented 3 years ago

Hi e36910. I really do not understand your question.

You really need to go into the pedalino mini GitHub repository to find the schematics.

The leds have Vin (+) and GND(-). They are powered with 5V. Then there is a pin going out of ESP32 into the first Din and after that, you go out on the same led Dout to going in in the 2nd led Din. The ESP32 pin is IO5 (the fiscal PIN number will vary on which board you use).

If you buy the stand alone LEDs you need to add capacitors so you are better if you look for boards already built like the one I used. Or stand alone leds. Follow the schematics of the PDF file.

You need to let the software know how many leds you have. (Again you find this in the QnA of the pedalino project).

Hope this helps, Juan,