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. My Project
  3. My Slim 2AA Battery Node

My Slim 2AA Battery Node

Scheduled Pinned Locked Moved My Project
498 Posts 71 Posters 342.6k Views 69 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.
  • ahmedadelhosniA ahmedadelhosni

    @m26872 Thanks.

    Hopefully this is my last question :)

    Is V1.4 and 2.0 the same ? One is red in Eagle and the other in black in Kicad ?

    If yes, could you please guide me to the eagle's project files ? Thanks.

    m26872M Offline
    m26872M Offline
    m26872
    Hardware Contributor
    wrote on last edited by
    #83

    @ahmedadelhosni
    Yes, v1.4 is Eagle. I'll upload it later today. But it's just a brd-file. And I think I had some broken sch-brd connections even in v1.2. One reason for the KiCad design was to improve this.

    ahmedadelhosniA 1 Reply Last reply
    0
    • m26872M m26872

      @ahmedadelhosni
      Yes, v1.4 is Eagle. I'll upload it later today. But it's just a brd-file. And I think I had some broken sch-brd connections even in v1.2. One reason for the KiCad design was to improve this.

      ahmedadelhosniA Offline
      ahmedadelhosniA Offline
      ahmedadelhosni
      wrote on last edited by
      #84

      @m26872 hmm I see. So i will begin learning Kicad today. Thanks for your effort and support

      m26872M 1 Reply Last reply
      0
      • ahmedadelhosniA ahmedadelhosni

        @m26872 hmm I see. So i will begin learning Kicad today. Thanks for your effort and support

        m26872M Offline
        m26872M Offline
        m26872
        Hardware Contributor
        wrote on last edited by
        #85

        @ahmedadelhosni
        I uploaded the brd in the v1.4 post above just for completness.
        Happy Kicading! Hope you'll enjoy. I liked it a lot better. There were a few nice youtube tutorials.
        You're welcome.

        1 Reply Last reply
        2
        • m26872M Offline
          m26872M Offline
          m26872
          Hardware Contributor
          wrote on last edited by
          #86

          First Slim Node board donation from the DirtyPCB board share now sent. $12 to MySensors.org. Thanks to everyone that have ordered.

          Later credit draw will be in probably linger a bit. DirtyPCB seems to be somewhat of a non-profit community with manual attendance to all share credits. I almost got banned in my attempts to get a reply from them. In order to show my appreciation for their great service, I plan to only request further credits in quantities of 50. If the board not's been shared in a year a so, of course I'll make an exception.

          1 Reply Last reply
          2
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #87

            @m26872
            Thanks for the kind donation to the MySensors project. We'll use it to develop new fun things for the community!

            1 Reply Last reply
            1
            • AWIA Offline
              AWIA Offline
              AWI
              Hero Member
              wrote on last edited by
              #88

              I was out of radio's, only a few "smd" types left which I mounted on the board with some patchwork ;-)

              upload-9bcfc8fe-4f7f-48ba-90dc-31443ed62f89

              Now even more space left in the (small) housing.

              upload-6b158358-0c6f-4983-89d4-16a13f9a87e9

              upload-b3b5aa3b-3e76-4690-a05c-49df931a6df7

              1 Reply Last reply
              3
              • dakkyD Offline
                dakkyD Offline
                dakky
                wrote on last edited by
                #89

                Could u show a screen for the lockbits too? I have never set them before and need some guidance :D thanks

                Dakky

                Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
                Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

                Software: MySensors 2.0development

                m26872M bjacobseB 2 Replies Last reply
                0
                • dakkyD dakky

                  Could u show a screen for the lockbits too? I have never set them before and need some guidance :D thanks

                  Dakky

                  m26872M Offline
                  m26872M Offline
                  m26872
                  Hardware Contributor
                  wrote on last edited by
                  #90

                  @dakky Done.

                  1 Reply Last reply
                  1
                  • Cliff KarlssonC Offline
                    Cliff KarlssonC Offline
                    Cliff Karlsson
                    wrote on last edited by
                    #91

                    Is this what you used to burn the bootloader?

                    USB-programmer-AVRISP-mkII-mk2-clone-ATMEL-AVR-New

                    1 Reply Last reply
                    0
                    • m26872M Offline
                      m26872M Offline
                      m26872
                      Hardware Contributor
                      wrote on last edited by
                      #92

                      I use this. Maybe not so expensive when I bought it 15 months ago, but still. I remember I was mad after I'd failed a lot with avrdude and cheaper tools (uno).

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        martkrui
                        wrote on last edited by
                        #93

                        Just received my boards from DirtyPCB :smile:
                        Enough for 10x3=30 sensors... :scream: The boards look nice. I think I can even skip the R&C's if I use the internal VCC measuring method but I'll have to scan the thread for that.

                        m26872M 1 Reply Last reply
                        1
                        • M martkrui

                          Just received my boards from DirtyPCB :smile:
                          Enough for 10x3=30 sensors... :scream: The boards look nice. I think I can even skip the R&C's if I use the internal VCC measuring method but I'll have to scan the thread for that.

                          m26872M Offline
                          m26872M Offline
                          m26872
                          Hardware Contributor
                          wrote on last edited by
                          #94

                          @martkrui R1 and C2 are mandatory if you intend to use the 6 pin FTDI port (I think you do). C3 (ARef - Gnd) is primarily for when you use Adc external ref, but (if I remember correct) it stabilizes the Adc in general. C1 (Vcc - Gnd) is just the "near chip supply input capacitor" and could probably be left out if there are some other caps near the nRF.

                          1 Reply Last reply
                          0
                          • dakkyD dakky

                            Could u show a screen for the lockbits too? I have never set them before and need some guidance :D thanks

                            Dakky

                            bjacobseB Offline
                            bjacobseB Offline
                            bjacobse
                            wrote on last edited by
                            #95

                            @dakky said:

                            Could u show a screen for the lockbits too? I have never set them before and need some guidance :D thanks

                            Dakky

                            I use ubuntu, and a tiny USB, so after I have flashed my arduino board, I run this avrdude command, that will run until battery is low

                            avrdude -c usbtiny -p m328p -U efuse:w:0x07:m
                            

                            I have bought usbtiny from this guy:
                            http://www.ebay.com/itm/USBtinyISP-V4-AVR-ISP-Programmer-Reliable-Plastic-Enclosure-/330824700564?hash=item4d06b05294

                            1 Reply Last reply
                            0
                            • m26872M m26872

                              @ahmedadelhosni
                              I think it's a good idea! And an easy mod, but it's not on priority list atm. Someone else would get a quick start from my already published kicad-files.

                              The thought behind present design is that I didn't want anything to cover the antenna in any direction, but I doubt it would matter much in this suggested case. It'll be worse when it comes to the hight. Look at the photos. The nRF becomes too high for my enclosures if I use a socket, and the 328p with its socket is too high to fit under a nRF without its socket. The solution would be to remove the 328p socket and move the R and Cs to bottom side or somewhere else. And without a 328p socket, the 3x2 AVR ISP pins would become more important to keep. Otherwise the board could have been trimmed even more.

                              ahmedadelhosniA Offline
                              ahmedadelhosniA Offline
                              ahmedadelhosni
                              wrote on last edited by ahmedadelhosni
                              #96

                              @m26872 Hi again. Just a small update regarding rotating the nrf.

                              I decided that in my designs I'll need the straight and rotated version, thus I'll design a small board to map the pin outputs like the image below. It will be above the ICSP pins but I really don't care about re flashing.

                              I'll order the board as soon as I finish pcb layout of some other boards and ship all at once.

                              Thanks.

                              upload-dbcd859c-7c4c-4e46-959c-e83314602bcd

                              m26872M 1 Reply Last reply
                              0
                              • ahmedadelhosniA ahmedadelhosni

                                @m26872 Hi again. Just a small update regarding rotating the nrf.

                                I decided that in my designs I'll need the straight and rotated version, thus I'll design a small board to map the pin outputs like the image below. It will be above the ICSP pins but I really don't care about re flashing.

                                I'll order the board as soon as I finish pcb layout of some other boards and ship all at once.

                                Thanks.

                                upload-dbcd859c-7c4c-4e46-959c-e83314602bcd

                                m26872M Offline
                                m26872M Offline
                                m26872
                                Hardware Contributor
                                wrote on last edited by
                                #97

                                @ahmedadelhosni You know that the nRF pins are not centered? That means if you rotate it like this it will no longer be straight above the "slim node motherboard".
                                What height do you expect it to be?

                                ahmedadelhosniA 1 Reply Last reply
                                0
                                • dakkyD Offline
                                  dakkyD Offline
                                  dakky
                                  wrote on last edited by dakky
                                  #98

                                  Another "noobish" question:
                                  When using this bootloader, one cycle takes 8 seconds? What happens, if for example, a switch is pressed between? does this sensor detect this?

                                  Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
                                  Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

                                  Software: MySensors 2.0development

                                  m26872M 1 Reply Last reply
                                  0
                                  • dakkyD dakky

                                    Another "noobish" question:
                                    When using this bootloader, one cycle takes 8 seconds? What happens, if for example, a switch is pressed between? does this sensor detect this?

                                    m26872M Offline
                                    m26872M Offline
                                    m26872
                                    Hardware Contributor
                                    wrote on last edited by
                                    #99

                                    @dakky Plz correct me... but I guess you're talking about the Avr sleep cycles? I don't know what that's got to do with the bootloader or this thread. I think it's related to interrupt, timers, mysensors and arduino lowpower library. The sleep cycles shouldn't be something to worry about if you're using the "sleep" function as in MySensors API.

                                    dakkyD 1 Reply Last reply
                                    1
                                    • m26872M m26872

                                      @dakky Plz correct me... but I guess you're talking about the Avr sleep cycles? I don't know what that's got to do with the bootloader or this thread. I think it's related to interrupt, timers, mysensors and arduino lowpower library. The sleep cycles shouldn't be something to worry about if you're using the "sleep" function as in MySensors API.

                                      dakkyD Offline
                                      dakkyD Offline
                                      dakky
                                      wrote on last edited by dakky
                                      #100

                                      @m26872 hmm you're right. maybe this is a too generic question to be discussed here. pardon me.

                                      Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
                                      Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

                                      Software: MySensors 2.0development

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        martkrui
                                        wrote on last edited by martkrui
                                        #101

                                        I had a bit of an issue getting things going as I've never played with the fuses before. Maybe this can save someone else some time. If I'm doing something silly here please correct me. :sweat_smile:

                                        [DISCLAIMER] this worked for me. Use at own risk[DISCLAIMER]

                                        Executed these commands from the subfolder \hardware\tools\avr\bin of my local arduino IDE.
                                        Connected the board ICSP using an USBASP with the latest firmware. Change the "-c usbasp" part if you connect using something else.

                                        Flash bootloader

                                        avrdude -C ../etc/avrdude.conf -c usbasp -B5 -p ATmega328P -U flash:w:..\..\..\arduino\avr\bootloaders\atmega\atmega328_1a.hex
                                        

                                        Set fuses

                                        avrdude -C ../etc/avrdude.conf -c usbasp -B5 -p ATmega328P -U lfuse:w:0x62:m -U hfuse:w:0xDE:m -U efuse:w:0x07:m -U lock:w:0x2F:m
                                        
                                        

                                        I think the B5 was crucial as it slows things down a bit. The bootloader (atmega328_1a.hex) is the one mentioned in the first post. I also added the part in the boards.txt of the arduino IDE.

                                        Now I can connect the board to the FTDI and upload and run sketches without issues.

                                        On to the next step :smiley: :+1:

                                        1 Reply Last reply
                                        3
                                        • dakkyD Offline
                                          dakkyD Offline
                                          dakky
                                          wrote on last edited by
                                          #102

                                          I am not so really skilled in transferring a wiring diagram to "real live". Is this the correct implementation for battery measuring?

                                          upload-8e188148-e6c0-44ef-9b8c-a01fe9cd1c3a

                                          Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
                                          Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

                                          Software: MySensors 2.0development

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


                                          9

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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