Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:32 28 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Bluetooth for Pico W

Author Message
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 722
Posted: 08:48pm 23 Jun 2023
Copy link to clipboard 
Print this post

https://www.raspberrypi.com/news/new-functionality-bluetooth-for-pico-w/




Now, with the release of version 1.5.1 of the C SDK, and the latest MicroPython build, your existing Pico W has gained the ability to communicate with Bluetooth and Bluetooth LE devices.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 09:00pm 23 Jun 2023
Copy link to clipboard 
Print this post

... if you write the firmware to handle it.

Finished it for you. :)  Having it available in the SDK doesn't mean that it's practicable to include it.

It was announced in February for C programming, IIRC, but hasn't been supported in Python until fairly recently.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3804
Posted: 10:18pm 23 Jun 2023
Copy link to clipboard 
Print this post

  atmega8 said  https://www.raspberrypi.com/news/new-functionality-bluetooth-for-pico-w/

Now, with the release of version 1.5.1 of the C SDK, and the latest MicroPython build, your existing Pico W has gained the ability to communicate with Bluetooth and Bluetooth LE devices.

As already posted, it's not really new news, but a critical issue is what's the RAM footprint?

John
 
aFox
Regular Member

Joined: 28/02/2023
Location: Germany
Posts: 76
Posted: 08:55am 24 Jun 2023
Copy link to clipboard 
Print this post

From  

Arduino-Pico Documentation
Release 3.3.0
Earle F. Philhower, III
Jun 20, 2023


23.1 Enabling Bluetooth
To enable Bluetooth (BT), use the Tools->IP/Bluetooth Stack menu. It requires around 80KB of flash and 20KB of RAM when enabled.
Both Bluetooth Classic and BluetoothBLE are enabled in btstack_config.h.


Gregor
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 09:20am 24 Jun 2023
Copy link to clipboard 
Print this post

All RAM on the PicoMite is already allocated AFAIK. matherp will no doubt correct me on this if I'm wrong, but to get BT I suspect that you'd probably lose another flash slot and over 20kB of user RAM because RAM allocation may not be splittable where you expect it to be. I can't speak for others, but I'd consider that too much of a loss when it's so easy to add a separate BT module.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
aFox
Regular Member

Joined: 28/02/2023
Location: Germany
Posts: 76
Posted: 07:51pm 25 Jun 2023
Copy link to clipboard 
Print this post

A BlueMite version could be possible.

As I said before, it seems that you have to use a LINUX IDE to successfully compile the bluetooth stack.

I tried by Windows and I failed with the simplest examples.

Gregor
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024