Lets have some PCBs made

without comments

me + KiCad + PCB Panelizer Beta + Dirty PCB = great job! for first PCBs after some time

pcbs_20160410

Written by luftek

May 7th, 2016 at 2:59 pm

Posted in Uncategorized

KM switch inside a desktop computer, custom PCB – DRAFT

without comments

KVM switch stands for (Keyboard, Video, Mouse) switch. When wanting to utilize my setup of two 24″ monitors and keyboard + mouse for friends or work laptop I would need to make all connections piece by piece. So VGA, DisplayPort, keyboard and mouse.

Both monitors have 2 connections possible, so using another pair of cables for laptop is convenient. Then just switch video input on monitor.
Transitioning in case of keyboard and mouse is not so.

Currently I have this KVM switch inside my desktop computer. It uses

slike installlacije v računalniku 

Kako bi kit izgledal:

 

Schematics:

schematics

PCB internal:
pcb  front_plate (missing some holes)

Enclosure front plate:

<->

 

solution similar to http://www.ebay.com/itm/LINDY-KM-Tastatur-Maus-Switch-USB-fur-2-Rechner-32165-/301729173160

http://www.ebay.com/itm/ELECOM-Black-KM-A22BBK-With-Hand-Switch-For-PC-Switch-Keyboard-And-Mous-ASAP-/271861612645

slike nameči v mapo, naredi enostavno skico in sklice na dele.

 

Shematics of KM part:

hub

Dropbox shared folder:
“project” folder

 

Written by luftek

March 2nd, 2016 at 10:28 pm

Posted in Uncategorized

Voltmeter, Ampermeter, 5 digit 7 segment, my own code

without comments

Few years back I purchased low cost (range of 100€) Power Supply HY3005D, rated for 30V and 5A. Just after few weeks I started to dislike the whole situation with LCD display w/o backlight and w/ really bad viewing angles. First option, for the reseller to give parts for an upgrade, didn’t happen. 2nd DIY backlight solved visibility at low light, but viewing angles remained. Not long ago I searched for voltmeters and ampermeters in this kind of form factor, to fit existing front panel.

Voltmeter

After some measuring and searching on online marketplaces I came across a suitable option: ebay.com/itm/310672415584 (reseller: alice1101983 is recommended and reliable source of electronics kits& parts). I purchased 2x in a wish to change 2nd from Volt to Amp meter. Voltmeter works no problem. Vin is divided through a resistor ladder of 330 kΩ and 20 kΩ. These way input of 0 – 33 V is reduced to 20/(330+20) of Vin.  Knowing that voltage on shunt resistor definitely won’t reach limit I removed both resistors and shorted R3. At that time I didn’t look more into it. Comparison of multimeter and ampermeter on left side of Supply.

voltmeter comparison of multimeter and ampermeter values voltemeter backside

So ampermeter kind of works if you know you need to double the shown number. 🙂 Well, not quite. As far I know resistor ladder can only divide not multiply the input voltage. The whole time I had in my mind I can just reprogram the microcontroller similarly (1|2) and correct the scaling. So I ordered 1 more. Also asked the seller (alice) to contact the possible manufacturer world.taobao.com/item/15073358476.htm. I got a negative replay. Today I decided to contact the supplier shop59318659.taobao.com directly, first using TaoBao online page chat and then using their chat app. Thankfully I found ScreenTranslator that made installation little easier. No matter the unusual time (Friday night in China) supplier responded in English. Of coarse they didn’t gave me changed binaries. That would be awesome indeed. They forwarded me to forum post on this voltmeter. There is a 18bit ADC present (MCP3421, SOT23-6) which is quite nice for whole voltmeter price of 4$ (ADC cost about 1$/pcs @10pcs order).

Schematics:

shema

Design conciderations:
Why not use I2C (pins 11 and 12) that is present in chip? Original bit-bangs I2C over pins 17 and 18.
Using SWIM pin as GPIO is not great for coding and debugging. Specially when this pin is utilized as part of communication (I2C). Download code -> start Debug -> disable Debug

1of5 digit duration  logic_one_frame_voltmeter_3.6V

Ampermeter:

Power supply uses 30 mΩ shunt resistor. Which results in 150 mV @ 5 A. I removed voltage divider resistors and shorted
ADC range is ±2.048 V. Using built in PGA 8x (Programable Gain Amplifier) changed max. voltage range presented to ADC input to 1200 mV. Decided for offset of 28 mA.

shunt resistor max. shunt voltage 160 mA 500 mA

Code:

Coding the segments and digits was easy. Replicating the I2C with similar timings to original needed more brain stretching. Also took me quite a lot of plugging and unplugging of ST-LINK. Last was to code the appropriate scale and possible offset. I did think about using input pin intended for push button, as a trigger for calibration but went with static definition usable in my case.  Also needed to unplug the programmer and plug in power supply.

Dropbox shared folder:
“project” folder

 

Written by luftek

February 28th, 2016 at 3:51 am

Posted in Make,pcb,Reuse

No Store page

without comments

That is all there is to it. Adapter and cable are only available on eBay http://www.ebay.com/usr/luftek

Written by luftek

August 3rd, 2015 at 8:06 pm

Posted in Uncategorized

Smart watch from Weloop/GoClever

without comments

Previous watches

I had problems with my Metawatch as did everybody else. Does freaking OLED displays didn’t last long (read comments on prev post). I returned it to TI and they refunded me in full. So I forget about the watches for a while, I wear a standard one (Casio) for a while. I broke this one in a bike crash in September 2015.

Weloop Tommy

Introduction to another smartwatch

I was reading daily news on my RSS feed and there is this article on HaD about an open source project OSSW by Krzysztof Szczesniak :

And I tought to myself this could be interesting. I am kind of interested in owning a watch that has an option/potential:

  • to be my silent alarm clock,
  • TOTP (“Timed One Time Password”)
  • lasts some 2 weeks of moderate use

I find mixed reviews about it, but trust that by contributing we can make it work, work better.
Read the rest of this entry »

Written by luftek

August 3rd, 2015 at 3:46 pm

Compact camera plastic gear repair, Canon A480

without comments

I received a compact camera from the brother. He said he found it that way, broken or not working properly. With this he ment, lens mechanism was not extending and retracting as it should.

I had it stored for future repair time. Today I was again looking into it and found this page: http://chdk.wikia.com/wiki/A480 (CHDK – Canon Hack Development Kit). I thought to myself, I would like to use this. But first I wanted to see if anything can be done to repair mechanism.

I used YT disassembly movie as a reference. I opened and removed the parts in this order: back plastic, screen assembly and then lens with sensor assembly. Had to desolder 2 ribbon cables (one for photo interrupter, one prob. for focus). Then I could split assembly.

(1st pic) Lens assembly has a motor with worm gear on it and 3 reduction gears. White gear on the right (You can see clearly how plastic gears fit together. Last one in the chain is long black one (broken).
(2nd pic) Broken gear with missing axis part. This gear is long, because the lens assembly extends outward. Replacements are sold on ebay for about 5€ and ship from far away, Hong Kong.
(3rd pic) 1,2 mm drill for making hole for replacement axis.
(4th pic) leg from diode rectifier used as axis.

Camera works now. Post with CHDK installed soon to come.

lens assembly broken gear, one side axis missing 1,25 mm drill axis transplant

Written by luftek

July 27th, 2014 at 8:05 pm

Posted in Repair

Worlde globe LED, night stand lamp

without comments

I was thinking about adding light, to small world globe I have, for quite some time.
Yesterday I diffused 6 LEDs with sand paper and soldered 6 of them (parallel) into a small blob. After drilling the holes in globe holder, I ran wires GND and +V through. Today I added a 2×56 ohm resistors (about 28 ohm, and 0.5W) for limiting resistor and a micro usb port.
When not charging my phone I can learn countries of the world (in German :))

Also nice present for a small kid, who likes to have lights when going to bed.

6 star LED illuminated globe europe, globe micro usb and limiting resistors

Written by luftek

July 27th, 2014 at 7:25 pm

Posted in Make

Hand watch – Ring of fire

without comments

Well, I decided to remove the logo from a C**** World Time Illuminator watch I have and wear all the time now. I removed 4 screws from the back and made sure I didn’t lose the the gasket that keeps water or other liquids from entering.

There was not much in the housing. I pried out the plastic front end, reattached glass and already put everything together when decided to look for the led that illuminates the watch when pressed. It was orange led.

 before modification

Measurements showed it has a series resistor of 100 ohms and forward voltage of about 2V. Then I noticed 3 more SMD pads on other corners of the pcb. They were connected in parallel, which meant I could add 3 more LEDS for greater effect. 🙂 Found some small RED SMD 0805 LEDS and. Added 100 ohm in series for about 13mA per LED and after soldering with my 2nd soldering iron you can see the result. It’s like the ring of fire on my hand (in person).

testing in enclosure

Written by luftek

June 16th, 2014 at 9:02 pm

Posted in Repair

ONE year after 1st sale

without comments

I am so happy I tried to make something useful to me and others.
In 1 year I have successfully sold products to more than 100 costumers.

The beginning is definitely a sale of SAMPLE (Gameboy DMG power adapter) I received from a manufacturer. 1st sale happened on the next day I put it on eBay. There was so much adrenalin and affirmation I decided to give it a try.

Map of costumers from 11.April.2013 til 8.May.2014 (More up to date map on my about page):

I used this tutorial: https://sites.google.com/site/mapmakerpedia/maps-101/from-google-sheet-to-mapmaker-overlay

Written by luftek

May 8th, 2014 at 6:05 pm

Posted in Gameboy,Store

SDR sniffing on 433MHz – AC sockets, rf remote

without comments

I wanted to sniff a cheap (4$ with receiver side) RF remote so it could be used in other projects. IR remotes are fine, but require “visual” contact between transmitting and receiving diode. RF modules allow for longer range with obstacles. Goal is also to replicate RF codes and be able to send them using computer terminal and implement an RF receiver for this particular remote.

USB SDR dongle all 10 RF remote commands all 10 codes stacked protoboard version

Inspiration
Last project using cheap SDR USB dongle I saw was: Sniffing pH Sensor RF Signals for Feedback Re: Your Esophagus. He used a Software Defined Radio to capture the radio transmissions from a Bravo Ph esophageal monitor. Before there were also projects tracking air planes, receiving images from weather satellites and “all” listed in same article.

Read the rest of this entry »

Written by luftek

April 19th, 2014 at 1:38 am

Posted in Make,Reuse