element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Nico teWinkel's Blog AI to create Arduino sketches
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ntewinkel
  • Date Created: 22 Dec 2022 4:31 AM Date Created
  • Views 88023 views
  • Likes 11 likes
  • Comments 4 comments
  • openai
  • arduino
  • ChatGPT
Related
Recommended

AI to create Arduino sketches

ntewinkel
ntewinkel
22 Dec 2022

I just became aware of an AI named chatGPT by OpenAI, which can do a lot of amazing things. As in, mind-blowing how well it does things!

For example, you can ask for advice on how to get a better sleep, or even how to be more romantic, and the responses are even better than I would have expected from a person!

And… you might want to sit down for this… it can write software!

image
It wrote the whole sketch, with comments, and then explains where to get the required libraries.

I’m impressed!

  • Sign in to reply

Top Comments

  • beacon_dave
    beacon_dave over 2 years ago +4
    "...And… you might want to sit down for this… it can write software!..." Or just copy it from elsewhere...
  • genebren
    genebren over 2 years ago

    NPR did a story on chatGPT, where an author was giving it a setup and then critiquing the writing that chatGPT 'created' (or plagiarized).  With little information in the setup, chatGPT would find stories that had all sorts of detail added, just not any detail that was pertinent to the authors story.  As the author added more detail to setup, the stories began to ring true and actually make sense.

    It seems that AI is still constrained by the adage "Garbage in, Garbage out".

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Andrew J
    Andrew J over 2 years ago in reply to ntewinkel

    I think you're right - it was my first thought as I was reading it.  Like Alexa, Siri and Cortana.  

    AI just isn't that clever really.  I studied it back in 80's and it struck me then that it wasn't really "intelligent" and I haven't really changed my mind, even if a researcher/scientist/professor/whoever liberally sticks the word "inference" into their sentences as if the machine is genuinely making new connections.  It all comes back to the algorithm developed by a programmer(-ers) which defines the boundaries in which the machine can actually "think".  Data-crunching has become blazingly fast obviously, and databases can remember associations but in my mind it still comes down to a look-up.  

    Language parsing algorithms have significantly improved because of fast data crunching, almost into real-time now.  I remember the early days of speech-to-text (where it took just as long to fix up the errors as it did to just type the thing in the first place) and now it's fascinating watching the "AI" routine listen to speech, put the words up on screen and dance backwards adjusting "what it heard" based on subsequent wording elaborating context.  Not really intelligence but it is certainly life improving.  There was a chap at work who used a system which tracked eye movement and used speech understanding to operate his PC - he was pretty much as fast with that as anyone else without impairment.  It was brilliant, worked in an open plan office and didn't require him to speak at anything above a whisper.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 2 years ago in reply to beacon_dave

    Oh hahaha! Is that what it does? Plagiarize everything?

    Laughing

    I already noticed that slightly more complex coding questions don’t really give great results.

    So then maybe this AI is more of an Internet search tool that takes the extra effort to collate a single result for you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago

    "...And… you might want to sit down for this… it can write software!..."

    Or just copy it from elsewhere...

    image

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube