Archive for the 'electronica' Category

Hacker’s block

Llevo un buen rato tratando de averigüar por qué no se ejecuta el handler para una interrupción... Ojalá hubiera algo como Plinky que te libere la mente.  Me tiro en la hamaca paraguaya, pongo la cabeza en standby por un rato.

- Mirá que hay formas boludas de ir preso...

- Sí es cierto. Yo quiero que me engayolen por regicidio. Ya me estoy imaginando las placas de Crónica después de atropellar a la reina Isabel con un uniciclo a vapor...

Vuelvo a releer la hoja de datos, los documentos de la libc y mil foros hasta que un mensajito pasa al frente en un instante revelador:

the datasheet for the 8515 says that the USART RX complete handler is named USART_RXC" however in "iom8515.h" it's actually defined as "USART_RX"

Published in: amig@s, Comix, electronica, psico | on April 14th, 2012 by Adrian Pardini | No Comments »

Banco de pruebas para fuentes conmutadas

Uno de los proyectos en los que estoy participando ahora involucra fuentes conmutadas. Para mi parte necesito [aba] evaluar varios controladores integrados y bobinas así que me construí una pequeña herramienta para ayudarme en la tarea.

Esta me permite sensar la corriente consumida por la carga, la corriente en el inductor y la tensión de salida así como también regular el factor de escala. El driver del fet (un irf540 que tenía dando vueltas por ahí) no es nada revolucionario, en el encendido la compuerta está manejada en forma directa por el circuito externo y se descarga a través de un pnp cuando el terminal de control se deja al aire o a una tensión moderadamente baja. No es súper rápido pero alcanza y sobra a las velocidades que lo uso.

Estoy muy contento tanto con la terminación de la placa y porque funciona de diez. Abajo está probando un circuito basado en el tl494 con límite de corriente y tensión.

Published in: electronica | on March 5th, 2012 by Adrian Pardini | No Comments »

Latchup…

Hace unos días precisaba otra fuente de corriente así que en un ratito la construí con cosas que tenía a mano. Termino de armarla y la enciendo sin carga para ver que todo ande bien. Todo mal, sin importar la corriente que setee la señal de control siempre estaba al máximo. Reviso y todo está bien menos el opamp, reemplazándolo con un potenciómetro puedo variar la corriente de salida. Lo cambio por otro y nada.  La que lo tiró che.

Entonces tuve una revelación: estaba usando opamps para fuente simétrica y para colmo el modo común no incluía la tierra (básicamente la fuente es un seguidor realimentado por la caída de tensión en una resistencia muy pequeña, o sea la tensión es muy cercana a 0 volt, unos 10mV en las condiciones que la necesito). Compré un lm358 y todo se arregló.

La referencia de tensión interna no es super estable pero una vez que calentó y equilibró se queda en unos 100uA del punto fijado, por lo menos así lo ve el téster chino no tan barato.

Published in: electronica, hacks, rants | on March 5th, 2012 by Adrian Pardini | No Comments »

Making pcb’s at home for profit and not dying while doing so.

A brief rehashing of things I learned from making electronic devices for a living (or so I tell myself). More stuff you already know after the jump.

Looks nice, eh? I made it with my bare hands.

Read the rest of this entry »

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

Repercusiones de Guitarra Vas a Llorar

El jueves con los compañeros de Crear estuvimos en la CISL con nuestra charla. Es de no creer que gente del público en tiempo real twiteaba y subía la charla a youtube entre otras cosas.

Video corto del final: http://www.youtube.com/watch?v=h892afxo4ko

Twits: #guitarravasallorar

T!: http://www.taringa.net/posts/linux/12404725/Guitarra-vas-a-llorar_.html

Published in: amig@s, electronica, hacks, software libre | on September 10th, 2011 by Adrian Pardini | No Comments »

Camino a la CISL 2011

