IOT, Smart Home, Intelligent home; Meaning a lot of connected devices (and power adapters & cables!) I have been using the Philips Hue system from the very beginning, recently upgraded to the Philips Hue Bridge 2.1 Square-shape bridge (supports Apple HomeKit)
After my last upgrade to the home infrastructure. with the new and improved UniFi Switch PRO 24 PoE I wanted to get the most out of the switch with POE (Power-Over-Ethernet)
I would have loved to see the Philips Hue Bridge with build-in POE, but unfortunately that was not the case of the 2.1 release. Luckily with a bit of creativeness this can be achieved with the correct equipment and cables.
The bridge comes with a regular DC barrel plug adapter
NOTE: 2 Networking cables will be needed with this solution, 1 for POE, and 1 for the actual device connection. Additionally, if you do not want to use 2 ports, go for a POE splitter with barrel adapters (802.3af POE splitter with 5 volts DC)
The wall mounts used printed on the Ender-5 Pro – Philips Hue wall mount: https://www.thingiverse.com/thing:2458638 – Ubiquiti Instant wall mount: https://www.thingiverse.com/thing:4497478
From the extracted Marlin firmware copy \Config\Examples\Anet\A8plus to the \Marlin\ folder (same location as Marlin.ino)
Connect USB to your Anet motherboard
Open the installed Arduino IDE
Download and Install u8glib by oliver
Click Sketch -> Include Library, Click Manage libraries
Search U8glib – MAKE SURE TO SELECT TO CORRECT ONE! – U8Glib by oliver,
Click Tools -> Board, Select Anet 1.0 (Optiboot)
NOTE: Small and Fast Bootloader for Arduino and other Atmel AVR chips
Click Port, Select the assigned COM port
NOTE: If you want to check if your connected, Click Tools -> Get Board info. This will return information about the board, if your connected.
Find the line in the Configuration.h: #define ANET_FULL_GRAPHICS_LCD
comment it out like this: //#define ANET_FULL_GRAPHICS_LCD
Find the line: //#define CR10_STOCKDISPLAY
Uncomment it like this: #define CR10_STOCKDISPLAY
Find the line: #define ENDSTOP_INTERRUPTS_FEATURE
comment like this: //#define ENDSTOP_INTERRUPTS_FEATURE
NOTE: The update and consolidation of TMC support into the TMCStepper the library has made the ENDSTOP_INTERRUPTS feature incompatible with TMC drivers, until a workaround can be found.
Now you’re ready to upload the firmware, or add/remove features needed
The Anet V.1.7 board comes with a limited flash ROM (128k – 131,072 and thats including the bootloader). This will not all you to pick all features and add them.
Should you by accident (like me) put a too large firmware or corrupt the bootloader, you will need a USBasp and a 10-to-6 poled adapter.
NOTE: If You see the following error, flash the bootloader using USBAsp, your sketch is properly too big. avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x60
I recommend you to review and edit you own configuration files, but for sample purposes here are mine: [download id=”931″]