Several years ago I published this post about making DIY sit-&-stand computer station. Do I still use it? Yes, I do. And I am constantly modifying it. Since the beginning of COVID pandemic I work remotely and unlikely will ever return back to the office. If two years ago I spent in my home office several hours per week now I am spending there ~ 50 hours. Here is how my office looks now:
Sunday, February 20, 2022
Office Space
Saturday, December 18, 2021
With the Help of a Soda Can Tab
I have several precision screwdrivers. They are from different vendors and have different length. All of them are of decent quality and deserve some good care. For screwdriver to be in service for a long time it is important to use them with proper match: right screwdriver for the right screw. To make selection of screwdriver easy I made myself the screwdriver stand.
- Several wooden pieces (made out of redwood)
- Ten soda can pull tabs.
- Long screw for wood.
Wednesday, October 20, 2021
Where does Sound Come From
Clip below make a sense to watch only if your computer (or other internet device) is NOT mute.
- Headphone as part of headset (Mpow 323 model) plugged into USB.
- Stereo pair of standalone external speakers plugged into 3.5 socket.
- Speakers integrated into Philips Monitor (HDMI).
- Ability to switch between sound output devices just by mouse click.
- Ability to hear proper audio feedback to be sure that selected device is up and and running.
C:\NirSoft\SoundVolumeView.exe /SetDefault "Mpow 323\Device\Speaker\Render" 1
C:\NirSoft\nircmd.exe speak file "C:\NirSoft\headphone.xml"
<voice required="Gender=Male"> Headphone Activated </voice>
<voice required="Gender=Female"> Speakers Activated </voice>
<lang langid="419"> Philips Activated </lang>
"headphone.bat"
C:\NirSoft\SoundVolumeView.exe /SetDefault "Mpow 323\Device\Speaker\Render" 1
C:\NirSoft\nircmd.exe speak file "C:\NirSoft\headphone.xml"
"speaker.bat"
C:\NirSoft\SoundVolumeView.exe /SetDefault "Realtek High Definition Audio\Device\Speakers\Render" 1 C:\NirSoft\nircmd.exe speak file "C:\NirSoft\speakers.xml"
"philips.bat"
C:\NirSoft\SoundVolumeView.exe /SetDefault "NVIDIA High Definition Audio\Device\PHL 252B9\Render" 1 C:\NirSoft\nircmd.exe speak file "C:\NirSoft\philips.xml"
Thursday, September 30, 2021
Ballpark
Friday, September 17, 2021
Hare
I made photo of this hare (or jackrabbit - not sure how to properly name this creature) this September in proximity of town Williams, California. Seems like it completely ignored presence of people around. So we came to it very close. Some excerpts of photo EXIF:
- Camera model: Pentax KP
- Lens: Pentax SMC DA 18-135mm
- Exposure time: 1/60 s
- Aperture f-stop: f8
- Focal length: 135mm
- ISO 200
- Capture Time: 9/13/2021 8:15 AM.
Sunday, August 8, 2021
Speed Bag
Sunday, July 18, 2021
Camera Handle
On the photo above you can see small digital camera with attached handle. I believe such a handle provides comfortable and steady grip. As a foundation of that handle this L-Plate used . It is not of highest quality but is inexpensive and suites this project well. I unscrewed short side of the plate and made out of 1/4 inch plywood and metal corner four elements of the handle. One more element (aka half-cylinder) I made out of broken hammer handle.
Handle assembled as a sandwich with plywood sides and metal inserts. During assembling I applied universal glue first than fixed it with metal screw. Then I glued half-cylinder with wooden glue and I painted it with some dark stain. The goal was for it look old and vintage rather than new and shiny.
Sunday, July 4, 2021
Two against One
- Any LED has some forward voltage. For Green/White 10mm used here it exceeds 3 V.
- Microcontrollers pins may be programmed not only to provide output signal but to collect input as well, If pin is programmed for input it presents itself for external components as a circuit with very high resistance.
- Human eye can't see light blinking if its frequency exceeds 50 Hz. If circuit switches LED off/on fast enough (more than 50 times per seconds) you will see it as always lighted.
- If pin set high green LED is dark and white LED is lighted.
- If pin set low green LED is lighted and white LED is dark.
- If pin set into input mode both LEDs supposed to be dark, because sum of forward voltages on both LEDs exceeds power supply voltage,
#include <avr/io.h> #define F_CPU 1000000UL #include <util/delay.h> typedef enum {OUT_LOW, OUT_HIGH} OutputLevel; #define pinOut(bit, outLevel) \ (DDRB |= (1 << ( DDB##bit)));\ switch(outLevel) \ {\ case OUT_LOW: (PORTB &= ~(1 << (DDB##bit))); break;\ case OUT_HIGH: (PORTB |= (1 << (DDB##bit))); break;\ } #define pinIn(bit) \ ((DDRB &= ~(1 << (DDB##bit))),\ (PORTB &= ~(1 << (PORTB##bit))),\ (PINB & (1 << (PORTB##bit)))) int main(void) { while (1) { for (int i=0; i < 100; i++) { // White & Green pinOut(2,OUT_HIGH); _delay_ms(5.0); pinOut(2,OUT_LOW); _delay_ms(5.0); } for (int i=0; i < 100; i++) { // White pinOut(2,OUT_HIGH); _delay_ms(5.0); pinIn(2); _delay_ms(5.0); } for (int i=0; i < 100; i++) { // Green pinOut(2,OUT_LOW); _delay_ms(5.0); pinIn(2); _delay_ms(5.0); } for (int i=0; i < 100; i++) { // No light pinIn(2); _delay_ms(10.0); } } }
Wednesday, June 2, 2021
Looking Back
- License plate frame integrating back-up wireless camera, solar panels, and battery.
- LCD monitor.
Installation of the camera was easy: first I charged its battery via phone USB charger and then installed it in a regular way in place of license plate frame. Further charge supposed to be provided by sun light.
But installing the monitor required some job. Kit had the holder with suction cup, but that was a jock. It could not hold monitor for more than five minutes. So I needed to invent some other way.
As you can see there is some opening beneath climate control panel. Could it get some use?

Then I just pushed it into the opening under climate control panel. Metal shape is rigid enough to keep construction in place. Size of the monitor is a good match to car dashboard. As soon as I inserted power cord into the car 12 V socket, monitor turned on and paired with camera. Done.
What can I say about the kit? So far I like it. Ability to install camera without messing up with car electrical wires is a plus. How well solar charger will work and how long battery will keep the ability to get charge? Only time will tell. Monitor screen itself is good: right size and good enough image quality. There are one small problem: Ford Ranger power socket does not turn off when ignition key is taken out. According to camera manual I should not keep monitor powered up while not driving to avoid car battery discharge. I believe that discharge should be minimal but as of now to play it safe I will remove power plug when car is parked.
Thursday, April 1, 2021
1/4 Sized Breadboard
While it is single side board, top side has copper circles around holes so components can be soldered on any side of the board. Board is not very thin and feels sturdy. Occasional soldering overheating will not damage conductor strips. Conveniently it has four strips for power and it is well suited for projects needed two voltage levels (like 5V and 12V).
So far I used such a board for two projects made for last year Halloween (published here).
First project is to control two three colors LEDs. It is minimalistic: apart of controller board accommodates just three resistors. To make controller programmable in-board there is 6 pins ISP male header. I soldered pins, cut strips between two pin rows with the knife (cut is on the bottom side of the board) and wired them to corresponding pins of the the microchip.
Second project required two voltage levels (12V and 5V). See 12V-5V stepdown power supply on the right side of the board soldered to it. There is no 6-pins ISP header on the board, Does that mean there is no way for in-board programming? Absolutely not. To make microchip in-board programable I mounted on each side of the chip female headers. Because of that board becomes suitable for AVR ISP to Attiny85 adapter and can be programmed the same as projects mounted on non-soldering breadboard.
Saturday, March 6, 2021
Capabilities of Supercapacitor
And here is list of components:
- Supercapacitor 0.1 F, 5.5 V (NEC)
- Attiny85 microchip
- Red-Green bi-color LED (5mm)
- Resistor 180 Ohm, 0.125 W
- Diode Schottky ( 1N5817) (for this test it is not really needed but later I will utilize it to detect the moment when external power is down).
#include <avr/io.h> #define F_CPU 1000000UL #include <util/delay.h> typedef enum {OUT_LOW, OUT_HIGH} OutputLevel; #define pinOut(bit, outLevel) \ (DDRB |= (1 << ( DDB##bit)));\ switch(outLevel) \ {\ case OUT_LOW: (PORTB &= ~(1 << (DDB##bit))); break;\ case OUT_HIGH: (PORTB |= (1 << (DDB##bit))); break;\ } int main(void) { while (1) { pinOut(0,OUT_LOW); pinOut(2,OUT_HIGH); _delay_ms(200.0); pinOut(0,OUT_HIGH); pinOut(2,OUT_HIGH); _delay_ms(800.0); pinOut(0,OUT_HIGH); pinOut(2,OUT_LOW); _delay_ms(200.0); pinOut(0,OUT_HIGH); pinOut(2,OUT_HIGH); _delay_ms(800.0); } }
Sunday, February 28, 2021
AVRISP II adapter to Attiny85
For my hobby projects I often use Attiny85 chip . Usually first stage of the project is breadboard prototyping. But there is the problem: connecting AVRISP programmer to the chip on the breadboard is not that easy. So I made dedicated adapter which allows effortless connection between AVRISP programmer and Attinny85 chip.
Adapter is passive: it contains nothing but headers to connect programmer and headers to connect to the chip. Apart of that added LED with resistor to indicate if power is supplied.
- one set to connect AVRISP (on the photo on the left)
- another set to insert into breadboard on top of Attiny85 chip.
