
In the Arduino IDE open the FNET example sketch ASIXEthernet_Test.ino. Connect a ethernet wire to the adapter and connect it to your home network that should contain a DHCP server so that the FNET stack can retrieve an IP address. Plug in the ASIX USB ethernet adapter in either directly or indirectly via a USB hub if you like. A depiction of such a cable is given here. For that, you can purchase USB adapter cables that have headers on one side and a USB port connector (MAKE SURE TO NOT ACCIDENTLY BUY A USB PLUG CABLE BUT A USB PORT CABLE!) on the other side. The next step is to connect the ASIX USB ethernet controller to the USB pins.

The contact is only really established through the solder! If your setup does not work (No USB or ethernet connection), check your soldering again! For myself, it only worked after fixing my solder work once.

The pins are 5V (red), D- (white), D+ (green) and ground (black).Īs usual soldering makes better contact than just loosely sticking pin headers into the holes. For this example, only four of the five pins are required. This fifth pin is just connected to ground on the host side of a normal USB connection. If you turn the Teensy 4.1 around, the bottom of the PCB contains the pin names on the bottom silk screen. This page contains pictures on where the USB cables are connected on the Teensy 4.1 and this shows you where to solder the USB pin header in. If you have a teensy 4.1 that has no pins soldered to the USB contacts on the board, solder five pins in. One option is to buy a Teensy that already has pin headers soldered in by a professional so you do not have to solder anything. zip or via the library manager into your Arduino IDE.
#Teensy driver mac install#
So first, install the FNET library and the TeensyASIXEthernet library via. The FNET example imports the ASIX driver for the Teensy which is contained in this repository. This example can be executed on the Teensy 4.1 via the Arduino IDE. The FNET library contains an example called ASIXEthernet_Test.ino.
#Teensy driver mac how to#
This article describes how to connect a ASIX USB Ethernet adapter to the USB controller on the teensy 4.1 to send ethernet packets to an IP address. This article is not about the native ethernet on the teensy but rather about the native USB host controller support that the teensy has. The Teensy board contains native ethernet support.

It contains the ASIX USB ethernet controller chip. As USB ethernet adapter, the widely supported (Linux drivers exist) adapter from Olimex is used. This blog post documents how a ASIX USB Ethernet adapter can be connected to a Teensy 4.1 board.
