Hi,
I want to make a web server, data logger with ultrasonic sensor and, i2c lcd, rtc module, sd module, enc28j60 module and arduino mega 2560. However, i have a big problem of my code. My ide v. 1.8.13.
I am very sad about my problem. If you can help me, i will so so happy.
Please help me about this problem.
I want to use sd card module and ethernet module together. My code works fine if i remove miso or vcc pins of my SD module from the board. However, if they are connected, my code doesn't work. My lcd ekran shows the requirements of my code until arrive this line "if (ether.begin(sizeof Ethernet::buffer, mymac, 10) == 0)". Then, lcd screen freezes.
My pins;
Arduino Mega 2560
Rtc module:
Clk: 24, dat: 26, rst: 28, vcc: free
Ultrasonic modül:
Trig: 34, echo: 32
Sd kart modül:
Mosi: 51, miso: 50, sck: 52, cs: 4
Lcd i2c ekran modül:
Scl: 21, sda: 20, gnd and 5v vcc
Ethernet modül:
Cs: 10, and icsp pins