Friday, March 25, 2022
Five Years Later
Friday, March 4, 2022
Do not Drink This
Any healthy food advocate tell you that sweet drinks are bad for your health. I myself do not consume Coca-Cola but this post is not about it. I just got knowledge that, while a lot of USA companies cut there business ties with Russia, Coca-Cola does not follow this path. At least that what I found on the TASS page. I am putting screen shot here, not link, because link works erratically.
If you in doubt of my finding please go search yourself. As soon as you confirm this fact stop buying Coca-Cola products. If you can't live without sweet drinks find the substitute. DO NOT DRINK COCA-COLA!
03/10/2022 Update. Looks like there are some changes. Here is link to BBC news:
"War in Ukraine: McDonald’s, Coca-Cola and Starbucks halt Russian sales."
Wednesday, March 2, 2022
Not Politics
Generally I do not post about politics in any form. But this is not politics anymore.
This building belongs to Kharkiv National University in Ukraine. (photo taken from Fox News site).It was hit by Putin army invaders. Stop Putin! Support Ukraine!
Sunday, February 20, 2022
Office Space
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:
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.
































