Hey #electronics folks!
-
My plan is still to design a design a PCB that integrates all required components, and make the result available as open hardware.
Having fresh air around you means you can use your own brain cycles better!
Here are the biggest questions on my mind right now (let me know if you have thoughts)! #electronics
- How could I make the device cheaper? The Sunrise CO2 sensor costs 50 EUR per piece. The other components will be really cheap, but I need a good, low-power sensor. The SCD41 is cheaper, but draws an average of 450 uA (compared to the 16 uA of the Sunrise).
- How could I minimize the power/time for refreshing the e-ink display? Use a smaller screen? Use a Memory LCD instead?
-
Here are the biggest questions on my mind right now (let me know if you have thoughts)! #electronics
- How could I make the device cheaper? The Sunrise CO2 sensor costs 50 EUR per piece. The other components will be really cheap, but I need a good, low-power sensor. The SCD41 is cheaper, but draws an average of 450 uA (compared to the 16 uA of the Sunrise).
- How could I minimize the power/time for refreshing the e-ink display? Use a smaller screen? Use a Memory LCD instead?
Worked on my open hardware, ultra low-power CO2 sensor while listening to #fosdem talks!
I added a nicer font (using the u8g2 #rust crate), and a graph of the ppm value over time, which is kept in the RTC memory during deep sleep!
Also, I found a cheaper version of the sensor I'm using, which pushes the total hardware cost down to ~60 EUR.
Next steps: Calibrating the sensor properly, and then lower energy consumption as far as I can!
-
Worked on my open hardware, ultra low-power CO2 sensor while listening to #fosdem talks!
I added a nicer font (using the u8g2 #rust crate), and a graph of the ppm value over time, which is kept in the RTC memory during deep sleep!
Also, I found a cheaper version of the sensor I'm using, which pushes the total hardware cost down to ~60 EUR.
Next steps: Calibrating the sensor properly, and then lower energy consumption as far as I can!
Now that it's getting colder again, I feel motivated to resume work on my CO2 sensor (an open-source Aranet 4 clone).
I improved the UI a bit, and added a "critical line" at 1000 ppm. The colors of the number also invert at that point, suggesting you to open your windows.
-
Now that it's getting colder again, I feel motivated to resume work on my CO2 sensor (an open-source Aranet 4 clone).
I improved the UI a bit, and added a "critical line" at 1000 ppm. The colors of the number also invert at that point, suggesting you to open your windows.
I thought it might be fun to do a bit of poll-driven design, to figure out what folks might be interested in, and to get more clarity on some trade-offs!
So I'll post a couple of polls in this thread, feel free to chime in!
First off, in general, which features are important to you in a sensor like this? (Multiple choice!)
-
I thought it might be fun to do a bit of poll-driven design, to figure out what folks might be interested in, and to get more clarity on some trade-offs!
So I'll post a couple of polls in this thread, feel free to chime in!
First off, in general, which features are important to you in a sensor like this? (Multiple choice!)
My plan is to create an open hardware project.
If I were to publish a detailed guide on how to order all components and build the device, would you want to build one yourself? And would you be able to? This would involve some basic soldering.
I'm not really planning to open a shop or something, but I still included some options to gauge interest.
Which of these options fit you best?
-
My plan is to create an open hardware project.
If I were to publish a detailed guide on how to order all components and build the device, would you want to build one yourself? And would you be able to? This would involve some basic soldering.
I'm not really planning to open a shop or something, but I still included some options to gauge interest.
Which of these options fit you best?
Next, some design trade-offs. It's hard to do everything at once, so I'd like to find out what to focus on.
What's more important to you?
-
Next, some design trade-offs. It's hard to do everything at once, so I'd like to find out what to focus on.
What's more important to you?
What's more important to you?
-
What's more important to you?
-
And finally, what is the highest total component price that would be acceptable to you for a portable CO2 sensor? A low price would affect battery life and precision.
(For reference: The Aranet 4 costs around 200 EUR).
-
And finally, what is the highest total component price that would be acceptable to you for a portable CO2 sensor? A low price would affect battery life and precision.
(For reference: The Aranet 4 costs around 200 EUR).
One more that comes to mind:
Would you rather have a device with modular components (like @adafruit's Feather system [1])? This would make it more hackable/repairable.
Or would you prefer one circuit board that has everything integrated? This would probably push the price and the size down.
-
One more that comes to mind:
Would you rather have a device with modular components (like @adafruit's Feather system [1])? This would make it more hackable/repairable.
Or would you prefer one circuit board that has everything integrated? This would probably push the price and the size down.
Time for another round of "blinry is clueless about #electronics" questions!
What's your experiences with JLCPCB vs PCBWay? I'm mainly interested in PCBA, which seems surprisingly cheap at JLCPCB!
How do you usually select specific components? For example, if I'm looking for a 4.7uF/50 V capacitor – which SMD package size would you use, which brand, and why? What's your process?
-
Time for another round of "blinry is clueless about #electronics" questions!
What's your experiences with JLCPCB vs PCBWay? I'm mainly interested in PCBA, which seems surprisingly cheap at JLCPCB!
How do you usually select specific components? For example, if I'm looking for a 4.7uF/50 V capacitor – which SMD package size would you use, which brand, and why? What's your process?
And when it comes to component placement, this seems like the most arcane art to me!
Below is the reference circuit for driving a Waveshare e-ink display – are there components for which it is important to actually place them close to each other on the PC? L1 and C4, for example? Are there rules of thumb here?
Is it possible/customary to place a via directly inside a solder pad? Seems like it would save some space, but maybe it's a bad idea?
-
And when it comes to component placement, this seems like the most arcane art to me!
Below is the reference circuit for driving a Waveshare e-ink display – are there components for which it is important to actually place them close to each other on the PC? L1 and C4, for example? Are there rules of thumb here?
Is it possible/customary to place a via directly inside a solder pad? Seems like it would save some space, but maybe it's a bad idea?
Okay, here's my best shot at a schematic for a low-power CO2 sensor based on an #ESP32-C6-MINI!
It still includes some questions in red, including:
- Should I add ESD protection to the USB D-/D+? Which kind?
- Should I add more filter caps to VBUS, the ESP's input, or to the button pins?
- In general, are the components I picked reasonable, or are there more standard MOSFETs, diodes or R/C sizes?If someone more experienced in #electronics could help review this, I'd be extremely grateful!
-
Okay, here's my best shot at a schematic for a low-power CO2 sensor based on an #ESP32-C6-MINI!
It still includes some questions in red, including:
- Should I add ESD protection to the USB D-/D+? Which kind?
- Should I add more filter caps to VBUS, the ESP's input, or to the button pins?
- In general, are the components I picked reasonable, or are there more standard MOSFETs, diodes or R/C sizes?If someone more experienced in #electronics could help review this, I'd be extremely grateful!
Prepared a rough test order on JLCPCB yesterday to gauge the price – and learned that the ESP32-C6-MINI is not supported in their "Economic Assembly"
Meaning that the assembly would cost a bit more.
Options:
- Hand-solder the ESP32 module
- Switch to the ESP32-S3-MINI (which, strangely, seems to support Economic Assembly)
- Switch to STM32 (whole new rabbit hole for me, and probably more difficult to build in connectivity?)
- Accept the price for Standard Assembly -
Prepared a rough test order on JLCPCB yesterday to gauge the price – and learned that the ESP32-C6-MINI is not supported in their "Economic Assembly"
Meaning that the assembly would cost a bit more.
Options:
- Hand-solder the ESP32 module
- Switch to the ESP32-S3-MINI (which, strangely, seems to support Economic Assembly)
- Switch to STM32 (whole new rabbit hole for me, and probably more difficult to build in connectivity?)
- Accept the price for Standard AssemblyBack at my CO2 sensor project (an open-hardware Aranet 4 clone) this week! I finally made a PCB design – it's my first "complicated" design ever, so I feel very clumsy!
Changes I still wanna make:
- Flood the top layer with a ground fill, as well?
- Add mounting holes.
- Confirm correct placement of all parts in JLCPCB.
- Add a cutout to allow the e-ink screen to be connected from the other side.If you have tips what mistakes to look out for at this stage, I'd be thankful!
-
Back at my CO2 sensor project (an open-hardware Aranet 4 clone) this week! I finally made a PCB design – it's my first "complicated" design ever, so I feel very clumsy!
Changes I still wanna make:
- Flood the top layer with a ground fill, as well?
- Add mounting holes.
- Confirm correct placement of all parts in JLCPCB.
- Add a cutout to allow the e-ink screen to be connected from the other side.If you have tips what mistakes to look out for at this stage, I'd be thankful!
Here's how I'm envisioning the entire device:
The battery will be at the bottom of the back side, with the ESP32 and CO2 sensor above it.
The e-ink screen connects to the center of the front side. Three buttons at the top can be used for interaction, the two at the back are for flashing. USB-C port at the side.
-
Here's how I'm envisioning the entire device:
The battery will be at the bottom of the back side, with the ESP32 and CO2 sensor above it.
The e-ink screen connects to the center of the front side. Three buttons at the top can be used for interaction, the two at the back are for flashing. USB-C port at the side.
Progress shot for the day! Added cutouts and mounting holes, filled the front, modified trace widths, moved the charging LED to the edge, and fixed the battery polarity (
).
While slapping on some labels, I noticed that the device doesn't have a name yet. If I call it "Aranot 4", they will sue me, right?
-
Progress shot for the day! Added cutouts and mounting holes, filled the front, modified trace widths, moved the charging LED to the edge, and fixed the battery polarity (
).
While slapping on some labels, I noticed that the device doesn't have a name yet. If I call it "Aranot 4", they will sue me, right?
Placed an order for two testing boards at JLCPCB! Very exciting!
I added a solder jumper that can be cut to disable the LiPo charger, in case people want to power the device from some other source.
And I added through-hole pads for the voltage provided by the battery and for ground, to be able to measure power consumption more easily using a Power Profiler Kit II.
On a whim, I made the PCB yellow! Seemed fitting for a "CO2 Canary", which I guess is the name of the device now!
-
Placed an order for two testing boards at JLCPCB! Very exciting!
I added a solder jumper that can be cut to disable the LiPo charger, in case people want to power the device from some other source.
And I added through-hole pads for the voltage provided by the battery and for ground, to be able to measure power consumption more easily using a Power Profiler Kit II.
On a whim, I made the PCB yellow! Seemed fitting for a "CO2 Canary", which I guess is the name of the device now!
Now, I'm very curious to see whether the device will work! If not, I get to practice my hardware debugging skills, I guess…
Big thanks go out to everyone who has helped me up until this point! I learned so much working on this project so far!
@kicad is a lovely piece of software, I enjoyed using it a lot. Especially the "Design Rules Checker" gave me some confidence that I'm doing things correctly.
The PCBs should ship in a couple of days, I'll keep you updated!
-
Now, I'm very curious to see whether the device will work! If not, I get to practice my hardware debugging skills, I guess…
Big thanks go out to everyone who has helped me up until this point! I learned so much working on this project so far!
@kicad is a lovely piece of software, I enjoyed using it a lot. Especially the "Design Rules Checker" gave me some confidence that I'm doing things correctly.
The PCBs should ship in a couple of days, I'll keep you updated!
Less than a week after placing the order, the boards have been manufactured, assembled, shipped, and are now in my hands!!