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.

Saturday, February 13, 2021
Chessboard Chair
We have a small folded chair with top made out of sawdust wood covered with plastic . We left it in backyard for some time and it got under the rain. As a result top edges started to decay with plastic partially detached. But surprisingly painted metal frame was intact. I decided to renovate the chair by changing the top. While looking for proper board I have found in our home wooden chess board which did not get much use lately. So unscrewed old top and mounted chessboard instead. Old chair legs tips (couple of them lost) I replaced with 3/4" chair tips I bought in the local Home Depot. On the photo above you can see the result.
And here is old top. I still keep it. Maybe I can restore it and it will find another usage.
Sunday, November 1, 2020
Grounded
While traveling trough California this summer I discovered previously unknown for me way to install mail boxes. This one I found in Mt.Shasta.
And this one is in Morro Bay.
I would tell that it it a smart solution: instead of digging down deep hole and putting concrete there, one can just fill out cage or planter with heavy material. If needed mail box can be relocated with much less effort compare to digging post out of the hole. And it looks more artistic compare to plain post mount.
Our mail box located inside the garage, having opening in the garage wall. I assumed I will never benefit from design shown above. But...
Recently I have to move my TV Antenna in front of our house. (It got obstructed by grown up lemon tree). In my area antenna should not be put too high. In opposite: antenna set at five feet produces better signal compare to, say, seven feet. I am not sure about the reason of that but that what http://www.tvfool.com telling me. So antenna needs to be set below the roof level. While mounting antenna mast I attached mast upper end to the board where roof gutter is fixed. Mast bottom end I needed to put into the ground. But there are bricks in place and I did not want to drill through them. Here my recent observation came in handy. I just put bottom end into the flower planter filled beneath with sand and at the surface with stones.
It does work!
Monday, October 19, 2020
It Is a Halloween Time
Recently I upgraded our windows Halloween decoration with two items. Both are LED installations. Each is controlled by Attiny85 chip.
This one is the pumpkin with multi-colored eyes:
You can find place with source code, circuit diagram and some details here: https://github.com/jumbleview/pumpkin
This one is lighted ghost image.
Source code and circuit diagram is here: https://github.com/jumbleview/casper
Some additional description published on "Instructables".
Below is the video of three projects (two mentioned above plus my old project: "Moon with the Bat silhouette") installed in our home window.
Thursday, September 3, 2020
Medium Tactical Vehicle Replacement and Antique Car
The photo above I made last August during trip to Mt Shasta, California. First, when I saw this truck on the street I assumed it is a modification of famous Willys Jeep from WWII. But when I came closer I have found "International" on its hood (not "Willys"). Lucky for me proud owner of the car was seating nearby.
It is clear that he was very young in 1965, so we can tell the man drives (and maintains!) this car his whole adult life! Look at this beauty!
When we arrived back home form the trip I decided to investigate these cars a little bit more. My initial plan was to supply picture to https://images.google.com/ so google artificial intellect will do all the job without my interventions. Alas, that not worked out of the box. For picture of first vehicle google provided me with link to "Medium Tactical Vehicle Replacement". These cars were designed for US marine by Oshkosh Defense but much later (in 1996). That was not what I was looking for. Chevrolet search returned "Antique Car". That was right but too generic.
So I had to utilize google power but less rely on AI but more on my judgement. And here is my finding.
Truck model exact name is "1944 IHC M-2-4". And less than ten thousand of them was produced. Indeed it is a rarity. The rest of numbers regarding that car you may find through this link Estrella Warbirds Museum. The company "International Harvester" mostly produced agriculture machines but obviously it switched part of the production to the military during WWII. Here is YouTube video illustrating that fact. It is sad the company does not exist anymore.
Chevrolet model is "Master Deluxe", probably model "JA". Here is r: Wikipedia entry regarding this car.
Among interesting facts Wikipedia mentions that Chevrolet Master Deluxe GA (car two years older then this one) was a personal auto of Janka Kupała. How Belorussian poet of the Soviet era obtained such a car is a mystery for me.
Saturday, July 11, 2020
...forty centuries look down on us
- Camera Model: Pentax K200D
- Lens: SMC Pentax-DA 18-55mm F3.5-5.6 AL II
- Focal length: 28.1mm (35mm equivalent: 42mm)
- Exposure Time: 1/50s (0.020)
- Aperture: F/4.0
- ISO Equivalent: 200