Skip to content
  • 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. Hardware
  3. Minimal design thoughts
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Minimal design thoughts

Scheduled Pinned Locked Moved Hardware
299 Posts 34 Posters 177.4k Views 17 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.
  • AnticimexA Offline
    AnticimexA Offline
    Anticimex
    Contest Winner
    wrote on last edited by
    #180

    Figners crossed that the chinese dont muck it up :)
    Let me know if you need assistance in verifying the ATSHA on the prototype. I have one hooked up to my PC for debugging purposes, prepared and confguration locked for MySensors usage.

    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #181

      @Anticimex

      My plan is to just run your test code, to verify that i can talk to the device. Just like i did with the external Flash chip.

      AnticimexA 1 Reply Last reply
      0
      • tbowmoT tbowmo

        @Anticimex

        My plan is to just run your test code, to verify that i can talk to the device. Just like i did with the external Flash chip.

        AnticimexA Offline
        AnticimexA Offline
        Anticimex
        Contest Winner
        wrote on last edited by
        #182

        @tbowmo
        Alright. Just so you know, I have not adapted it for your board pinout yet. I will change my breadboard prototype accordingly and retest when I implement the non-UART support in the personalizer. I hope to be finished with that before you get your samples.

        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

        1 Reply Last reply
        0
        • tbowmoT Offline
          tbowmoT Offline
          tbowmo
          Admin
          wrote on last edited by tbowmo
          #183

          Hmm.. I like dirtypcbs "honest" approach to things:


          Hey Thomas Mørch,

          Your PCB order number xxxxx has been shipped.

          If you used DHL/FEDEX/UPS a tracking number will be sent later. We hope it is provided within 48hours, but our logistics company is being painfully slow with updates and provides incorrect numbers. We fired them, and will start working directly with DHL October 1st, 2014.

          1 Reply Last reply
          0
          • AnticimexA Offline
            AnticimexA Offline
            Anticimex
            Contest Winner
            wrote on last edited by
            #184

            I'm going to enjoy this ^^

            Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

            1 Reply Last reply
            0
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #185

              @Anticimex

              :) The whole site of dirtypcbs are made up like that, trash talking their own product.. But so far the service has been ok from them. This is first time I ordered with express shipment, hopefully they'll arive later this week..

              1 Reply Last reply
              0
              • AnticimexA Offline
                AnticimexA Offline
                Anticimex
                Contest Winner
                wrote on last edited by
                #186

                @tbowmo said:

                dirtypcbs

                Well, for a site that in their website footer prints
                "No bull, just crappy PCBs"
                what can possibly go wrong :D

                Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                RJ_MakeR 1 Reply Last reply
                0
                • AnticimexA Anticimex

                  @tbowmo said:

                  dirtypcbs

                  Well, for a site that in their website footer prints
                  "No bull, just crappy PCBs"
                  what can possibly go wrong :D

                  RJ_MakeR Offline
                  RJ_MakeR Offline
                  RJ_Make
                  Hero Member
                  wrote on last edited by
                  #187

                  @Anticimex said:

                  @tbowmo said:

                  dirtypcbs

                  Well, for a site that in their website footer prints
                  "No bull, just crappy PCBs"
                  what can possibly go wrong :D

                  LOL

                  RJ_Make

                  1 Reply Last reply
                  0
                  • tbowmoT Offline
                    tbowmoT Offline
                    tbowmo
                    Admin
                    wrote on last edited by
                    #188

                    @Anticimex

                    Just received the tracking number.. (so it took them 2 days to go from the factory to the shipping company :))

                    Anyway, now I have a tracking number, so I can keep an eye on things :)

                    1 Reply Last reply
                    1
                    • tbowmoT tbowmo

                      I'm thinking about spinning up the good old eagle cad program again, and start creating sensor boards (Like so many others here :))

                      Only thing is, that unlike (almost) everyone else, that are using normal arduino micro boards, I'm thinking about skipping that part, and create my "own" arduino board, thinking about the following:

                      1. use atmega 328 tqfp (That's doable for home soldering :))
                      2. pads for a 32Khz crystal, for timing purposes
                      3. Standard atmel programming header.
                      4. ftdi header like on arduino mini, so could use arduino bootloader (could be some details about the baudrate though, as it's running off internal RC oscillator)
                      5. Using Si7021 integrated humidity / temperature sensor, footprint for bmp180 barometric sensor
                      6. skip power converters, run everything off a battery directly (disable brownout detection in atmel)
                      7. SPI flash / e2prom onboard. Using same connections as moteino from lowpowerlabs, so should be able to use same bootloader for updates to firmware
                      8. pinheader for connecting radio module
                      9. Pinheader for D3-D7 on one side, and SDA/SCL + A0/A1 and power on the other side
                      10. Formfactor is 30x17.5mm (almost same size as the NRF24 module).
                      11. ATSHA204A sot23 footprint on board (Connected to A3). Can be used for SHA256 key exchange and verification
                      12. status LED (on A2)

                      Any thoughts about this? Or should I wait for the all in one mysensors battery sensor board? (When will that be available?)

                      / Thomas

                      (Spec updated January 28th, 2015)

                      C Offline
                      C Offline
                      CodeIt
                      wrote on last edited by
                      #189

                      @tbowmo Since Domoticz (home automation software) got support for MySensors i have been looking for cool sensors. I want to place a MySensor node in every room in my house with temp/humidity motion and reed contact, run directly from battery. Your board looks very promising. I only have one question. Is it possible to have two interrupts (for the motion sensor and reed contact)?

                      hekH 1 Reply Last reply
                      0
                      • C CodeIt

                        @tbowmo Since Domoticz (home automation software) got support for MySensors i have been looking for cool sensors. I want to place a MySensor node in every room in my house with temp/humidity motion and reed contact, run directly from battery. Your board looks very promising. I only have one question. Is it possible to have two interrupts (for the motion sensor and reed contact)?

                        hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by hek
                        #190

                        @CodeIt

                        D2 is connected to radio socket IRQ pin.
                        But as it currently not used by the library you could just cut the leg on radio and connect it to whatever you want.

                        1 Reply Last reply
                        0
                        • axillentA Offline
                          axillentA Offline
                          axillent
                          Mod
                          wrote on last edited by axillent
                          #191

                          it is also possible to use PCINT interrupt on mostly any digital or even analog pin

                          sense and drive

                          1 Reply Last reply
                          0
                          • tbowmoT Offline
                            tbowmoT Offline
                            tbowmo
                            Admin
                            wrote on last edited by
                            #192

                            What bootloader should I go for, for the prodcution run? (that is preload a bootloader into the atmega) ?

                            I am also thinking about preloading a default sketch as well, so it's almost plug'n'play.

                            (@hek, this default sketch should probably be included in the mysensors git repo, right ?)

                            / Thomas

                            1 Reply Last reply
                            0
                            • hekH Offline
                              hekH Offline
                              hek
                              Admin
                              wrote on last edited by hek
                              #193

                              Yep, a default sketch would be nice that reports temp/hum. Think it should be added to examples-folder like the others.

                              Would be fun to test the flash as well... Haven't seen @ToSa (the bootloader developer) around here for a while. Ideally a new bootloader should be adopted and MySensors library store bootloader update messages (in flash) at normal "runtime".

                              1 Reply Last reply
                              0
                              • tbowmoT Offline
                                tbowmoT Offline
                                tbowmo
                                Admin
                                wrote on last edited by
                                #194

                                @hek

                                I have been trying to get DualOptiboot from lowpowerlabs to run.. because it's able to use the external flash. It also seems like it is starting up as it flashes the LED during bootup, but it doesn't respond when I try to download via serial port using arduino. I might be blind or something, as I can't seem to figure out what the *beep' is going on :)

                                I have a sketch now, that is running on the first prototype here.. Should I make a pull request, to add it?

                                Btw. I have tested the external flash, by writing "random" bytes to it, and read it back again.. So I know it is working.

                                hekH tekkaT 2 Replies Last reply
                                0
                                • tbowmoT tbowmo

                                  @hek

                                  I have been trying to get DualOptiboot from lowpowerlabs to run.. because it's able to use the external flash. It also seems like it is starting up as it flashes the LED during bootup, but it doesn't respond when I try to download via serial port using arduino. I might be blind or something, as I can't seem to figure out what the *beep' is going on :)

                                  I have a sketch now, that is running on the first prototype here.. Should I make a pull request, to add it?

                                  Btw. I have tested the external flash, by writing "random" bytes to it, and read it back again.. So I know it is working.

                                  hekH Offline
                                  hekH Offline
                                  hek
                                  Admin
                                  wrote on last edited by
                                  #195

                                  @tbowmo said:

                                  Should I make a pull request, to add it?

                                  Yep, do that.. And include the libraries for flash/hum/temp if needed.

                                  1 Reply Last reply
                                  0
                                  • tbowmoT tbowmo

                                    @hek

                                    I have been trying to get DualOptiboot from lowpowerlabs to run.. because it's able to use the external flash. It also seems like it is starting up as it flashes the LED during bootup, but it doesn't respond when I try to download via serial port using arduino. I might be blind or something, as I can't seem to figure out what the *beep' is going on :)

                                    I have a sketch now, that is running on the first prototype here.. Should I make a pull request, to add it?

                                    Btw. I have tested the external flash, by writing "random" bytes to it, and read it back again.. So I know it is working.

                                    tekkaT Offline
                                    tekkaT Offline
                                    tekka
                                    Admin
                                    wrote on last edited by
                                    #196

                                    @tbowmo which flash ic are you using?

                                    1 Reply Last reply
                                    0
                                    • tbowmoT Offline
                                      tbowmoT Offline
                                      tbowmo
                                      Admin
                                      wrote on last edited by
                                      #197

                                      @tekka

                                      It's an adesto AT25DF512C-SSHN-B. Chosen because supply range is 1.8 - 3.6V (It's a bit hard finding flash chips that cover the whole range)

                                      1 Reply Last reply
                                      0
                                      • hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by
                                        #198

                                        @tbowmo
                                        Regarding bootloader I stumbled upon this:
                                        http://hallard.me/ulpnode-bootloader/
                                        http://hallard.me/ulpnode-bootloader-1/

                                        1 Reply Last reply
                                        0
                                        • tbowmoT Offline
                                          tbowmoT Offline
                                          tbowmo
                                          Admin
                                          wrote on last edited by
                                          #199

                                          @hek

                                          I don't have problems with bootloaders in general, I tried the standard arduino bootloader, and it works ok. It's just the DualOptiboot from lowpowerlab I can't get to work.. And it drives me crazy :)

                                          Think I need to figure out some way of debugging the bugger, to figure out what it is doing, but it's hard to find time for it, when I only have one hour every now and then for debugging..

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


                                          12

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular