Automated safety stand for motor bikes
- Datasheet : https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf
- Product Description Page : https://www.microchip.com/en-us/product/ATmega328P
The high-performance Microchip picoPower® 8-bit AVR® RISC-based microcontroller combines 32 KB ISP Flash memory with read-while-write capabilities, 1024B EEPROM, 2 KB SRAM, 23 general purpose I/O lines, 32 general purpose working registers, three flexible timer/counters with compare modes, internal and external interrupts, serial programmable USART, a byte-oriented Two-Wire serial interface, SPI serial port, a 6-channel 10-bit A/D converter (8-channels in TQFP and QFN/MLF packages), programmable watchdog timer with internal oscillator, and five software selectable power saving modes. The device operates between 1.8-5.5 volts.By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching one MIPS per MHz, balancing power consumption and processing speed.
External intrrupts to identify the moment of switch on: 11.1 Interrupt Vectors in ATmega328P Datasheet
2 0x002 INT0 External interrupt request 0 - PD2
3 0x0004 INT1 External interrupt request 1 - PD3
- ATmega Interface
- MPU6050 (Gyroscope + Accelerometer + Temperature) interface with AVR ATmega16
- The MPU6050 Explained
- Add multiple files and folders to existing project in Atmel Studio6
Due to lack of complete code reference for MPU6050 to use with ATmega328P