ESP32 With KSZ8081 - esp32

I have got the hardware developed for ESP32 with KSZ8081 PHY controller. I am trying to program ESP32 for the ethernet with basic examples given in VS code IDE.
I am getting Ethernet Started but no link up and IP address is not getting assigned.
How to configure the ethernet basic example to work with KSZ8081 controller.

Related

From WiFi to Cellular 3/4G on ESP32

I am building a project utilizing Wifi on the ESP32 module. Using RTOS, I am running a web server on 1 core and a web client on another core. This works very well and I can access the web server remotely via my browser and the WiFi provided IP address. The Web client reads some sensors and sends the data via WiFi to my database. All good and everything works as desired.
Now I need to do the next step and move beyond the reach of the WiFi and reproduce the same result via 3/4G cellular. I looked at the "easy" solution to use an industrial 3/4G WiFi router and simply keep what I have. Cost of these "industrial" type routers are on the high side, where as 3/4G module which also include a GPS chip are around half or less. Problem is that I cannot get my head around how I will "replace" my current WiFi functionality with one of these modules. The modules seems to expect you to connect via serial (rs232) and using modem AT commands establish a connection to the internet. Question is, after connecting to the internet, how do you continue to have "network functionality" same as with the built-in WiFi? Is there some library that will do ethernet over the serial port? Can I still have the WiFi and the "serial ethernet" running at the same time or switch between the two?
Thanks!

What Windows 10 driver model is appropriate for implementing IP link layer?

I'm looking to write a simple Windows driver to enable running TCP/IP over a proprietary RF module. The module already provides Ethernet-style data packets with source/destination MAC, so I just need to layer IP packets (generated by the regular Microsoft IPv4 subsystem), set the MTU appropriately so they will be the right size, and then call the module's serial API. I'll need to be able to handle transmit statuses and implement an ARP protocol as well. I want the driver to expose a new interface similar to a wifi or ethernet card in Network Connections and use the normal Windows IP stack.
The module is UART and might be connected via FTDI chip, RS-232 converter, or native UART on an IoT Core board, so it will just be talking to a generic serial port. I am fine with only running on Windows 10, but I'm still not sure what to use. Can I use the UWP VPN provider? Do I need to write an NDIS miniport driver, or an interface provider? Also, how will I handle the driver needing complete control over the serial port at all times? I can't write a serial driver as it might be connected via many different types of serial ports.

HIL prototype using OMNeT++/INET external interfaces – error

I've been trying to implement a simple prototype for hardware-in-the-loop (HIL) simulations using OMNeT++/INET external interfaces. My test network consists of an Arduino Ethernet sensor, and a simulated subnet including an INET router and an INET standard host. The external sensor sends UDP datagrams every N seconds.(One-way UDP protocol and the server in this case is a pure UDPSink which does not send any requests.)
This test is similar to the INET "emulation" examples, and the one discussed in a recent post here, but I've never seen any mentions of the error I'm getting right now.
I'm are running the tests on an Ubuntu v. 12.04 LTS Linux machine using OMNeT 4.6 and INET 2.6. The simulation seems to throw an error before it starts processing any datagrams:
Error in module (IPv4) UdpSensor.extRouter.netWorkLayer.ip (id =29) at event#3, t=0: check_and_cast(): cannot cast (cMessage *)UdpSensor.extRouter.netWorkLayer.ip.BIND to type 'cPacket *'
I would appreciate any advice. I can post the details of my network setup, and we’d be happy to contribute to writing documentation for configuring & using OMNeT++/INET external interfaces, and on how to use OMNeT++ for real-time HIL simulations.

Is it possible to target a specific Arduino device with the CC3000 Wifi over the web?

I've got my CC3000 Wifi shield and Arduino Uno working as intended using the several libraries, including the aRest.h library. In order for me to control the Arduino from anywhere across the web, I configured the port-forwarding settings on the router to address the Arduino via the routers ip address.
My question is this: If I had a multiple Arduino modules/devices that relied on two way communication (client/server), how is the setup configuration automated for each device so that I could target a specific Arduino with regional data? I don't expect the end user to know how to access the router and configure port forwarding.
I hope this makes sense, I'm a newbie to the world of micro-controllers, but have had some success with progress as of late
You should be able to make a simple way to setup the Wifi, when this job is done you connect via socket so a socket server ( python,node,etc... ) and this will avoid any port-forwarding.
You will not need to care about all this messy tasks, you can have as many as you want arduino in the same network and access from the internet.

PIC 18 controller as serial to ethernet bridge

I am planning to use PIC18F6*** serial microntroller for my project serial-ethernet converter. Once I will put my hex code in PIC micro-controller for send recieve serial port data I will use the windows hyper-terminal and for checking the ethernet data is there any application in windows?
If my question is not clear I am ready to explain it better... please let me know.....
Hyper Terminal, or Tera Term; assuming this is just a simple text based exchange from the TCPIP port to the serial port.
You may also want to use Wireshark to view the ethernet data going between your PC and the micro for troubleshooting

Resources