Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. mr_red
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by mr_red

    • RE: nRF5 action!

      @Calvin-Khung Hi Calvin, I read your comments here and on Stackoverflow/exchange. I honestly think that you dont have the right skills to do this. The exploited vulnerability in the blog is quite sofisticated. I think you have to start getting your debugger configured correctly. Your say you have an st-link v2 which lets me to belive you have a cheap chinese clone.
      This clone has not all debugging features included, as you might saw in my posts earlier. You are much better of with a Black magic probe or a J-Link.
      Have you got a halted NRF51 yet?

      posted in My Project
      mr_red
      mr_red
    • RE: πŸ’¬ Light and shock sensor | nRF52840 | MySensors

      Normally the antennas are tuned for "no cutout" but also no GND-Fill. The datasheet gives some info: "... It is necessary to ensure that the antenna is exposed, preferably vertically upward"...avoiud traces underneath the module."
      With the SMD-modules of the nrf24l01 I tried the 3 options: No pcb, with empty pcb and with traces and gndfill (f*ckup on my part).
      Results where: No difference with no PCB or empty PCB, Superbad with traces or GND Fill.
      The PCB-trace antennas are much more effected by traces and cables in the vicinity.

      Some manufactureres even specify detailed the PCB zones. Check the Bluegiga BLE121LR Datasheet Page 23 for some nice graphs and pictures.
      This considerations should also apply to other 2.4ghz antennas (not pcb-antennas). So Maybe a GND PLane with via stiching?

      https://www.silabs.com/documents/public/data-sheets/BLE121LR-DataSheet.pdf

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: nRF5 action!

      @alowhum where did you get stuck? Whats your process?

      posted in My Project
      mr_red
      mr_red
    • RE: nRF5 action!

      @Omemanti Good find about the BMP to recover the Ebyte module. Can you point me to an aliexpress link? "stm32" "bluepill" are not the magic chinese keywords..

      posted in My Project
      mr_red
      mr_red
    • RE: nRF5 action!

      @ileneken3
      It is a struggle indeed. I wanted to stay "low cost" with clone stlink and clone jlink.
      As this is in preparation for a local hackspace workshop the entry level should be as low as possible.
      And I suceeded to get this running for under 10€. (only one Jlink needed to unlock the modules once)

      I am using platform.io and arduino, which use openocd internally. No need for nrfgo or an second programm and take the hex somewhere else.
      Highly recommend platform.io for this! Flashing & Serial output are superfast, nice IDE and my dev-cycle speed up by an order of magnitude.

      Question:
      I am using an second device for USB-Serial convertion to get some print-msg out of the nrf52832.
      Is there any way to do this over the programmer?

      You can define the RX/TX pins in the nrf52832 to the pins you want.
      Hardware Workaround by Neverdie: Connector Board -openhardware.io

      posted in My Project
      mr_red
      mr_red
    • RE: nRF5 action!

      @toyman @Omemanti

      For Documentations sake:
      I was having the same problems of the Ebyte E73 Module of being locked.
      The ST_LinkV2 Clone Firmware are not able to recover the modules as the swd implementation is missing some direct register write capabilities.
      The nfrjprog and nor openocd are working with the ST_LinkV2.

      As suggested in this thread somewhere, I was able to get the modules unlocked with the Jlink clone and nrfjprog.
      see also :
      https://github.com/micooke/arduino-nRF5-smartwatches/blob/master/nrf52_disable_read_protection.txt

      That (pirated) Firmware is working with swd and is able to recover the modules. Had to solve some dll-issues before, but got it working.
      After the recovery with nrfjprog the stlink and the jlink are working as expected with openocd.

      To find out if your wiring etc. is fine and it is really the locked devices you get this when starting your openocd interface.
      The voltage is fine but the breakpoints are recognized.

      Info : STLINK v2 JTAG v17 API v2 SWIM v4 VID 0x0483 PID 0x3748
      Info : using stlink api v2
      Info : Target voltage: 3.241270
      Info : nrf52.cpu: hardware has 0 breakpoints, 2 watchpoints
      Error: timed out while waiting for target halted
      TARGET: nrf52.cpu - Not halted
      

      It should be

      Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
      
      posted in My Project
      mr_red
      mr_red
    • RE: πŸ’¬ IDC 10-pin ARM debug adapter

      Hi Neverdie, I am following you progress with the e-byte nrf52832 modules closely. Very nice work!
      Following a problem I still have I wanted to ask you how you specify the TX-RX?
      I am working with the board libary with platform.io and arduino code. Which internally is using arduino-nrf5 from sandeepmistry.

      Did you just change the variant.h?
      https://github.com/sandeepmistry/arduino-nRF5/blob/master/variants/Generic/variant.h

      Appreciate your help!
      Thanks!

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: Bosch BME680 Sensor

      I am dealing with these types of sensors on a professional level so, I thought I could add to your experiments.
      As mentioned above these sensors are very sensitive to organic compounds, which get emitted by silicon bases materials.

      This can go as far as tainting the sensors completely and rendering them useless. I remember a oversized project to qualify new glues for the whole production, after having to scrap 5k+ sensors because of tainting. They said the sensors where β€œpoisoned” 😊

      A standard approach is to get rid of some residual compounds is to heat the sensor to a higher temperature to get rid of these compounds, then lowering the temp. to get a reading.

      This is all not low power application but I guess BOSCH is going this approach. The reason why you get different resistive values after you experimented with preheat phase times, seems to me as a typical finding after a longer heating phases, which β€œcleaned” the sensor.
      The reason why you get higher values with longer preheat times is weird though. Maybe they use the known thermal mass of the sensor to estimate the die temperature from the heating time with known power. But this would be a very crude approach, but would explain your results. The longer the preheat phase, the hotter the senor, changing your results.

      posted in My Project
      mr_red
      mr_red
    • RE: πŸ’¬ MDMSAccessory "Programming"

      that is a nice edge connector. Where did you find them? I have a hard time finding a cheap source..

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: πŸ’¬ MySensors D1 mini

      Did you have any concerns about the reception? My first test with components on the other side of the nrf-smd module where not that good.
      Yours works as did mine but how is the "reception"? Do you get a lot of failed acks?

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: πŸ’¬ RW-01 In Wall Wi-Fi Relay Board (2 Channel)

      That what the community is for. There are so many good discussions about AC-Mains safety issues and there is a lot of dipute about what is necessary and what not but it will guide you to your own conclusion. As long as you are building and sharing its great!

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: πŸ’¬ RW-01 In Wall Wi-Fi Relay Board (2 Channel)

      Retraction of the Button here ist better but consider the Pin 2 of the relay is also Mains. You need more separation
      If you want to learn something about safety with mains cuircuits read this (very long but informative) thread:

      https://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers

      Or these for projects doing something simular:
      https://www.openhardware.io/view/114/In-Wall-ACDC-Pcb-with-Relay-for-MySensors-SMD

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: πŸ’¬ Serial Relay Board (RS-12)

      Hi,
      If you are planning to switch mains voltage with your relays you need to also retracht the buttom cooper. You separation looks WAY to small. Like the daisy-chainabillity (sic)!

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: πŸ’¬ RFM69 Multisensor Node (CR123)

      Thanks for the nice rundown! I will try that.
      Yes the mechanical integration is my problem. I have quite a tight case to fit a sensornode with some other parts and I am actually routing parts so I have a nice flat area on the baord
      I also need to feed in my own CAD for some oddball parts.

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: πŸ’¬ RFM69 Multisensor Node (CR123)

      yeah πŸ™‚ alt+3 is one off my favorites. But for example the rfm69W module and the battery holder 3D wrl-file are hand mande. I guess. Do you have a lean toolchain for this? I found so may multi-programm toolpath..

      posted in OpenHardware.io
      mr_red
      mr_red
    • RE: πŸ’¬ RFM69 Multisensor Node (CR123)

      That is one sexy board! I am humbled by the 3d kicad outputs... My question is how did you make the 3d-files? Do u have any good explanation for getting these done? I found nothing really recent..

      posted in OpenHardware.io
      mr_red
      mr_red