ramanPi - Raman Spectrometer

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

Similar projects worth following
The ORIGINAL open source 3D Printable Raman Spectrometer that uses a raspberryPi, a really bright laser and some parts you can grab from your favorite suppliers..!

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!

Welcome to the 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 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 did on me!!

ST Micro gave me a shoutout on their Facebook page!

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

Some kind words from the folks at too!

Thanks to Elecia and Chris White at 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 this...

Read more »

  • 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

View all 77 components

  • ramanPi is ON HOLD

    fl@C@03/02/2018 at 02:36 0 comments

    I just wanted to drop an update..                                        Thursday, March 1, 2018

    In case everyone didn't already notice....   My efforts for ramanPi are currently on hold.  =D

    I will be returning to the project once I have completed a number of other milestones in larger project(s).  When I return my efforts toward ramanPi, I will be completely redesigning the optics, electronics and software.  I still have a need for an inexpensive raman spectrometer, so this will happen.  

    If anyone would like to take a leading role in coordinating other developers, etc. in the interim....please let me know and we can talk about how that might there still seems to be a lot of interest int this project..

    Also, I want to take this moment for the people who either haven't read thoroughly through this project, it's logs, etc..  This project is listed as 'work in progress'....meaning it is not a fully functioning raman spectrometer as yet.  Much development is still required.  If you want a completely functional raman spectrometer of this nature,  I'll urge you to contribute to this project!  



  • moar of the things

    fl@C@03/10/2017 at 08:08 2 comments

    So, I thought I'd throw a couple of these in for inspiration.... I'm really enjoying Fusion360... Anyone interested in helping with creating these?

    This is the beamSplitterAssembly reborn into a simpler, and easier to print design.. No more of that tiny little carriage for the cube, this one is much more robust and a way simpler design..

  • And...I'm feeling productive..

    fl@C@03/09/2017 at 07:53 0 comments

    And, so the beginnings of the new beam splitter assembly... I'm enjoying fusion 360 so far.. Took me a minute to get the hang of it, but I'm progressing...

    So, again...comments, questions are all welcome!

  • First new part - a new objectiveLensMount!

    fl@C@03/09/2017 at 04:44 0 comments

    Well, here it is...! A new start and a new part... I'll be adding these parts to the gitLab Repo as I finish them.. If you'd like to contribute to the creation, let me know through a DM here! The collaborative features of fusion 360 should make it pretty easy.. As always, questions or comments are welcome!

  • Moving On...

    fl@C@03/08/2017 at 23:23 0 comments

    Ok, the gitlab repository has started ( ).. I'm basically giving up on the website for I don't have the time to try to keep it from the constant bot attacks or whatever...

    So, this brings me to the next point... I'm going to be starting an updated version of ramanPi in the new gitlab repo. I am interested in everyone's opinion on this, so if you have any.....let me know here...asap!

    The new design will be created in Autodesk Fusion 360. The releases will be housed in the gitlab repo, and collaboration will be through fusion360.. If you'd like to get in on it from the start, now is the time! I have a TON of people who've wanted to join the dev team through this website... I'm going to approve them all... If you are still interested, let me know through a DM here, same goes if you're not interested anymore..

    Optics will be fairly similar, electronics are going to be majorly different (and I am going to take my time this time, not being rushed with a contest)... and hopefully, the whole thing benefits from better design software, more expertise, more experience, more care and time taken, etc...etc..

    Let's get going, finally... I've had a few failed starts...but my plate is clear now...Proof is in the pudding.. =D

  • gitHub vs. gitLab and other exciting news.

    fl@C@10/12/2016 at 01:01 0 comments

    I'm thinking about moving the repo from gitHub...and over to gitLab.. GitLab seems to be a lot better suited to what I'm trying to accomplish.. I'll probably keep gitHub there, and maybe update it with major updates or at certain intervals...but it won't be the repository that gets the regular pushes, etc.. Any questions or comments about that are welcome!

    Also......I am directing some efforts towards a redesign of the electronics in ramanPi... Meaning the four boards (interface, control, imaging, and power boards) will narrowed down to a single board....and that board will have a connector for a raspberryPi zero to sit on... I haven't gone through the specifics of how the zero will connect completely since there's the business with the USB, etc. to deal with in order to get wifi/networking....but the significant cost savings warrants a close look...this redesign is an effort to cut costs and that's exciting news.. is on it's way back to life, thanks to some help from a generous web developer! Looks like the bot attacks are no longer an it's just back to business..!

  • MagPi Issue 50 - ramanPi is #7 !

    fl@C@09/30/2016 at 11:13 0 comments

    So, to my amazement...ramanPi is reaching more and more people... this time it looks like the great people over at Raspberry Pi's MagPi magazine included ramanPi in it's "Top 20 RaspberryPi Projects" and the "MagPi Issue 50 - Top 50 Raspberry Projects".. And a while ago they wrote a great bit on ramanPi in their blog..!

    Thanks to them, and everyone for everything..!

  • Update.

    fl@C@05/08/2016 at 17:42 6 comments

    So.. I figured I'd consolidate the last few logs into this one to make it easier to follow what's going on...

    Hackers.. I moved over to a new host...and it's helped with reliability... But it hasn't stopped the 1,004 malicious login attempts and constant bot traffic trying to overwhelm the site.. I don't have the resources, time or whatever to spend on mitigating the constant attacks...

    Soo..... Basically, as a result.. I can't seem to recover anyone's email addresses, etc. If you were interested in developing, or were participating... Contact me here, I know a lot of people have..and I'm trying to keep up.. I'll get to you soon! But I'm thinking of just forming the 'team' here at to make life easier. It's not as organized, and a little restrictive...but it's here.

    So, hopefully some of you see this..and so on... Here's to picking up where we left off... :D I'll try to update here with what I can..

  • ramanPi and 3D Printing for the Citizen Scientist @localMotors

    fl@C@05/08/2015 at 15:26 0 comments

    Hey, short notice... But if you're going to be in the Phoenix area the week of the 14th, I will be in town at Local Motors to talk about ramanPi and 3D Printing for the Citizen Scientist..!

    Hopefully I can put up a video of the talk after if you missed out and are still interested!

    PM me if you're interested in more details!

  • Developer Developments

    fl@C@04/28/2015 at 23:04 0 comments

    So, it's been a great past couple weeks! I have had some really talented and incredibly smart people contact me and offer their help to contribute to ramanPi..!! I'm very excited about where this is going and I think by the end of it, we will have a very good system.

    We have a couple Python gurus, one of which has both PyQt4 and signal processing experience as well as being an electrical engineer with FPGA skills. Another being skilled with the various libraries we'll be using in addition to a multitude of programming languages and has a Masters in Physics. There's a couple people who have some in depth knowledge and experience with optics and lasers as well as raman systems, both in usage and design.. Another who is very skilled with FPGA design and will make the difference for the imagingBoard.. All of these people are being very gracious in offering their time, experience, knowledge and skills to work together to bring ramanPi to the next level and make it a system that can be used for serious science in the school, in the lab or at home!

    I'd really like to take a moment and thank everyone for all of this.. It's going to be very exciting!

    If you're interested in contributing as well, you can contact me at!

View all 88 project logs

  • 1
    Step 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
    Step 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
    Step 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!

View all 13 instructions

Enjoy this project?



frank.beissel wrote 07/01/2018 at 00:33 point

Where is this project at now? What help is needed to get it to the next stage?

  Are you sure? yes | no

Andriy lut wrote 11/15/2017 at 03:51 point

 I was wondering if this would be possible for community college. I go to school in Boston

  Are you sure? yes | no

ray.dubeau wrote 03/22/2017 at 17:19 point


In the process of having the components from the original project 3D printed.  Ran into some inconsistencies with the scad and stl files.  With minor revisions was able to get all of the components except the laserShutterBypass.  There isn't a cad or stl on the project for this component.  Perhaps someone has this file.  Will proceed as much as possible and keep everyone updated on my progress.  Would like to hear of other experiences with building this project.

Regards, Ray

  Are you sure? yes | no

chandan61 wrote 01/12/2017 at 18:04 point


Can I control this system with smartphone

  Are you sure? yes | no

Simon wrote 10/31/2016 at 09:14 point

Hello all

Does anybody have one set of boards for sale? If yes contact me on PM.

Regards, Simon

  Are you sure? yes | no

Jeremy Reeve wrote 08/28/2016 at 21:38 point

Hi!  I've tried to contact fl@c@ but no joy.  I have quite a few of the components and I'm looking at eventually modelling the whole system in goptical to make it easy to fit to components that people either already have or are readily/cheaply available.  Anyway, I'm busy with other work currently but any clues on contacting fl@c@ would be most welcome.

  Are you sure? yes | no

fl@C@ wrote 10/12/2016 at 01:03 point

Hey Jeremy..  Hopefully you got my email!  Sorry I've been out of the loop recently.. But now I'm back.. :D

  Are you sure? yes | no

Simon wrote 08/18/2016 at 15:18 point

I would like to build this device. Is there any possibility to make a direct contact with you fl@c@? What is the status of project in this moment (August 2016)? 

Thank you regarding your work on this project and shearing this knowledge with us.

  Are you sure? yes | no

fl@C@ wrote 10/12/2016 at 01:04 point

Hey Simon, sure thing..!  PM me here on the and I'll answer whatever you need!

  Are you sure? yes | no

evergladesmammals wrote 07/14/2016 at 16:02 point

OUTSTANDING! Congratulations on such an ambitious achievement. Thank you so much for sharing your hard work with everyone.  I'm a perpetually underfunded ecologist and I could only dream of having a spectrometer such as this. I have my hands full right now but later this year I will start building your Raman Spectrometer one way or another. 

This is what I love about the 'maker' community - ingenuity and the can do spirit to take on challenges. I work primarily with government "biologists" that balk at the smallest of challenges, and that are utterly without the spark of imagination and ingenuity. My thanks to you and to everyone in the maker community for invigorating my imagination for what is possible. 

  Are you sure? yes | no

fl@C@ wrote 10/12/2016 at 01:10 point

Hey evergladesmammals, thank you very much!  I'd love to hear about your progress with the build!  I know what you mean, I've been told more times than I can remember that what I want to do can't be done..  I'm very happy to see the maker community break all kinds of barriers, it's exciting to see where people's imaginations and creativity take them....and if it can contribute to scientific pursuits, all the better!  Thanks for the encouragement!

  Are you sure? yes | no

Jong KIM wrote 06/22/2016 at 03:04 point

Hi, I have been learning from  your fascinating project.

I tried to visit your new site. The site seems to have some trouble in reaching for the protection from some unwanted visits. 

If you have some changes to your projects, just let us to know. ; )

  Are you sure? yes | no

fl@C@ wrote 10/12/2016 at 01:11 point

Hey Jong KIM!  Thank you....there will be plenty of changes soon!  And, the site should be back and running now....with lots of improvements pending!

  Are you sure? yes | no

Jong KIM wrote 10/14/2016 at 04:10 point

Great news! You're back.

I'm sure you will surely make wonderful contributions to the community.


  Are you sure? yes | no

Jarrah Peddie wrote 06/14/2016 at 02:07 point

This may have been mentioned before, and I don't even know if you are still using your DaVinci, but just in case. Its pretty easy to remove the stock firmware and replace it with a open source version and run it with Repetier-Host.

The control this gives you over temperatures makes printing a shitload better. The DaVinci Runs way to cold by default. I just did it on mine after running the stock firmware for ~8 months and regret not doing it sooner.

I run mine with blue painters tape now, works brilliant as long as the bed temp is around 110, much neater and less messy than gluestick or acetone slurry.

Did a further write up about it on my blog, with links to all the resources you need

Great project, Thanks!

  Are you sure? yes | no

tyler wrote 05/12/2016 at 12:31 point

hi f@lC@ I really want to make this, but im only 18 years old, so I'm going to save money to get all the equipment I should have about $1800 by the end of summer, do you know how much the total cost would be to make it I really want to, $1800 is about my budget, so could you give me an estimate. Thanks

  Are you sure? yes | no

Agnes Mindila wrote 04/20/2016 at 09:41 point

Can I buy It for my research project? if Yes how much?

  Are you sure? yes | no

esben rossel wrote 03/30/2016 at 16:03 point

Here's an application of Raman spectroscopy I've not seen before:

  Are you sure? yes | no

ifriad wrote 03/23/2016 at 06:43 point

Dear fl@C@

My name is Ihab Riad, I am an assistant prof. at the Physics department, University of Khartoum, Sudan. Recently I have initiated efforts in my department to start a workshop for the purpose of designing and building lab equipment to be made available to our undergraduate laboratories at reasonable prices.

We are motivated for this as Sudan is economically stressed and very little money is made available to research and education. 

I now came across your product an think it will be a good addition to my undergraduate laboratory and very much hope that I can soon raise money to build one here.

I am wondering if you have upgraded your system as to use FPGA. 

I would also like to point you to these products I think they can reduce the number of boards that you are using for the display and system control.  and

Do you think that you can produce some spectral data that you can compare to the data in the following database.,Cl/display=default/R060422

Cheers Ihab

  Are you sure? yes | no

Shpoople wrote 01/20/2016 at 17:56 point

It would be pretty cool if you took the actual spectrometer portion of this setup and turned it into a regular optical spectrometer that fit into a cubesat.

Also, on another note, I hope you are aware that STMicro specifically prohibits people form using their nucleo boards on a finished project. I don't actually know if that was your plan because I couldn't make it through those massive logs but just thought I'd warn you before you get into any trouble.

  Are you sure? yes | no

fl@C@ wrote 01/20/2016 at 21:22 point

Actually, that's a big part of the plan....making the spectrometer portion work as a standalone unit...and make it compatible with the Ocean Optics USB4000..  Not sure if making it fit into a cubesat is an easy task, but who knows!  

The plan also includes integrating the electronics down to a single board (imaging board excluded since that'll be on the spectrometer.)...  And STMicro has been very supportive to me, and very helpful!!  They even gave me a shout out on their facebook page a while back! ( )  But yes, I'd like to stray away from using the nucleo boads in the future.. 


  Are you sure? yes | no

satir wrote 08/12/2015 at 10:17 point


Great project!

I would like to purchase kit when it will be available for sales.



  Are you sure? yes | no

Neo wrote 04/09/2015 at 05:15 point

Hi fl@C@,

congratulations for almost completing your implementation. Happy to see the status of the project and great discussions. I being a part of local GNU/Linux user group, often i have presented your project to our members. Some of them understood like us. As i have already forked your source code, i hope we will contribute to achieve the design goals. 

I am  Proud about the project.

  Are you sure? yes | no

fl@C@ wrote 04/09/2015 at 05:31 point

Hey Neo..  Thanks!  And thanks for passing the word on about it!  I'd be very interested to see whatever progress you make... I'd be very happy to see comments, etc if you want to join in the forums at so other devs can be up to date too!  The fun part is just starting! :D

  Are you sure? yes | no

jamoore6 wrote 03/24/2015 at 16:09 point


I'm creating a Startup company here in North Carolina that will sell imaging and spectroscopic equipment to industry. We're working on a prototype to demonstrate our concept and found all of the awesome work you've done in this area.

Since we're low on cash, we can't afford to build one of these devices, but was wondering if there was anyone around who may be able to loan us their equipment for an upcoming pitch. 

Great work!


  Are you sure? yes | no

zakqwy wrote 03/24/2015 at 17:20 point

I'll jump in on this one; @jamoore6, it's definitely worth scrounging enough cash to at least build-out your own proof-of-concept for a pitch if it's part of your core business offering. Beyond that, I'd imagine @fl@C@ is a bit hesitant to loan out his system for free, as he's (a) actively developing the platform and (b) likely doesn't want to risk shipping damage to a delicate instrument. 

Can you give us any more details on the system you're developing? Sounds interesting!

  Are you sure? yes | no

jamoore6 wrote 03/24/2015 at 19:10 point

Thanks @zakqwy
We're planning on making a full prototype after the incorporation of our company, but are scrapping for any parts that can help us along the way :) I've asked around campus to see if anyone had any old machines lying around that I could repurpose, but I haven't gotten any nibbles lol

Unfortunately I can't give too much info on our current work, other than that we believe our technology will be a game changer in the field of spectroscopy. 

  Are you sure? yes | no

zakqwy wrote 03/24/2015 at 19:20 point

Fair enough! In my experience, wandering around behind various science buildings at a university in mid-May is often a great way to find scrapped lab equipment. Most other sources (beyond auctions and truly local sales) are pretty well picked-over; you could probably find a few bits on eBay, but most stuff on there goes for market rate. Based on my understanding of spectroscopy, it's not worth skimping on things like the diffraction grating!

Either way, drop me a line when you're able to publish your project on this site. In my experience, you'll get a lot more out of sharing stuff early and getting feedback than you will from keeping everything locked down and working in isolation. This community is pretty amazing.

  Are you sure? yes | no

A. M. Aitken wrote 03/24/2015 at 20:42 point

You have no prototype proof of concept or money for your idea which will change the field of spectroscopy for ever but you can't tell anyone what that is in case they steal it?  
I think you have bigger problems than borrowing props for your pitch, because even I've heard this a lot.
You want to borrow resources from an unfinished open source project to help launch your closed source incorperated buisness venture?
The good news is you've got balls that you'll need for your project to succeed but I predict a moderatly hostile atmosphere.

  Are you sure? yes | no

jamoore6 wrote 03/25/2015 at 01:08 point

Hi Marvin!

I'm sure you've heard a lot of grand ideas in the open source community - you all are some of the best engineering minds around and that talent pool doesn't go unnoticed by industry. I just have a lot of respect for all of you, which is why I reached out in the first place!


  Are you sure? yes | no

fl@C@ wrote 03/26/2015 at 19:16 point

Hi Jordan...

Thank you for the interest in my project..!  =)  I would have to say, Zach is right.. I am actively developing ramanPi and unfortunately only have the one prototype I am working with..  Shipping it would impact development as well as put it at risk, I know of a few people who are building their own..but they probably feel the same way I do.. I would encourage you to build one if you can though!  

Marvin and Zach also make a good point, it would be great to see your work shared with the community!  There are a lot of great minds as you mentioned, as I've learned with this project... sharing really does benefit everyone involved.. It has made ramanPi so much better, and continues to improve all the time..!  

If you'd like to contribute, the help is more than welcome! is ready to go for developers to pitch in!  =D

  Are you sure? yes | no

Rashi Nigam wrote 03/19/2015 at 14:40 point

Hi, loved your project and I'm thinking of building one. Please solve one query of mine, can we conduct experiments on  solid sample? For example, I want to conduct Raman spectroscopy on fingernail clippings.

  Are you sure? yes | no

fl@C@ wrote 03/19/2015 at 23:39 point

Hi..! Thank you.. I always love to hear when someone is planning to build one!

Interesting you should mention this... a similar question was asked recently about soil samples.. I had originally answered by saying that the sample might need to be dissolved or integrating in a buffer solution, or something... since the laser from the objective will be focused on a single point in the sample, which would make it difficult to obtain more generalized readings from the sample.. 

