How to implement I2C on PIC® and AVR® Microcontrollers
Вставка
- Опубліковано 28 лис 2021
- • Getting Started with Foundation Drivers Playlist: • Getting Started with F...
Ever wonder how to set up the I2C protocol on PIC and AVR Microcontrollers? In this video, we will do a quick walkthrough outlining what I2C is, how it works, and how to quickly get the protocol up and running. Links for hardware, source code, and other resources is available in the links below.
Hardware:
PIC18F47Q10 Curiosity Nano Platform: mchp.us/35xQRWv
Curiosity Nano Base for Clicks: mchp.us/2OLT8az
Thermo J Click mchp.us/2B8ORpt
Thermocouple probe: mchp.us/2MbYkmi
Reference Documents:
PIC Source Code + Xpress Tutorial: mchp.us/2VG8C15
AVR Source Code + Xpress Tutorial: mchp.us/2WJ8I8K
Datasheet - MCP9600: mchp.us/31aR8vb
Datasheet - PIC18F47Q10 Curiosity Nano Platform: mchp.us/2OMJILP
Schematic - Curiosity Nano Base for Clicks: mchp.us/2MJ1c9d
www.microchip.com/design-cent... - Наука та технологія
I was so into Pic Micros and did so many cool projects with Pic Basic Pro. Then the whole Arduino thing happend and i got on that new thing. Now looking back i'm so sad Microchip didn't do their own IDE that was as easy to use as the Arduino IDE.
So how to call interrupt on event? or send data? how the hell this thing even work?!!
Hey, it doesn't work for my Attiny2313.... Any tips?
I truly dislike these "API's" that do NOT teach you ANYthing about how the I2C bus works. It's just another layer of coding that's hidden from the person RESPONSIBLE for the project they're working on.
Its called levels of abstraction. If you want to keep on soldering transistors to make computers fine
Well, that's kind of true but once you have a basic understanding of how stuff works, it's useful to have a reliable way to get up and running without wasting time implementing the actual communication protocol (which would be buggy in most cases so you'd also have to debug it and waste more time)
an educational video on I2C should implement it with avr-libc or the pic equivalent, not some big abstraction layer that dumbs it down to just calling a few functions. That doesn't teach anybody anything
Mes ponts H marchent pas
Pourquoi ?
Ben jsp
@@maximederavet3093 pas complique les ponts H, tu mets des mosfets
Sigh.