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 Questo utente è esterno a questo forum
    blinryundefined Questo utente è esterno a questo forum
    blinry
    scritto su ultima modifica di
    #1

    Hey #electronics folks! ❤ I want to build a CO2 sensor with a battery life of several months. First using prototyping boards, then maybe as a custom PCB.

    Some questions:

    1. What kind of approach/device would you suggest to measure the power consumption of such a device? I hope to end up in the single-digit mW range.

    2. What would be the lowest-power components required to drive a small e-ink screen?

    3. Does the 328P seem like a suitable controller, if I don't need any connectivity?

    blinryundefined 1 Risposta Ultima Risposta
    • blinryundefined blinry

      Hey #electronics folks! ❤ I want to build a CO2 sensor with a battery life of several months. First using prototyping boards, then maybe as a custom PCB.

      Some questions:

      1. What kind of approach/device would you suggest to measure the power consumption of such a device? I hope to end up in the single-digit mW range.

      2. What would be the lowest-power components required to drive a small e-ink screen?

      3. Does the 328P seem like a suitable controller, if I don't need any connectivity?

      blinryundefined Questo utente è esterno a questo forum
      blinryundefined Questo utente è esterno a questo forum
      blinry
      scritto su ultima modifica di
      #2

      Thanks for all your answers! ❤

      Still pretty overwhelmed by how many microcontrollers there are. Are there good resources to compare them?

      How would I learn about what electrical parts to surround a microcontroller with on a custom board? Or what components I need to attach an e-ink screen? Are there good resources/books/specs on that?

      And another thing: Should I invest the time to learn KiCad? Or is another open source software for PCB design that you'd recommend? #electronics

      blinryundefined 1 Risposta Ultima Risposta
      • blinryundefined blinry

        Thanks for all your answers! ❤

        Still pretty overwhelmed by how many microcontrollers there are. Are there good resources to compare them?

        How would I learn about what electrical parts to surround a microcontroller with on a custom board? Or what components I need to attach an e-ink screen? Are there good resources/books/specs on that?

        And another thing: Should I invest the time to learn KiCad? Or is another open source software for PCB design that you'd recommend? #electronics

        blinryundefined Questo utente è esterno a questo forum
        blinryundefined Questo utente è esterno a questo forum
        blinry
        scritto su ultima modifica di
        #3

        As a project to learn #kicad, I designed my first PCB the other day! (With the help of @flauschzelle and @lenaschimmel!)

        It's a "wing" for @adafruit's modular Feather system, to easily connect the CO2 sensor I want to use.

        The manufactured PCBs arrived today! \o/ We used a pin that's an input-only pin on the ESP32, but soldering a little cable to another pin seems to work.

        @bleeptrack assured me that there's no first PCB without a botch job! 😄

        blinryundefined 1 Risposta Ultima Risposta
        • blinryundefined blinry

          As a project to learn #kicad, I designed my first PCB the other day! (With the help of @flauschzelle and @lenaschimmel!)

          It's a "wing" for @adafruit's modular Feather system, to easily connect the CO2 sensor I want to use.

          The manufactured PCBs arrived today! \o/ We used a pin that's an input-only pin on the ESP32, but soldering a little cable to another pin seems to work.

          @bleeptrack assured me that there's no first PCB without a botch job! 😄

          blinryundefined Questo utente è esterno a questo forum
          blinryundefined Questo utente è esterno a questo forum
          blinry
          scritto su ultima modifica di
          #4

          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 1 Risposta Ultima Risposta
          • 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
                                          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