However...I was speaking with someone recently who brought up the point that a nice feature would be to have a positioner allowing the system to move the sample so measurements could be made in multiple locations... 

I am in the process of redesigning the cuvette tray assembly anyway, to include the peltier which maintains the temperature of the I might add micropositioners in there too which will allow movement in this way.. I haven't had time to work it out yet...actually it was only brought up to me last night...but it will be a priority.....

Sooo... the short answer to your question is probably yes.. :)

And I'd love to hear about your build! Thanks!

  Are you sure? yes | no

braniti wrote 03/16/2015 at 04:58 point

  Wonderfull  project . 

   Last year I run across old   sci.article:

showing how Raman  can measure   molecule  in Urine (for my wife health needs) ...  crazy tech ...  then searching for DIY  Raman I run on your project at forum where people are thinkering how to build one cheap  :

They mentioned your great project but someone stated that  you didn't provide  measurments  of some  compund  spectra.

so few questions :
1)  Can you please give feedback on their comment ?
2) I assume you compared it to some    commercial  device ... If yes , can you give some information?
3) Do you consider adding option for  Surface-enhanced_Raman_spectroscopy, might be needed  for my needs ? 

  If i can measure some molecules  in urine   I will  make  time  for the replication this summer assuming that the parts price is  roughly  600-1000$  ( as you said in the  ...  lucikly 

3Dprinter  and hackerspace is in the neighbourhood )

 Btw today  I was at ki-cad workshop  ( at local hackerspace)  and there i heard about cheeper alternatives to OSHPark,  presentor was very happy with quality  of :  SeedStudio , Hackvana PCB ,  Smart protoyping, Dirt Cheap Dirty Boards   (free shipping, 15$ for  10 pcbs  )

All the best ,

p.s.   "24hours is never enough"  totaly with you on this one .

  Are you sure? yes | no

fl@C@ wrote 03/19/2015 at 23:32 point

Hi..  I haven't seen the discussion on sciencemadness... I should start by saying, ramanPi is still under development.  I started the project in late last year...  It's quite an undertaking for one person :)  So, a lot of progress has been made...but there is work to still be done.

I am in the process of trying to get as many developers together as possibly to help bring everything together.. I'm working on getting a FAQ and list of work to be done on so people can see what needs to be done still and where they can contribute...  

So, to answer the questions...

1- Assuming the comment is regarding that I didn't provide measurements of any compounds, etc..  Long story short as to what has been the limiting factor.... CCD integration times due to processor limitations. The stm32f401re I chose originally for the imagingBoard doesn't have quite enough power to pull off what I needed..  I tried many approaches and nothing quite did it.. That is changing very, very soon..  Without writing a book here, I decided to go with FPGA for the imagingBoard..  This will accomplish two things..It will make the spectrometer portion more capable of the longer integration times, and will allow for extra signal processing, etc... And the major other benefit will be that it will allow the spectrometer to fulfill my original goal of making it work as a completely independent spectrometer outside the raman system if someone wanted just a spectrometer.. It will be fully compatible with the Ocean Optics USB4000..  What this means is that the end goal of obtaining actual raman spectra is almost here.  There's a lot of posts in the link you gave, but I hope this helps.. If not, let me know and I can clarify... :)

2- I have no access to any commercial systems (which is why I built ramanPi) =) But I am working with a couple people who do have access, and hopefully will be able to provide something there soon as well.. What I can say is that the resolution will be relatively comparable. (depending on the options one chooses to build)

3- I currently have no plans for adding options on surface enhanced raman spectroscopy..  Possibly in the future, but for now... I will focus on completing the base system.. :)  Having said that, there are a number of options I have planned for the future, so this may become one as well.. but if I recall about surface enhanced, it might be a little tough to implement on a DIY level...

It is my goal to bring the kits and parts to where someone can build a system for the $600-$1000 range...depending on options, etc...

