newsletters:2025-01
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
newsletters:2025-01 [2025/02/03 03:34] – [Portable Folk gadget] osnr | newsletters:2025-01 [2025/02/03 03:46] (current) – [Portable Folk gadget] osnr | ||
---|---|---|---|
Line 108: | Line 108: | ||
* Still struggling to make it do ad-hoc or access point mode by default | * Still struggling to make it do ad-hoc or access point mode by default | ||
* (ideally it would work in concurrent mode, so could both get on known existing networks and make its own for wild environments: | * (ideally it would work in concurrent mode, so could both get on known existing networks and make its own for wild environments: | ||
- | * {{: | + | * {{: |
=== The stereo camera === | === The stereo camera === | ||
Line 126: | Line 126: | ||
* It has a working trigger button! That' | * It has a working trigger button! That' | ||
* {{newsletters: | * {{newsletters: | ||
- | | + | * This is the program that implements that (I just put it in setup.folk, since we don't have physical programs here yet): |
- | * | + | * < |
+ | exec gpio mode 7 up | ||
+ | |||
+ | When display /disp/ has width /w/ height /h/ { | ||
+ | When the clock time is /t/ { | ||
+ | set pressed [expr {![exec gpio read 7]}] | ||
+ | set color [expr {$pressed ? " | ||
+ | Wish to draw a dashed stroke with points [list [list 0 0] [list $w 0] [list $w $h] [list 0 $h] [list 0 0]] \ | ||
+ | color $color width 10 dashlength 40 dashoffset [expr {fmod($t, 10)*-120}] | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | * it basically just sets a pullup resistor on GPIO 7 (where I plugged the button in) & shells out to [[https:// | ||
+ | | ||
+ | * {{: | ||
+ | * (will be fun to get this info into Folk and display it ambiently in the corner or on the marching ants border or whatever) | ||
* It's really heavy and kind of big, notably heavier than the older gadget (because it has 3 18650 batteries and a heavier mini projector with a full chassis). Not sure what to do about this. Maybe go back to the concept of the detachable battery pack (a standard USB-C battery pack would be ideal, but I don't think I could quite get that to work without more custom power stuff). | * It's really heavy and kind of big, notably heavier than the older gadget (because it has 3 18650 batteries and a heavier mini projector with a full chassis). Not sure what to do about this. Maybe go back to the concept of the detachable battery pack (a standard USB-C battery pack would be ideal, but I don't think I could quite get that to work without more custom power stuff). | ||
* It has a speaker! I haven' | * It has a speaker! I haven' |
newsletters/2025-01.1738553679.txt.gz · Last modified: 2025/02/03 03:34 by osnr