Replies: 3 comments 5 replies
-
Hi, I aggree that WiFi support would be sweet, for now you can only swap the standard Pico with a Pico W and do some slight modifications to the software. The ADC issues are annoying and pretty unecessary honestly, but it's nothing too bad, I mean if you know of these four channels and their immediate surroundings, you can just ignore them and you'll be fine. It's not like 5 channels more or less will change much about your spectrum. It looks ugly sure. And you will always have more than one channel/keV and the energy resolution will be much, much worse for that to ever be some kind of bottleneck. As for how difficult it is, it really depends on a number of things. We'd need a version with two cores that is readily and cheaply available almost everywhere. That's the biggest problems with most other (development) boards at the moment honestly. Well, the ESP32 is probably on the better side of that anyways, but you know how it is. As for the Pico, well there is only one standard and one W version and you can get it literally everywhere for cheap, that's what's really nice about it. Also, software support for the Pico makes it a breeze to work with, also thanks to the Arduino IDE and the great Arduino-Pico library. I don't know about the ESP32, there probably is Arduino support for that, but I have no clue about how capable that is. It's nice to have interrupts and PWM on almost all the digital pins, being able to change the location of hardware I2C, SPI and UART with only very few lines of code and changing things like clock speed or core voltage on the fly. It's also nice to have a built-in temp sensor and selectable output pin strengths. And even if you don't want to program it using the Arduino IDE, you can just use my UF2 file and literally drag-and-drop it onto your Pico, how nice is that. I have no idea how easy that is for an ESP32, but I'd guess you need to have a programming software installed. And on top of that, consider the electronics of the Pico. There is a pretty good SMPS chip already on there laid out so that you can easily modify it by adding a LiPo charger or something like this. If we drop the Pico and use a bare ESP32 or some kind of official dev board, there would need to be similar circuitry, or I'd need to add that too. The ADC of the ESP32 also seems to be a lot slower than that of the Pico, which is also a critical thing to keep in mind. TL;DR. It's possible, but you might have to add some circuitry for the power stage and you might lose some of the ease of use/convenience, maybe also a couple of more niche features and the dead time will be higher. And depending on the layout of the ESP32, you'd have to change the board layout. Let me know if I got anything wrong about the ESP32, please! |
Beta Was this translation helpful? Give feedback.
-
Hi, By the way, excellent project! |
Beta Was this translation helpful? Give feedback.
-
As an alternative, you can always use an external ESP32 and connect that to the Pico using the UART pins that I've broken out. Power can be taken from the VSYS and GND pins on the detector board as well. It will get all the data that your PC gets, so with that info you should be able to implement most of what you need. Might actually be the easiest solution to get MQTT and similar. |
Beta Was this translation helpful? Give feedback.
-
Servus @NuclearPhoenixx ,
first of all thanks for taking the time to develop and document this project! It looks really interesting and I love the low-cost, DIY aspect of it!
I'm curious if you've considered the possibility to replace the RPi Pico mirocontroller with an ESP32 NodeMCU board instead? It offers native Wifi support, so reporting results to MQTT for example would be very convenient for a static setup. Also, it might not have the same ADC issues we're seeing with the RPi right now. How difficult do you think this modification would be to make (on the hardware side)?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions