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. Hardware
  3. Nano on Battery(Programming problem)

Nano on Battery(Programming problem)

Scheduled Pinned Locked Moved Hardware
7 Posts 2 Posters 1.9k Views 1 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.
  • clio75C Offline
    clio75C Offline
    clio75
    wrote on last edited by
    #1

    Hi,

    Due to a wrong order I have a lot of nano that I need to use.
    SO I trying to get the nano to work on battery. These have the ch340 chip and this chip is using approx 20 mA in standby.
    So I removed the CH340 and the voltage regulator.

    I tried to program the nano with the USB->serial(ftdi232) that I used for mini but with no success.
    If anyone have idea how to program a nano without the usb interface I like to hear you :)
    Thanx

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

      @clio75. You can use a uno or nano as ISP: https://www.arduino.cc/en/Tutorial/ArduinoISP
      or a ISCP progrmm er.

      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
      • clio75C Offline
        clio75C Offline
        clio75
        wrote on last edited by
        #3

        Yes That's correct :D
        I can try this now :dancer:

        Thanx

        1 Reply Last reply
        0
        • clio75C Offline
          clio75C Offline
          clio75
          wrote on last edited by
          #4

          @sundberg84,
          Is it possible to use an arduino to program a sketch into an other arduino ?

          I can program a bootloader, but don't see a way to upload a sketch
          Thanx

          sundberg84S 1 Reply Last reply
          0
          • clio75C clio75

            @sundberg84,
            Is it possible to use an arduino to program a sketch into an other arduino ?

            I can program a bootloader, but don't see a way to upload a sketch
            Thanx

            sundberg84S Offline
            sundberg84S Offline
            sundberg84
            Hardware Contributor
            wrote on last edited by sundberg84
            #5

            @clio75 - yes, in the arduino IDE use "Arduino as ISP as programmer and use upload using programmer and that should work.
            The first arduino should have the ArduinoISP sketch flashed found in the example menu.

            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
            • clio75C Offline
              clio75C Offline
              clio75
              wrote on last edited by
              #6

              OK, I will Try again :)
              Thanx

              1 Reply Last reply
              0
              • clio75C Offline
                clio75C Offline
                clio75
                wrote on last edited by
                #7

                I was not able to upload a sketch with "arduino as ISP" so I whent back to my orginal idea to use a FTDI232(like I use for microPro).

                I looked into the schematic on the nano and the micro. I found that on the micro the DTR pin there is a capacitor between reset and DTR input.. But the reset pin on the Nano did not. So I modified one FTDI232 with a capacitor 0,1uF (See picture).

                0_1475261114646_upload-7dd5f974-3c47-4f1c-9813-0116635d687d

                When I also crossed the TX/RX pins it finally works :+1:

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


                11

                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