Navigation

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

    Posts made by Toyman

    • RE: GUIDE - NRF5 / NRF51 / NRF52 for beginners

      @sancho119 said in GUIDE - NRF5 / NRF51 / NRF52 for beginners:

      Hello,

      Some news !
      i buy a Jlink, and success in erase my nrf52832 with nrf prog, using method of berkseo.

      Next i try to upload a basic sketch (blink) :

      #define MY_RADIO_NRF5_ESB
      #include <nrf.h>
      #include <MySensors.h>

      void setup() {
      Serial.begin(9600);
      hwPinMode(LED_BUILTIN,OUTPUT_H0H1);
      }

      void loop() {
      digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
      delay(1000); // wait for a second
      digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
      delay(1000); // wait for a second
      }

      I have this :

      Open On-Chip Debugger 0.10.0-dev-00254-g696fc0a (2016-04-10-10:13)
      Licensed under GNU GPL v2
      For bug reports, read
      http://openocd.org/doc/doxygen/bugs.html
      debug_level: 2
      0
      adapter speed: 10000 kHz
      cortex_m reset_config sysresetreq
      Info : No device selected, using first device.
      Info : J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
      Info : Hardware version: 7.00
      Info : VTarget = 3.300 V
      Info : clock speed 10000 kHz
      Info : SWD IDCODE 0x2ba01477
      Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
      nrf52.cpu: target state: halted
      target halted due to debug-request, current mode: Thread
      xPSR: 0x01000000 pc: 0x0000051c msp: 0x20010000
      ** Programming Started **
      auto erase enabled
      Warn : Unknown device (HWID 0x00000139)
      Warn : not enough working area available(requested 32)
      Warn : no working area available, falling back to slow memory writes
      wrote 12288 bytes from file C:\Users\Sancho\AppData\Local\Temp\arduino_build_76789/NRF5_blink_led8.ino.hex in 4.155332s (2.888 KiB/s)
      ** Programming Finished **
      ** Verify Started **
      Warn : not enough working area available(requested 52)
      verified 10812 bytes in 0.165932s (63.632 KiB/s)
      ** Verified OK **
      ** Resetting Target **
      shutdown command invoked

      I think its good, but when i put a led with a resistance on P0.08, nothing 😞

      could you help me more ?

      LED_BUILTIN corresponds to po17

      posted in Development
      Toyman
      Toyman
    • RE: 💬 MySensors NRF5 Platform

      I thought I mastered nrf5 platform bit it looks I am not.
      I have a PCB where i2c sensor is hardwired to po30 and po31 of nrf52832.
      What changes I have to make in MyBoardNRF5.cpp?
      Shall I bring lines 28/29 that have "A4" and "A5" in their desciption to 30th and 31st position in the list?

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

      @ileneken3 have you returned the jumpers back?

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

      @omemanti said in [nRF5 action!]Maybe that's the €3 solution for unlocking.

      BMP is enough to unlock. BluePill costs ca. €2 and it's easily convertable to BMP

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

      @mr_red said in nRF5 action!:

      Is there any way to do this over the programmer?

      Not in Arduino. In KEIL you can use RTT (pretty cool stuff, debug via SWD)
      But if you just want to decrease a number of programmers, you can use Black Magic Probe, made from BluePill ($2 at Ali). It is 2-in-1 SWD and USB-UART converter on one PCB

      posted in My Project
      Toyman
      Toyman
    • RE: 💬 nRF52832 ESP-LINK Shield for ESP8266 Wemos D1 Mini

      Can you pls. upload the design files?

      posted in OpenHardware.io
      Toyman
      Toyman
    • RE: my first nrf5 ... NRF51/NRF52 which is better for MySensors ?

      @rozpruwacz said in my first nrf5 ... NRF51/NRF52 which is better for MySensors ?:

      So smd modules are no good for me

      If so, your only choice is nrf52DK. Solid investment given you get jlink programmer with it

      posted in Hardware
      Toyman
      Toyman
    • RE: my first nrf5 ... NRF51/NRF52 which is better for MySensors ?

      how do you guys solder nrf52840 modules without reflow oven?
      they have many pads at the bottom

      posted in Hardware
      Toyman
      Toyman
    • RE: my first nrf5 ... NRF51/NRF52 which is better for MySensors ?

      @hugob said in my first nrf5 ... NRF51/NRF52 which is better for MySensors ?:

      • The programmer on the Arduino IDE is not working for me ("No J-Link" error, while there is a J-Link interface available), so I export a HEX fle form Arduino IDE and program the board with the nRFConnect tool from Nordic.

      if read sandeep's notes on Githun, you'll find you have to replace the driver with Zaddig but then Jlink will stop functioning in Keil.
      That's why I use BMP for Arduino-style programming as it has its own drivers and do not ruin jlink installation

      posted in Hardware
      Toyman
      Toyman
    • RE: my first nrf5 ... NRF51/NRF52 which is better for MySensors ?

      @rozpruwacz I would strongly encourage you do start with nrf52832 ebyte mosule coupled with Nevrdie's breakout board. It is a) proven b) cheap c) breadboard friendly

      posted in Hardware
      Toyman
      Toyman
    • RE: nRF5 action!

      @omemanti that's strange, I use the methos regularly and it worls fine.
      Oh! Actually, sandeep's installation messes up Jlink drivers so they require reinstall for the method to work.
      That's why I am using arduino nrf5 with BMP to completely separate Arduino from Jlink

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

      @omemanti actually, all you need is to issue the following command:
      nrfjprog.exe --recover

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

      @speechsupply this thread is golden. I was so empowered that was able to easily switch to nRF SDK and to start producing (semi) commercial BLE-ANT device

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

      @neverdie I am afraid it still relies on Softdevice

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

      @neverdie what are potential advantages of micropython?

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

      @neverdie I've setup the bootloader for my BT project and I confirm its much easier than it looks.
      Can it be used for MySensors? For BT, I create a hex file in Keil and then upload it via nrftoolbox app.
      Can the same procedure be used with MySensors? OTA needs Softdevice and Softdevice is not compatible with MySensors

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

      Guys, remind me pls: is CR2450 enough for the nrf52 Ebyte module acting as a Mysensors node?
      Is it capable to handle tx current spikes?
      Energizer datasheet states 9ma as max curent pulse. Is it sufficient?

      posted in My Project
      Toyman
      Toyman
    • RE: SMD Reflow Oven / PID

      @nca78 said in SMD Reflow Oven / PID:

      small 10*10cm hotplate

      interesting. Do you use an ordinary kitchen hotplate?

      posted in My Project
      Toyman
      Toyman
    • RE: SMD Reflow Oven / PID

      @neverdie c'mon, you don't need any special syringe. Ordinary BD will do
      Regarding the motor operated one, I actually printed out a full set of 3d parts for the motor oerated syringe but never assembled as there is no need.
      If I ever decide to automate the process, I'll make an air driven station with 2 valves. Mechanic solder syringes are supposed to be used with this type of dispensers.

      posted in My Project
      Toyman
      Toyman
    • RE: SMD Reflow Oven / PID

      @neverdie yes, although I use the one in small cans and reload small amount into 1 ml syringe (with proper gauge needle!)

      https://www.aliexpress.com/item/Original-Low-temperature-soldering-Paste-Flux-MECHANIC-B80-60g-Solder-tin-paste-Sn42-Bi58-For-Hakko/32878574326.html?spm=2114.search0204.3.1.51224cc6X3Qstz&s=p&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10151_10065_10344_10068_5722815_10342_10343_10340_5722915_10341_10543_5722615_10696_10084_10083_10618_10307_10301_5722715_10059_100031_10103_10624_10623_10622_5722515_10621_10620,searchweb201603_55,ppcSwitch_5_ppcChannel&priceBeautifyAB=0

      This bottle contains all the needles conviniently cut

      https://www.aliexpress.com/item/50ml-Empty-E-liquid-Plastic-Rosin-Flux-Alcohol-Bottle-For-Dispenser-Rosin-Solder-Flux-Paste-11/32810052820.html?spm=2114.search0204.3.14.37687b2184NHbx&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10151_10065_10344_10068_5722815_10342_10343_10340_5722915_10341_10543_5722615_10696_10084_10083_10618_10307_10301_5722715_10059_100031_10103_10624_10623_10622_5722515_10621_10620-10620,searchweb201603_55,ppcSwitch_5_ppcChannel&algo_expid=47557fe8-25e4-4763-96f0-5831fc4e628f-1&algo_pvid=47557fe8-25e4-4763-96f0-5831fc4e628f&priceBeautifyAB=0

      posted in My Project
      Toyman
      Toyman
    • RE: SMD Reflow Oven / PID

      @neverdie
      two hypothesis:
      a) old paste
      b) wrong needle gauge

      I use Mechanic XG paste, works perfect

      posted in My Project
      Toyman
      Toyman
    • RE: SMD Reflow Oven / PID

      @neverdie said in nRF5 action!:

      I didn't have good enough technique dispensing manually directly from a solder paste syringe,

      what did you have issues with?

      posted in My Project
      Toyman
      Toyman
    • RE: SMD Reflow Oven / PID

      @mars-warrior said in nRF5 action!:

      In the mean time I learned how a PID controller

      Thanks!
      I have to admit I've acquired pretty decent understanding of PID while working on my sous-vide machine 🙂

      posted in My Project
      Toyman
      Toyman
    • RE: SMD Reflow Oven / PID

      @mars-warrior said in nRF5 action!:

      OSPId reflow controller

      where did you get it?

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

      Very nice indeed. I thought ground plains improve the range

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

      @scalz actually, it might be ideal as a REPEATER given the form-factor. You just insertt it into any cheap USB charger and voila.

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

      @scalz said in nRF5 action!:

      pretty sure these are the programming pads

      they are even "labeled" on the x-ray picture below

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

      @neverdie ...and some nifty soldering skills in order to connect to SWDIO/SWDCLK pads

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

      @alowhum my understaning, it should work out of the box

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

      @neverdie https://www.aliexpress.com/store/product/Nordic-nRF52832-BLE-4-0-4-2-5-0-USB-UART-BLE-dongle-for-computer/420533_32862480389.html

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

      @nca78 Got it. So it's kinda Arduino Nano, but nrf52-based.

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

      @nca78 I don't recognize any LDO on the PCB while it has USB power supply. How is 5V converted to 3.3v?

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

      another method (although I haven't tried it with Ebyte) is to use BMP with GDB and issue a "erase mass" command

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

      @alowhum I intentionally asked you because I know the problem exists.
      You need to erase the chip via Jlink Commander. Neither nrfjprog nor anything alse will work (AFAIK)
      Actually, it was @NeverDie who found it in the beginning of his quest with nrf52. "The thing that started it all" (c)

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

      @alowhum did you manage to flash them?

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

      @gohan I am not telling you to buy this. Just a direction.
      I've created a PID sous vide machine. It's relatively easy project. SMD oven is absolutely the same. All you need is Arduino, thermoprobe and a relay.

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

      @mars-warrior

      something like this:

      https://store.reflowster.com/products/reflowster

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

      @mars-warrior it depends on quantities of both PCBs and components on the PCBs.
      If you have lets say 10 pcbs with 20 components and potentially will have to do it again, the best bet is get a small oven (kitchen type) with PID regulator.
      If you just need 2-3 pcbs with 5-6 componets, hot air gun is your choice.
      In my current project, I solder ebyte module by hand (very easy) and then LED, resisttors and capacitors with hot air and solder paste.
      Looks pretty neat.

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

      @nca78 BTW, HolyIoT makes a similar beacon but nrf52 based. Should be much more energy efficient. The price is about $7

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

      @neverdie for us - yes. For other folks, I think the advantage is the number of targets it supports and the license. Equivalent Segger costs hundreds of $
      BTW, Sandeep added BMP support into his core after I raised the issue 🙂

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

      @nca78 I used exactly this guide. Works like a charm.

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

      @alowhum just buy a real Blue Pill (around $2) and convert it into BMP.
      Then you''ll get both a programmer and an USB-serial that you can use to get data from NRF52 UART

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

      @neverdie I was thinking about that, but that's not gonna work. Why? The bootloader that accepts OTA has a private key. The key in the software should match the key.

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

      Just curious design consideration, based on my question to Nordic:

      https://devzone.nordicsemi.com/f/nordic-q-a/33448/led-power

      LED consumption will not exceed 0.5ma if the pin is configured as s0s1

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

      @neverdie AFAIK, they are all heavily glued to meet IPX67

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

      @neverdie read Issues section in Mark Cooks's repo referenced above. He's just committed a PR to support the display.
      I need nrf52 to able to use Central role in my projects. For Mysensors nrf51 is pretty adequate if someone wants to create something like a wearable weather station 🙂
      Everything is in place.

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

      https://github.com/micooke/arduino-nRF5-smartwatches

      Mark is a fantastic guy

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

      @alowhum there is a whole "movement" of people who are trying to reprogram them. Key issue is openability (how hard is to open it)
      The last easily openable watches are based on nrf51822, but the good thing is that programming pins are easily accesable and even marked SWD/SCLCK.
      Search Ali for ID107HR and google for "roger clark smartwatch"
      I am yet to find a watch that would be both nrf52 based AND easily openable

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

      @gohan said in nRF5 Bluetooth action!:

      The ST-Link V2 I found it on digikey and similar sites for around 18/19€, is it the right one?

      Don't do that. Either buy $2 clones or invest into DK or:
      https://www.adafruit.com/product/3571

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

      @gohan you mean programmer? Nothing beats DK with jlink.
      Other options: jlink EDU, DIY BlackMagicProbe or STLink

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

      Just to close the loop on DC-DC:

      http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fpower.html&anchor=concept

      Figure 2

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

      @neverdie thx. Why don't you have a capacitor between DEC4 to GND? I can see only 2 inductors, while Nordic power guidelines prescribe an LC filter between DCC and DEC, ie inductors and a capacitor. nrf52dk also has it.

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

      ebyte module is currently on sale at roughly $2.5
      Total bargain!

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

      @neverdie thx. What is needed hardware-wise? Two inductors between dc and dec4? Like in your breakout board?

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

      Guys, help me understand: when do I need to enable DC-DC?
      My breakout board consists of Ebyte module and a couple of buttons. Battery is CR2450 directly connected to the module.
      Do I need DC-DC?

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

      @nca78 said in nRF5 Bluetooth action!:

      @toyman said in nRF5 Bluetooth action!:

      Yesterday, I 've got a mailing from my components' supplier featuring new type of cells, Li-MnO2. The cell has all the features needed for nRF5:

      • 1200mah capacity
      • 1.8-3.0v range
      • low cost (ca. $3)
      • 41,0 x 24,5 x 5,2 dimensions and, importantly
      • up to 120mah peak discharge current.

      The link to manufacturer:
      http://www.fanso-battery.com/Ultra-thin-Li-MnO2-battery-CP502440-3V1200mAh-pd1905.html

      Mhmhmh, a disposable battery that you have to solder I can't see it as a good idea for a node...

      well, 1200mah will last AT LEAST for a year (two in real life). I have no issues resoldering 2 joints once a year, given it gives AAA capacity in a much smaller package

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

      Yesterday, I 've got a mailing from my components' supplier featuring new type of cells, Li-MnO2. The cell has all the features needed for nRF5:

      • 1200mah capacity
      • 1.8-3.0v range
      • low cost (ca. $3)
      • 41,0 x 24,5 x 5,2 dimensions and, importantly
      • up to 120mah peak discharge current.

      The link to manufacturer:
      http://www.fanso-battery.com/Ultra-thin-Li-MnO2-battery-CP502440-3V1200mAh-pd1905.html

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

      Where can i get a Kicad component for Ebyte nrf52832?

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

      @korttoma thx. Do they have a CR2032 slot? Sorry, it's not clear from the pictures

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

      @korttoma do you have an Aliexpress link to them?

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

      @nca78 do you move your fantastic Nmodules to nrf5 platform?

      posted in My Project
      Toyman
      Toyman
    • RE: 💬 NModule DC Fan / PWM shield

      Can the FET withstand continious 2A load? I have one meter long 5050 strip

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

      @nca78 "At first I was afraid, I was petrified" :-), but then I relialized that if "recepting" pads are long enough even plain soldering iron will do.
      The solder will just flow under the module provided module pads are pretinned Ias you recommended)

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

      @neverdie frankly, I would revive CR2450 idea. 620mah vs 200mah is HUGE difference

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

      @neverdie said in nRF5 Bluetooth action!:

      else go square

      if you ask me, go this way given the BT module itself is already beyond the circular footprint

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

      @d00616 everything is working EXCEPT relay control.
      So the node is recognized in Domoticz, I can switch it on and off, but the relay just doesn't switch on permanently when I send HIGH to the pin. It switches on and almost immediately off.

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

      The schematic is given. I just don't understand why it worked with BLE core and why it doesn't with d0016's.
      I always thought Mysensors is an extension of vanilla nrf5 arduino core.

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

      Need your help, guys. I am trying to reprogram a smart socket based on nrf51 module. The schematic is:
      alt text
      I successfully did it using conventional BT Arduino core (Sandeep's) and I was able to switch the relay on/off.
      However, when I tried to use Mysensors ESB5 implementation, the relay just switches On briefly and then immediately Off.
      I believe this is because the pin doesn't supply enough current for the transistor to saturate (3.3v/1k=3.3ma).
      Questions:
      a ) shall I use hwPinMode(PIN, OUTPUT_S0H1)? if yes,
      b ) why in non-MySensors sketch a simple pinMode(PIN, OUTPUT) worked?
      Does MuSensors implementation overrides Sandeep's definitions so the pin supplies less current?

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

      I would stick with cortex 10-pin connector. Mostly because it's (a) standard (b) a cable can be made without soldering by using IDC connectors and a ribbon cable.
      The only downside is height.
      Using USB connector for sometging that's not USB is generally a bad idea as it's not foolproof

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

      @d00616 have you looked at https://mynewt.apache.org/?

      posted in My Project
      Toyman
      Toyman
    • RE: 💬 Multi-Sensor: Temp/Humidity/PIR/ Leak/Magnet/Light/Accel

      Is v7 already for CR2477? BOM still mentions CR2032

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

      @NeverDie I haven't ordered yet. Waiting for my paycheck.

      posted in My Project
      Toyman
      Toyman
    • RE: 💬 NModule

      Guys, pls. have in mind that Ebyte short NON pa+lna module uses pa+lna pinout.
      Took me some time to figure it out

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

      @NeverDie it looks like we found an ideal gateway.
      What about the code they provide to activate PA+LNA?
      Can it be used in mysensors?

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

      Guys, your best bet is to reflash STM32 Bluepill into BlackMagicProbe.
      It's awesome!
      https://medium.com/@paramaggarwal/converting-an-stm32f103-board-to-a-black-magic-probe-c013cf2cc38c

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

      http://blog.nordicsemi.com/getconnected/power-consumption-explained?utm_campaign=Blog update notifications&utm_source=hs_email&utm_medium=email&utm_content=57717514&hsenc=p2ANqtz-9HxcPCGqL9z_8UZBj38TZu8vg-vE-JmEgmzOlt-uiiGj32PO4Vm0brgVaCxtEly5tGV5aioj1vJezIbGK-xZVXV6zxQ&_hsmi=57717514

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

      @Nca78 Arrow ships free to Russia, but only to companies, not to direct consumers this is linked to the fact they use couriers (DHL/Fedex) and not vanilla USPS.
      Have a look at www.shipito.com, it's not the one I am currently using, but Shipito works with the whole world. Pricing might be a bit steep, but I haven't looked at it for a long time.

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

      @NeverDie said in nRF5 Bluetooth action!:

      It's too bad Fanstel's shipping rates outside the US are high

      No issue for me as I am a using a mail forwarder(s) and I can highly recommend them to others. Bringing nrf52Dk from Arrow to Russia costed me $10 (inter-US shipping is free at Arrow).
      I am considering switching to Fanstel modules completely, especially to their PA+LNA ones

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

      @NeverDie Are you talking about MYS or in general? Because, currently there are two completely different approaches to nrf-arduino. One is based on softdevice (or in broader terms, on SDK) while another works direcly with hardware.
      For MYS, our only hope is d00616, if he doesn't do it, chances somebody will apapt 52840 to MYS are negligible.
      Frankly, MYS don't need it, but that's just my opinion.

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

      @NeverDie Sorry, I meant "BLE implementation without Softdevice"

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

      @d00616 said in nRF5 Bluetooth action!:

      when an Arduino port supporting Sketches without SoftDevices is availableI

      I doubt it will ever happen as all 3 major nrf5 arduino implementations all rely on Softdevice (Primo, Adafruit and Sandeep)

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

      @NeverDie they even provide a piece of code to properly activate it

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

      @NeverDie the main issue it's "65 commits behind master" so it's outdated in all areas except 840
      Theoretical path is to make a fork of current sandeep's branch and then merge the changes from the repository you found. But given the above, it won't be easy.

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

      @NeverDie said in nRF5 Bluetooth action!:

      Their pinout on the 832's does not appear to be as complete as the Ebyte module, so if DCDC is not already on the module, it might be impossible to add after-the-fact.

      https://static1.squarespace.com/static/561459a2e4b0b39f5cefa12e/t/59a5a0bbbe42d6d26bd82969/1504026813812/BlueNor_BT840F_datasheets.pdf

      Page 13,
      pin F5

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

      @NeverDie exactly! On top, they have very extensive datasheet with all the results

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

      @NeverDie actually, I am suprised that many of these modules are available and at the prices lower than Ali.
      For example:
      http://www.fanstel.com/buy/bt832xe
      They claim "BT832XE is the longest range Bluetooth 5 module, 1350 meters between 2 BT832XE with used with ANT060 antenna."
      $23, shipped within US
      Not bad, ah?

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

      @NeverDie I believe, buying non-Chinese modules in retail is virtually impossible, but Xuntong, Skylab and Raytaq are available at Ali.
      For me, the list is more like "quality assurance"

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

      Guys,

      Have you seen this?

      Note, that our beloved ebyte is not there, but PTR9618PA is

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

      @d00616 said in nRF5 Bluetooth action!:

      Yes. Give the event register as parameter.

      so, if I have an intterupt atached to pin 1, what shall i put into ISR?
      NRF_RESET_EVENT....;
      Sorry for dumb questions, this is completely new to me.

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

      @NeverDie should it be placed just before hwSleep()?

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

      @NeverDie do you use hwSleep() instead of sleep()?

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

      @d00616 thx. How do I use the macro? Just put in ISR?
      Regarding the bug: if read the docs correctly, all nrf51 have the bug 😞

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

      @NeverDie wait, d00616 code is basically an extension of Sandeep's. The Sandeep's code (should) supports 8 interupts for nrf52 and 4 - for nrf51.
      At least, that's what I conclude from here
      Assuming it works, the next question is: can I put just ANY pin into attachinterrupt() function or not?

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

      What's the proper way to deal with interrupts on nrf?
      Many white areas:

      • shall I use "smartsleep()" instead of usual arduino way of attaching interrupts? is it enough?
      • what pins have hardware interrupts? any?
      • what about the macro mentioned in d00016 readme?
      • how to overcome nrf51 bug of 1ma power consumption (code-wise)? Otherwise I see no reason buying nrf51 modules if they consume 1ma while sleeping

      I thoroughly read al the docs before asking!

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

      @d00616 not supported by 52810

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

      @Nca78 cool, thx

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

      @d00616 absolutely excellent summary, thank you.We definitelly needed some kind of "what do we know so far"
      Is it confirmed that the range and power consumption are on par with 328+24L01 combo? I don't mean any "scientific" proof, but something like "I have placed nrf52 node at the same location in my house as nrf24 node and had no issues"
      I am awaiting components to make "u-current meter" and test current consumption by myself

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

      @NeverDie said in nRF5 Bluetooth action!:

      you can buy it on a breakout for around $2.50

      do you have an example? The lowest I can find is ca. $4 (incl.S&H).
      Don't get me wrong, $4 is more then adequate for 328+24L01 replacement, but $2.5 is even better :-)))

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

      What about "long-range" iBeacons like Skylab or RedBear ones? Do they have some kind of PA or their "long-range" is just a marketing gimmick?

      posted in My Project
      Toyman
      Toyman