TCD1304 on macOS

tux_apple

Image from linuxnewbieguide.org

One of the spin-offs of the raman spectrometer is a small, entirely 3D-printed VIS-spectrometer, that I thought could compete with the relatively expensive commercial USB-spectrometers at my school.

The spectrometer costs less than 80$ in parts and has a resolution of around 2nm. The project page on hackaday is here: Ottervis-lgl-spectrophotometer  but as always, the hackaday layout/interface is not really very easy to navigate and/or maintain, so I’ve created a separate page for the project here: OtterVIS.wordpress

One of the biggest problems of bringing the spectrometer into the classroom is that the students all use either macOS/OSX or Windows[1] – and the interface software is made for linux. I will probably never get around to making a Windows-version ..it was already difficult to learn serial programming for linux.

But as most people know, there’s a UNIX under the apple’s skin, so porting from linux to macOS can be very straightforward. In the case of the Otterly CCD CLI, it’s as simple as installing xcode, glib and pkg-config and changing the makefile slightly.

Of course not everyone needs to compile the CLI for themselves, and installing glib will be the only step required before running a precompiled binary. So with that, it should be possible to get the students to be able to use the spectrometer.

Goto tcd1304.wordpress.com for slightly more details and a download of the sourcecode, new makefile and precompiled binary, all in one zip.


[1] In my six years of teaching, I’ve taught around 400 students. Only one of them used linux. The remaining 399 used macOS and Windows – roughly 50/50 with a slight lead to Apple.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s