User Tools

Site Tools


newsletters:2025-01

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
newsletters:2025-01 [2025/02/03 03:29] – [Portable Folk gadget] osnrnewsletters: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:)
-      * {{:newsletters:pasted:20250131-200028.png?300px}}+      * {{:newsletters:pasted:20250131-200028.png?400px}}
  
 === The stereo camera === === The stereo camera ===
Line 126: Line 126:
   * It has a working trigger button! That'll open up a lot of fun point-and-drag and lasso interactions. Here I'm having the 'marching ants' rectangle turn from white to green when I press the button down:   * It has a working trigger button! That'll open up a lot of fun point-and-drag and lasso interactions. Here I'm having the 'marching ants' rectangle turn from white to green when I press the button down:
     * {{newsletters:img_7370.mp4}}     * {{newsletters:img_7370.mp4}}
-  It has a working battery! I haven't tested battery life but probably at least an hour? And I can even get reports over serial about battery percentage, like a real gadget: +    This is the program that implements that (I just put it in setup.folk, since we don'have physical programs here yet): 
-    *  +      <code> 
-  * 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. +exec gpio mode 7 up
-  * It has a speaker! I haven'gotten this to work yet (I haven't gotten the Orange Pi 5 3.5mm audio jack to work at all+
-  The biggest issue is that I haven't been able to calibrate it yet, but I just need to spend more time on that.+
  
-Finally, need to finish physical design and publish on GitHub.+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 ? "green" : "white"}] 
 +        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}] 
 +    } 
 +
 +</code> 
 +      * it basically just sets a pullup resistor on GPIO 7 (where I plugged the button in) & shells out to [[https://github.com/orangepi-xunlong/wiringOP|wiringOP]] every frame to read that pin; to avoid the multi-ms overhead of shelling out, would be good to make a Tcl-C library to call into wiringOP and do this (I think the C header and library is already on the device anyway!) 
 +  * It has a working battery, so you don't need to plug it in & carry a long extension cord! I haven't tested battery life but probably at least an hour? And I can even get live reports over serial about battery percentage, just like a phone or laptop shows battery percentage: 
 +    * {{:newsletters:pasted:20250203-034338.png?600px}} 
 +    * (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 has a speaker! I haven't gotten this to work yet (I haven't gotten the Orange Pi 5 3.5mm audio jack to work at all. Linux audio struggles). Also curious how loud it'll be without an amplifier. 
 +  * The biggest issue is that I haven't been able to calibrate it yet, but I just need to spend more time on that... 
 + 
 +Finally, need to finish physical design (I want to put on the back panel so people feel more comfortable handling it, less wires poking out, fix the speaker in place, maybe use a different camera, make the grip feel less precarious since it only has 1 bolt) and publish on GitHub.
 ==== RFID localization ==== ==== RFID localization ====
  
newsletters/2025-01.1738553345.txt.gz · Last modified: 2025/02/03 03:29 by osnr

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki