ELI5
-
-
Replying to @SwiftOnSecurity @cybergibbons
A generation of electrical engineers (over 40 under 60) design everything using a microcontroller called a “PIC” (peripheral interface controller). They are *very* cheap. They perform no security validation.
5 replies 0 retweets 26 likes -
heck... I'm 25 and I would have used a PIC[AXE] as we learned on those in school.
1 reply 0 retweets 4 likes -
yeah, my first experience with microcontrollers was PIC too. these days AVR is starting to become more popular, fortunately.
1 reply 0 retweets 4 likes -
I learned microcontrollers with the venerable PIC16F84 and descendants, way before Arduino was a thing. It took me over 15 years years to finally jump ship to AVRs for random small projects. Please don't use PICs. For anything. There is literally no metric where they are ideal.
4 replies 6 retweets 31 likes -
I have a question based on a lack of experience. I started with PIC's & we found for low frequency audio, the PIC could generate a pretty decent waveform for what we needed (sorry forgot the hz) When we tried this with the arduino's, It didn't go so well. Has this changed?
1 reply 0 retweets 0 likes -
Replying to @ThinkcomputersS @marcan42 and
When I say it didn't go well, I mean it was a horrible approximation of a sine wave from the arduino, and the PIC did it fairly adequately.
1 reply 0 retweets 0 likes -
Replying to @ThinkcomputersS @kuzetsa and
Without more details about what exactly you were trying to do it's hard to say, but assuming you were using PWM, both micros have hardware PWM peripherals that should be more than adequate for this with a simple analog filter.
1 reply 0 retweets 2 likes -
You know, I just don't remember. Sorry for lack of details. We were trying to get it done without peripherals for fun using the D/A Analog out on the PIC and it worked ok. Boy now I need to go back and check my work. Its been a few years. To be fair, that was the only drawback
3 replies 0 retweets 0 likes -
Replying to @ThinkcomputersS @marcan42 and
ATmega328p microcontrollers do not have a D/A converter (DAC). That may seem strange, given that the Arduino API has a function called analogWrite() that you can use on any pin with a sinewave squiggly mark by it, but in actuality, it's just a PWM output. What a stupid platform.
1 reply 0 retweets 2 likes
Arduino != AVR. Yes, Arduino is, in a few ways, quite stupid. I always encourage people to quickly transition away from Arduino into programming microcontrollers bare metal. Just not with PICs.
-
-
Replying to @marcan42 @jaydcarlson and
Agreed. PIC is such a hateful ecosystem.
1 reply 0 retweets 0 likes -
Replying to @gsuberland @marcan42 and
I mean, there's a few greybeards and elitists, but mostly I feel like hackers who are familiar with it are doing what they know best because if it ain't broke, don't reinvent the wheel. I really just feel the AVR community has a beginner-friendly vibe (and educational resources).
1 reply 1 retweet 0 likes - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.