This is a community for people who use AVR microcontrollers. This can include Arduinos, Arduino clones, Arduino like boards, and stand alone AVR chips and self-designed boards.
NOTE: If your circuit is doing something weird when you touch a wire or move your hand across it see this pinned post.
This is a community for everyone who is interested in AVRs and Arduinos from beginners to experts, kids to adults, hobbyists to engineers.
If you’ve seen a question 100 times answer it the 101st time or ignore it. Even better, write a complete, detailed answer and suggest that the mod(s) pin it to the community.
[Did you actually think there were 98 rules?]
If you present something as fact and are asked to provide proof or a source provide proof or a sou
Linked is the AVR EB product page. This looks like the "new ATTiny" because of the 1kB to 3kB SRAM and 8kB to 32kB Flash available.
14-pin (SOIC/SSOP), 20-pin (SOIC/SSOP/VQFN), 28-pin (SSOP/VQFN/PDIP), and 32-pin (VQFN/TQFP) is similar to the AVR DA / DB / DD crew.
DA/DB/DD all have some feature that feels "extra", while EA and EB feel more spartan.
The big point of EB is the new timers. DA/DB/DD used TimerA, TimerB, and TimerD. EA had TimerA and TimerB available.
EB has TimerB... but TimerE, and TimerF are new timers never seen before. Hopefully the documentation comes out to see what E and F can bring (or any other features EB brings to the table).
I bought a few of these years ago. They are a small board that plugs into the back of a standard 1602 LCD board. They come with an ATMEGA88 which I changed out for an ATMEGA328P. They have a 74HC595 and a MAX232 to drive the LCD and RS-232 respectively. The LCD interface is SPI and it pulls all of the ports out to standard ETTEAM 10-pin box headers.
I find this form factor amusing and have tinkered with it but have never used this for a project.
I've still got a bunch of DIP-28 ATMEGA328P chips. I've had these in my bin since the days before the SMD version of the 328P was widely available. I've got around 50 of the SMD version now that I'm using. These DIP-28s are just sitting here until my son or one of his friends want them for a school project.
One of the more interesting 8-bit AVR boards that have come out with the new, modern "DB" (or DA/DD/EA) numbering is this AVR-IoT Cellphone.
While its a straightforward hookup of a cellphone modem to the UART of a typical 8-bit AVR microcontroller, its a fun little concept board. I don't really know what I'd do with a cell phone-based microcontroller... maybe some kind of Solar Panel + Lead-Acid project that I call with modem to transfer data somehow? I don't even know where I'm going with this.
32.768 kHz crystal for accurate time keeping. Cell modem with 150MB SIM card from Truphone, so Data transfers has been figured out, with Nano SIM / eSIM card support to buy whatever cell phone plans you got.
I will say that I was somewhat annoyed by the "Zigzag" pins the first time I saw them from Microchip. But I've been sold on it: by zigzaging the pins, the header-pins become easier to solder (!!), because the additional
So for... reasons... Microchip has seemingly killed off the "ATTiny" and "ATMega" names. But modern AVR chips continue to be made in the form of AVR DA, DB, DD, and EA. I don't know why Microchip thought it was a good idea for a namechange after decades, but its not a big deal, we engineers can figure out the new naming scheme, right?
The main advantage is that 24MHz is supported at all voltage levels now, allowing for more battery efficient loads. Furthermore, there have been significant changes to the Timers, UART (now a USART), and other such I/O.
That being said, AVR DA supports up to 128kB Flash + 16kB of SRAM, making these chips far larger and more competitive.
AVR DA's killer feature is the PTC / Peripheral Touch Controller. Capacitive buttons require a fair amount of smarts to measure capacitance (ie: inject current and measure the speed at which voltage changes), and PTC automates that process. This is an old, obscure feature of ATMega328 however, but it seems like Microch
Most of the projects I design start out on solderless breadboards. The one in the bottom of this picture is a ROM switcher and reset circuit for a Commodore 64 that I'm working on. This circuit will fit inside the footprint of a 27256 ROM chip in a 2364 to 27256 ROM adapter.
Other projects are larger like this early prototype of my maple syrup machine room controller, the SapMaster...
or this...something...that I was doing with an ESP32 and a Raspberry Pi Zero W.
Over the years I've collected a number of solderless breadboards. Some I bought myself and others came with kits that I bought. A number of them came from Hacker Boxes when I had a subscription before the pandemic. I had the delivered to a UPS store in Ogdensburg, NY and drove over and picked them up once a month. Hacker Boxes are cool.
Great to find an AVR community here! Let's get some good content going. I used to work on some homebrew AVR-based projects (not Arduino, raw atmel ASM/winavr-gcc). I am reviving one project slowly...
Currently enjoying learning KiCAD, to move away from EagleCAD.
This is the machine that runs my maple syrup machine room. The PLC (the large grey box on the left in the second section from the top) runs a MEGA2560 Pro Mini with an ESP32 as a WiFi modem. There are more than 4,000 lines of BascomAVR running on the MEGA2560 and around 800 lines of Sketch on the ESP32.
The top section is power distribution. The middle section is supposed to be PLC only but my 24V power supply and distribution leaked into the right hand end opposite the PLC. The bottom three sections from left to right are analog input, digital input, and digital output.
This thing runs a vacuum pump (a MasterCool 90066A), a transfer pump (a small Iwaki), an RO pump, and two solenoid valves (to be replaced with motorized ball valves this summer.) It takes inputs from a bunch of float switches, two vacuum transducers, a pressure transducer, three high precision digital thermometers, and two last time of flight sensors. This thing runs the entire process from the trees through c
If your circuit is behaving weirdly, switching on when you touch a wire or move your hand over the circuit you almost certainly have a floating input. You can solve this problem with a pull-up resistor. Many AVRs have built-in pull-up resistors that you can turn on using code.