Can ChatGPT Make an LED Fade In and Out Using an ARM MCU. One Step Closer to the Robot Overlords!
Вставка
- Опубліковано 13 лют 2024
- Purchase my Arm Programming Book Here: amzn.to/3HHqSA4
I may receive a small commission from the above link
In this video, I have a little fun with ChatGPT and see how well the GPT can create a program to fade an LED in and out. It's more challenging than it may appear.
STM32F030 GPT: chat.openai.com/g/g-848nlS6JC...
Watch the previous video in this series: • Program the ARM Microc...
Purchase the kits here so you can follow this and the previous series on ARM Programming:
newbiehack.com/Categories/ARM - Наука та технологія
Your way of explaining is superb.
Thanks!
This video is coming from the membership section after being there for a little while. Hope you enjoy the content.
Regarding your point that it is just as easy to learn an ARM microcontroller as Arduino, clearly that isn't the case. Otherwise ARM microcontrollers would be as popular amongst the hobbiest as Arduino.
I've gone through BASIC Stamp, PIC microcontrollers, and Arduino. I'm here to say that Arduino was the easiest to learn. The shear number of examples available for Arduino and the ease in coding are what make it accessible for the hobbiest.
I understand your concern about being pigeonholed for professional grade projects. I believe it is a valid concern. That doesn't change the point about Arduino. Arduino made microcontrollers accessible to a lot more hobby users.
I don't believe that is true. Arduino is such a force out there that that is what users believe. If the user doesn't want to code and use libraries instead, the user could use HAL libraries as an alternative. The art of writing code, if that is what the use will do, is no more difficult. I would like to dig deeper. Why do you think writing code with a microcontroller like this is difficult, if you believe so? I have also watched a couple of your videos and you clearly know how to write code for bare chip, so I believe you are a good person to have this conversation with. Let's keep this conversation going if you don't mind.
Hello Patrick, i dived into programming ARM microcontrollers and just finished your book. Since I cant find it, Id like to know, is there vol. 2 of the book? Thank you in advance.
Not yet, but I am in the process of writing it.
@@PatrickHoodDaniel Great! I look forward to read it.
Too bad that most embedded code is proprietary. Imagine what this technology might offer if it was trained on all of humanities combined work and knowledge...
That's where HAL comes in. This allows all ARM chips to speak the same language. With register level code, STM32 is so ubiquitous, the prioprietary nature may not matter. I have also found that when comparing a completely different MCU like AVR, things aren't really that different.
You lost me when you claim our eyes see at 30 fps. Good content regardless, I'm out
Nice shark Tank quote. I'm sorry to see you go!
umm why use varying voltages? dont you know abt this newfangled invention called pwm??
Funny, I talked about PWM in the video. I also have many PWM videos in my past 3 series of videos on microcontrollers. This was an experiment to see if I could get the fade on an LED not using a PWM pin. GPT decided to bit-bang the pin.