Adafruit Industries

We#39;re vibin#39; with Claude 3.7 and writing uBlox drivers 😎🤖🛰️


Listen Later

Heeeey, we're just having a super chill vibe here at the desk of Ladyada—writing a driver for the uBlox M8Q
https://blog.adafruit.com/2024/09/10/a-mini-gps-from-ublox-with-i2c-and-uart/
which has both I2C and UART interfaces. As expected, it can do everyday NMEA output, but it can also do UBX, a "compressed" protocol for advanced data reads and writes over I2C/UART—or even SPI on some other chips.
However, the UBX protocol is a hugely complex driver to implement, with dozens of commands and hundreds of flags. But why stress when you can viiiibe? We're using this beast of a spec as an excuse to try out the new Claude 3.7, which is doing great at chomping through the UBX documentation roughage and giving us some nice code on the other side. Within an hour, we're able to connect and switch to UBX mode by sending a well-formed message and receiving an ACK.
What we like about coding with a good LLM is that it does the work we sometimes get lazy over, like handling various error conditions, timeouts, and verbose error messages.
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------
#ai #gps #coding
...more
View all episodesView all episodes
Download on the App Store

Adafruit IndustriesBy Adafruit Industries

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

13 ratings


More shows like Adafruit Industries

View all
3D Hangouts by Adafruit Industries

3D Hangouts

1 Listeners

Ask an Engineer by Adafruit Industries

Ask an Engineer

2 Listeners

Raspberry Pi by Adafruit Industries

Raspberry Pi

23 Listeners

3D Printing Projects by Adafruit Industries

3D Printing Projects

11 Listeners

Circuit Playground by Adafruit Industries

Circuit Playground

0 Listeners

Collin's Lab by Adafruit Industries

Collin's Lab

2 Listeners

New Products by Adafruit Industries

New Products

3 Listeners

Show and Tell by Adafruit Industries

Show and Tell

0 Listeners