Toaster Oven Soldering

So we tried a few experiments in toaster oven soldering this weekend, and had limited success. In the end, it was easier to do the job with a soldering iron, because our surface mount chips were fairly big. But here’s a few tutorials on others’ attempts at it:
Sparkfun has a number of good methods, using a skillet and using a toaster oven.They also have a good tutorial on solder paste stenciling.
Seattle Robotics has a nice clear tutorial on toaster oven reflow.
Thanks to Raffi Krikorian for the link.
Raffi’s notes on his experiment at ITP, on how to get the timing right for reflowing a part already soldered to the board: “we put a piece of solder in there too (on a piece of tin foil), and the instant that solder melted, i pull the board and just tapped it — the IC fell right off…”
Here’s another toaster-oven soldering example, thanks to Sasha Harris-Cronin for the link.

Technorati Tags: ,

Stepper motor controller from analog input

This program controls a stepper motor from an analog input. In testing it, I used a potentiometer, which gives a persistent value. An analog input that changes when it’s not contacted, like a SpectraSymbol linear or circular pot, wouldn’t work with this example.

Thanks to the Fall ’05 Wednesday morning class for the early experimentation on this code.

Written in PicBasic Pro, tested on a PIC18F252

Continue reading “Stepper motor controller from analog input”

Network Data Logging Suite

This suite of programs takes data from a sensor and saves it to a text file on a network. Each sensor reading is time stamped. The suite illustrates the basic principles involved in sending sensor data to a networked file or database.
The first program involved is a microcontroller program, written in PicBasic Pro, tested on a PIC18F258. It waits for serial input from an external program. Then it reads its analog sensor, and sends the result out in two bytes.
The second program is the same microcontroller code in Wiring/Arduino, thanks to Jamie Allen for the cleanup.
The third program involved is a desktop computer program, written in Processing. It requests data via its serial port from the microprocessor and sends that data to a CGI program on a web server. It passes the data into the CGI using an HTTP GET request. This program only sends every three seconds, so as not to overwhelm the server with hits.
The fourth program is a CGI (common gareway interface) program, written in PHP. It takes in data from an HTTP GET request and appends it to a text file, along with the time the request was received. Note that this program does not check to see how big the file is, or whether the incoming data is properly formatted, so it isn’t terribly secure.
The fifth program is another PHP script that logs the data to a mySQL database. Running this doesn’t require any change in the microcontroller code, but it does require a slight change in the Processing code. The change is in the sentToNet() method, and is noted below.

Technorati Tags: ,


Continue reading “Network Data Logging Suite”