cl0rm / eiscp_bridge

add WiFi Control to older onkyo AVRs. Converts the RS-232 protocol into onkyo's own Ethernet protocol.
7 stars 0 forks source link

install help #2

Closed Roughman007 closed 2 months ago

Roughman007 commented 2 months ago

Hi, can anyone advise me, I have compiled the code and uploaded it to d1 mini. I have edited the file /doc/tcp_server_example.cpp(ssid and password) I don't know if I am editing the correct file. The d1 mini will not connect to the network. Can someone point me in the right direction?

Thanks.

cl0rm commented 2 months ago

The files in /doc are not compiled. All relevant source files are in the /src directory To get going, enter your receiver's name in udp_server.c, then compile and upload the code. You should now find a wireless LAN access point with the name "eISCP_bridge". With your phone, you can now connect to this, it should automatically redirect to the setup page where you can enter the SSID/Password of the real WiFi (where e.g. Home Assisstant / Python can then find the device). Now the device should be ready.

In serial.cpp there are two lines

define MAX3232_TX 5

define MAX3232_RX 4

These are the Pins (GPIO 4/5 --> Correlate to D1/D2 if i remember correctly) to connect the TTL->RS232 level shifter. You can of course change the Pins. Note that the original TX/RX Pins will not work (without modifying the D1 Board), as they are connected to a TTL->USB converter on the D1 itself

Roughman007 commented 2 months ago

Thank you. your advice helped, now everything works.