Search found 51 matches

by c45713
Mon Oct 15, 2018 9:43 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 29253

Re: How to connect with Bluetooth REPL using nRF UART app?

I believe i managed to reproduce your issue. #1. Create one connection using nus_console which works. Terminate the connection using "CTRL+C". #2. Power toggle the device. #3. Reconnect using chrome, connection is established. Now, in my chromium-browser, the input-prompt looks activated, but no cha...
by c45713
Mon Oct 15, 2018 9:13 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 29253

Re: How to connect with Bluetooth REPL using nRF UART app?

Who wrote the entry on micropython github for nrf the port? Who is doing the development? Is it all done by glennrub? Is he the one to ask about this? You are already talking to me (glennrub). When you refer to nrf52832-dk, do you mean pca10040? If so i can provide a hex file that works for me, jus...
by c45713
Sun Oct 14, 2018 8:35 am
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 29253

Re: How to connect with Bluetooth REPL using nRF UART app?

Just to confirm, did you enable the Chrome flag "Experimental Web Platform features" in chrome://flags?
by c45713
Thu Oct 11, 2018 8:48 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 29253

Re: How to connect with Bluetooth REPL using nRF UART app?

I cannot see any error in your bluetooth_conf.h. The device name advertised should be "mpus". Can you see this when scanning for BLE device using a PC or other scanner app? Also, make sure that you also flash the SoftDevice before "make flash", by issuing "make sd", else the app will not run at all....
by c45713
Thu Aug 30, 2018 9:14 pm
Forum: Other Boards
Topic: [nfr52] battery level
Replies: 2
Views: 3038

Re: [nfr52] battery level

I took a look at this. I also get very strange results on the nrf52 when BLE is enabled. My value is reported to be 0x30 = 48% on coincell using the pca10040. I used the following code for testing: from machine import RTCounter, ADC from ubluepy import Service, Characteristic, UUID, Peripheral, cons...
by c45713
Sat Aug 11, 2018 7:41 pm
Forum: Other Boards
Topic: [nrf52]
Replies: 2
Views: 2111

Re: [nrf52]

I'm not sure of your use-case, but if you are thinking of running the SD without LF XTAL, you could try running it with RC. This can be achived by adding the CFLAGS += -DBLUETOOTH_LFCLK_RC in the mpconfigboard.mk For inspiration this is a similar configuration: https://github.com/micropython/micropy...
by c45713
Mon Jul 17, 2017 11:00 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 53066

Re: Porting to Nordic Semiconductor nRF52

Hi Oliver, If i understand you correctly, you are looking for two things, division of integers and floating point numbers. Division of integers are available already now, using the syntax "//". I believe it's called something like floor division or integer division in python3. Let me put up an examp...
by c45713
Fri Jun 30, 2017 10:52 pm
Forum: Programs, Libraries and Tools
Topic: Bluetooth Low Energy (BLE) library
Replies: 11
Views: 17925

Re: bluetooth low energy

I have not noticed this post before now... This is great work! In parallel i have also implemented a quite similar API for nrf5x (nordic semiconductor) using bluepy as base. I can see an opportunity to sync our bluepy derivatives for micropython to make it API compatible in time. This way we could p...
by c45713
Fri Jun 30, 2017 10:17 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 53066

Re: Porting to Nordic Semiconductor nRF52

The code for the PR is hosted at https://github.com/tralamazza/micropython/tree/master

There is a README.md tutorial in the nrf/ folder, which explains how to compile and flash the various targets. Also, to show some basics, some scripts have been added to the nrf/examples.
by c45713
Wed May 10, 2017 8:42 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 53066

Re: Porting to Nordic Semiconductor nRF52

Hi oliverr, It's great to hear that you are playing around with the port! :D I don't suppose anybody could help shed some light on this / point me to where I should be raising this issue? Any advice would be greatly appreciated! Feedback taken! Daniel has opened the "Issue tracker" in the repo ;) We...