Every now and then I think about small spectrometers (my university final year project was one). Today I'm thinking about ways to have a battery-powered spectrometer communicate with a smart device.
The way I did it in the project was to host a web server on the spectrometer and have it act as a WiFi hotspot. This seems massively overcomplicated and gave me an intense dislike of creating webapps.
Possible reasons to *want* to connect a spectrometer to the smart device:
- Minimise the UI on the spectrometer (this may not be a good goal, but it would help to reduce the cost of the spec itself to the user)
- Do more processing of the data. I'm not sure how much analysis you'd *want *to do without a PC though.
- Simplify the spectrometer itself (but you're just shifting the complexity elsewhere)
Ways I've thought of to do this:
- Bluetooth - not a lot less complicated than Wifi, but maybe less icky? Tens/hundreds of kbps
- Audio - either over a cable (RIP 3.5mm jacks) or coupling through the air (susceptible to external noise). Basically work like an audio modem. Tens of kbps
- Light! - Use camera screen to transmit to photosensor on spec, use light on spec to transmit to camera on device. Data rate is probably LOW (~60bps)
On the subject of "more button is more better", the reason I haven't finished off the electro-sax project is because I want to get the buttons right.
Capacitive buttons are just too much of a pain. I need to keep recalibrating or they go all fucky.
The only problem I had with using the Cherry MX style switches was their activation point being too early. I reckon that could be fixed with a custom slider (if I had access to a resin printer to get the quality I need)
The idea I'm toying with is basically making my own switch. You just have the mechanical part complete a circuit, maybe to something like a battery contact.
There's already a lever I'm pressing down, and I want the activation point to be when the lever is fully down. Why not simplify the whole thing to a switch matrix again?
The only problem I've had so far is finding the right spring/contact for it to hit. I know it exists somewhere, I just need to find it.
@piggo More button is more better. I need to think about the actual use case for this a bit. I only know one person who actually uses a spectrometer! (the chemist who set the brief for the project)
But yeah, encoder knobs are super nice (especially those oven ones you can push in so they don't stick out when not in use)
@sfcgeorge That's awesome, and yeah a QR code sounds good for visually transferring data! I'm a bit wary of the inbuilt complexity (image recognition stuff is required but is obviously built into phone OSes). That transfer rate is great though - even with a smaller QR code on a lower resolution screen it'd be plenty!
@piggo Nice, that really is similar! Just a different thing being sampled. I did get this UI working in the year after I finished the project (the original one wasn't this pretty)
@piggo Oh and I got these parameters to be editable. It's actually super cool, I just hated developing both server+client side. Maybe for that reason I should just make it an all-in-one device and focus on optimising the physical UI.
@piggo Yeah, exactly! Mine had a raspberry pi inside, so another whole load of complexity (plus keeping it updated and dealing with certs and stuff). Just yeah, a big stack of nonsense.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!