Tuesday, September 9, 2014

Note de cours - Etudes en technologie des systèmes Ordinees - Logique 2

Dans les 2 posts précédents je vous ai partagé les seules notes que j'ai gardées de mon année d'études en "Digital system Technologies'" au collège Vannier.

Après cette année assez intense j'ai decider de revenir étudier dans une institution francophone, soit à l'Institut d'Ordinique du Québec (Cegep Lionel-Groulx à Ste-Therese).

Donc dans les prochains post je vais vous partager les notes de cours que j'ai conservé de mes 4 années d'études en technologie des systèmes Ordinees.

Sorry for you anglais only readers, but the remaining of the series will be in french.

Donc les premières notes sont du cours de Logique 2 qui était donné par Sylvain Guillemette.

Bonne lecture !

Logique 2 (part 1) - IOQ

Logique 2 (part 2) - IOQ

Logique 2 (part 3) - IOQ

Logique 2 (part 4) - IOQ

(p.s. Il me reste encore plusieurs pages a scanner sur ce cour, revenez voir dans quelque jours)


Electronic courses notes - Logic 2

Ok, following up on my electronic course class notes, the following is the Logic 2 course notes I took at Vanier College back in 1989.

The document is separated in 3 PDF files for easier downloading.

Logic 2 (part 1) - VanierCollege

Logic 2 (part 2) - VanierCollege

Logic 2 (part 3) - VanierCollege


Electronic courses notes - Logic 1

In 1988 (yeah that's a while back) I started my college studies at Vanier College in Ville St-Laurent, studying Digital System Technologies. I only 'lasted' 1 year there and switched to a french institution at the time called Institut d'Ordinique du Quebec (part of Cegep de Ste-Therese). I completed my studies there in Systemes Ordinees.

In a series of post I will be providing the notes taken and received during those courses I attended (well the ones I kept anyway) in PDF format for the benefit of all. Unfortunately for the english only readers only the Logic 1 and Logic 2 notes are available in english and the reminder will be mostly in french...

Please do not look too closely at my grades, I was not that good a student !

So this first share are the notes of the Logic 1 course. This course was intended to teach the fundamentals of binary logic, truth tables...

So have fun and I hope you learn something !

Logic 1 - VanierCollege




Thursday, January 9, 2014

PCB etching with vinegar... (part 3)

Ok, quick post while at lunch. This is a recap of my progress...

1st attempt:
Thermal transfer was pretty good, but did not let it etch long enough so that it's a big short everywhere.

2nd attempt:
Thermal transfer was also pretty good, etching was good, but some traces shorted and some open. Might be usable.

3rd attempt:
On that attempt I changed the artwork to have a ground surface. I figured that it would speed up the etching. Also did some trace in-between the pads smaller so as to avoid short.
Unfortunately my paper moved while ironing... So useless to go through the etching part.

This is turning out to be a bit harder that I had anticipated, but I am making progress and learning from my errors.

Stay tuned.

Wednesday, January 8, 2014

PCB etching with vinegar... (part 2)

Ok, so this is part 2 on etching a PCB with vinegar.

This time it's for real. I printed my design on a glossy grocery add I just received. I used the most glossy and cheapest paper quality I found.


Using a paper that feels cheap is apparently good because it will soak up the water and will become pulp more easily when time to be removed.

I cleaned up the copper board with one of those synthetic ScotchBrite type of washing sponge so that it was all shinny. You don't want finger grease on the copper. I also cut the copper board to the same size as my PCB artwork.



Next I heated my wife iron (don't tell her) at the 'wool' setting. Once ready the first thing to do is warm up the copper board. Leave the iron on it for about 30s. Then flip your printed artwork on the copper surface. This will somewhat glue the paper to the board so that it does not move when you start moving the iron on it.

I then put the iron on the paper and moved it a bit around trying to apply heat everywhere. Don't leave it too long or the laser 'ink' will melt and start to somewhat leak from it's original printed layout.


While the board is cooling down prepare a recipient with lukewarm water. Once the board is cold to the touch, simply put it in the water.


This will make the paper go to a pulp state after a few minutes. When you see that the paper is starting to show air bubble, it's time to start peeling it away. Go gently at first, but I found that the laser 'ink' did adhere very well to the copper. With your finger and the help of the water remove any little piece of paper pulp.


The result is pretty amazing. You can see areas where I did not apply enough heat and some other that I did too much, but the traces looked good. So off to the Vinegar/H2O2/NaCl solution we go:


It tool a while, and I added salt a few times, but after about 4h30 it looked pretty much done. So I pulled it out, cleaned it under tap water and used nail polish remover to remove the ink. The result looked very good:


Until I tested with my multi-meter... Short everywhere, even the etched parts were short... I did not leave it long enough in the solution... And now that I cleaned the ink, it's scrap...

So note to myself, do a basic continuity check BEFORE cleaning the ink...

So I will restart over again tonight with a new piece of copper board and will use this scrap to practice drilling the holes...







Tuesday, January 7, 2014

PCB etching with vinegar... (part 1)

Ok, we all know that we can use FeCl or a mix of muriatic acid and hydrogen peroxide to etch PCB, but those are nasty chemicals that I don't really want to mess with. Reading on the net I found people using white vinegar, hydrogen peroxide and salt, all stuff you can buy at your local grocery store!

This will be a multi-part post where I will show my experimentations on this. Note that I have never etched my own PCB so you will get the full newbi experience.

My first test is just to see if this mixture can really remove some copper. So I just cut a small half inch square and give it a try.


The mixture according to what I read is 60% vinegar and 40% hydrogen peroxide and some salt... So I measured that and put that in an old plastic cup and dropped my small copper piece in.


Apparently this thing is supposed to be bubbling... So I added a bit of salt directly on the copper piece.


As you can see this had an effect and a reaction is occurring. I let it doing it's thing for 15 minutes:


It is doing something to the copper ! There was no more bubbling so added a bit more salt to start the reaction again:


Not much more etching after 30 minutes:


One thing... My hydrogen peroxide is expired... since 2010 (don't ask me why we still had that in our house) It may not help... 

After about 1h maybe I could see that the copper was thinning. So I added 1 part of vinegar and about 1 tablespoon of salt and put the container in a bath of hot water.


After about 1.5h it was pretty much done. I think the added acidity and hot bath really helped.


So myth confirmed, etching copper board with vinegar, hydrogen peroxide and salt is possible !

While this was going on I tried the PCB art work heat transfer method. This involves printing your artwork on a glossy paper and using a hot iron to transfer the laser printer ink (which is actually a plastic based compound) to the copper board. Well, that did not work out so good:


I used a 8.5x11 label backing paper as my glossy paper, may this was the problem. Thinking about it I did not wait for the copper board and paper to cool down before trying to peel it off. Dooh ! Also the glossy moves while I pressed the iron. Maybe I should secure it with tape or something.

So stay tune as I will be trying that again and writing a blog post as I go along.







Sunday, January 5, 2014

TP-LINK TL-WN725N on a RaspberryPi

Ok, got a TP-LINK TL-WN725N from MasterVox Electronique yesterday (http://www.master-vox.com/) for 15$ with the intend to use in on my RaspberryPi. The key was a v2 of the TL-WN725N.

Off course it did not work out of the box. After a bit Googling and failed attempt I finally stumbled on this post:

http://www.raspberrypi.org/phpBB3/viewtopic.php?p=462982#p462982

Which was the key to success. The trick is really to get the right module for your kernel.

Friday, January 3, 2014

Arduino and RaspberryPi low temperature tests

For the past few months I have been working on a project that required a RaspberryPi and Arduino (and some other components) to survive Quebec temperature.

For those who don't know our temperature, winter can easilly reach bellow -30C (-22F) and summer we sometimes hit around 30C (86F). This past few days have been quite cold reaching in the -26C with a wind chill effect of -35C so it was the best time to perform a cold powered-on test.

The setup was simple. A RaspberryPi running Raspbian with a DS18B20 temperature sensor, a Startech 4 port USB hub where an Arduino Uno is attached. Every 15s a script would record the temperature and every minute an other script would look (using lsusb) to see if the USB hub and Arduino were still alive. The setup looked like this:


The plastic container was scealed with tape, put in a 'ziplock' bag and left overnight on the rooftop of my car.



The power was provided by a small 75W APC DC-AC power inverter sitting in the car and connected to the car battery:


Well, according to the DS18B20 temperature sensor it got to about -22C last night and the resulting temperature graph looks like this:


Best of all no disconnection of the USB hub or Arduino were detected and the RaspberryPi did not reboot or lockup.

Embedding hardware parts in 3D prints

Yesterday I did my first attempt at embedding a nut in a print... The idea was to have the nut (8-32 hex nut) be captive in the print so i...