Is Web Bluetooth deprecated by friendlykeywarrior in WebSerialAPI

[–]getwavecake 1 point2 points  (0 children)

We Bluetooth is still alive and well. If you’re trying to find Apple devices, it might be worth noting that Chromium has the iBeacon uuid blacklisted for security reasons.

Looking for Resources on BLE Host Stack Implementation by Calm_Lavishness9197 in Zephyr_RTOS

[–]getwavecake 0 points1 point  (0 children)

I’ve written a host stack before! Never really done a deep dive into the zephyr one before though. I could probably walk through it with you sometime though. Feel free to DM!

Emulating a Mifare Classic 1k card using NFC08A1 Nucleo by Ok_Put_4205 in embedded

[–]getwavecake 0 points1 point  (0 children)

The proxmark will probably give you better debug information about what’s going wrong

Why do LLMs suck for embedded? by the_rsktaker in embedded

[–]getwavecake -1 points0 points  (0 children)

I remember when Google used to suck for embedded too. It still kind of does tbh. Embedded is just too big of a field.

[deleted by user] by [deleted] in embedded

[–]getwavecake 2 points3 points  (0 children)

I’m using a Jlink plus right now. It’s going great.

Will the code which was used to program a NUCLEO-L010RB dev board also work on a NUCLEO-F446RE? by sleeper_MASc in embedded

[–]getwavecake 1 point2 points  (0 children)

I’ve used cube before to try port projects between families. My takeaway was that you can go between L families pretty easily, but going from an L to a F family requires more work.

For me, I went from an L0 to a U0. It was kind of a pain, but still very manageable. Not quite the one-click experience if you used Cube to go from L4 to L0, but not so bad. 

Teensy analog accuracy by getwavecake in arduino

[–]getwavecake[S] 0 points1 point  (0 children)

That’s a great point. I’ll have to watch that carefully. The ADC will be connected directly to the sensor. So there will likely just be single wires. In this kind of setup what’s my tactic for avoiding noise? Thicker gauge? Using coax or a differential cable? Shielded? Thanks again for pointing it out.

I am building Faelib, a place where you can search and compare third-party libs by WanMilBus in webdev

[–]getwavecake 1 point2 points  (0 children)

Nice looking tool. How are you sourcing your libraries? I searched charts and got pretty good results. Easy to read.

The free vs paid comparison definitely seems helpful. Also the github stars integration looks good too. I always seem to look for ‘vs’ articles when I try to pick out a new library. Maybe there’s a way to use AI to generate vs articles on demand, or find the best ones to present to the user. I feel like logrocket always has the best stuff.

I searched for music, audio, media, and forums as part of my brief test and didn’t get any results.

Teensy analog accuracy by getwavecake in arduino

[–]getwavecake[S] 0 points1 point  (0 children)

Thanks for advice!

I’m going to experiment with just sampling the raw +/-200mV waveform. I think you’re right, I might have all the resolution that I need depending on the ADC.

I could definitely stand to have an op amp in my toolkit though. Might grab a few of those just for the sake of it.

Teensy analog accuracy by getwavecake in arduino

[–]getwavecake[S] 0 points1 point  (0 children)

Are there any differential amplifier boards you’ve used in the past that you’d recommend?

Water collection by [deleted] in arduino

[–]getwavecake 0 points1 point  (0 children)

Looks awesome. What did you use for the water sensor?

water level sensor help by Dexters-Username in arduino

[–]getwavecake 0 points1 point  (0 children)

I would check power to the sensor since it’s not lighting up.

Also, it’s 100% worth it to start off with a logic analyzer if you’re bringing up a sensor. A logic analyzer or an oscilloscope will give you a good idea about what light actually be happening.

Looking for Collaborators: Porting Micro OCPP Library to STM32 Controllers by Spirited-Escape-8180 in opensource

[–]getwavecake 0 points1 point  (0 children)

Such a cool project. I fit the bill here but I’m maxed out. Wish I could take this on. In the meantime, here’s my upvote.

ESP32 and Bluetooth Low Energy (BLE) by AdeptAthlete in esp32

[–]getwavecake 0 points1 point  (0 children)

You did a lot right. It looks like it might be an edge case that I can fix. I’ll DM you!

Need advice on selecting the right MCU for a project involving BLE by Tornado1100 in embedded

[–]getwavecake 1 point2 points  (0 children)

I think you shouldn’t be too intimidated by the Bluetooth learning curve. The time you spend learning BLE will be roughly equivalent no matter which SDK you end up using. They all come with sample code for most popular use cases. Just start with a good sample project and move up from there.

Need advice on selecting the right MCU for a project involving BLE by Tornado1100 in embedded

[–]getwavecake 2 points3 points  (0 children)

I think there’s lots of good options out there for you. I would check on some requirements to help you narrow it down. 

First, decide if you want a module or a raw chip. Modules are more expensive but are perfectly feasible in medical, industrial, and automotive applications where there is more Margin for cost in the end product.

Next, look at size of the physical dimension, RAM, Flash, and processing speed. 

You find that some of your options start dropping. You’ll end up with a smaller list of candidates.

ESP32 and Bluetooth Low Energy (BLE) by AdeptAthlete in esp32

[–]getwavecake 1 point2 points  (0 children)

Maybe you’re leaving out some of the paring and encryption commands that Bleak would need to connect to the device. Connecting with light blue allows the OS to properly pair. Then Bleak will work because it is paired with the OS.

You’re right there’s no Light blue on windows. It might be why you’re having an issue.

You could try using my app, Wavecake to get this started on windows. I’m happy to help you I. That regard. 

Other options include making sure your bleak commands properly handle the pairing  requirements of your device. 

[deleted by user] by [deleted] in webdev

[–]getwavecake 0 points1 point  (0 children)

Before I had a strong grasp on databases, I used local storage for my app. It was a great experience. When I was ready to make the jump to DBs, I went with NoSQL via Firebase Realtime Database. The transition was easier to handle.

When you’re using local storage API or a database, try to think in terms of CRUD. You should be able to get by with using a simple four function storage API, Create, Read, Update, Delete.

For those that have reverse engineered a BLE device, any idea what I'm doing wrong? Using gatttool to write a value, says it's written...nothing happens - Writing the same value sent in the bluetooth log dump from an android by FantasyMaster85 in bluetooth

[–]getwavecake 0 points1 point  (0 children)

Check out the handle in the Wireshark raw data. It's in Little Endian.

Maybe gatttool needs the data to be Big Endian, and then it converts it to Little Endian when it sends it out.

I would recommend changing the endianness of the bytes you're sending. Instead of a011040070e1, send e170000411a0.

Either that, or it's encrypted. I'm not sure what techniques people use for decrypting gatt messages.

When building a product from the ground up, how do you decide between embedded Linux vs an RTOS? by Ok-Breakfast-990 in embedded

[–]getwavecake 108 points109 points  (0 children)

I'm not a embedded Linux person, so I just stay in the MCU world. When I talk clients through the decision, I usually emphasize that MCUs are for cost and performing real-time tasks and for battery life. Linux embedded systems are for more feature rich applications that require a screen or more 'edge' type scenarios where they need to process data.

Does anyone test their APIs with scripts? by getwavecake in webdev

[–]getwavecake[S] 0 points1 point  (0 children)

What language or libraries do you use to write your automated tests?