Salta al contenuto
0
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
Collassa

Forum Federato

Di Piero Bosio
  1. Home
  2. Categorie
  3. Senza categoria
  4. Hey #electronics folks!

Hey #electronics folks!

Pianificato Fissato Bloccato Spostato Senza categoria
electronics
42 Post 1 Autori 107 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Piรน Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione รจ stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • blinryundefined blinry

    The first prototype of my low-power CO2-Sensor is working! ๐ŸŽ‰ It currently consists of:

    - ESP32 "feather" devboard
    - the CO2 Feather Wing I co-designed, featuring a Senseair Sunrise sensor
    - @adafruit's E-Ink Feather Friend
    - a Waveshare E-Ink display, which shows the current CO2 value in ppm

    #electronics

    blinryundefined Questo utente รจ esterno a questo forum
    blinryundefined Questo utente รจ esterno a questo forum
    blinry
    scritto su ultima modifica di
    #5

    Thanks to everyone who recommended to get this power profiler! It's a really helpful tool for what I'm doing.

    Currently, it takes 233 mC of charge to refresh. Theoretically, if the device refreshes every minute, the battery will last 23 days! Which is already much better than I expected, but there's lots to be optimized.

    Needing to be awake to re-draw the e-ink screen is the biggest factor. Between refreshes, the devices goes into deep sleep, where it basically draws no power at all. ๐Ÿ’ค

    blinryundefined 1 Risposta Ultima Risposta
    • blinryundefined blinry

      Thanks to everyone who recommended to get this power profiler! It's a really helpful tool for what I'm doing.

      Currently, it takes 233 mC of charge to refresh. Theoretically, if the device refreshes every minute, the battery will last 23 days! Which is already much better than I expected, but there's lots to be optimized.

      Needing to be awake to re-draw the e-ink screen is the biggest factor. Between refreshes, the devices goes into deep sleep, where it basically draws no power at all. ๐Ÿ’ค

      blinryundefined Questo utente รจ esterno a questo forum
      blinryundefined Questo utente รจ esterno a questo forum
      blinry
      scritto su ultima modifica di
      #6

      I'm really surprised how pleasant it is to program the firmware in #rust! Because I *really* don't want to use C/C++ anymore, if I can avoid itโ€ฆ

      I love how Cargo helps manage all dependencies and libraries, and how you can write generic drivers using "embedded-hal", a central crate in the embedded Rust ecosystem, which just hit version 1.0: https://blog.rust-embedded.org/embedded-hal-v1/

      Big recommendation! ๐Ÿ™‚ Also, I'm learning a lot about how the I2C protocol works!

      blinryundefined 1 Risposta Ultima Risposta
      • blinryundefined blinry

        I'm really surprised how pleasant it is to program the firmware in #rust! Because I *really* don't want to use C/C++ anymore, if I can avoid itโ€ฆ

        I love how Cargo helps manage all dependencies and libraries, and how you can write generic drivers using "embedded-hal", a central crate in the embedded Rust ecosystem, which just hit version 1.0: https://blog.rust-embedded.org/embedded-hal-v1/

        Big recommendation! ๐Ÿ™‚ Also, I'm learning a lot about how the I2C protocol works!

        blinryundefined Questo utente รจ esterno a questo forum
        blinryundefined Questo utente รจ esterno a questo forum
        blinry
        scritto su ultima modifica di
        #7

        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! โค

        blinryundefined 1 Risposta Ultima Risposta
        • blinryundefined blinry

          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! โค

          blinryundefined Questo utente รจ esterno a questo forum
          blinryundefined Questo utente รจ esterno a questo forum
          blinry
          scritto su ultima modifica di
          #8

          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?

          blinryundefined 1 Risposta Ultima Risposta
          • blinryundefined blinry

            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?

            blinryundefined Questo utente รจ esterno a questo forum
            blinryundefined Questo utente รจ esterno a questo forum
            blinry
            scritto su ultima modifica di
            #9

            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!

            blinryundefined 1 Risposta Ultima Risposta
            • blinryundefined blinry

              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!

              blinryundefined Questo utente รจ esterno a questo forum
              blinryundefined Questo utente รจ esterno a questo forum
              blinry
              scritto su ultima modifica di
              #10

              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.

              blinryundefined 1 Risposta Ultima Risposta
              • blinryundefined blinry

                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.

                blinryundefined Questo utente รจ esterno a questo forum
                blinryundefined Questo utente รจ esterno a questo forum
                blinry
                scritto su ultima modifica di
                #11

                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!)

                blinryundefined 1 Risposta Ultima Risposta
                • blinryundefined blinry

                  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!)

                  blinryundefined Questo utente รจ esterno a questo forum
                  blinryundefined Questo utente รจ esterno a questo forum
                  blinry
                  scritto su ultima modifica di
                  #12

                  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?

                  blinryundefined 1 Risposta Ultima Risposta
                  • blinryundefined blinry

                    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?

                    blinryundefined Questo utente รจ esterno a questo forum
                    blinryundefined Questo utente รจ esterno a questo forum
                    blinry
                    scritto su ultima modifica di
                    #13

                    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?

                    blinryundefined 1 Risposta Ultima Risposta
                    • blinryundefined blinry

                      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?

                      blinryundefined Questo utente รจ esterno a questo forum
                      blinryundefined Questo utente รจ esterno a questo forum
                      blinry
                      scritto su ultima modifica di
                      #14

                      What's more important to you?

                      blinryundefined 1 Risposta Ultima Risposta
                      • blinryundefined blinry

                        What's more important to you?

                        blinryundefined Questo utente รจ esterno a questo forum
                        blinryundefined Questo utente รจ esterno a questo forum
                        blinry
                        scritto su ultima modifica di
                        #15

                        What's more important to you?

                        blinryundefined 1 Risposta Ultima Risposta
                        • blinryundefined blinry

                          What's more important to you?

                          blinryundefined Questo utente รจ esterno a questo forum
                          blinryundefined Questo utente รจ esterno a questo forum
                          blinry
                          scritto su ultima modifica di
                          #16

                          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).

                          blinryundefined 1 Risposta Ultima Risposta
                          • blinryundefined blinry

                            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).

                            blinryundefined Questo utente รจ esterno a questo forum
                            blinryundefined Questo utente รจ esterno a questo forum
                            blinry
                            scritto su ultima modifica di
                            #17

                            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.

                            1: https://learn.adafruit.com/adafruit-feather/overview

                            blinryundefined 1 Risposta Ultima Risposta
                            • blinryundefined blinry

                              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.

                              1: https://learn.adafruit.com/adafruit-feather/overview

                              blinryundefined Questo utente รจ esterno a questo forum
                              blinryundefined Questo utente รจ esterno a questo forum
                              blinry
                              scritto su ultima modifica di
                              #18

                              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?

                              blinryundefined 1 Risposta Ultima Risposta
                              • blinryundefined blinry

                                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?

                                blinryundefined Questo utente รจ esterno a questo forum
                                blinryundefined Questo utente รจ esterno a questo forum
                                blinry
                                scritto su ultima modifica di
                                #19

                                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?

                                #electronics

                                blinryundefined 1 Risposta Ultima Risposta
                                • blinryundefined blinry

                                  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?

                                  #electronics

                                  blinryundefined Questo utente รจ esterno a questo forum
                                  blinryundefined Questo utente รจ esterno a questo forum
                                  blinry
                                  scritto su ultima modifica di
                                  #20

                                  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! โค

                                  blinryundefined 1 Risposta Ultima Risposta
                                  • blinryundefined blinry

                                    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! โค

                                    blinryundefined Questo utente รจ esterno a questo forum
                                    blinryundefined Questo utente รจ esterno a questo forum
                                    blinry
                                    scritto su ultima modifica di
                                    #21

                                    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 ๐Ÿ˜›

                                    #electronics

                                    blinryundefined 1 Risposta Ultima Risposta
                                    • blinryundefined blinry

                                      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 ๐Ÿ˜›

                                      #electronics

                                      blinryundefined Questo utente รจ esterno a questo forum
                                      blinryundefined Questo utente รจ esterno a questo forum
                                      blinry
                                      scritto su ultima modifica di
                                      #22

                                      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!

                                      blinryundefined 1 Risposta Ultima Risposta
                                      • blinryundefined blinry

                                        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!

                                        blinryundefined Questo utente รจ esterno a questo forum
                                        blinryundefined Questo utente รจ esterno a questo forum
                                        blinry
                                        scritto su ultima modifica di
                                        #23

                                        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.

                                        blinryundefined 1 Risposta Ultima Risposta
                                        • blinryundefined blinry

                                          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.

                                          blinryundefined Questo utente รจ esterno a questo forum
                                          blinryundefined Questo utente รจ esterno a questo forum
                                          blinry
                                          scritto su ultima modifica di
                                          #24

                                          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? ๐Ÿ˜›

                                          blinryundefined 1 Risposta Ultima Risposta
                                          Rispondi
                                          • Topic risposta
                                          Effettua l'accesso per rispondere
                                          • Da Vecchi a Nuovi
                                          • Da Nuovi a Vecchi
                                          • Piรน Voti


                                          • Accedi

                                          • Accedi o registrati per effettuare la ricerca.
                                          • Primo post
                                            Ultimo post