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.
  • SoloamS Soloam

    A nice additions would be a place to solder a ATSHA204A on board like the Sensebender! I'll try to make the change in KiCad!

    M Offline
    M Offline
    meddie
    wrote on last edited by
    #253

    @Soloam
    and a flash module for OTA Sketch Uploads :-)

    1 Reply Last reply
    0
    • Matt PittsM Offline
      Matt PittsM Offline
      Matt Pitts
      wrote on last edited by
      #254

      Thanks @GertSanders for showing me the BOM I hadn't realised it was there, but do I need everything listed there to get it working properly?

      GertSandersG 1 Reply Last reply
      0
      • Matt PittsM Matt Pitts

        Thanks @GertSanders for showing me the BOM I hadn't realised it was there, but do I need everything listed there to get it working properly?

        GertSandersG Offline
        GertSandersG Offline
        GertSanders
        Hardware Contributor
        wrote on last edited by GertSanders
        #255

        @Matt-Pitts
        I'm assuming that if a designer goes through the trouble of listing items on a bom, they are needed.

        But you are right, that is not always the case. I'm not at my Mac (using a miniscreen now), so i can not multitask.

        1 Reply Last reply
        0
        • Tom71T Offline
          Tom71T Offline
          Tom71
          wrote on last edited by
          #256

          Hello,
          I have problems to upload the scatch to the bare Amtel. I use an USB-TTL FTL Adaper and connect, RX/TX and Reset Pin with 100n->DTR. But I got always errors on uploading.

          The bootloader I have successfull burned with an raspberry pi and gpio (http://www.lxccu.com/hb-raspberry-bootloader-update):

          sudo bin/avrdude -Cbin/avrdude.conf -p m328p -P gpio -c gpio -U lfuse:w:0x62:m -U hfuse:w:0xde:m -U efuse:w:0x07:m -U lock:w:0x2F:m -e -Uflash:w:1443392692398-atmega328_1a.hex:i
          avrdude: safemode: Fuses OK

          How can I got it working?
          Thank you

          Thomas

          1 Reply Last reply
          0
          • bjacobseB Offline
            bjacobseB Offline
            bjacobse
            wrote on last edited by
            #257

            Have you tried to upload a standard arduino bootloader?, are you using correct baud settings for uploading?

            1 Reply Last reply
            0
            • Tom71T Offline
              Tom71T Offline
              Tom71
              wrote on last edited by
              #258

              @bjacobse No, used the bootloader from here (http://forum.mysensors.org/uploads/files/1443392692398-atmega328_1a.hex). This is an bootloader for the internal clock.
              Baud settings to upload the sketch or the bootloader?

              m26872M 1 Reply Last reply
              0
              • Tom71T Tom71

                @bjacobse No, used the bootloader from here (http://forum.mysensors.org/uploads/files/1443392692398-atmega328_1a.hex). This is an bootloader for the internal clock.
                Baud settings to upload the sketch or the bootloader?

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

                @Tom71 I think the question was if you have been successful with programming a standard bootloader to a standard Arduino board and then uploading and running a sketch?

                1 Reply Last reply
                0
                • Tom71T Offline
                  Tom71T Offline
                  Tom71
                  wrote on last edited by Tom71
                  #260

                  @m26872 Sure, but not with an bootloader (optiboot with intenal clock) on an bare Atmega. Later I will try this: http://forum.mysensors.org/uploads/files/1454449901412-7.png
                  I build some MySensors with an Arduino Micro, but not with only an Atmega.

                  Update: I don't know what's different, but this works. Perhaps I forget to connect Reset from FDL -> Pin 1.
                  Now I can upload simple sketches.

                  1 Reply Last reply
                  0
                  • bjacobseB Offline
                    bjacobseB Offline
                    bjacobse
                    wrote on last edited by
                    #261

                    I have not had success to upload a sketch via FTDI on an Arduino ProMini using Optiboot. When I flash an ordinary bootloader (Taken from the Arduino IDE), I can easily upload a sketch via FTDI.
                    so that's why I recommend to flash a standard bootloader and check if you then can upload a sketch afterwards.

                    Tom71T 1 Reply Last reply
                    0
                    • bjacobseB bjacobse

                      I have not had success to upload a sketch via FTDI on an Arduino ProMini using Optiboot. When I flash an ordinary bootloader (Taken from the Arduino IDE), I can easily upload a sketch via FTDI.
                      so that's why I recommend to flash a standard bootloader and check if you then can upload a sketch afterwards.

                      Tom71T Offline
                      Tom71T Offline
                      Tom71
                      wrote on last edited by
                      #262

                      @bjacobse Witch bootloader you have taken?

                      bjacobseB 1 Reply Last reply
                      0
                      • Matt PittsM Offline
                        Matt PittsM Offline
                        Matt Pitts
                        wrote on last edited by
                        #263

                        Hi I'm just about to start ording parts of the slim node. Looking through the thread I'm thinking based on my limited knowledge of arduino, I might be better off buying chips which already have a bootloader installed?

                        Can people advise, how difficult is it to upload the boot loader? Thanks

                        bjacobseB 1 Reply Last reply
                        0
                        • sundberg84S Offline
                          sundberg84S Offline
                          sundberg84
                          Hardware Contributor
                          wrote on last edited by
                          #264

                          @Matt-Pitts - Not that hard if you read about it. Here are some good links:

                          • https://www.arduino.cc/en/Hacking/Bootloader?from=Tutorial.Bootloader
                          • https://www.arduino.cc/en/Tutorial/ArduinoISP
                          • https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard

                          Controller: Proxmox VM - Home Assistant
                          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                          1 Reply Last reply
                          1
                          • Tom71T Tom71

                            @bjacobse Witch bootloader you have taken?

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

                            @Tom71
                            well I have not yet started to use the Mysensor specific bootloader. When I use the optiboot, I upload sketch with my USBtiny (so no FTDI), and when I use FTDI for uploading sketch I used the "Arduino Pro or pro mini (3,3V, 8MHz) w/ATmega328"

                            Tom71T 1 Reply Last reply
                            0
                            • bjacobseB bjacobse

                              @Tom71
                              well I have not yet started to use the Mysensor specific bootloader. When I use the optiboot, I upload sketch with my USBtiny (so no FTDI), and when I use FTDI for uploading sketch I used the "Arduino Pro or pro mini (3,3V, 8MHz) w/ATmega328"

                              Tom71T Offline
                              Tom71T Offline
                              Tom71
                              wrote on last edited by
                              #266

                              @bjacobse I thought the USBtiny is only to upload the bootloader, not the mysensors software.
                              I did two things:

                              1. Burn the bootloader atmega328_1a.hex to an bare Atmega328p with an Arduino as ISP
                              2. Upload an simple scetch to the Atmega with an RX/TX uploader (I used an USB to TTL with an FTDI and also an Ardunino Uno without the Atmega chip, like here http://forum.mysensors.org/uploads/files/1454449901412-7.png) Both are working.

                              I'm still waiting for the PCB. After receiving I want to build the motion sensor.

                              bjacobseB 1 Reply Last reply
                              0
                              • Tom71T Tom71

                                @bjacobse I thought the USBtiny is only to upload the bootloader, not the mysensors software.
                                I did two things:

                                1. Burn the bootloader atmega328_1a.hex to an bare Atmega328p with an Arduino as ISP
                                2. Upload an simple scetch to the Atmega with an RX/TX uploader (I used an USB to TTL with an FTDI and also an Ardunino Uno without the Atmega chip, like here http://forum.mysensors.org/uploads/files/1454449901412-7.png) Both are working.

                                I'm still waiting for the PCB. After receiving I want to build the motion sensor.

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

                                @Tom71
                                USBtiny is a programmer, and can both burn (upload) sketch + burn bootloader

                                Tom71T 1 Reply Last reply
                                0
                                • sundberg84S Offline
                                  sundberg84S Offline
                                  sundberg84
                                  Hardware Contributor
                                  wrote on last edited by
                                  #268

                                  Difference is that if you use a ISP programmer you will use the complete memory. You can use ISP to upload a bootloader which is required to burn a sketch with ftdi into remaining memory but its possible to use a ISP to flash a sketch without bootloader as well.

                                  Controller: Proxmox VM - Home Assistant
                                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                  1 Reply Last reply
                                  0
                                  • Matt PittsM Matt Pitts

                                    Hi I'm just about to start ording parts of the slim node. Looking through the thread I'm thinking based on my limited knowledge of arduino, I might be better off buying chips which already have a bootloader installed?

                                    Can people advise, how difficult is it to upload the boot loader? Thanks

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

                                    @Matt-Pitts
                                    Depending of your Arduino, the USBtiny is easy to use. Maybe your Aeduino have the pinheader so then only click the cable and burn bootloader. I use Arduino Pro Mini and have an adapter ZIF socket that fits my Arduino ProMini
                                    https://learn.adafruit.com/usbtinyisp

                                    1 Reply Last reply
                                    0
                                    • bjacobseB bjacobse

                                      @Tom71
                                      USBtiny is a programmer, and can both burn (upload) sketch + burn bootloader

                                      Tom71T Offline
                                      Tom71T Offline
                                      Tom71
                                      wrote on last edited by
                                      #270

                                      @bjacobse I'm out of fucus. What was the problem? Can you burn the bootloader+sketch with an USBtiny on an bare Atmgea328p? Connected on MISO/MOSI/SCK/RESET/VCC/GND?
                                      The Arduino Pro Mini is different from the Atmgea328p. On the arduino is an external clock.

                                      bjacobseB 1 Reply Last reply
                                      0
                                      • Tom71T Tom71

                                        @bjacobse I'm out of fucus. What was the problem? Can you burn the bootloader+sketch with an USBtiny on an bare Atmgea328p? Connected on MISO/MOSI/SCK/RESET/VCC/GND?
                                        The Arduino Pro Mini is different from the Atmgea328p. On the arduino is an external clock.

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

                                        @Tom71
                                        Can you burn the bootloader+sketch with an USBtiny on an bare Atmgea328p?
                                        I have no idea - I have never tried this.
                                        My originally point is that I have had similar problem to upload a sketch with a FTDI on an Arduino Pro Mini that have been flashed with Optiboot, and when flashed with a "normal" bootloader I could easily upload a sketch with FTDI. I mainly use Arduino Pro Mini 3,3V 8MHz...and that have the crystals etc in place

                                        Tom71T 1 Reply Last reply
                                        0
                                        • bjacobseB bjacobse

                                          @Tom71
                                          Can you burn the bootloader+sketch with an USBtiny on an bare Atmgea328p?
                                          I have no idea - I have never tried this.
                                          My originally point is that I have had similar problem to upload a sketch with a FTDI on an Arduino Pro Mini that have been flashed with Optiboot, and when flashed with a "normal" bootloader I could easily upload a sketch with FTDI. I mainly use Arduino Pro Mini 3,3V 8MHz...and that have the crystals etc in place

                                          Tom71T Offline
                                          Tom71T Offline
                                          Tom71
                                          wrote on last edited by
                                          #272

                                          @bjacobse Which Optiboot loader did you exactly use? I can try it. I have an Arduino Pro Mini.

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


                                          17

                                          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