Close

Does this project spark your interest?

Become a member to follow this project and don't miss any updates

ramanPi - Raman Spectrometer

An open source 3D Printable Raman Spectrometer using a RaspberryPi and easy to find off the shelf components..

Similar projects worth following

This project was created on 05/30/2014 and last updated a month ago.

Description
An open source 3D Printable Raman Spectrometer that uses a raspberryPi, a couple of arduino compatible ARM boards, a really bright laser and some parts you can grab from eBay, adafruit, sparkFun, Mouser, or wherever...!

BASIC DESIGN GOALS:
1. Make it Open.. Everything.. All of it..
2. Make it 3D Printable.
3. Make it modular and easy to upgrade.
4. Make it as easy to build as possible.
5. Make it easy to customize and open to improvement.
6. Use only commonly available off the shelf components whenever possible.
7. Have a remote interface that will allow it to be controlled and viewed from anywhere.
8. Compare the spectra to the online internet spectral databases.
9. Provide the capability to log data to remote databases, share with friends and colleagues..
10. Not be just another open source spectrometer..
11. Make it easy to use and intuitive.
12. Make it attractive with an elegant design..
13. Make it useful and just cool to have!
Details


Welcome to the hackaday.io project page for the ramanPi! The ramanPi is a raman spectrometer that I decided to build back in April of 2014 because I needed one for another project and could not afford the tens of thousands of dollars a commercial product costs...and there are no DIY or open source systems in existence until now. I knew nothing about spectroscopy, let alone raman spectroscopy back then and everything here documents my learning process towards my goal.....A fully functional, and fairly high resolution raman spectrometer. When I started this project, I had wildly different ideas about how I was going to achieve my goal. The project logs begin very early in my design process and document how I changed my approach and what led to the form it is taking now. In the process of designing this system, and participating in TheHackadayPrize, I have learned a great deal.. Not just about spectroscopy and how raman systems work, but about how important it is to share your work with others..to contribute to the community and help others learn as well. Before I started this project, I had no idea I would later join the contest. I had started to post my project once...then deleted it because I didn't think anyone would be interested. I decided to post it after speaking to a friend who convinced me to go through with it. It wasn't long until Mike S. here at hackaday contacted me to do a Hacker Bio...apparently the first of it's kind on hackaday..! Of course I was interested and very grateful...Mike encouraged me to go further and really convinced me that this is important and sharing benefits everyone.. Boy did I learn how true that is.. In the journey so far, I have learned a tremendous amount, people have been wonderfully supportive and have offered some terrific advice! I want to thank everyone for everything! This is my first project that I've shared publicly, and I have not looked back..It's been one of the greatest experiences I've had the honor of to date.. I am determined to finish this project and make it the best it can be, because everyone has been so supportive and the interest it has generated has made me want to make it better..! Thank you to everyone who has been so great.!!

Be sure to check out the bio that Hackaday.com did on me!!

ST Micro gave me a shoutout on their Facebook page!

The great people over at RaspberryPi.org did a wonderful article on ramanPi!

Some kind words from the folks at 3ders.org too!

Thanks to Elecia and Chris White at embedded.fm for the great podcast interview!

Follow me on twitter too! I'll be tweeting on gitHub updates as well as from here!

Index of Instructions and Informational project logs:

THP Semifinals Video

You can also view the project log with this video that includes a full transcript HERE ...

THP Finals Video

A bench top, raman spectrometer constructed from very easy to source components and 3D parts printable on even entry level printers. My system is a completely unique innovative design in the world of raman spectroscopy and has many advantages beyond the fact it can be constructed for a tiny fraction of the cost of a used commercial system, which can cost tens of thousands of dollars! My system connects to multiple internet databases to retrieve spectral data to identify chemical compounds under test. It is completely scalable to fit almost any budget... Many of the components can be used for other purposes outside...

Read more »

