Skip to main content

Posts

ATMEGA328P-TQFP32-PINOUT

Here'a a pinout diagram I created for the ATMEGA328P TQFP32 . It is shared under CC-BY-SA license. You're free to modify it and share. Just give a backlink to my project website if possible (I have not posted the pinout diagram on my website yet. I'm also attaching a PDF,SVG version so that you can edit with any vector editing software. If you want me to create pinout diagrams for other boards, I'd be happy spend some free time on it. Let me know. Hope you'll find it useful :)  Github: https://github.com/Krishnawa/ATMEGA328P-TQFP32-PINOUT
Recent posts

Arduino-Register Programming

Simple LED Blink Program Here I'm explained my first register level coding, It is awesome and it's make me much more understand about how the microcontroller is working, I'm still learning, so here I'm sharing what I understood. Are you ready for this then let's go Arduino language Blink program This is simple Blink program without using any functions!. Take a look at the code the same code is converting to register level unsigned long counter = 0 ; // initializing  counter variable and set to 0 void setup ( ) {   pinMode ( LED_BUILTIN , OUTPUT ) ; // set 13th pin LED as output   Serial . begin ( 9600 ) ; // initializing Serial communications } void loop ( ) {   counter ++ ; //increment the counter   Serial . println ( counter ) ; // print the counter value on Serial monitor   if ( counter > 250 ) {     digitalWrite ( LED_BUILTIN , HIGH ) ; // if counter value greater than 250 then LED turn ON   }   if ( counter > 5

Bootloader - Arduino

What is a bootloader, and what is bootloading? The bootloader is the little program that runs when you turn the Arduino on, or press the reset button. Its main function is to wait for the Arduino software on your computer to send it a new program for the Arduino, which it then writes to the memory on the Arduino. This is important, because normally you need a special device to program the Arduino. The bootloader is what enables you to program the Arduino using just the USB cable. When we refer to "bootloading" the Arduino, we are talking about using a special device (called an In-System Programmer or ISP) to replace the bootloader software. Normally the default bootloader of arduino is Optiboot Here I am showing that an alternative and some more advanced options in Arduino bootloader option called MiniCore Why MiniCore? An Arduino core for the ATmega328, ATmega168, ATmega88, ATmega48 and ATmega8, all running a custom version of Optiboot for increased functio

BEE WATCH MK1

Introduction I am very interested in making small gadgets so this is my first attempt to working on a simple OLED watch, I was inspired from N|Watch project, My version is arduino compatible.The main component of this watch is it’s RTC, The RTC IC used here ISL1208 and my friend Vishnu M Aiea is developed the arduino library for ISL1208, If you are interested in that please take a look to his documentation about ISL1208 . Specification 1.3” OLED Display ATMEGA328P Microcontroller Alarm feature Timer BPM Sensor Temperature Sensor Game HARDWARE BEE WATCH MK I SCHEMATIC On the hardware side the watch contains an Atmel ATmega328P microcontroller, 2.5V regulator, ISL1208 RTC IC from Intersil RTC, 1.3″ 128×64 monochrome OLED, Heart sensor, a buzzer sounder, 3 way switch for navigation, powered by a 150mAh LiPo battery which can be charged via Mini USB The ATmega328P uses its internal 1MHz oscillator and runs on 2.5V from a linear regulator. Its current

Arduino Oscilloscope

Here I'm creating a cheap and straightforward oscilloscope using arduino+ Processing IDE, basically, here Arduino receives the data from the analog pins and converts into 8-bit data (1 byte ) and send through the serial port, The information is collected by the processing IDE according to the data the oscilloscope plot the waveform. For transmitting and receiving data properly and synced a technique is used its called Handshake method my program is based on the SerialCallResponse program. Serial Call and Response program Here I explain how it is works  First Arduino tries to  communicate with processing IDE By sending A continuously through the serial port Here we can see that in the serial monitor If the processing receive A   it will clear the serial port of the processing Then it will send the character A to the Arduino   It is called the handshaking method if the first contact is established then data(1 byte) will send at a time throug