Raspberry Pi Ham Radio Remote Reviewed

One problem with ham radio these days is that most hams live where you can’t put a big old antenna up due to city laws and homeowner covenants. If you’re just working local stations on VHF or UHF, that might not be a big problem. But for HF usage, using a low profile antenna is a big deal. However, most modern radios can operate remotely. Well-known ham radio company MFJ now has the RigPi Station Server and [Ham Radio DX] has an early version and did a review.

As the name implies, the box contains a Raspberry Pi. There’s also an audio interface. The idea is to consolidate rig control along with other station control (such as rotators) along with feeding audio back and forth to the radio. It also sends Morse code keying to the radio. The idea is that this box will put your radio on the network so that you operate it using a web browser on a PC or a mobile device.

According to MFJ, you can operate voice, Morse code, or digital modes easily and remotely. The box uses open source software that can control over 200 different radios and 30 rotors. Of course, you could build all this yourself and use the same open source software, but it is nicely packaged. [Ham Radio DX] says you don’t need to know much about the Pi or Linux to use the box, although clearly you can get into Linux and use the normal applications if you’re so inclined.

Even if you don’t want to transmit, we could see a set up like this being used for remote monitoring. We’d like to see a companion box for the remote end that had the audio hardware, a keyer, and perhaps a knob to act as a remote control of sorts. Of course, you could probably figure out how to do that yourself. We wonder if some ham clubs might start offering a remote radio via an interface like this — we’ve seen it done before, but not well.

Your $50 radio probably isn’t going to work with this, and if you use FT8, you could argue you don’t need to be there anyway.

 

Take A Break From Arduinos, And Build A Radio Transmitter

When you start watching [learnelectronic’s] two-part series about making a radio transmitter, you might not agree with some of his history lessons. After all, the origin of radio is a pretty controversial topic. Luckily, you don’t need to know who invented radio to enjoy it.

The first transmitter uses a canned oscillator, to which it applies AM modulation. Of course, those oscillators are usually not optimized for that service, but it sort of works. In part two he reduces the frequency to 1 MHz at which point it can be listened to on a standard AM radio, before adding an amplifier so any audio source can modulate the oscillator. There’s a lot of noise, but the audio is clearly there.

This is far from practical of course, but combined with a crystal radio it could make an awesome weekend project for a kid you want to hook on electronics. The idea that a few simple parts could send and receive audio is a pretty powerful thing. If you get ready to graduate to a better design, we have our collection.

 

Hams In Space: Gearing Up For The Lunar Gateway

Humanity had barely taken its first tentative steps into space with primitive satellites when amateur radio operators began planning their first satellites. Barely four years after Sputnik’s brief but momentous launch and against all odds, OSCAR 1 was launched as a secondary payload from an Air Force missile taking a spy satellite into orbit. Like Sputnik, OSCAR 1 didn’t do much, but it was a beginning.

Since then, amateur radio has maintained a more or less continuous presence in space. That first OSCAR has been followed by 103 more, and hams have flown on dozens of missions from the Space Shuttle to the ISS, where pretty much everyone is a licensed amateur. And now, as humans prepare once again to journey into deep space via the stepping stone of the proposed Lunar Gateway, amateur radio is planning on going along for the ride.

A Gateway to Deep Space

More properly known at the Lunar Orbital Platform-Gateway or LOP-G, the Lunar Gateway is intended to be a way-station between the Earth and the Moon, and thence to the deeper parts of the solar system and beyond. Like the ISS, the Gateway will consist of multiple modules serving specific purposes, all docked together into a space station that will serve as a staging area for both crewed and robotic missions. The Gateway will also be a collaborative station, with corporations and agencies from multiple nations contributing hardware

Unlike the ISS, though, the Gateway will be fairly limited in size and therefore in the scope of missions it will host. Although it will have room to accommodate small crews for up to three months at a time, there is no intention to keep the Gateway permanently crewed like the ISS is. The Gateway will serve mainly as a cosmic rest stop, a place where astronauts and hardware can meet up before the final push to the moon.

The Gateway has met with a fair amount of criticism from a wide range of commentators, from former astronauts to space agency administrators to journalists and academicians. Most of the criticism seems to be based on the feeling that humanity’s push back into deep space is not nearly bold enough, and that instead of going on a “been there, done that” mission to the Moon, we should instead just head to Mars. And those who feel that returning to the Moon is a valid goal seem to think that a space station waypoint would just be an unnecessary expense that would hinder investment in the technologies needed for a direct-to-Moon mission.

But as is often the case, all of this criticism is trumped by the realities of orbital mechanics. As Brian Benchoff recently explained, the Lunar Gateway opens up nearly the entire surface of the Moon to our exploration, including the interesting bits near the poles that hold all the water. Without the Lunar Gateway and it’s extremely weird orbit – more on that in a second – all we would have access to on the Moon is basically the same mid-latitude areas pretty much every mission has visited for the last sixty years. Sure, we could land a mission at the equator and take a MoonMobile to the poles, but that seems pretty foolish – why drive when you can fly?

Weird for a Reason

A little detail about the weird orbit the Lunar Gateway will use is in order, as it will tie into the ham aspect of all this. As Brian pointed out, the orbit is referred to as a “near-rectilinear halo orbit”, or NRHO. A glance at the orbital path shown most often in media packs and other supporting information for the Lunar Gateway appears to show the space station in a polar orbit around the Moon, but with occasional mid-orbit reversals, seemingly in opposition to the laws of physics. What exactly is going on here?

To understand the NRHO and how it will affect Lunar Gateway operations, including amateur radio access, you got to look at the orbit from another angle. All those loopy looking animations mentioned before represent the orbit when viewed from a Moon-centered inertial frame. That makes the Lunar Gateway appear to regularly move retrograde, in much the same way that the combined orbits of Earth and Mars make the Red Planet seem to move “backward” in the night sky. The NRHO from the Moon’s frame of reference can be seen in the bottom right of the video below.

However, when looked at from an Earth-centered frame of reference, the NRHO starts to make more sense. The Lunar Gateway is actually in orbit around the Earth, or more correctly, around the Earth-Moon L2 Lagrange Point. The Lunar Gateway will be in a constant game of follow-the-leader with the Moon, catching up with it every week or so only to flung back down below the orbital plane to repeat the cycle.

Decisions, Decisions

The unusual orbit the Lunar Gateway will follow is inherently unstable, and will require the occasional boost to maintain it. NASA has specified ion thrusters for station-keeping, which contribute to the need for 60 kilowatts of solar power. This should mean that whatever ham gear makes it aboard the first module of the station, the Power and Propulsion Element, or PPE, will not have to compete for power, at least initially.

So what gear is actually going to make it to the Gateway? For now, that’s mostly an open question. Planning for the ham station aboard the Gateway is the job of AMSAT, the Radio Amateur Satellite Corporation, which is the outfit behind the OSCAR satellites. They’ve formed a working group called AREx, or Amateur Radio Exploration, which has been meeting twice a month to decide which bands and modes will be supported; this in turn will help define the equipment needed.

Whatever gear ends up flying, we can assume that making contact with the Gateway will be at least moderately challenging. For comparison, contacting the hams aboard the ISS is fairly easy, needing little more than a simple homebrew antenna and a mobile transceiver or even a decent handheld. On the other end of the scale, it’s tempting to assume that since the Lunar Gateway will be most of the way to the Moon, making contact will be about as difficult as Earth-Moon-Earth, or EME, contacts. EME is uber-ham stuff, often using huge, steerable antennas and powerful transmitters to blast the Moon with signals so that a weak echo will come back down for another ham to receive. The path loss for EME is on the order of 250 dB or more depending on frequency, and the technical challenges of digging a signal out of the galactic noise are significant.

Luckily, hams won’t be relying on passive reflections from the Moon’s surface to make contacts, so contacts should be easier. Chances are good that a tracking antenna will still be needed, but the antenna required will probably be far more modest than some of the elaborate EME antennas in use today. The 2-meter band (144-146 MHz) is often used for EME, so it’s quite likely that it’ll be used for the Lunar Gateway too. We can also guess that weak-signal digital modes like JT65, with its powerful error correction, will be supported. Also, since the Lunar Gateway will not be permanently crewed, chances are good that some automatic stations will be up there, perhaps a packet digipeater, or digital repeater, like the ISS has.

Almost all of the details of the amateur radio presence on the Lunar Gateway remain to be seen, but given how early in the design process hams were looped in, the design of the spacecraft, its orbital dynamics, and the proven record of ham radio in near-space, chances are excellent that hams be able to talk to someone in deep space within the next five years or so.

 

PA75LIMBURG: 75 years freedom in Limburg

After D-Day in june 1944 the allied forces liberated vast sections of France and Belgium before arriving in the most southern part of Limburg on 12 September 1944. Only 2 days later the first city in the Dutch province was liberated.

After the liberation of Maastricht, the whole south of the province was quite quickly liberated as well. In the meantime parts of some other Dutch provinces were liberated and operation market garden took place in the East part of the country. The North-West of the Netherlands, Holland, was still occupied by Nazi-Germany.

The liberation of Limburg was halted in the fall of 1944 with the south and west part of the province already liberated. Nazi Germany dug in and slowed the allied forces down in an attempt to prevent the allies from crossing the border to Germany.

 

The fact that many allied troops were redirected to the battle of the bulge in the Belgium Ardennes didn’t help but in January 1945 operation Blackcock started, in an attempt to liberate the “roertriangle” which was similar in shape to the bulge in the Ardennes which nicknamed the operation “the small battle of the bulge”.

Battles were fierce, villages and citys destroyed by Nazi German as well as Allied bombing and the allies had to fight for every kilometer.

On March the 3th the last towns of Limburg were liberated. It took the Allied forces until the 11th of july 1945 to liberate the whole of the Netherlands.

The callsign PA75LIMBURG will be on air from 12 september 2019 untill 3 march 2020, exactly 75 years after the liberation took place.

Various bands and modes will be used, with focus on shortwave and SSB.

RTL-SDR: Seven Years Later

Before swearing my fealty to the Jolly Wrencher, I wrote for several other sites, creating more or less the same sort of content I do now. In fact, the topical overlap was enough that occasionally those articles would get picked up here on Hackaday. One of those articles, which graced the pages of this site a little more than seven years ago, was Getting Started with RTL-SDR. The original linked article has long since disappeared, and the site it was hosted on is now apparently dedicated to Nintendo games, but you can probably get the gist of what it was about from the title alone.

An “Old School” RTL-SDR Receiver

When I wrote that article in 2012, the RTL-SDR project and its community were still in their infancy. It took some real digging to find out which TV tuners based on the Realtek RTL2832U were supported, what adapters you needed to connect more capable antennas, and how to compile all the software necessary to get them listening outside of their advertised frequency range. It wasn’t exactly the most user-friendly experience, and when it was all said and done, you were left largely to your own devices. If you didn’t know how to create your own receivers in GNU Radio, there wasn’t a whole lot you could do other than eavesdrop on hams or tune into local FM broadcasts.

Nearly a decade later, things have changed dramatically. The RTL-SDR hardware and software has itself improved enormously, but perhaps more importantly, the success of the project has kicked off something of a revolution in the software defined radio (SDR) world. Prior to 2012, SDRs were certainly not unobtainable, but they were considerably more expensive. Back then, the most comparable device on the market would have been the FUNcube dongle, a nearly $200 USD receiver that was actually designed for receiving data from CubeSats. Anything cheaper than that was likely to be a kit, and often operated within a narrower range of frequencies.

Today, we would argue that an RTL-SDR receiver is a must-have tool. For the cost of a cheap set of screwdrivers, you can gain access to a world that not so long ago would have been all but hidden to the amateur hacker. Let’s take a closer look at a few obvious ways that everyone’s favorite low-cost SDR has helped free the RF hacking genie from its bottle in the last few years.

Hardware Evolution

Even though the project is called RTL-SDR, the Realtek RTL2832U chip is in reality just half of the equation; it’s a USB demodulator chip that needs to be paired with a tuner to function. In the early days, there were a number of different tuners in use, and figuring out which one you were getting was a pretty big deal. The Elonics E4000 was the most desirable tuner as it had the widest frequency range, but it could be difficult to know ahead of time what you were getting.

The packaging and documentation were all but useless; either the manufacturer didn’t bother to include the information, or if they did, it would often become outdated as new revisions of the product were produced. The only way to be sure about what you were getting was to see if somebody had already purchased that particular model and reported on their findings. Luckily, the tuners were cheap enough that you could buy a couple and experiment. In those days, it wasn’t uncommon to find RTL-SDR compatible devices for less than $10 from import sites.

Opening up a contemporary RTL2832U+E4000 receiver, we can see they were relatively simple affairs. The flimsy plastic case doesn’t do much to prevent interference, and the Belling-Lee connector connector is intended for use with a traditional TV antenna. Note this particular model features an IR receiver so the user could change TV channels with the included remote; a reminder of what this device was actually built for.

These days, you don’t need to wade through pages of nearly identical looking USB TV tuners to find compatible hardware. There are now several RTL2832U-based receivers which are specifically designed for RTL-SDR use, generally selling for around $30. These devices not only address the shortcomings of the original hardware offerings, but in many cases add in new capabilities that simply wouldn’t have made sense to include back when they were just for watching TV on your computer.

Here we have the “RTL-SDR Blog v3” receiver, which is one of the most popular “next generation” RTL-SDR receivers. The plastic case has been replaced with an aluminum one that not only reduces interference, but helps the board dissipate heat while in operation. The crystal has been upgraded to a temperature compensated oscillator (TCXO) which helps reduce temperature drift. The R820T2 tuner is paired with a standard SMA antenna connector, and both it and the RTL2832U have some unused pins broken out if you’re looking to get into developing modifications or expansions to the core hardware.

Software Library

The improvements to the base RTL-SDR hardware are welcome, and it’s nice to not have to worry about whether or not the receiver you’ve purchased is actually going to work with the drivers, but realistically those changes mainly benefit the more hardcore users who are pushing the edge of the envelope. If you’re just looking to sniff some 433 MHz thermometers, you don’t exactly need a TCXO. For most users, the biggest improvements have come in the software side of things.

For one, the RTL-SDR package is almost certainly going to be in the repository of your favorite GNU/Linux distribution. Unless you need some bleeding edge feature, you won’t have to compile the driver and userland tools from source anymore. The same will generally be true for the SDR graphical frontend, namely gqrx by Alexandru Csete. Those two packages are enough to get you on the air and browsing for interesting signals, but that’s just the beginning. The rise of cheap SDRs has inspired a number of fantastic new software packages that are light-years ahead of what was available previously.

Certainly one of the best examples is Universal Radio Hacker, an all-in-one tool that lets you search for, capture, and ultimately decode wireless signals. Whether it’s a known protocol for which it already has a built-in decoder, or something entirely new that you need to reverse engineer, Universal Radio Hacker is a powerful tool for literally pulling binary data out of thin air. Those looking to reverse unknown wireless protocols should also take a look at inspectrum, another tool developed in the last few years that can be used to analyze captured waveforms.

Decoding a captured ASK OOK signal in Universal Radio Hacker

If you’re more interested in the practical application of these radios, there have also been a number of very impressive “turn-key” applications developed that leverage the high availability of low-cost SDRs. One such project is dump1090, a ADS-B decoder that was specifically developed for use with the RTL-SDR. With a distributed network of receivers, the software has allowed the community to democratize flight tracking through the creation of open data aircraft databases.

The Gift of Inspiration

In the years since its inception, the RTL-SDR project has become the de facto “first step” for anyone looking to experiment with radio. It’s cheap, it’s easy, and since the hardware is incapable of transmission, you don’t have to worry about accidentally running afoul of the FCC or your local equivalent. Honestly, it’s difficult to think of a valid reason not to add one of these little USB receivers to your bag of tricks; even if you only use it once, it will more than pay for itself.

Ultimately, this is the greatest achievement of the RTL-SDR project. It drove the entry barrier for radio experimentation and hacking so low that it’s spawned a whole new era. From the unique vantage point offered by Hackaday, we can see the sharp uptick of RF projects that correspond to the introduction of an easy to use and extremely affordable software defined radio. People who might never have owned a “real” radio beyond the one in their car can now peel back the layers of obscurity that in the past kept the vast majority of us off the airwaves. This is a very exciting time for wireless hacking, and things are only going to get more interesting from here on out. Long live RTL-SDR!

Apollo-11: 50 jaar geleden en tóch live meeluisteren!

Het is op 20 juli alweer 50 jaar geleden dat de eerste mens op de maan landde: Neil Armstrong landde met de Apollo-11 missie op de maan.

Deze gebeurtenis kun je “live” beleven op deze website: www.apolloinrealtime.org

Sinds de lancering is alle communicatie met de missie te beluisteren: niet alleen de CapCom maar ook alle interne communicatie in Houston en ondersteunende afdelingen. Nou ja, super cool dus om dit weer eens mee te beleven.

Herijking Novice licentie radiozendamateurs

De landelijke verenigingen voor radiozendamateurs VERON en VRZA hebben op verzoek van – en in goede samenwerking met – Agentschap Telecom de Novice licentie onder de loep genomen.
Er is opnieuw gekeken naar nut en noodzaak van de Novice licentie.
Een enquête onder radiozendamateurs maakte deel uit van het onderzoek. Het eindresultaat is in de vorm van een rapport aangeboden aan Agentschap Telecom.
Het rapport ‘Herijking N-registratie’ vindt u onder aan deze pagina.

Agentschap Telecom heeft VERON en VRZA in een officiële reactie bedankt voor het oppakken en afronden van deze lastige klus. De volledige reactie van Agentschap Telecom op het rapport leest u onder aan deze pagina.

Conclusies in het rapport zijn dat harmonisatie in Europees verband (CEPT) nagestreefd zou moet worden en dat de Novice licentie – naast een opstap naar een Full licentie –een volwaardige amateurlicentie is.
Agentschap Telecom onderschrijft deze conclusies.
In het rapport worden ook enkele aanbevelingen gedaan.
Agentschap Telecom spant zich in om de volgende aanbevelingen over te nemen:

– Het vrijgeven van de volledige amateurfrequentiebanden 14,00 – 14,35 MHz (20 meter) en 7,0 – 7,2 MHz (40 meter)
– het verhogen van het toegestane zendvermogen van 25 naar 100 watt PEP voor de Novice frequentiebanden < 30 MHz.

Het overnemen van deze aanbevelingen kost tijd, is afhankelijk van instemming door het Ministerie van EZK en zal niet eerder dan in de loop van 2020 gerealiseerd zijn. Tot die tijd verandert er niets en is het voor Novice amateurs niet toegestaan om mogelijke nieuwe banddelen of hogere zendvermogens te gebruiken en wordt dit ook niet gedoogd.

Bron: Agentschap Telecom

Repurposed Plastic Protects PCBs

An errant wire snipping across the wrong electrical pins spells the release of your magic smoke. Even if you are lucky, stray parts are the root of boundless malfunctions from disruptive to deadly. [TheRainHarvester] shares his trick for covering an Arduino Nano with some scrap plastic most of us have sitting in the recycling bin. The video is also after the break. He calls this potting, but we would argue it is a custom-made cover.

The hack is to cut a bit of plastic from food container lids, often HDPE or plastic #2. Trim a piece of it a tad larger than your unprotected board, and find a way to hold it in place so you can blast it with a heat gun. When we try this at one of our Hackaday remote labs and apply a dab of hot glue between the board and some green plastic it works well. The video suggests a metal jig which would be logical when making more than one. YouTube commenter and tip submitter [Keith o] suggests a vacuum former for a tighter fit, and we wouldn’t mind seeing custom window cutouts for access to critical board segments such as DIP switches or trimmers.

We understand why shorted wires are a problem, especially when you daisy-chain three power supplies as happened in one of [TheRainHarvester]’s previous videos.

 

X-Rays Are the Next Frontier in Space Communications

Hundreds of years from now, the story of humanity’s inevitable spread across the solar system will be a collection of engineering problems solved, some probably in heroic fashion. We’ve already tackled a lot of these problems in our first furtive steps into the wider galaxy. Our engineering solutions have taken humans to the Moon and back, but that’s as far as we’ve been able to send our fragile and precious selves.

While we figure out how to solve the problems keeping us trapped in the Earth-Moon system, we’ve sent fleets of robotic emissaries to do our exploration by proxy, to make the observations we need to frame the next set of engineering problems to be solved. But as we reach further out into the solar system and beyond, our exploration capabilities are increasingly suffering from communications bottlenecks that restrict how much data we can ship back to Earth.

We need to find a way to send vast amounts of data back as quickly as possible using as few resources as possible on both ends of the communications link. Doing so may mean turning away from traditional radio communications and going way, way up the dial and developing practical means for communicating with X-rays.

The Tyranny of Physics

The essential problems with deep space communications come from two sources – the inverse-square law and information theory. The inverse-square law states that the amount of energy at the receiving end of a radio communications link is inversely proportional to the square of the distance to the transmitter. Basically, radio waves spread out from the source and at very great distances tend to diminish into the background noise. That’s why deep-space communications networks tend to have large antennas on both ends of the link, to gather and focus as much of the weak signal as possible, as well as to be able to transmit a powerful and narrowly focused beam.

Information theory tells us that more data can be packed into higher frequency signals than lower frequencies. Early satellites didn’t need much bandwidth to do their jobs, so VHF and UHF radios were generally sufficient. But as spacecraft became more sophisticated and the amount of data they needed to send back increased, their communications links began shifting gradually up the electromagnetic spectrum into the microwave region. The Voyager probes, currently in interstellar space, have an uplink using 2.1 GHz for the relatively low-bandwidth tasks of vehicle control, with a downlink at 8.1 GHz, reflecting the increased bandwidth needed to send scientific data back to Earth.

For as stunning an engineering achievement as Voyager has been, and notwithstanding the fact that it’s still working more than 40 years after launch, its radio gear only barely supports its interstellar mission. To be fair, Voyager was never meant to last this long, and every bit of data that makes it back to Earth is just icing on the cake. But for future missions specifically designed for interstellar space, sending back enough data to make such missions feasible will require more bandwidth.

Small, Bright, and Fast

The Modulated X-Ray Source experiment. The miniature source is center bottom. Source: NASA/W. Hrybyk

In late April, NASA is sending a pallet of gear up to the ISS, and one of the experiments stashed in the cargo is meant to explore the potential for X-ray communications, or XCOM, for deep space. The Modulated X-Ray Source (MXS) is a compact X-ray transmitter that will be mounted outside the space station. The receiver for this experiment is already installed; the Neutron Star Interior Composition Explorer (NICER) has been gathering X-ray spectra from neutron stars since 2017, while also gathering data about the potential for using X-ray pulsars as navigational beacons in a sort of “Galactic Positioning System”.

MXS is an interesting instrument. When one thinks of making X-rays, the natural tendency is to assume a traditional hot-cathode vacuum tube, where electrons are boiled off a filament and accelerated by an electric field in the range of 100 kilovolts to slam into a tungsten anode, would be used. But vacuum tubes like those found in a hospital X-ray suite aren’t the best space travelers, and even when ruggedized they’re too bulky and heavy to send upstairs.

So NASA researchers developed a more spaceflight-friendly X-ray generator. Rather than heating a filament to generate electrons, the X-ray source in MXS uses creates photoelectrons by bombarding a magnesium photocathode with UV light from LEDs. The few photoelectrons produced then enter an electron amplifier, an off-the-shelf component found in mass spectrometers that uses specially shaped chambers coated with a thin layer of semiconducting material. Each incident electron liberates a few secondary photoelectrons, which bounce off the other wall of the multiplier to create more electrons, greatly amplifying the signal. The huge stream of electrons is then accelerated by a 10 kV field to collide with the target anode and produce X-rays.

Comparison of hot-cathode X-ray tube to MXS. Source: NASA

While the MXS source sounds similar to a hot-cathode tube, there are important differences. First, the source can be made cheaply from off-the-shelf components and a 3D-printed metal enclosure. The whole assembly weighs only about 160 grams, fits in the palm of a hand, and has no unusual power or temperature control requirements. The big difference, though, is with how fast the X-rays can be turned on and off. A glowing filament can only heat up and cool down so quickly, meaning that effective modulation of X-ray from hot-cathode sources is difficult. In the MXS, X-rays are produced only when the UV LEDs are on, and those can be switching very quickly, in the sub-nanosecond range. The ability to modulate an X-ray beam lead to data rates in the gigabits per second range, greatly enhancing our ability to move data around in space.

What’s more, X-rays can be more tightly collimated than radio waves or even light, which is also being experimented with for space communications. The tighter X-ray beam spreads out less, making transmission more power efficient and reception easier by virtue of the strong signal from relatively bright transmitters.

Although the distance between the MXS and NICER in these XCOM experiments is only about 50 meters, they stand to position us for much better bandwidth for deep space communications. The MXS source itself has a lot of potential applications beyond XCOM too, from cheap, lightweight, low-power medical imaging on Earth and in space, navigational beacons for spacecraft, and even advanced chemical analysis by X-ray spectroscopy