Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. How to start using a Pro Mini?

How to start using a Pro Mini?

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 5 Posters 2.2k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eddiever
    wrote on last edited by
    #1

    Ok, first of all I am new to the MySensors. I have read a lot and decided to order some components from Ali. Thanks to the info on this site I was able to make a Serial gateway, which is connected to Domoticz. And now I want to add sensors. I bought a Pro Mini atmega168 3.3V 8M Compatible Nano Replace Atmega328 For Arduino. But I failed to find any instructions on how to connect/use this board. Is it because I am not looking right? Who can enlighten me? I have also bought a MQ-2 MQ2 Smoke Gas LPG Butane Hydrogen Gas Sensor Detector Module For Arduino. So lets just say I want to connect this sensor. Who can help me?

    YveauxY mfalkviddM monteM 3 Replies Last reply
    0
    • E Eddiever

      Ok, first of all I am new to the MySensors. I have read a lot and decided to order some components from Ali. Thanks to the info on this site I was able to make a Serial gateway, which is connected to Domoticz. And now I want to add sensors. I bought a Pro Mini atmega168 3.3V 8M Compatible Nano Replace Atmega328 For Arduino. But I failed to find any instructions on how to connect/use this board. Is it because I am not looking right? Who can enlighten me? I have also bought a MQ-2 MQ2 Smoke Gas LPG Butane Hydrogen Gas Sensor Detector Module For Arduino. So lets just say I want to connect this sensor. Who can help me?

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @eddiever said in How to start using a Pro Mini?:

      atmega168

      Hi and welcome to the forum!
      I guess you bought the wrong atmega in the first place... The atmega 168 has only half the flash memory of an atmega 328 and I'm afraid you'll have a hard time fitting mySensors and your sketch in there.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • E Eddiever

        Ok, first of all I am new to the MySensors. I have read a lot and decided to order some components from Ali. Thanks to the info on this site I was able to make a Serial gateway, which is connected to Domoticz. And now I want to add sensors. I bought a Pro Mini atmega168 3.3V 8M Compatible Nano Replace Atmega328 For Arduino. But I failed to find any instructions on how to connect/use this board. Is it because I am not looking right? Who can enlighten me? I have also bought a MQ-2 MQ2 Smoke Gas LPG Butane Hydrogen Gas Sensor Detector Module For Arduino. So lets just say I want to connect this sensor. Who can help me?

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        Welcome to the MySensors community @eddiever !

        Connection instructions for MQ2 is available at https://www.mysensors.org/build/gas - see the comments in the example sketch.

        However, MQ2 is a 5V device and the 8MHz Pro Mini is a 3.3V device so you'll need to supply different power and you might need a level shifter. Since you've got atmega168 I would suggest to buy an Arduino Nano instead. The Nano is a 5V device.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          Eddiever
          wrote on last edited by
          #4

          Thank both of you for the quick reply. I am going to order new components ;)

          zboblamontZ 1 Reply Last reply
          1
          • E Eddiever

            Thank both of you for the quick reply. I am going to order new components ;)

            zboblamontZ Offline
            zboblamontZ Offline
            zboblamont
            wrote on last edited by
            #5

            @eddiever I mean no offence by this, but might it not be wiser to describe what you are trying to do so that you might be better informed what to get and why, rather than to make a wild guess ?
            For every success on this forum there are a hundred who failed and could readily advise you not to do as they did... ;)

            YveauxY E 2 Replies Last reply
            1
            • E Eddiever

              Ok, first of all I am new to the MySensors. I have read a lot and decided to order some components from Ali. Thanks to the info on this site I was able to make a Serial gateway, which is connected to Domoticz. And now I want to add sensors. I bought a Pro Mini atmega168 3.3V 8M Compatible Nano Replace Atmega328 For Arduino. But I failed to find any instructions on how to connect/use this board. Is it because I am not looking right? Who can enlighten me? I have also bought a MQ-2 MQ2 Smoke Gas LPG Butane Hydrogen Gas Sensor Detector Module For Arduino. So lets just say I want to connect this sensor. Who can help me?

              monteM Offline
              monteM Offline
              monte
              wrote on last edited by
              #6

              @eddiever said in How to start using a Pro Mini?:

              Pro Mini atmega168 3.3V 8M Compatible Nano Replace Atmega328 For Arduino

              You didn't provide links to what exactly you've bought, but as I understand your boards are some kind of ProMini clones. Note that they don't have serial converter on board for connection with PC. To upload sketches to these boards you will need USB to Serial (UART) converter or adapter. I would suggest adapters based on CP210x chip. They usually have both 3.3V and 5V and a Reset pin. Connection scheme you can find in google by searching for "arduino pro mini serial adapter connection" or something like that. Note that if you connected everything but still can't upload sketch to your board you might have to switch Rx and Tx pins as different manufacturers mark them differently.

              1 Reply Last reply
              1
              • zboblamontZ zboblamont

                @eddiever I mean no offence by this, but might it not be wiser to describe what you are trying to do so that you might be better informed what to get and why, rather than to make a wild guess ?
                For every success on this forum there are a hundred who failed and could readily advise you not to do as they did... ;)

                YveauxY Offline
                YveauxY Offline
                Yveaux
                Mod
                wrote on last edited by
                #7

                @zboblamont said in How to start using a Pro Mini?:

                For every success on this forum there are a hundred who failed

                I may certainly hope not :astonished:

                http://yveaux.blogspot.nl

                zboblamontZ 1 Reply Last reply
                1
                • YveauxY Yveaux

                  @zboblamont said in How to start using a Pro Mini?:

                  For every success on this forum there are a hundred who failed

                  I may certainly hope not :astonished:

                  zboblamontZ Offline
                  zboblamontZ Offline
                  zboblamont
                  wrote on last edited by
                  #8

                  @yveaux Perhaps an over-exaggeration :stuck_out_tongue_winking_eye:

                  1 Reply Last reply
                  0
                  • zboblamontZ zboblamont

                    @eddiever I mean no offence by this, but might it not be wiser to describe what you are trying to do so that you might be better informed what to get and why, rather than to make a wild guess ?
                    For every success on this forum there are a hundred who failed and could readily advise you not to do as they did... ;)

                    E Offline
                    E Offline
                    Eddiever
                    wrote on last edited by
                    #9

                    @zboblamont I want to use Mysensors to add more information to my domoticz. And I would like to start with a gas sensor.

                    zboblamontZ 1 Reply Last reply
                    0
                    • E Eddiever

                      @zboblamont I want to use Mysensors to add more information to my domoticz. And I would like to start with a gas sensor.

                      zboblamontZ Offline
                      zboblamontZ Offline
                      zboblamont
                      wrote on last edited by
                      #10

                      @eddiever Plenty of gas sensors around and information on this forum and elsewhere, probably using the search function at the top of the page will reveal someone has already used one for the gas you are trying to sense.

                      It's not something I have found a need to investigate, my only interest in gas was measurement of consumption of gas supply.
                      All my other gas interests arose from drinking too much beer... :grin:

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      19

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular