Archive for the 'hacks' Category

Nerd weekends rock

Would you rather spend the weekend partying with amusing strangers or doing geeky stuff? Happy as never with my shiny new and photocopied books (Principles of Communications by Ziemer being the most notable and a bunch of theses) I chose the latter. Also I played with some brushless motors and field oriented control.

To make things worse (?) every single attendant to the party confirmed that my weekend was funnier than theirs.

Published in: electronica, facultad, hacks, python | on March 27th, 2011 by Adrian Pardini | No Comments »

Controlling an LB1946 via usb with an AVR

The LB1946 is a very nice chopper driver, the only downside is that it has a serial interface. So, for a project I need to control some steppers. I have a box full of printer boards, picked this one from and old epson inkjet because it had the same chips and also looks like I can chop it in half with a hacksaw and use them as they are.

The logic and the original power supply were toast so I used another I had at hand. To make some tests I hacked the PowerSwitch circuit from Objective Development to send raw commands and spin the motor with an usb interface.

At the end it doesn't look quite like the original but it works. Still can't get more than 1000 steps per second but I think that's because of the supply. Now that I have the basic code working I'll have to make a parallel interface so I can use them with EMC.

Sourcecode / References:

Pics:

Published in: dumpster-diving, electronica, hacks, software libre | on March 21st, 2011 by Adrian Pardini | No Comments »

Ode to reliability.

Or 11 years moving packets back and forth.

These are the remains of 'Cachafaz'. It's a very special computer for me. We bought it in 1999, it was my third computer, the second I'd put Linux into. Back then i called it 'Garchake' because I was using Mandrake. Lots of memories spring back... my first steps in C, hacking xmms plugins, countless hours playing Unreal Tournament (with windows ME, ewww). Amoung our friends it was pretty beefy, amd k6-3 400Mhz, 512Mb, 10gb hd plus the 2gb disk from my older computer, 56k modem and a Voodoo 4500...

Read the rest of this entry »

Published in: electronica, hacks, software libre | on February 20th, 2011 by Adrian Pardini | No Comments »

A plum of magic smoke.

As it turns out, the inverter is not quite happy with 19v. The inverter is no more, it has ceased to be, it... your tone, bam!.

Published in: electronica, hacks | on February 11th, 2011 by Adrian Pardini | No Comments »

LCD Lightbox

It costed almost nothing but some screws and metal angles. Things I picked up from the street / junk:

  • Glass
  • Wooden angles
  • Old Acer laptop, not worth repairing. For this I took the screen only. Touchpad, drives and some other things left aside for another project.

Things already on hand:

  • Scanner (umax 1220p). I used its inverter because the one from the screen was broken. It served me well but the mirrors are very frayed, there's moisture in the ccd and besides that it needs a parallel port, wich I don't have at the moment.

Looks like something from the trash? Why yes! And I like it that way. It runs happily with anything between 7v and 20v (all the power bricks laying around) and as a nice side effect that lets me select the color temperature from a mild pink to a colder white.

Published in: dumpster-diving, electronica, fotografia, hacks | on February 8th, 2011 by Adrian Pardini | No Comments »

Let’s pretend utf8 does not exist.

...and hardcode cp1251 everywhere. Sigh.

Published in: hacks, musica, rants, software libre | on February 1st, 2011 by Adrian Pardini | No Comments »

Transformador de aislación II

Ya casi lo termino... (vine de acá). En la semana terminé la madera del tope y emprolijé las derivaciones. Ahora me falta nada más ponerle un portalámparas para la serie.

Published in: antiguedades, electronica, hacks | on January 22nd, 2011 by Adrian Pardini | No Comments »

Transformador de aislación

Bueno, la noche anterior a la navidad (y la siguiente también) estaba algo mas aburrido que de costumbre así que me dediqué a continuar con el transformador de aislación mientras bajaba la cuarta temporada de Buffy. Un solo capítulo, con eso de las fiestas la conexión era horriblemente lenta. En dos días terminé (por lo menos lo fundamental) el transformador.

Día 1.

Primero hice unos tacos de madera para sostener los núcleos. Con el primario tal cual está tengo 1 volt por vuelta, así que en el secundario voy a necesitar en principio 240 vueltas. El único alambre esmaltado en cantidad suficiente es el del secundario original, pero la corriente que soporta no me sirve (ver American Wire Gauge). Comprar una bobina de alambre no es una opción, así que me puse en marcha para hacer un bobinado trifilar.

Ya que estamos me va a ser útil tener varios voltajes de salida, opté por tener taps cada 20 volt y cada 5 en las cercanías de los 220, mas un bobinado extra con derivaciones cada 1 volt para tener mas flexibilidad. Con todo eso estimé la cantidad de espiras necesarias, le agregué un 10% para tener margen y una por cada derivación. Con la longitud media del secundario original saqué la cantidad de cobre necesaria.

Rebuscando entre la cosas disponibles encontré un caño de plástico, le hice con cartón unos divisores, lo monté sobre una varilla roscada con dos tacos y empecé a sacar cobre del secundario. Por suerte encontré un cuentavueltas mecánico para ayudarme.

Plastic pipe with paper divisions to hold the magnet wire

Unwinding done!

Día 2.

Más bricolage... Primero hice una lanzadera para poder bobinar en forma ordenada (además el alambre tiene unos restos de pegamento muy pero muy filosos). Después una forma en madera con las dimesiones del núcleo, luego un núcleo en cartón. Salió tan bien que parece que hubiera ido a un colegio artístico.

Posterior y frente de la guia para el alambre esmaltado

Forma hecha con triangulitos de cartón.

Listo!


Un rato (bastante largo) bobinando y este es el resultado:

Mas prolijo que el original

Prueba rapida.

Para la mayoría de las cargas que me interesan la regulación es mas que suficiente y puedo ajustarla (dentro de cierto margen) con la gran cantidad de taps. Solo por probar le conecté una plancha de 1000w, calentó como si nada aunque la tensión cayó unos 30v.

Published in: dumpster-diving, electronica, hacks | on January 3rd, 2011 by Adrian Pardini | 1 Comment »