Research and Teaching Blog
7 Posts with tag: python
DIY thermal cycler
This post is way long overdue. In the Fall of 2008, (or was it 2007?) I taught a small module in the ABE 221 course dealing with automation in Biological Engineering. My hope was to create a home-made thermal cycler for less than $1000. Of course many people in the DIYBio community have constructed thermal cyclers for way less, and truly, you probably don't need to pay more than $300-400 (perhaps even less) to build a reasonably good quality ...
Tags: Do it yourself Biology , Instrumentation , labjack , programming , python , synthetic biologyLabjack Sensors
Here are some resources on installing the drivers for Labjack on Windows, a prebuilt installer for Mac OS X as well as the python modules.
Steps required to install the LabJackPython module:
- Open a command prompt (Click on Start > Run and type cmd in the box. Should open a DOS window)
- Change directory to the folder where you have your LabJackPython files extracted (e.g. 'cd \Downloads\LabJackPython\)
- type the command 'python setup.py install' in the folder where the ...
Temperature and RH in 376A
Here's an experiment. I have a script uploading hourly temperature and humidity data to a spreadsheet. Here's the visualization of the temperature and humidity data in my office.
Tags: Instrumentation , labjack , miscellaneous , programming , pythonReversing a string
Problem: Reverse a user-input string and write it to a file
Solution: In Python, there are a number of ways to reverse a string. The most direct method involves reading the characters in reverse and performing a concatenation on them. By far the most elegant way to do it is:
>>> 'hello'[::-1]
'olleh'
The reversed() function does not do the trick, as it is meant to work on things like iterators.
Writing the result to a file should involve the ...
Tags: courses , python , tsm435Web interface for the LabJack
One of the things I've always wanted to do is to create a web-based controller for the LabJack family of devices. This is not exactly the same thing I've written about in the past, but it is not unrelated either. U3OverIP provides a good framework to build the web interface, but writing the actual interface is non-trivial - at least for me. Any way. Here's a simple implementation. Look at the "Announcements" section of the index page of ...
Tags: Instrumentation , labjack , programming , pythonU3OverIP
Joshua Sander, our student in ABE is currently finishing up his MS working on a a high channel DAQ system as shown in the figure. Briefly, the system is constructed as follows:
First the hardware:
We have a standard LAMP server with the labjack u3 connected to it. We built our own MUX boards capable of doing analog or frequency (RH) signals using an Analog Devices (I believe ADG506) with basic RC filtering. The sensors are standard chip-based temperature / RH ... Tags: Instrumentation , labjack , programming , pythonFirst Post
About time I created the research page for my website. Figured I'd make a blog instead, where I can blog about the research. So here it is: "Hello World!".
I used the basic blog structure provided by Ross P (www.rossp.org) and used it to integrate it into the website.
