Archive for category Howto’s
Soviet Audio Workshop – 21.08.10 @ Black Box (Paris)
Posted by lekernel in Geek collectives, Howto's on July 16, 2010
Venez découvrir et expérimenter avec les sonorités et distortions analogiques bien old school produites par les vieilles technos germanium de l’époque soviétique. Au programme: fabrication maison de pédales et boîtes d’effets, et de synthétiseurs pre-8-bit!
Ce workshop s’adresse tout aussi bien aux débutants souhaitant apprendre à souder avec un schéma simple qu’à des personnes expérimentées voulant essayer leurs propres effets.
MATERIEL
Il y en aura un peu sur place (notamment un carton rempli de circuits soviétiques avec des transistors germanium à récupérer), mais pour être sûr de pouvoir faire ce que vous voulez, amenez:
- des plaques veroboard (photo ci-dessous)
- votre fer à souder
- composants discrets en tous genre: résistances, condensateurs, potentiomètres, …
- piles
- hauts parleurs (amplifiés ou non) et sources sonores (guitares électriques, …)
- connecteurs (jacks, …) à souder
- des appareils électroniques à cannibaliser
- des schémas si vous en avez à proposer. Un peu d’inspiration peut se trouver ici, ici, ici et là (merci à Urs pour les liens
). - des bières
Pour acheter des composants: vous avez par exemple, sur Paris, ECE (Nation), Selectronic (Nation), RAM (Nation), Electronique Diffusion (Malakoff), en VPC Farnell, …
INFOS PRATIQUES
Date: samedi 21 août 2010, de 14:00 à 20:00
Lieu: le Black Box, un hacklab parisien faisant partie du Théâtre de Verre. Adresse: 17 rue de la Chapelle, 75010 Paris. Code: A7398. Métro: Marx Dormoy.
Contact: seb chez tmplab point org
INSCRIPTION
Le Black Box étant underground au point de ne pas avoir de site web (ouuuhhh!), les inscriptions se font en commentant ce post de blog. La participation au workshop est gratuite.
Random notes on DIY chip making
Posted by lekernel in Geek collectives, Howto's on November 26, 2009
Following up Jeri Ellsworth’s home chip fab:
Building up the metal layers.
She currently uses conductive ink (the same one used to repair PCBs and hand-tune RF microstrip lines). This can be done with a stencil but the reliability and resolution are low. Furthermore, this ink is very expensive.
What is typically done in the industry to build such layers with a high reliability and resolution is a physical vapor deposition process. The physics behind it is simple: you just boil off a metal (typ. aluminium) by heating it (aluminium as a pretty low melting point), and condense it on the (colder) substrate. You make a vacuum to remove impurities, increase the mean free path of the aluminium atoms, and further lower the melting point.
For a good quality deposition, the required level of vacuum is high. The industry uses turbomolecular pumps, which are fast, but also extremely expensive, delicate, fragile (if for some reason the vacuum chamber is brutally open, the pump is irreversibly destroyed) and hard to deal with. However, for slower pumping speed (and therefore more time to make the vacuum), oil diffusion pumps are suitable. They are cheaper and harder to destroy. Some are available from eBay for a few hundred euros.
Both models of pumps do not operate at atmospheric pressure and require a traditional (rotary vane) vacuum pump in series. Several people told me that refrigerator compressors will not work (pressure drop is not low enough + the pump will fail when operated in air for a long time). Air conditioner pumps might do better.
For melting the aluminium, I have seen a design that pumps high currents (around 300A) through a tungsten crucible. While it is very possible to replicate this design (FYI we have a 3.3V 1000A power supply at the lab, otherwise I guess welding stations are fine) any other heating system that can heat a few dozens grams of aluminium to 600-700 degrees in vacuum is OK.
Having this physical vapor deposition system will not only enable metallization of chips in the long term, but also build-up of PCB-like devices on various substrates (glass, soft plastics, …) in the shorter term.
Exposing the photoresist with high precision.
The industry typically uses a special kind of expensive mercury vapor lamp to get the appropriate wavelength at a relatively high power (UV tubes for PCBs, UVPROMs and night clubs are apparently NOT suitable). But nowadays this is sometimes replaced with much cheaper and reliable UV LEDs.
To increase resolution, it is tempting to print an enlarged mask of the chip and then use an optical system to scale it down to chip size. However, the problem here is aligning the different layers. Maybe a high quality optical photo scaling machine mounted backwards with a microscope plus micrometers could work. The idea is to align the chip under visible light and control with the microscope, then switch on the UV light for photoresist exposure. The problem we might have is that the lenses can behave significantly differently at the two wavelengths, but maybe this could be compensated for.
Preventing Xilinx GUI tools from crashing with KDE4
I just found out how to prevent the Xilinx GUI FPGA tools (iMPACT, ISE Project Navigator, etc.) from crashing at startup when run on the same X server as KDE4.
As it turns out, KDE4 tries to apply its user’s “look and feel” preferences to all Qt applications run on the same X display. This has the effect of immediately crashing every Xilinx application using the broken “Xilinx edition” of Qt, as soon as they open a window.
This was very inconvenient, since I had to exit KDE or start another X server in order to run Xilinx GUI applications.
Fortunately, the workaround is simple. Among the gigabytes of crapware that the Xilinx installer stuffed your hard disk with, you will find a small utility called “qtconfig” (in the ISE/bin/lin folder) that allows you to configure the special, buggy, “Xilinx edition” of the Qt library that said installer also dumped to your hard disk.
Just run this tool under KDE4, and you will notice that its “GUI Style” combo-box says “Unknown”. Open that combobox, pick up a valid GUI style, click “File->Save”, and voila! All Xilinx apps can now be run at the same time as KDE4.
FPGA Workshop #4 – Draft Slides
Posted by lekernel in Geek collectives, Howto's on November 3, 2009
Draft slides for the theoretical part are available at http://lekernel.net/presentations/FPGA_Workshops/091108_tmplab/scenes_draft.pdf.
Let me know if you have any comments. There will be of course more explanations than what is just outlined in the slides.
It’s still time to register on the /tmp/lab wiki page.
The workshop is free of charge and open to everyone with some interest in computing or maths. The venue is the /tmp/lab, a hackerspace located in the Paris region.
See you on Sunday!
Atelier “Logiciel embarqué sur Milkymist”
Posted by lekernel in Geek collectives, Howto's, Milkymist on October 27, 2009
Description
Ceci n’est pas un workshop FPGA.
Cet atelier présente des techniques de base utilisées pour la plupart des développements logiciels “bas niveau” sur systèmes embarqués, toutes plate-formes confondues (microcontrôleurs, system-on-chips [un system-on-chip n'est rien autre qu'un "gros" microcontrôleur], calculatrices, cadres photo, …). Il présentera ensuite des aspects spécifiques au system-on-chip libre Milkymist tels que la programmation graphique et l’emploi de ses accélérateurs de calcul.
Les points suivants seront abordés:
- Pré-test d’un programme sur PC
- Installation et utilisation d’un compilateur croisé
- Chargement du programme dans la carte de développement
- Bases de programmation graphique bas niveau
- Utilisation des accélérateurs graphiques sur Milkymist
Pré-requis
Cet atelier s’adresse aussi bien aux débutants complets en programmation embarquée qu’aux personnes ayant déjà programmé sur plusieurs plate-formes et désirant se familiariser avec l’utilisation des périphériques de Milkymist.
- Venez avec votre ordinateur portable sous Linux ou *BSD. De préférence Ubuntu ou Debian mais ce n’est pas obligatoire.
- Connaissances de base sur la ligne de commande de Linux (cd, ls, rm, etc.)
- Connaissances de base en C. Pour les fans de déambulateurs, je rappelle que le Arduino Programming Language(tm) est du C et que si vous savez faire clignoter une LED en l’utilisant c’est suffisant. Si vous programmez sur PC et que vous savez faire afficher les nombres de 1 à 10 avec une boucle, c’est également suffisant.
- Si vous avez une carte à microcontrôleur AVR, vous pouvez aussi l’amener (pour pouvoir comparer). Les Arduinos sont tolérées.
Week-end de nerd
Vous êtes également bienvenus à l’atelier FPGA Workshop 4: Behind the Scenes le lendemain. Merci de vous y inscrire également si vous souhaitez participer.
Infos
Date: Samedi 7 novembre 2009, 14:00
Lieu: /tmp/lab
Merci de vous inscrire en éditant la page wiki.
FPGA Workshop 4: Behind the Scenes (November 8)
Posted by lekernel in Geek collectives, Howto's on October 21, 2009
DESCRIPTION
In the previous workshops, we have seen that FPGAs can emulate any logic circuit without moving (mechanical) parts.
FPGAs are however not magic nor mystical devices and this workshop will shed light on how they work internally. After theoretical explanations on their functioning, we will program them very close to the “bare silicon” by configuring manually each logic element on the chip, without any Verilog or schematics.
This will give you a better understanding of the challenges involved with writing open source programming tools, reverse engineering existing FPGA designs, injecting backdoors into FPGA bitstreams, and squeezing the most performance out of an FPGA chip.
PREREQUISITES
For the hands-on part:
- Bring your laptop
- IMPORTANT: Install Xilinx ISE. The installation takes a long time that we cannot waste during the workshop.
- Bring a Xilinx FPGA board such as the Avnet Spartan-3A starter kit used in previous workshops.
- The board must have a Xilinx FPGA. Boards with non-Xilinx chips cannot be used.
- Your board must have at least 2 pushbuttons and 2 LEDs.
- Bring any required programming (JTAG) cable and try to make sure that it works (driver installed etc.) before coming.
You can come to the workshop without a board, but obviously you might be unable to perform the manipulations yourself.
PRACTICAL INFO
- Venue: /tmp/lab near Paris, France
- Date: Sunday November 8th 2009, 14:00-19:00+
- Language: FR/EN (depending on attendees)
- Price: Free of charge, however donations to the /tmp/lab non-profit organization are welcome
- Please subscribe by editing the wiki page: http://www.tmplab.org/wiki/index.php/FPGA_Workshop_4:_Behind_the_Scenes
FPGA Workshop #3: Computer Architecture, August 29th
Posted by lekernel in Geek collectives, Howto's, Milkymist on July 17, 2009
Computer architecture is the science and art of selecting and interconnecting hardware components to create computers that meet functional, performance and cost goals (Wikipedia).
With the invasion of digital devices during the last decade (cellphones, wireless routers, digital TV…), it has become more than ever ubiquitous.
However, it is still a poorly known subject for most people. Even among the self-proclaimed hardware hacking community, most fanatics of the Arduino development board open source physical computing platform do not know that all the functionality of their much-hyped toy comes from an AVR microcontroller chip that has been being manufactured for years by Atmel. And among those who know, yet fewer people are knowledgeable about the inner working of the AVR microchip; in which computer architecture plays an important role.
The reason behind this might be that during decades, computer architecture was reserved to academic lectures and companies who had enough cash to build integrated circuits costing several hundreds of thousands of dollars. This left little room for the individuals, except those who had the guts to wire together hundreds of logic ICs together. But these amateur systems lag well behind commercial solutions in terms of performance, size, and power consumption.
But today’s falling costs of powerful FPGAs make it possible for individuals to build complete high-performance computer systems (System-on-Chips) from scratch.
This workshop will explore this possibility. After introducing basic computer architecture concepts and practices, we will load a simplified version of the Milkymist System-on-Chip design in the development boards and execute basic programs on it. Then, using Verilog HDL, we will design a simple peripheral for the system-on-chip, integrate it, and test it on the board.
This workshop is for people who want to discover practical computer architecture, and at the same time for those who already know about architecture and want to get an introduction about how to add a peripheral to the open source Milkymist System-on-Chip.
Date: August 29th, 14:00
Venue: /tmp/lab geek collective
Price: Free
Info+Registration: Workshop page