En unas horitas me voy a la Conferencia Internacional de Software Libre a presentar con los Compañeros de Crear el prototipo de nuestro último proyecto, "Guitarra Vas a Llorar".

La idea central es agregar un dispositvo electrónico a una guitarra estándar capaz de mostrar acordes, escalas y canciones sobre el diapasón. Mediante LEDs (diodos emisores de luz) se indicará en donde el guitarrista debe apoyar sus dedos. El funcionamiento se completa con dos alternativas de uso:

  •  Manual: Uso de una botonera y un pequeño LCD desde donde se podrá seleccionar que mostrar sobre el diapasón de la guitarra (escalas, notas, acordes )
  •  Automática: Conectarla mediante un cable USB a la computadora. Y a través de un software reproducir una canción, lección de estudio o una secuencia de acordes y que ésta se muestre en la guitarra.

Más info del proyecto:
http://www.elarteylatecnologia.com.ar/spip.php?article60

Programa de la Conferencia Internacional de Software Libre:
http://www.cisl.org.ar/index.php?option=com_content&view=article&id=373&Itemid=466

Published in: amig@s, art, electronica, hacks, software libre | on September 7th, 2011 by Adrian Pardini | No Comments »

Sinusitis.

For the last seven days I had this disease. I could not remember being this sick since I was a kid and catched chickenpox.

The first three days were like hell. Fever, alternating states of extreme coldness and warmth, generalized pain and swelling and worst of all, toothache. If I had at hand a forceps I'd disposed of half of my tooth just to make it go away. (yes, I do have a set of dentistry tools in the shack but the weather wasn't encouraging me to leave my home. No, sadly I don't have the x-ray head nor the chair. I could certainly make a good use of a dentist chair, they are really comfy.). I even had to sleep with socks and long sleeved shirts (normally, in winters like this, I sleep with no additional clothes and a quarter window opened).

The idea of spending several days doing nothing wasn't very appealing so I thought "If I'm going to be quiet doing nothing I'd better read so it's not lost time.". Well, moving was hard and trying to focus my sight on some books made me feel really odd so I strapped a wireless mouse to my chest, put a lot of blankets and the laptop on top to hold everything together. From time to time I passed out but I managed to read quite a lot, still can't make heads or tails out of some topics but it's better than nothing.

On the second day of this I gave up and it was a good move. The toothache made eating everything but liquids barely impossible and I felt weak, let alone in mood for studying.

The following days I slept in average 16 hours a day, somedays in a continuous chunk, others 8~9 and several naps. It was weird but ignoring the pain and dizziness I'd get sinusitis again just for the side-effects regarding the sleep and the dreams I had.

First. I don't know how, but I woke up like a robot for medication before the clock rung, turned off the alarm and fell asleep again just like that. And the most important, dreams. Lots of dreams, strange, livid and I remembered almost each and every one, I just wished I had taken notes because now some are fading.

I dreamt a lot with tubes, vacuum tubes. Several times I dreamt that I was in what looked like a small town, humble, electronics store of the late 40's shopping for a console radio. They were amazingly real, I could touch them, feel the veneer. I think I tried every Zenith from that era. Also I dreamt that one of my cat's nest were filled with assorted tubes, I can recall seeing a 6L6G (love that bottle shape) and a pair of 807... and 'we' cuddled by the fireplace. Yes, I'm a tubehead weirdo.

Also I had a couple of lucid dreams that I'd rather not talk about but I woke with a big big smile.

Published in: psico, rants, tubes | on July 12th, 2011 by Adrian Pardini | No Comments »

Otra placa se va de viaje…

Por un lado estoy contento porque me salieron impecables los trazos, aunque el silk medio corrido. En el otro extremo estoy enojado, no puede ser que en La Plata esté dos semanas para que me traigan componentes a un precio justo. Si los compraba en mouser o digikey los tenía antes.

Published in: electronica, rants | on July 1st, 2011 by Adrian Pardini | No Comments »