Ethernet module

For general Flowcode discussion that does not belong in the other sections.
chipfryer27
Valued Contributor
Posts: 1673
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 372 times
Been thanked: 581 times

Re: Ethernet module

Post by chipfryer27 »

Yes, you are correct :D
Yay.... Law of chance and average says I should get something right eventually

Much like Bob, I think drinking time to celebrate....

Regards

RGV250
Posts: 333
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 32 times
Been thanked: 33 times

Re: Ethernet module

Post by RGV250 »

Hi,
I would have the same issue with the ESP32, I do not want to go down the route of having an external device which looks like the only answer.
It looks like I will have to go back to my original idea of converting the Ping project. I think that is possible but really disappointed I will not get the MAC address as that would help to identify unknown devices.

Bob

Steve-Matrix
Matrix Staff
Posts: 1544
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 360 times

Re: Ethernet module

Post by Steve-Matrix »

Rather than try to convert a project that uses an unnecessary external device, you will probably need to start again I think.

If you explain what you are trying to achieve (e.g. what device(s) are you trying to connect to and for what purpose), then someone on the forum might be able to suggest a way forward. There are many ways to interface using the TCP/IP stack, and usually it is much easier to link using the higher protocols meaning you can ignore any of the lower-level protocols (like the MAC layer).

RGV250
Posts: 333
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 32 times
Been thanked: 33 times

Re: Ethernet module

Post by RGV250 »

Hi Steve,
As I think the W5500 example did everything I needed I decided to get one and try that. They are not a lot of money, I just would have liked to be able to use the Pi's on board Ethernet.

I am trying to monitor everything on my home network. The MAC address is actually quite useful as some devices are DHCP so the IP could change.

Regards,
Bob

LeighM
Valued Contributor
Posts: 486
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 83 times
Been thanked: 260 times

Re: Ethernet module

Post by LeighM »

If you want to use Raspberry Pi and its interface, you could use arp-scan

Code: Select all

sudo arp-scan --interface=eth0 192.168.0.0/24
You could call this in a Flowcode C icon and redirect the output to a file

Code: Select all

system("sudo arp-scan --interface=eth0 192.168.0.0/24 > scan.txt");
Then use the Flowcode File RPI component to process the MAC list in scan.txt
Just another idea :D

RGV250
Posts: 333
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 32 times
Been thanked: 33 times

Re: Ethernet module

Post by RGV250 »

Capture.JPG
Capture.JPG (26.18 KiB) Viewed 305 times
I think I will leave that to you genius's, I am just happy you sorted out the HDMI issue and I will see how I get on with the W5500.

Regards,
Bob

Post Reply