Hello and welcome to my corner of the digital world! I’m Cory Koch, and I’m thrilled to have you here at my site. Currently, you’ll find an array of work-in-progress drafts within each blog post. These drafts primarily serve as my personal reference, a canvas for thoughts and ideas that I’m cultivating. However, I envision this space evolving into something more, a platform where I can seamlessly share insights and knowledge with others.
What I choose to write in my free time is a reflection of my personal journey and passion. It’s a collection of thoughts and ideas that I believe should be owned and managed in a way that aligns with my vision. This space is not just a repository; rather, I see it as an open Confluence—a collaborative environment where shared knowledge thrives.
My intention is to transition from personal musings to a more communal experience. I invite those who explore this space to contribute, share, and engage. Consider this an open invitation to participate in the ongoing narrative. Whether you want to add your perspective, contribute your insights, or update articles with valuable information, your input is not only welcome but encouraged.
Thank you for joining me on this journey, and I look forward to building a community of like-minded individuals passionate about sharing knowledge and experiences. Feel free to explore, connect, and contribute as we embark on this collective venture together.
Arduino is 5V, using Atmega328P directly can be ran at 3.3V but not all peripheral may be supported at that level such as the built in EEPROM which requires at least as much as 4.3V.
A word of caution on running at 5V beware that most other modern mcu are only 3.3V so you will need to use a 3.3V to 5V logic level shifter to interface between the two. This may apply to some sensors as well.
Adding compiler and flasher to PATH
The most pain free way to install the compiler avr-gcc and the flasher avr-dude, is to just install Arduino IDE.
System wide configuration file is C:\Users\ckoch\Downloads\avrdude-v8.1-windows-x64\avrdude.conf
Using port : usb Using programmer : usbasp AVR part : ATmega328P Programming modes : SPM, ISP, HVPP, debugWIRE Programmer type : usbasp Description : USBasp ISP and TPI programmer Error: cannot set sck period; please check for usbasp firmware update
AVR device initialized and ready to accept instructions Device signature = 1E 95 0F (ATmega328P, ATA6614Q, LGT8F328P)
Processing -U lfuse:w:0xe2:m Reading 1 byte for lfuse from input file 0xe2 Writing 1 byte (0xE2) to lfuse, 1 byte written, 1 verified
Processing -U hfuse:w:0xd9:m Reading 1 byte for hfuse from input file 0xd9 Writing 1 byte (0xD9) to hfuse, 1 byte written, 1 verified
Processing -U efuse:w:0xfc:m Reading 1 byte for efuse from input file 0xfc Writing 1 byte (0xFC) to efuse, 1 byte written, 1 verified
Avrdude done. Thank you.
Quickly testing hardware with Arduino with libraries.
If you are having issues with hardware and are limited by time while return is accepted such as Amazon then buy it, start the return asap when running into problems. Install Arduino Libraries for your hardware. Test hardware with library examples to do a quick smoke test of the hardware.
Saving money on Arduino boards
Get third party boards for as low as $7 that get the job done.