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. Development
  3. HM-10 BLE node SoftSerial issues

HM-10 BLE node SoftSerial issues

Scheduled Pinned Locked Moved Development
1 Posts 1 Posters 503 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.
  • EmielAE Offline
    EmielAE Offline
    EmielA
    wrote on last edited by
    #1

    Hello,
    I build a Mysensor 1.4 version node with a Arduino Nano and the NRF24. And made this connect with a HM-10 BLE module (bluetooth low energy module), and connected it on pin 4 Rx and 5 Tx and controlled it by asynch rs232 serial AT commands. on a SoftSerial bases. The goal of my project is to detect BLE beacons. measure their distances to the sensor and sent the distance and the MAC adress of the beacon to the gateway.
    When I tried to compile I got interrupt vector errors. After searching the web I found that I had to adjust the PinChangeInt.h and uncomment the #define NO_PORTB_PINCHANGES and also for port c and d. Then the compile went well.
    But I noticed then strange behaviour. When I sent AT commands and wait for a response on the SoftSerial port it misses sometimes characters. Its not reliable anymore. The scanning and detection stops after several minutes.
    How can I use SoftSerial and the 1.4 Mysensors together reliable?

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


    5

    Online

    11.7k

    Users

    11.2k

    Topics

    113.1k

    Posts


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