Components
  • 1 × Raspberry Pi Model B+ 512MB RAM $39.95ea Adafruit Product ID: 1914
  • 1 × ARM Nucleo Board STM32F4 STM32F401RE 512K $10.33ea Mouser Part Numer:511-NUCLEO-F401RE
  • 1 × Tosbia TCD1304DG Linear CCD Array Detector $14.99ea eBay
  • 3 × Black Plastic 3D Printer Filament Cartridge (I used an XYZ daVinci v1.0 - 1.75mm 600grams per cartridge) $28.00ea Amazon
  • 1 × Set of ramanPi PCB Kit (3x prototype boards, some solder and a long weekend) $TBD - Probably around $20ea
  • 1 × 532nm 150mw Green Laser Module with Thermoelectric Cooling and TTL Modulated $89.99ea eBay
  • 1 × Edmund Optics 1200 Grooves/mm, 25mm Square, VIS Holographic Grating Stock No. #43-216 $135.00ea Edmund Optics
  • 1 × Edmund Optics 20mm Dia x 80mm Focal Length, Spherical Mirror Stock No. #46-239 $37.50ea Edmund Optics
  • 1 × Edmund Optics 50mm Dia. x 100mm FL Protected Aluminum, Concave Mirror Stock No. #43-471 $42.50ea Edmund Optics
  • 1 × Edmund Optics 10μm x 3mm, Mounted, Precision Air Slit Stock No. #58-540 (OR EQUIVALENT) $115.00ea Edmund Optics

See all components

Project logs
  • PCB madness

    a month ago • 3 comments

    So, a quick update... Some of you may have noticed that I posted a couple other projects related to PCB production.. I've been on overtime trying to get a reliable and repeatable, yet simple and easy method down for making a number of boards.. I'm doing this for a few reasons.. I want to be able to make better boards, faster and cheaper for whatever project I'm working on...and I want to make them well enough that they match the quality I'm getting from paying a lot more money and waiting a lot more time for.. Ambitious...I know, but I like it that way..

    So, I'm nearing a point where I want to start making regular updates both here and on the PCB projects I have.. Keep an eye out..! And as always, I'd love to hear feedback!

    Also, for those who would like ramanPi kits.... would metal parts be of any interest? That is, the parts for the optical paths..out of cast aluminum, black anodized...and machined to fit perfectly..? I'd be interested to hear..!

  • embedded.fm podcast interview!

    2 months ago • 0 comments

    Hi, so Elecia White and Chris White over at embedded.fm did an interview with me on their podcast site.. Link here.. You all might remember Elecia was a judge in the hackadayPrize contest as well..! I want to thank her, Chris, and everyone with hackaday and the other judges for such a great experience!! I'm looking forward to getting the ramanPi finished up and possibly selling kits too!

    Happy New Year to everyone, and keep on hacking..!

  • A quick update!

    2 months ago • 0 comments

    Ok, I've been saying it for a bit now... But I really am working on this thing still.. Just to give an update on where my efforts are being directed right now... I'm trying to fill in some gaps on my side.. Mostly in the ability to make the PCBs.. I've always hand soldered and breadboarded 99% of my stuff since I never had a need to show it to anyone, or worry about reproduceability... So, I've been spending some time and money to give myself that ability.. and it's actually coming along nicely so far...I think..

    I got myself a shapeoko, which is currently on its way... and those of you who might have glanced at my profile on here in the past day might have noticed that I am posting a couple new projects... One for making metal stencils, one for a UV exposure 'oven', and a couple more when I get the time.. I'll document every step of the process I am using, from designing the boards to having a finished board with solder mask and silkscreening...all done at home with easy to find parts of course.. Some things will be unique and designed by me, some will be pretty common probably but maybe with a twist to make it easier from my perspective.. :)

    At any rate, a number of you have contacted me and are starting to build your own ramanPis, so I'd like to continue making it as easy as possible... and yes...I hope to be offering kits and parts as soon as possible too!

    Here's to a great new year and thanks everyone!!

View all 76 project logs

Build instructions
  • 1

    Below is a list of build instruction logs that will instruct you on how to go all the way from sourcing your components to printing the parts, and constructing your very own raman spectrometer!

    To begin, you will need some tools..  Pretty much every section requires similar tools.  If a section requires a special tool not listed here, it will state that and show you which tool is appropriate.

    Tools Required:

    • 1. Needle Nosed Pliers
    • 2. 1.5mm Hex Driver
    • 3. 5/16 Hex Driver
    • 4. Philips Screw Driver
    • 5. Precision Tweezers
    • 6. Nitrile Gloves
    • 7. Cotton Gloves
    • 8. KimTech KimWipes

    3D Printed Part Guidelines:

    Printing the 3D Printable parts will take you probably about a week. The spectrometer portion alone took about 15 hours on my XYZ daVinci 1.0 printer.. The 5.25" Drive tray takes about 10, and most of the other parts are about 6 or 8 hours.. Print in high enough quality to make sure the parts end up solid enough that they won't crumble in your hands..use 30-50% density... Supports are a good idea and the spectrometer really should be printed with the inside facing the floor. I managed well with .2mm height, you might want to try .1 or whichever is best for your printer. All the parts have been designed for use with ABS plastic and I would recommend using black ABS filament.  For parts with beam paths, I am investigating different ways to coat the interior for reduction in reflections, etc. For now, if you like you can coat them with a flat black paint..this will help keep the noise floor down.

    All of the 3D Printable objects are located in the gitHub repository.  They have been created with openSCAD and can be modified, etc.  You can view the .STL files and you can download and edit / modify the .SCAD files as well.  

    Sections You Will Be Building and Configuring:

    Following Instructions:

    Each section of the raman spectrometer system is divided into separate build logs to make it easier to find a section and keep the flow.  You'll see each section has a "LET'S BUILD IT" graphic..

    You can click on that and it will take you to the appropriate instructional build log associated with that section!  At the end of the instructional build log, there will be a link to return here...or you can just close the tab and this tab should be here waiting!

  • 2

    Section: 1

    A Completed objectiveLens Mount

    Components Required:

    Click on the graphic above to open a new tab with instructions on how to build your objectiveLens Mount!

  • 3

    Section: 2

    A completed beamSplitter Assembly

    Components Required:

    Click on the graphic above to open a new tab with instructions on how to build your beamSplitter Assembly!

See all instructions

Discussions

schiaucu wrote a month ago point

Hey, this is a fantastic job! When you will be decided to sell some kits, let me know, I want to buy one.

Are you sure? [yes] / [no]

fl@C@ wrote a month ago point

Hi..!! Will do..! They're in the works.. Hopefully in the following few months I will have some significant updates in that direction...!

Thanks!!

Are you sure? [yes] / [no]

leelsuc wrote a month ago point

I got a lot notes on how to calculate the spectrograph. I got many free articles from archive.org, very good website.

Are you sure? [yes] / [no]

leelsuc wrote a month ago point

Hey Fl@c@. THANK YOU SO MUCH for doing this great work.

one question, could you post the books or notes to calculate the czerny turner spectrometer? I 've been looking for a long time... thanks, or any online source or formula you can share with us?

Are you sure? [yes] / [no]

FrankenPC wrote 2 months ago point

Hey Fl@c@. THANK YOU SO MUCH for doing this complete build log. This is genius.

So, I WANT to build one really bad. I'm in need of this kind of technology right now and I have the money for the parts. I don't currently have a 3D printer though.

SO a couple of questions for you! There are 3D printer on demand sites on the web I'm sure. Do you recommend any? Never hunted for a service before. And you mention the PCB kits. You have any plans to sell them in the near future or should I just outsource some vendor who does Eagle? Can you recommend any prototype manufacturers?

Finally, your Eagle files are up to date? No dead bug mistakes or anything?

Are you sure? [yes] / [no]

fl@C@ wrote 2 months ago point

Hey FrankenPC.... So, thank you..! I am in the process of gearing up to offer kits.. I am planning on offering full kits, or parts.. I am also looking into offering either plastic parts (will probably be molded, or possible HDPE machined, etc..) and also aluminum parts.. The PCBs are current, but I will be updating them in the near future with more options... and I will be offering those as well. If you need something very soon, I've used OSHPark but they seem pricey to me..but the boards come out very nice. I don't know of any 3D Printer on demand sites...but I have seen a couple in shopping malls lately.. If you're not in a terrible rush, I am working very hard to get the site up and things in line to offer them... =)

Are you sure? [yes] / [no]

jgm.requel wrote a month ago point

Well you can count me as a purchaser when you do!
-James

Are you sure? [yes] / [no]

eichlerdr wrote 2 months ago point

I am a chemistry student at UIC and I have been working on some independent studies with spectroscopy, and I must say this is absolutely amazing. I was thinking of doing a basic visible light spectroscopy device with the raspberry pie, but now that I have seen this I may have found a new project to play around with. Please keep up the innovation!

Are you sure? [yes] / [no]

fl@C@ wrote 2 months ago point

Hi eichlerdr, thank you..! Maybe start out with just the spectrometer portion! Keep my updated on your build!

Are you sure? [yes] / [no]

bootdsc wrote 3 months ago point
This is the single most complicated and impressive build to ever cross HaD, how it ended up in 5th place is some kind of conspiracy. Beat out by a handheld spectrum analyzer, really? Come on i can go on amazon and buy one so who cares. I hope you bring this to kickstarter and have lots of success.

Are you sure? [yes] / [no]

fl@C@ wrote 2 months ago point

Hi bootdsc..! Hey, thank you.. I am just glad to have been a part of the whole thing, there were a lot of great projects.. I hope I can get to that point soon!

Are you sure? [yes] / [no]

admin wrote 3 months ago point
I would just like to congratulate you with regards to your project, i have no previous knowledge of Raman or much else, but you have sparked my interest and i have been studying like no tomorrow, i have started to order parts and i am going to build it.
i will have of course lots of questions and hope you don't mind me asking (don't want to be a pain)
again congrats
David

Are you sure? [yes] / [no]

fl@C@ wrote 3 months ago point
I'm always open for discussion! Thanks for the interest and I wish you the best of luck..! Keep an eye out, I will be doing some possible design updates in the next few weeks.. I will do my best to keep the component list the same though :)

Are you sure? [yes] / [no]

gabriel.goetten wrote 3 months ago point
Hey man! Your project is freaking amazing! However, the signal seems too weak right? Maybe it is because the intensity of the laser... Anyway, are you planning to sell this as a full ramanpi where we can buy it fully? Because it seems very good =D

Are you sure? [yes] / [no]

fl@C@ wrote 3 months ago point
Thanks.. If the signal you're referring to is indicated in the posting titled 'Raman' ... I should probably have spent more time on that post.. It's probably misleading in that I think it indicates my attempt of obtaining a raman signal over testing the RTOS implementation of the imagingBoard firmware.. Where I say that the raman signal is incredibly weak is reference to the fact that raman signals are incredibly weak in contrast to the rayleigh light in return... I was sleep deprived and generally worn down by the contest deadlines...... A week or two more and I will be back on track and clearing up my intentions with this device....which will in fact probably include a kit and possibly pre-built version for sale.. I have had a lot of inquiries regarding that, so here is hoping!
Thanks again.. I'd like to hear your opinion or anyone else's if you/they have any requests for functions or features...!

Are you sure? [yes] / [no]

Neil Jansen wrote 4 months ago point
This just once again proves the judges weren't doing their jobs. Very sorry you didn't win first place, and I'm sorry that they thought a sensor breakout board and some pcv pipe antennas were cooler than your project. You deserved to win, your work and dedication towards this project has been amazing.

Are you sure? [yes] / [no]

Lerche wrote 4 months ago 2 points
I disagree with you on that point Neil, the judges did what they were asked to do. You and I as well, have different opinions on who should win the prize, but you can't say the judges didn't do their jobs.

Are you sure? [yes] / [no]

fl@C@ wrote 3 months ago point
Thanks for the kind words Neil..! I'm just happy that I was a part of the whole thing.. I never even expected to make the final 5.. I totally thought you'd beat me there..! I'm very sorry btw...I love your project and will definitely be building/buying one..!

Are you sure? [yes] / [no]

airbuckles wrote 4 months ago point
THIS IS AWESOME!!!

Are you sure? [yes] / [no]

matt wrote 4 months ago point
So far how much success have you had in identifying compounds using this instrument? I understand that you are still working on the software. Can you post some example spectra with a database spectra to show how your results compare?

Are you sure? [yes] / [no]

fl@C@ wrote 3 months ago point
I'll be re-writing the firmware for the imagingBoard in the next few weeks.. expect lots of updates from that..!

Are you sure? [yes] / [no]

Dmitri wrote 4 months ago point
Love this project!
A couple questions:
1. Why did you decide to go with crossed Czerny-Turner configuration? Aberration corrected concave holographic gratings clearly offer some advantages. Was the price point too prohibitive?
2. Why not do away with just one edge filter? You probably don't care about anti-Stokes scattering. Removing 522nm Short Pass Filter would simplify the design.

Are you sure? [yes] / [no]

fl@C@ wrote 4 months ago point
Hi, thanks Dmitri...
Yes, number one is about cost.. The concave holographic grating was considerably more expensive.. It might be something I consider later though..
I actually do want information on the anti-stokes as much as stokes in my other project.. The beauty is that if people aren't interested in the cost or complexity, an adapter can be made to replace the filter selector assembly..!

Are you sure? [yes] / [no]

Jrsphoto wrote 4 months ago point
Congrats fl@C@ Glad to see you made it to the final 5!

Are you sure? [yes] / [no]

fl@C@ wrote 4 months ago point
Thanks!! I'm still looking at those libraries when I get around to the version for the raspi camera!

Are you sure? [yes] / [no]

radiusmike wrote 4 months ago point
Superb. This is most impressive. You have my vote for Best in Class and the Hackaday Prize. Wow!

Are you sure? [yes] / [no]

fl@C@ wrote 4 months ago point
Thank you..! I'm happy people like it!

Are you sure? [yes] / [no]

carrigan90 wrote 5 months ago point
Awesome!

Are you sure? [yes] / [no]

fl@C@ wrote 4 months ago point
Thanks!

Are you sure? [yes] / [no]

WestInSide wrote 5 months ago point
Nice!!!! Congrats!

Are you sure? [yes] / [no]

fl@C@ wrote 5 months ago point
Thank you!

Are you sure? [yes] / [no]

spacedoudou wrote 5 months ago point
you're in the top 5 !!! congrats !!

Are you sure? [yes] / [no]

fl@C@ wrote 5 months ago point
Hey thanks spacedoudou! =D Lots to do now..!

Are you sure? [yes] / [no]

David wrote 5 months ago point
Well Done!

Are you sure? [yes] / [no]

fl@C@ wrote 5 months ago point
Thank you! =D
I look forward to seeing your PCR machine...! I would like to build one myself... Hopefully I can see it in Munich!

Are you sure? [yes] / [no]

David wrote 5 months ago 1 point
Sure, no worries. If I get some PCB's made up by then, you can have one :)

Are you sure? [yes] / [no]

Kojote wrote 5 months ago point
Make Munich too?

Are you sure? [yes] / [no]

fl@C@ wrote 5 months ago point
Thanks David! :)
I want to get a group of instruments like yours, the pyppm and mine and whatever else can be found together to make a nice suite of lab gear.. maybe share a protocol and be able to integrate data.. An openLab suite so to speak..

Are you sure? [yes] / [no]

fl@C@ wrote 5 months ago point
Thank you!

Are you sure? [yes] / [no]

PointyOintment wrote 5 months ago point
I remember you wrote recently (in one of the log entries?) about automatically moving the CCD for the purpose of superresolution. I can't find it again, but you might find this interesting: http://wayback.archive.org/web/20131002130348/http://www.cs.columbia.edu/CAVE/projects/jitter_camera/

Are you sure? [yes] / [no]

fl@C@ wrote 5 months ago point
Yes, I did... I mention it in the project details for the imagingBoard and here - http://hackaday.io/project/1279/log/8927-spectrometer-physical-design-concept ... I think I mentioned it in the last video as well.. You've got a good memory!
Thanks for that link, it looks like it's got some good info.. I don't know why, but this part kind of fascinates me too.. I'd like to work on something that uses this for regular photograps as well..The idea of eeking details this way is pretty cool.. I haven't spent a lot of time on figuring out how I'm going to slide the detector on the spectrometer since I've been mostly focused on just getting it to work first... :) But it's definitely something I want to visit when I can..Thanks again!

Are you sure? [yes] / [no]

Similar projects