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. OpenHardware.io
  3. 💬 The Logger Machine - Short and long term serial logging
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

💬 The Logger Machine - Short and long term serial logging

Scheduled Pinned Locked Moved OpenHardware.io
arduinottlloggingserialuartbluetoothhelplog
26 Posts 7 Posters 4.4k Views 5 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.
  • sundberg84S sundberg84

    @terxw - ok.
    4800 should work just fine.
    The command should be AT+BAUD3
    I used this link when i designed and wrote this - it has some more in-depth analysis.
    https://www.instructables.com/id/AT-command-mode-of-HC-05-Bluetooth-module/

    What good to know is that if you are the one who bought the module from me just recently from ebay this is tested and verified working by me so we should get this sorted!!

    Can you post a picture on how it looks (connections) when you try to change baud-rate?

    T Offline
    T Offline
    terxw
    wrote on last edited by
    #21

    @sundberg84

    Here are pictures:

    https://imgur.com/a/L4E2eoJ

    sundberg84S 1 Reply Last reply
    1
    • T terxw

      @sundberg84

      Here are pictures:

      https://imgur.com/a/L4E2eoJ

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

      @terxw - sorry, the manual is wrong and unclear here - when you talk to the bluetooth module you should not connect to the programming pins. they are only for programming atmega chip. Must be a copy/paste error when i wrote the manual i think. Looking at the schematics RX goes only from that programming pin to the atmega and not bt module. TX has a input protection diode as well, so you need to swap that one to.

      0_1544464557167_161c51d7-ea75-45a7-8368-705dafcdac8e-image.png

      As you see in the image, RX and TX from that programming point is only connected to atmega chip. Try connecting them to ordinary input. In worst case scenario, the diodes are making the serial communication fail at the baud rate you are testing... (should work with 115200 since thats what i set it to) but worst case scenario, solder wires to BT module and test.

      Also dont power it using BAT (it goes through a dc/dc booster if you do). Try a regulated 3.3v power source and input on 3.3v pin.

      Also, change the both No line ending to Both NL and CR

      Edit: I will be home on thursday, traveling at work, but I have a identical module i build the same time as yours I can test on, if you dont want to solder around and mess the module up.

      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
      • T Offline
        T Offline
        terxw
        wrote on last edited by
        #23

        @sundberg84
        So I tried all rx/tx combinations, no response to AT commands, I will try with different software and/or computer.

        1 Reply Last reply
        0
        • CrankyCoderC Offline
          CrankyCoderC Offline
          CrankyCoder
          wrote on last edited by
          #24

          any plans to add an RTC on this and be able to timestamp the log entries? I have some sensors that only wake up and do readings every 90 minutes. But sometimes they just stop doing it. So time stamps on the logs would be good to see if there is anything happening right around the time it stops reporting.

          Home Automation Tinkerer
          www.CrankyCoder.net

          Controller: HomeAssistant in Kubernetes
          Gateway: MQTTClientGateway
          MySensors: 2.3

          1 Reply Last reply
          2
          • T Offline
            T Offline
            terxw
            wrote on last edited by
            #25

            All new nodes have set BR 11520 and the logger is working nicely, I finaly have a way to debug basic problems!

            sundberg84S 1 Reply Last reply
            0
            • T terxw

              All new nodes have set BR 11520 and the logger is working nicely, I finaly have a way to debug basic problems!

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

              @terxw okey, thanks for reporting back !! Let me know if there is something else. This is a 0.5v so I'm open for improvements.

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              4

              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