The main methods of detecting radiation are by charge separation or light emission. For a semiconductor detector we want a volume without charge carriers. When ionising radiation (the clue is in the name) is absorbed by this volume it generates electron hole pairs. If all the energy of the particle/photon has been absorbed then the amount of charge produced tells us something about the energy it had. Rather than explain everything verbose, here is what Wikipedia has to say,
Practically while we are only interested in a non conducting region, all semiconducting detectors are fabricated like a diode. Why a diode? Simply putting electrodes on a poor conductor produces a flow of charge, new charge carriers flow from the wires and the current maintains. By doping the ends of the detector and reverse biasing it, charges are swept out of the insulating region and new (against the bulk region) charge carriers that go in from the wires are mostly eaten by the majority carriers before they can enter the insulating region - this is diode action. Making it into a diode makes the insulating region perform much better.
There are commercial devices that fit this description - PIN diodes. While PN diodes generally have an insulating (depleted) region that is really too thin to be useful as a radiation detector. PIN diodes are fabricated to have an insulating region often as wide as 0.1mm and some as much as 0.3mm. In terms of physics this can't compete with the millimetre or centimetre thickness of cryogenic detectors, but in parallel with the development of the big boys there is always a need for cheap detectors with lower performance and there is about 45 years of relevant material behind subscription walls of major physics journals.
Selecting a good PIN photodiode for this application is probably impossible from the datasheet, but potential candidates for testing would have low capacitance (a few tens of pf maximum at high reverse voltage) low dark current (I don't know what is acceptable here but certainly no more than a few nA) at high reverse voltage and a wide depletion region (more than 50um is probably enough for spectroscopy).
Depletion width rarely appears on datasheets for optical PIN diodes, but there is a trick. The P and N regions of the device are essentially conductors, and the I region is an insulator so it's possible to estimate the depletion width as a parallel plate capacitor. Knowing the area of the diode and the capacitance of the junction for a given reverse bias (curve in the datasheet) and knowing the permittivity of silicon tells us the depletion width. My rule of thumb is that a PIN diode of 1 pf per square mm has a depletion depth of about 100um, so 2 pf would be 50um and half a pf would be 200um. This approximation works really well on large diodes 10 or 100 square millimetres, but is unhelpful for much smaller.
Breakdown voltage tends to scale with depletion width but this is not that reliable and also related to other aspects of the design and manufacture. 80 or 100um diodes tend to be rated for 30V or less, a 300um diode tends to be above 100V.
The two cheapest diodes I'm planning to try are the BPW34 and SFH206K, under 1 USD each, both around 7 square millimetres, 8 or 9 pf and a dark current in single digit nA. The BPW34 is the go to diode for most people in the hacker community wanting to measure radiation with a semiconductor, it's in the radiation watch project and in the excellent OpenCT2 by Peter Jansen, who is also solving the X-ray licencing problem by using a low level exempt radioisotope source. Science lit suggests the depletion width for this diode is around 150um, but that does not match the estimate. The SFH206K in science lit is stated to have a depletion width around 70um which matches the estimate well, maybe they used the same math. This diode is potentially less sensitive to radiation but no one doing X-ray spectroscopy has ever stated they had better results from the BPW34, the few times they have been tested side by side it's always worse. There are multiple manufacturers for the BPW34 and some specs are slightly different, this may complicate things. Removing some or all of the encapsulating plastic may be helpful and I'm not sure the best way yet.
I'm looking at a wider range of PIN photo diodes, some of the most promising candidates for resolution are intended for fibre optic use, these tend to be smaller and run at higher reverse voltages. The OPF420 is around 12 USD, has been used for X-ray spectroscopy with good results. The science lit is mixed on the depletion depth with one source claiming 300um and another 150um. This is in a metal can and removing the window 'should' be easy.
If any single manufacturer has a good reputation for photo diodes that can be used for X-ray applications, it's Hamamatsu Photonics. Among others the S1223 (20-30 USD) and S5821-02 (10 USD) have come up and coupling the the former diode sans window to an Am-241 source is one manufacturers party trick for calibrating the gain and measuring the noise of their commercial charge sensitive preamps. Hamamatsu used to sell direct from their website with a shopping cart, but not any longer. I have a reference to S5821-02 being the best diode and it's cheaper but I cannot find it for sale apart from RS Components, and they are only selling them in Japan. I may try contacting Hamamatsu and see if they will deal with me direct. To make things worse the paper describing how this diode is used to get the spectacular results I've seen is proving elusive. Farnell and probably others sell the S1223 and I will almost certainly test this diode to see if it's worth the extra money.
The elephant in the room is the X100 from First Sensor. Commercially available for around 100 USD and intended for X-ray/gamma ray use, including a visible light barrier. Robert Hart is using this in his Solid State Ionising Radiation Detector which has recently seen some renewed activity.
This is a big chunk of silicon and for a silicon sensor works very well for detecting radiation but my hunch is it won't work so well for spectroscopy. Robert bought sensors direct from First and paid less than the reseller rate but my current thoughts are this is too much of a risk and too expensive. I'm calling it outside the scope of this project.
Aside from low sensitivity at higher energies there are some drawbacks to commercial Si PIN diodes for X-ray spectroscopy, but these are minor and for the most part this long established physics hack punches well above it's weight. Anyone with a need for better performance needs 3 orders of magnitude more money just to buy the sensor. Most people using this hack are coupling them to commercial preamps and from those to expensive hardware. A few people who made their own preamps are telling people how and my next brain dump is about that.