User:Beau-K6eau
Jump to navigation
Jump to search
Hello world
beau (dot) ambur (at) hackerdojo (dot) com
call/txt: +1 413-370-00{eight}{eight}
Floating balloons around the world: https://hackaday.io/project/190775-high-altitude-balloon-tracker-wspr-aprs
I also volunteer and mentor: https://hackaday.com/2019/07/19/hackaday-prize-mentor-session-beau-ambur/
37C3
Hacker Dojo 37C3
Getting to Blinky
MicroPython & ESP8266
code
from machine import Pin, ADC from time import sleep_ms print('Hacker Dojo ESP8266 booting...') # MicroPython Getting Startred Reference # http://docs.micropython.org/en/latest/esp8266/quickref.html#pins-and-gpio # AI Thinker EASP8266 Module Pin Out # https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2019/05/ESP8266-ESP-12E-chip-pinout-gpio-pin.png # LinkNode D1 Arduino Uno form factor # https://learn.linksprite.com/linkspriteio/linknode/linknode-d1/ # TODO: Feature # https://wiki.seeedstudio.com/Grove-LED_String_Light/ p0 = Pin(0, Pin.IN, Pin.PULL_UP) # Button # https://learn.adafruit.com/pir-passive-infrared-proximity-motion-sensor/overview p2 = Pin(2, Pin.IN) # PiR p12 = Pin(12, Pin.OUT, value=1) # GREEN p13 = Pin(13, Pin.OUT, value=1) # RED p14 = Pin(14, Pin.OUT, value=1) # BLUE a0 = ADC(0) # Light Sensor https://arduinogetstarted.com/tutorials/arduino-light-sensor def button_handler(pin): print("button") blink() def pir_handler(pin): print("PiR") motion_trigger() # https://randomnerdtutorials.com/micropython-interrupts-esp32-esp8266/ p0.irq(trigger=Pin.IRQ_FALLING, handler=button_handler) p2.irq(trigger=Pin.IRQ_RISING, handler=pir_handler) def motion_trigger(): for i in range(0, 10): p13.value(not p13.value()) sleep_ms(100) def blink(): p12.value(0) sleep_ms(200) p12.value(1) p13.value(0) sleep_ms(200) p13.value(1) p14.value(0) sleep_ms(200) p14.value(1) blink() def do_connect(): import network wlan = network.WLAN(network.STA_IF) wlan.active(True) if not wlan.isconnected(): print('connecting to network...') wlan.connect('Hacker Dojo Free', 'hackerdojo') while not wlan.isconnected(): pass print('network config:', wlan.ifconfig()) # do_connect()
Made with a breadboard and random bits found in the electronics lab. 37C3 hack'n with Brick Breakers.
MQ-2 "Alcohol" Sensor
from machine import Pin, ADC from time import sleep_ms from neopixel import NeoPixel led_pin = Pin(5, Pin.OUT, value=0) neo_pin = Pin(4, Pin.OUT) adc_pin = ADC(0) led_pin.on() np = NeoPixel(neo_pin, 1) np[0] = (0, 22, 0) np.write() def main(): a, b, c = 0, 0, 0 while 1: a = adc_pin.read() b = int((a - 200) / 4.0) if b < 0: b = 0 if b > 255: b = 255 if b > 0 and b < 100: c = int(b / 2.0) else: c = 0 print(a, b, c) np[0] = (b, c, 0) np.write() sleep_ms(200) main()
Lights up RGB on Blunk Board based on gas sensor value, sensitive to flammable gases and demonstrates well with isopropyl vapor.
Log
Thursday April 4th, 2024
- PRUSA MINI
- Loaded Grey PLA
- Printing Knobs 4x (uProber)
- Printing Smaller Box (uProber)
- Prusa i3 MK3
- Printing Pieces (6) (uProber)
Sunday January 21st, 2024
- #hacker-volunteer
- Series 1 Pro 10672, extruder, heat bead and all axis tested
- Swapped pi monitor to 24"
- general clean and sort table tops
- fpga class & robo kids
- configuring dump1090 w/mapping
- FlightAware 219009 on-line
- Assembly of supercon blue badges
Thursday January 18th, 2024
- Picking up IC-706 from QSV bench
- TODO: replace with QB 25
- Taking out random box of trash
- Powered Mo Bot, some issues, parked next to shelf
Tuesday January 16th, 2024
- Meeting with John on Microprobing class
- 2M Station test with N6NFI/R
- Installed 120 GB SATA test stick to X1 Carbon (L1)
- Sean & Charlie drop-in for drone repair
Thursday January 11th, 2024
- Type A Series 1 Pro testing
- SATA Drive Pickup (Foster City)
- Evening remote visit via "Mo Furious"
Tuesday January 9th, 2024
- 8am arrival
1.55.5 hours on compiling/install svxlink for EchoLink on rPi4 & ThinkPar Arch- Raspberry Pi issue with pulseaudio initialization
- Arch config in process, sticking with pi route
- TODO: Create NAT for TCP 5200 as well as UDP 5198 and 5199 to the Pi
- install SSD in T420 ThinkPad, loaded with Debian 12, apps and config
- install SSD in T430 ThinkPad, loaded with Debian 12, apps and config
Thursday January 4th, 2024
replicator
- backing up thumb data & gqrx to
/data
- updating arch packages
- backing up thumb data & gqrx to
- dumped Pixel Blaze v2 firmware bin for backup
- Added headers to S3 dev board and flashed to MicroPython v1.22
Tuesday January 2nd, 2024
- Getting to "HOW" and blinky with Osram PDSP 1881 & S3
- Re-attaching APA102 strip with Pixel Blaze to whiteboard
Monday January 1st, 2024
- QSV Lunch 12:34
- V3561182 Radiosonde recovery
Saturday December 30th, 2023
- Initial Pixel Blaze v2 APA102 bring up
- Basic blinky hack'n with Drone Racing in Main Room
Friday December 29th, 2023
- Pixieboard DUO debugging
- 6 boards evaluated, red & green
- Balloon Tracker tested
- 2nd bench nice and clean/clear as well
Sunday December 26th, 2023
- Relay sorting, couple dozen 24v & assorted AMFs
- 3D printer bench clean up