-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP-01S connection to wifi connector on the skr-1.4-turbo #221
Comments
Hi, |
Hi, |
I think I found the problem: After some search I found the definitions of the UART pins for the LPC176x series. So to make UART3 (Wifi connector) working on the BTT 1.4 Turbo board, you have to go to: I hope this was helpful! |
I followed TJ1999's instructions using platformio with an SKR 1.4 board and an ESP-01S plugged into the Wi-Fi connector on the board. Changed /.platformio/packages/framework-arduino-lpc176x/cores/arduino/HardwareSerial.h It works! I can use Octopi on the USB port and the ESP-01S plugged into the wifi connector at the same time! Thank you for the excellent work! |
New to platformio but how do I rebuild the packages. I just did compile but it seems only compile the SKR project. Thanks |
You should to go to the platformIO installation Folder, because in there are the arduino libraries. I use Linux so my path is Normally the compiler recompiles if a file changed... So after changing the values of the UART pin configuration, the compiler should compile with the new values. |
if I set SERIAL_PORT_2 to 3 I can no longer connect to the pc on the usbport. is that normal? |
I follow yours instruction, and all works, but now my tft35 v2 is no longer connect to the board. |
Hi, I have SKR 1.4 mainboard with Merlin 2.0.5 + BT touch and REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER - I followed instructions with changing options in HardwareSerial.h.
When I remove module, all works fine. When I change HardwareSerial definition to default, the problem is still excists. Maybe somone can say what is relation between LCD and WIFI on SKR 1.4? I work on 12V power. |
Yes this is normal. At leaast on my Sidewinder X1. Before the ESP module SERIAL_PORT_2 was -1 which stands for USB communication. So you have to decide whether you want USB connection or a wifi connection. |
Maybe you changed the Serial_Port number which belongs to your display? |
Well, double check your connections. As I got my Wifi module I almost connected it the wrong way because if I would correctly connect it, it would face away from the board. I had to use jumper wires. |
can i add SERIAL_PORT_3 to marlin to work lcd wifi and pc
|
|
I found an issue, the tft 35v2 share the serial_port with the esp01s. How i can change the serial_port of tft? |
Is there any way to make these changes in the platformio.ini file instead? PinCfg.Funcnum = 3; //was 1 |
Trying to figure out, did any of you manage to make ESP2866 work plugged into BOARD, not TFT ? |
I have moved on from this board, but did find that I needed to solder a jumper to enable the ESP in my case. Might be the same and you can easily test with a hand-held jumper or other temporary short. Not sure if that's the issue or not, but worth checking. |
It works. Royal pain in the butt that SKR |
for anyone trying to do this recently, instead of modifying your .platformio files, now you just need to add an extra define to your Configuration.h or somewhere else, at your discretion: #define LPC_PINCFG_UART3_P4_28 edit: also, if you want it fast and reliable, you'll want to use a hardware serial port on the raspberry pi. on a pi 4, you can use different pins and and turn on additional hardware UARTs. On pi 2 or pi 3, you'd need to use the instructions to disable bluetooth (disable-bt overlay), here: https://www.raspberrypi.org/documentation/configuration/uart.md followed by updating your configuration in octoprint to make it show the /dev/ttyAMA* ports, under configuration, Serial Port, add /dev/ttyAMA* to the additional serial ports box. |
Hei Jamon, you are a genius. the last platformio update has broken the previuos set up. |
In 2.0.7 and bugfix this definition already exists in Pins_BTT_SKRv1_4.h |
For me .platformio\packages\framework-arduino-lpc176x\cores\arduino\HardwareSerial.h looked: else if (UARTx == LPC_UART3) {
but have to look: else if (UARTx == LPC_UART3) {
|
I came across this thread to find out why I couldn't get my EPSP01S working with the SKR 1.4 |
Serial port speed needs to be the same in Marlin and ESP firmware. Learned it hard way. |
My Configuration is as follows, Board : SKR 1.4 and Wifi Module : ESP01. The ESP01 works fine, as long it is plugged into a USB Programmer (not in Programm-Mode). I can access the ESP via IP from any computer on my network. |
I try to connect the ESP-01S module to the SKR-1.4-turbo Wi-Fi connector on the board, but to no avail.
But connection to TFT connector on the board works well (It has RX,TX, RST and only 3.3v I get from different place). While studying the pins P1_28, P1_29, so marked as wifi on the board schema, I get it not found in the provided Marlin here.
Does who have success, on the connection this module to board, on WiFi connector?
The text was updated successfully, but these errors were encountered: