Skip to content

Instantly share code, notes, and snippets.

@nebhead
nebhead / CustomUSBName.md
Last active June 24, 2024 09:57
Instructions for Adding Custom Naming for Arduino USB Device

The following is capturing instructions on how to add custom naming for an Arduino Leonardo (or generic pro-micro) for my Arcade Controller device. I wanted to have a simple record so that when I inevitably come back to this someday I can recall how I accomplished this. Reference was taken from the following YouTube video (https://youtu.be/hoCOq9Ngp44?t=1156) at approximately 19m16s.

WINDOWS Instructions:

Create a new set of folders: ~\Documents\Arduino\hardware\daemonbite\avr

Copy everything from C:\Program Files (x86)\Arduino\hardware\arduino\avr to this new folder.

@DNA64
DNA64 / gnw_flash_menu.sh
Last active February 4, 2023 09:01
Command line tool to patch game-and-watch-flashloader and game-and-watch-retro-go to support 32bit addressing.
#!/bin/bash
# THIS SCRIPT IS NO LONGER REQUIRED. PLEASE DO NOT USE IT.
# This script will modify your game-and-watch-flashloader and game-and-watch-retro-go installations
# to allow flashing of flash memory chips exceeding 128Mb (16MB).
# Useage: Place this file in the same directory as both the 'game-and-watch-flashloader' and
# 'game-and-watch-retro-go folders', then run the script and follow the instructions.
# After patching, make sure to rebuild 'game-and-watch-flashloader'.
@cliftonc
cliftonc / README.md
Last active March 20, 2024 20:49
Brink Flair 300 via Modbus

This is the setup I am using to publish events for my Brink Flair 300 heat recovery unit. I have a Raspberry Pi 3, with an RS485>USB, connected to the 2 & 3 pin of the X15 input of the HRU. The flow in Node-Red talks locally to the device via modbus, and then connects to an mqtt server that is used for further connection to Home Assistant, this appears to be the most robust solution.

I used this USB stick: Rpi RS485 USB, but I think any of them will work. You do not need to buy the super expensive 'digital adapter' and the app, and with this setup you also do not need the super expensive RF bridge and connectors (though will likely want some physical alternative to this setup to turn it on / off if needed).

It currently provides temperature, set fan speed, actual fan speed, binary sensors for max, medium

@Tbruno25
Tbruno25 / automatic_button_programming.ino
Created September 3, 2019 03:24
Automatic Button Programming
// this sketch was brutally hacked together by TJ Bruno --- https://medium.com/@tbruno25
#include <Print.h>
#include <mcp_can.h>
#include <SPI.h>
#include <EEPROM.h>
#define CAN0_INT 2
MCP_CAN CAN0(10);