nRF5 action!
-
Is the main (only?) advantage of the BMP that you have a single USB connection from your PC to your project instead of two (e.g. J-link plus an FTDI)? Or is there more to it that that?
-
@korttoma said in nRF5 Bluetooth action!:
@nca78 still not getting anywhere with this. Would you mind ziping your sketch folder, then I should have all the correct files (right?). If I still have issues to compile I must be missing some library or are using the wrong version of something.
Sure, but unfortunately I cannot upload a zip file here, please send me your email by private message.
Ok here is a google drive link, it should be easier:
https://drive.google.com/open?id=1IhLIx0nHd5KZR9dJ9qA0-_SMGmjEpbKj@nca78 I have now measured the current consumption of the small bluetooth beacon device (N51822 QFABC0) using your code and the results are encouraging.
With your code I get around 4uA sleep current compared to 800-4000uA with my old code :D
Measurements done with an Micro (nano) ampere meter (double) that has not been calibrated against a reliable meter so do not take the measured values so seriously but more as a comparison.
-
@nca78 I have now measured the current consumption of the small bluetooth beacon device (N51822 QFABC0) using your code and the results are encouraging.
With your code I get around 4uA sleep current compared to 800-4000uA with my old code :D
Measurements done with an Micro (nano) ampere meter (double) that has not been calibrated against a reliable meter so do not take the measured values so seriously but more as a comparison.
@korttoma I was going to ask you for some news. This is great news as it confirms the problem is solved even with older versions of the chip.
Time to start work on a clean library...PS: I think you will have a reliable measurement with a simple multimeter, as the nrf51 by default is using an internal LDO, whether you feed it with 3.3V or (3.3V - burden voltage) in the end the chip will run at the same 1.8V voltage and use the same current. Of course it won't be the case if you have extra sensors on the board but it's not the case here.
-
@korttoma I was going to ask you for some news. This is great news as it confirms the problem is solved even with older versions of the chip.
Time to start work on a clean library...PS: I think you will have a reliable measurement with a simple multimeter, as the nrf51 by default is using an internal LDO, whether you feed it with 3.3V or (3.3V - burden voltage) in the end the chip will run at the same 1.8V voltage and use the same current. Of course it won't be the case if you have extra sensors on the board but it's not the case here.
-
I see a lot of nice assembled PCB's on this forum, and just out of curiosity, but do you guys do your own SMT assembly?
I looked at the PCBA options, but just a small batch of 10 PCB's starts somewhere around $140 excluding components.
It would save me I think a lot of work, but on the other hand it feels expensive...My ebyte modules & STM32 programmers are on there way from AliExpress, so no problem in that area.
-
I see a lot of nice assembled PCB's on this forum, and just out of curiosity, but do you guys do your own SMT assembly?
I looked at the PCBA options, but just a small batch of 10 PCB's starts somewhere around $140 excluding components.
It would save me I think a lot of work, but on the other hand it feels expensive...My ebyte modules & STM32 programmers are on there way from AliExpress, so no problem in that area.
@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. -
@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.@toyman Thanx for that info!
Never worked (yet) with a hot air station/pencil.
Found some reviews here: https://wiki.ezvid.com/best-soldering-stations. Both the Kendal 853D and the Ayyue 968+ are stations I can afford to buy. I assume the cheaper ones ($50) are the ones to avoid...
Looking at some youtube vids about this subject, it seems doable, even for a novice like me ;-)
Of course, any recomendations about hot air stations are appreciated!
-
I see a lot of nice assembled PCB's on this forum, and just out of curiosity, but do you guys do your own SMT assembly?
I looked at the PCBA options, but just a small batch of 10 PCB's starts somewhere around $140 excluding components.
It would save me I think a lot of work, but on the other hand it feels expensive...My ebyte modules & STM32 programmers are on there way from AliExpress, so no problem in that area.
-
140$ it is quite expensive compared with a simple small oven
#192 Aldi Hack: Simplify SMD Soldering with a Cheap Aldi Oven. Nothing else – 06:09
— Andreas Spiess -
Quick question: when programming the eByte module (or any module really):
Should I select "reset enable or not? What does that do exactly?
Should I select clock: "Crystal oscillator" for the eByte module? -
Quick question: when programming the eByte module (or any module really):
Should I select "reset enable or not? What does that do exactly?
Should I select clock: "Crystal oscillator" for the eByte module? -
Quick question: when programming the eByte module (or any module really):
Should I select "reset enable or not? What does that do exactly?
Should I select clock: "Crystal oscillator" for the eByte module? -
Thanks!
I received two new eByte modules. I can't even connect to either one, both with BMP or ST-Link V2. Very strange. I'm going to try not powering them from the USB stick but from a second 3.3v source.
-
Thanks!
I received two new eByte modules. I can't even connect to either one, both with BMP or ST-Link V2. Very strange. I'm going to try not powering them from the USB stick but from a second 3.3v source.
-
@toyman No. I don't understand what's going on, as I was able to flash one succesfully before. I did find [this a bit unnerving].(https://devzone.nordicsemi.com/f/nordic-q-a/19943/nrf52832-unable-to-connect-to-the-target).
Could it be that the EByte chips need the DCDC stuff before they can be connected to? Or that the exact moment on power-on (reset) matters?
One thing I have found is that I had installed OpenOCD on my laptop to turn a ST-Link V2 into a Black Magic Probe. That version of OpenOCD was overruling the hacked version that Sandeep Mistry had created for the NRF5.
But even with that removed, the problem remains this:
"TARGET: nrf52.cpu - Not halted".
Apparently this is a sign that the chips are protected. I was able to remove that protection before (by selecting "Burn Bootloader"), but it doesn't work now.
-
@alowhum said in nRF5 Bluetooth action!:
Could it be that the EByte chips need the DCDC stuff before they can be connected to?
No.
-
@toyman No. I don't understand what's going on, as I was able to flash one succesfully before. I did find [this a bit unnerving].(https://devzone.nordicsemi.com/f/nordic-q-a/19943/nrf52832-unable-to-connect-to-the-target).
Could it be that the EByte chips need the DCDC stuff before they can be connected to? Or that the exact moment on power-on (reset) matters?
One thing I have found is that I had installed OpenOCD on my laptop to turn a ST-Link V2 into a Black Magic Probe. That version of OpenOCD was overruling the hacked version that Sandeep Mistry had created for the NRF5.
But even with that removed, the problem remains this:
"TARGET: nrf52.cpu - Not halted".
Apparently this is a sign that the chips are protected. I was able to remove that protection before (by selecting "Burn Bootloader"), but it doesn't work now.
-
Hey,somehow I cant change the pins on my Ebyte module. Im trying to test with MockMysensors.
I want te TX set to pin nr. P0.06I changed: MyBoardNRF.h and included nrf.h#define PIN_SERIAL_RX (8)
#define PIN_SERIAL_TX (6)but somehow the TX pin stays P0.25.Can someone point me in the right direction?The node connects to the gateway, so thats also working.Seems like that if you put the MyBoardNRF5 files into the example map and you change some things in that file using the Arduino IDE, it doenst get uploaded. When I changed the MyBoardNRF5 file using Brackets it working as intended.