New video! One of many huge duties that Ladyada nonetheless has to spend so much of time on is writing Arduino libraries for all our units and sensors, significantly all of the I2C & SPI chips on the market! These ICs use register maps and sub-byte addressing to set dozens of configurable knobs and switches, and a great driver lets of us set and get all the noodly bits.
Nonetheless, there may be but to be a typical format to get that configuration map. As an alternative, it’s a must to pore over datasheets with lengthy lists of binary tables and bit insets to determine learn how to convert that into C or Python code.
It’s powerful. Just a few of us can write a superb complete library…. however Ladyada can & has! In actual fact, there are tons of of Arduino libraries on Adafruit’s GitHub https://github.com/orgs/adafruit/repositories, all within the Ladyada ‘model,’ utilizing Adafruit_BusIO for I2C / SPI register addressing https://github.com/adafruit/Adafruit_BusIO/ and since ChatGPT 4 was educated on all of it, we are able to ask it to grow to be a mini-Ladyada to put in writing new drivers.
With a PDF parsing plugin, we are able to even add the chip’s datasheet to extract register names, values, create enum tables, and textual content for doxygen feedback. Right here’s the chatGPT log for the video https://chat.openai.com/c/f740eb57-17a6-41e3-ae0a-12da959a1f4c – and right here’s a earlier one that’s extra ‘full’ https://chat.openai.com/share/f44dc335-7555-4758-b2f9-487f9409d556. The period of time it takes for ChatGPT to put in writing a driver is about the identical as it could take Ladyada, and also you undoubtedly have to be eagle-eyed to redirect the AI if it begins making errors… however it may be accomplished even when Ladyada is drained after a full day of baby-care, or concurrently pumping https://www.youtube.com/watch?v=EpbH-sXRNps – plus there’s lots much less steady typing/mousing so her wrists don’t ache the subsequent day!
Do you utilize ChatGPT for electrical engineering or coding work? Any options on learn how to make this even higher? That is solely our third day utilizing this software, so we’re getting began with learn how to combine it into our workflow.
In an upcoming submit we’ll define how we’re credit score ChatGPT once we’re utilizing it on this considerably “pair programing” approach, and who we’re asking on the market for steerage on how license can/will replicate these collaborations.
Adafruit publishes a variety of writing and video content material, together with interviews and reporting on the maker market and the broader know-how world. Our requirements web page is meant as a information to greatest practices that Adafruit makes use of, in addition to a top level view of the moral requirements Adafruit aspires to. Whereas Adafruit isn’t an unbiased journalistic establishment, Adafruit strives to be a good, informative, and constructive voice inside the neighborhood – test it out right here: adafruit.com/editorialstandards
Adafruit is on Mastodon, take part! adafruit.com/mastodon
Cease breadboarding and soldering – begin making instantly! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and extra. Construct initiatives with Circuit Playground in a couple of minutes with the drag-and-drop MakeCode programming website, be taught pc science utilizing the CS Discoveries class on code.org, soar into CircuitPython to be taught Python and {hardware} collectively, TinyGO, and even use the Arduino IDE. Circuit Playground Categorical is the most recent and greatest Circuit Playground board, with help for CircuitPython, MakeCode, and Arduino. It has a strong processor, 10 NeoPixels, mini speaker, InfraRed obtain and transmit, two buttons, a change, 14 alligator clip pads, and many sensors: capacitive contact, IR proximity, temperature, gentle, movement and sound. A complete extensive world of electronics and coding is ready for you, and it matches within the palm of your hand.
Have a tremendous undertaking to share? The Electronics Present and Inform is each Wednesday at 7pm ET! To hitch, head over to YouTube and take a look at the present’s reside chat – we’ll submit the hyperlink there.
Be part of us each Wednesday night time at 8pm ET for Ask an Engineer!
Be part of over 36,000+ makers on Adafruit’s Discord channels and be a part of the neighborhood! http://adafru.it/discord
CircuitPython – The best approach to program microcontrollers – CircuitPython.org
No feedback but.
Adafruit has a “be wonderful to one another” remark coverage. Assist us preserve the neighborhood right here constructive and useful. Stick with the subject, be respectful of makers of all ages and ability ranges. Be variety, and do not spam – Thanks!