Hope this helps!

  Are you sure? yes | no

A. M. Aitken wrote 03/24/2015 at 20:59 point

"CCD integration times due to processor limitations. The stm32f401re I chose originally for the imagingBoard doesn't have quite enough power to pull off what I needed.."

I don't understand this.

  Are you sure? yes | no

fl@C@ wrote 03/24/2015 at 22:08 point

HI Marvin..  I was driving the CCD clocks straight from the MCU.. I started with PWM, which I couldn't get to go more than about 500kHz.. tried using busout which was worse.  If I'm missing something, I'd love to hear it.. :)  I didn't add external hardware to drive the clocks mainly due to time constraints..  The FPGA redesign is already underway, thanks to some kind help.. 

  Are you sure? yes | no

A. M. Aitken wrote 03/24/2015 at 23:25 point

You can toggle a GPIO pin every 2 clock cycles with the ST20F4 series so a (say) 1MHz read out even with math on the fly ought to be trivial on an 80MHz part.  Clocks up to 5MHz should be fine but much faster will start to smear the CCD and I'm not sure any application would benifit from the few ms savings in readout.  For integration, you should be reading out as few times as possible from the CCD until a bit below saturation.  For a Raman signal into the Toshiba CCD this could be 30secs while the MCU has no driving to do.  A slower chip could read into RAM and then compute the integration sums afterward but in this case you are probably ADC limited, 400ish ns if using the internal unit.  I've not looked at your design in some time, am I missing a part of your thought process?

  Are you sure? yes | no

A. M. Aitken wrote 03/25/2015 at 00:57 point

I mean STM32F4 series of course, doh!

  Are you sure? yes | no

fl@C@ wrote 03/25/2015 at 07:51 point

Marvin, sorry.. I think my memory failed..I think the PWM would actually allow around 1MHz..which I agree is still nowhere near what you'd think you could get. Correct me if I'm wrong but I believe it to be a limitation of the mBed libraries.. There is a 'FastPWM' library but if I recall it didn't support the F401 at that time.  I tried several variations including using the 'busout' function but the timing was worse..   I have had success reading from the CCD, but the trouble was reading the ADC while trying to maintain the master clock.. The documentation for the 1304 isn't great, but my understanding was that you need to drive the master clock during integration? while in the 'electric shutter' mode you read one pixel per four cycles..and in the normal mode SH stays low during integration but the master clock keeps going....?  When I mentioned the trouble with integration times due to processor limitations, I was able to readout using both the busout and PWM methods running at around 500kHz using the firmware that is in the gitHub...which uses the 'electric shutter' in a FSM .. It was when I tried moving to the normal mode and lengthening the SH period I ran into the problems..

I have read the ADC in the F401 is quite fast..and I do store the values.. I tried using the CMSIS RTOS library to see if that would help to read the ADC while driving the clock..but it was actually worse.  I haven't worked with any of the STMicro tools, which is probably the best way to go when trying this kind of stuff.. but in the way things have come out, the FPGA seemed like a much better way to go.....the desire to make the spectrometer a device that can be used on it's own, outside the raman system if people want to build just that...and be compatible with the ocean optics usb4000...doing a continuous acquisition while streaming the data compressed through the usb serial interface and the other various seemed that trying to make the F401 do all of that was too much to ask without spending a lot of extra time trying to be clever with coding..  With the efforts ramping up in development, and people starting to contribute...the FPGA looks like it's solving all of these problems..and hopefully won't add any addition cost..

I am more than open to any ideas you might have..or any info regarding the CCD.. :)

  Are you sure? yes | no

vazquez wrote 02/13/2017 at 13:44 point

fl@C@ the Ocean Optics HR2000 uses a Xilinx XCR3128XL CPLD to drive the CCD , a LTC1415 ADC and a Cypress EZ-USB controller. Have you considered using PL chips instead MCU at the CCD data acquisition level? 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates