-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where can I find info on uploading new firmware? #1
Comments
Are you talking about the round module of the square box? Anyway, the one you found is pretty much the one I am using. First of all, you need a JLink debugger. I am using a JLink edu that costs around 20€. After that, you somehow need to break out the single-wire-connection. To attach to the debug and voltage pins on the round board I am just using crocodile clips. Just comment here once you got everything together. |
Hi @dakhnod . Is there a reason Jlink is specified? Would something like the below work instead? In my country these are a lot more readily available and don't have to pay over 40EUR postage.
|
@digitaltrousers I have no experience with any other boards. After all, the nRF51 just speaks SWD, so you should have options. |
@dakhnod - it'll take me a bit to get the JLink - I'll check back here when I've got it. Unless @digitaltrousers has luck with the picoprobe approach first :) |
@bdruth Firmware working very well so far. Now to see how long the battery will last. |
does anyone have a picture with the pin outs? i just got my in Round Beacons from aliexpress im still waiting on the the little vibro-motors EDIT |
There should be two pairs of contact points on the board. One pair is for power, the one close to the battery soldier point is 3v. The other pair (very close to the nrf51 ic) is swd, you need to trial and error those. |
Thank you, i was too afraid to break it. Im trying to understand how did you attach the vibrator motor, because i dont see anything hehe, i might be blind or too stupid :) |
Not sure what vibration motor you are talking about. I am using a vibration sensor, attached at the same contacts as the button. |
Oh, right, you're missing the 32khz crystal |
oh man, thats not good is it? |
It's okay, you just need to adjust the board config to use the internal Oszillator. Search for LFSRC or something similar in the board configs and you should be able to find reference. That will lead to a slightly higher power consumption, but nothing too worrying. |
Thank you kind sir :) |
I have the exact same board as @0xsyit , and just to confirm (this is my first nRF project) the low freq source should be changed in the sdk_config.h, |
@biemster congratz to starting your first nRF project! I was struggling a lot with the whole setup back in the day, and it still poses quite a challenge every now and then. You should set the proper value for NRF_CLOCK_LFCLKSRC. Since you don't have a crystal, you need this configuration, which uses the internal RC circuit instead of an external XTAL. |
Thanks @dakhnod , that's clear instruction. EDIT: also the EDIT2: it works now! softdevice s130 v2 has an |
@bdruth, if you're still wondering about flashing using the Pi Pico, it worked fine for me, although I had to slow it down from the default 1MHz. I just took a zero off the line: |
If you have a suitable debugger I would highly advise you to get RTT to work to read the debug output of my code. |
@dakhnod how is it possible to get the battery status in OpenHaystack app? |
@jrusi no idea. Also, I don't think my app is really compatible with OoenHaystack, since they use different key derivation mechanisms. |
A bit late to the party, but @dakhnod could you point to what vibration sensor you were using on your project? I have no idea of what kind of sensor could be used along with the small battery the beacon has. Thanks |
@rkreutz it was an sw-18020 or something. Incredibly simple, reliable and 0 idle current. |
That's helpful thanks. And you mentioned you just attached it to the button, did you actually solder it or just put it on contact with the button's terminals? |
Soldered it. I don't see a reliable way of connecting it otherwise. |
I love the compact NRF51822 "beacon" module that you're using in your picture - where can I find info on setting these up to write new firmware? Hopefully something step-by-step on where to solder connections, etc.? Thanks!
p.s. this is the one I found on ali
The text was updated successfully, but these errors were encountered: