Skip to content

Instantly share code, notes, and snippets.

Avatar

Elliot Williams hexagon5un

View GitHub Profile
@hexagon5un
hexagon5un / skull_n_wrenches5_nobg-shrinkwrap.svg
Created May 10, 2022
Hackaday Logo, Jolly Wrencher SVG, No Background
View skull_n_wrenches5_nobg-shrinkwrap.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hexagon5un
hexagon5un / skull_n_wrenches5_bg.svg
Last active May 10, 2022
Hackaday Jolly Wrencher in SVG, On Black Background
View skull_n_wrenches5_bg.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View glowshield.scad
h_space = 57 / 7; // 8 LEDs = 7 gaps
v_space = 58.3 / 7;
gap = 1.5;
height = 2;
rotate([180,0,0]){
difference(){
translate([0,0,4.5/2])
cube([69, 69, 4.5], center=true);
// circuit board cutout
@hexagon5un
hexagon5un / read-more-hackaday.hex
Created Sep 20, 2019
AVR/Arduino Hex Compiled Audio Experiment
View read-more-hackaday.hex
:100000000C9401010C941E010C941E010C941E0111
:100010000C941E010C941E010C941E010C941E01E4
:100020000C941E010C941E010C941E010C94ED0105
:100030000C941E010C941E010C941E010C941E01C4
:100040000C94A3010C941E010C941E010C941E012F
:100050000C941E010C941E010C941E010C941E01A4
:100060000C941E010C941E010000000025002800C5
:100070002B0000000000240027002A0004040404D0
:100080000404040402020202020203030303030342
:10009000010204081020408001020408102001021F
@hexagon5un
hexagon5un / gcodesender.py
Created Apr 15, 2019
gcodesender.py with "improved" defaults
View gcodesender.py
#!/usr/bin/python
"""\
Simple g-code streaming script
https://github.com/bborncr/gcodesender.py/blob/master/gcodesender.py
"""
import serial
import time
import argparse
@hexagon5un
hexagon5un / grbl_settings_steps.txt
Created Apr 15, 2019
GRBL Configs for 1 step/mm Eggbot
View grbl_settings_steps.txt
$100=1.000
$101=0.700
$102=100.000
$110=20000.000
$111=20000.000
$112=10000.000
$120=1500.000
$121=2000.000
$122=1000.000
$130=200.000
@hexagon5un
hexagon5un / grbl_settings_steps.txt
Created Apr 15, 2019
GRBL Configs for 1 step/mm Eggbot
View grbl_settings_steps.txt
$100=1.000
$101=0.700
$102=100.000
$110=20000.000
$111=20000.000
$112=10000.000
$120=1500.000
$121=2000.000
$122=1000.000
$130=200.000
@hexagon5un
hexagon5un / cube.py
Created Nov 15, 2018
Quick demo code for exploring the Supplyfrrame Cube
View cube.py
import serial
import os
s = serial.Serial("/dev/ttyUSB0", baudrate=115200, timeout=0.1)
# timeout: the cube seems to respond in 0.3 sec to "mtu" command
def send(command, s=s):
s.write(command + "\r")
def receive(s=s):
@hexagon5un
hexagon5un / descriptor.hex
Created Mar 5, 2018
Device Descriptor of a Neonode AirModule
View descriptor.hex
001:018:000:DESCRIPTOR 1520104058.029510
05 0D 09 04 A1 01 85 04 09 55 15 00 25 FF 75 08
95 01 B1 02 85 03 09 54 81 02 09 56 27 FF FF 00
00 75 10 55 0C 66 01 10 81 02 09 22 A1 02 09 42
25 01 75 01 95 01 81 02 09 51 25 7F 75 07 95 01
81 02 05 01 09 30 27 FF FF 00 00 75 10 95 01 81
02 09 31 81 02 05 0D 55 0E 65 11 09 48 09 49 95
02 81 02 C0 09 22 A1 02 09 42 25 01 75 01 95 01
81 02 09 51 25 7F 75 07 95 01 81 02 05 01 09 30
27 FF FF 00 00 75 10 95 01 81 02 09 31 81 02 05
@hexagon5un
hexagon5un / hull.scad
Created Feb 4, 2018
OpenSCAD Hull Functions Library
View hull.scad
module multiHull(){
for (i = [1 : $children-1])
hull(){
children(0);
children(i);
}
}
module sequentialHull(){
for (i = [0: $children-2])