WARNING: This project is licensed by Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). For more information:
https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
https://creativecommons.org/licenses/by-nc/4.0/
Thanks again PCBWay for sponsoring my project. PCBWay You can have your PCB boards produced for 10$. And it provides all kinds of printing and assembly services.
PCBWay: https://www.pcbway.com/
My PCBWay profile: https://www.pcbway.com/project/member/?bmbno=188E1A91-204D-49
PCBWay share project: https://www.pcbway.com/project/shareproject/KeyboradPad_19a59ab6.html
#pcbway #pcb #pcbuild #pcbtoday
In this version I am sticking with an Arduino Pro Micro, and adding another button on. While I was reading I also decided to use diodes just like a really keyboard. This also makes coding a bit easier as a lot of libraries already exist for this.
I won't spend a lot of time on why I made the changes I did, but I'll touch on it here and there throughout. Honestly they both work great. I just wanted a new challenge.
A list of materials:
1x - Arduino Pro Micro (Buy Now)
32x - Mechanical Keyboard Switch (Buy Now)
32x - 330 ohm resistor. (Buy Now)
1x - 18650 battery holder. (Buy Now)
1x - TP4056 18650 charging circuit. (Buy Now)
1x - 1x2 header. (Buy Now)
Tools
- Soldering Iron
- Pliers
- Snips
- Wire strippers
- Scissors
WhatisArduinoProMicro?
ArduinoProMicroPinOut. (source: google.com)
Arduino Pro Micro is a development board produced by Arduino. This board is based on the ATmega32U4 microcontroller. Arduino Pro Micro differs from other Arduino models with its low power consumption, small size and USB interface.
Arduino Pro Micro contains 18 digital input/output pins and 9 analog input pins. This board also provides 5 PWM pins, 1 USART and 1 SPI interface. The board also includes a voltage regulator to choose between 3.3V and 5V levels.
Arduino Pro Micro has a plug-and-play USB interface for convenience in the development process. In this way, there is no need for a separate programming tool for programming. The Arduino Pro Micro can be programmed using the Arduino IDE.
The Arduino Pro Micro's small size and low power consumption make it especially ideal for mobile and battery powered projects. Also, the USB interface provided by the Arduino Pro Micro makes it easy to connect devices to the computer.
Arduino Pro Micro is a development board built using the ATmega32U4 microcontroller. Another feature of this board is its 16 MHz crystal oscillator. Also, the board has a reset button, voltage regulator, and a few LEDs.
Arduino Pro Micro is available in 5V and 3.3V versions, unlike other Arduino models. The 5V version comes with a 16 MHz crystal oscillator and a 5V voltage regulator, while the 3.3V version comes with an 8 MHz crystal oscillator and a 3.3V voltage regulator.
The Arduino Pro Micro is quite small in size, measuring approximately 33mm x 18mm. This makes the card easy to use in mobile and battery powered projects.
Arduino Pro Micro does not need a separate programming tool to program thanks to its USB interface. This interface can also be used for serial communication. The card is automatically recognized when inserted into the computer's USB port, thanks to its plug-and-play feature.
The 5V version of the Arduino Pro Micro offers similar performance to other Arduino models thanks to its 16 MHz crystal oscillator. The 3.3V version, on the other hand, may be more suitable for battery powered projects due to its low power consumption.
Arduino Pro Micro is a flexible development board suitable for many different projects. For example, it can be used for projects with remote control vehicles, smart home devices, game controllers and more.
Atmega32U4
DATASHEET ATMEGA32U4 / Arduino Pro Micro Datasheet
Atmega32u4 is a microcontroller produced by Atmel company and used in many electronic projects. This microcontroller is among the AVR family microcontrollers and comes with a USB interface. In this way, you can directly connect to a device with a USB port and install software.
Atmega32u4 is an example of 8-bit AVR microcontrollers. It has 32K memory size and has many digital and analog input/output pins. This microcontroller has a CPU running at 16 MHz. It also has a built-in AD converter and PWM features. Thanks to these features, the microcontroller can be used in many different applications.
The Atmega32u4 microcontroller is often used, especially by hobby electronics, students and prototypicalists. Popular development boards such as Arduino Leonardo, Arduino Micro and Teensy 2.0 also use this microcontroller. The Atmega32u4 can be programmed in many different development environments such as the Arduino IDE.
The microcontroller can be easily connected to a computer and programmed through its USB interface. This feature is especially useful for those who want to exchange data between a computer and a microcontroller using serial communication (CDC) over USB.
Thanks to its light weight and small size, the Atmega32u4 is an ideal choice for many different projects. It stands out as a suitable microcontroller especially for smart home projects, robotic projects, automation projects, sensor projects and many other applications.
In conclusion, Atmega32u4 is a popular microcontroller and can be used in many different projects. Thanks to its USB interface, built-in AD converter and PWM features, it can be used in many different applications. It is a particularly suitable choice for hobby electronics, students and prototypicalists.
Architecture: Atmega32u4 is designed as a Harvard architecture microcontroller. It contains 32 KB flash memory, 2.5 KB SRAM and 1 KB EEPROM. It also has 26 digital input/output pins and 12 analog input/output pins. Some of these pins support various features such as PWM output, ADC input, I2C interface, SPI interface and UART.
Speed: Atmega32u4 runs at a clock speed of 16 MHz. This means it's a pretty fast microcontroller, providing enough speed for many different applications.
Power management: Atmega32u4 is optimized for low power consumption. The microcontroller has various power management modes such as Sleep mode, Power-down mode, Power-save mode and Standby mode.
Operating system: Atmega32u4 does not require an operating system. However, a compiler and programming software are required to write an application that runs on a microcontroller.
Programming: Atmega32u4 can be programmed using different programming languages such as C, C++ and Assembly. Many different development environments, such as the Arduino IDE, support Atmega32u4.
Application areas: Atmega32u4 can be used for many different applications. For example, it is an ideal choice for smart home systems, robotic projects, automation projects, sensor projects, medical devices, security systems and many more applications.
USB support: Atmega32u4 comes with built-in USB interface. Thus, it supports serial communication over USB (CDC) and HID (human interface device) protocols. This feature can be useful in many different applications.
Development boards: Atmega32u4 is used in many popular development boards. For example, development boards such as Arduino Leonardo, Arduino Micro and Teensy 2.0 use the Atmega32u4 microcontroller.
Timers: Atmega32u4 has two different types of timers, 8-bit and 16-bit. Timers can be used for various timing operations.
Interrupts: Atmega32u4 responds to external interrupts. This feature makes the microcontroller suitable for real-time applications.
Watchdog Timer: Atmega32u4 has a Watchdog Timer feature. This feature automatically restarts the microcontroller if it freezes due to system errors or hardware failures.
Bootloader: Atmega32u4 has a built-in bootloader. This allows you to load code into the flash memory area before using an external programmer to program the microcontroller.
Different package types: Atmega32u4 is available with different package types (TQFP, QFN, VQFN, MLF) so you can choose an appropriate package type based on your application's requirements.
Integrated USB Controller: The Atmega32u4 microcontroller has an integrated USB controller. This allows you to use the microcontroller in HID (human interface device) or USB CDC (serial port) mode.
Easy programming: The Atmega32u4 can be easily programmed using programming software such as AVR ISP (In-System Programming) or Arduino IDE via USB.
Atmega32u4 is a microcontroller with a wide range of applications. It has several features that developers can use in their designs. Its built-in USB controller, wide package options and easy programming make the Atmega32u4 an ideal choice for many different projects.
How to place an order for PCBWay.Source: https://www.pcbway.com/helpcenter/Findproducts/How_do_I_place_an_order_.html
Video:
Thanks again PCBWay for sponsoring my project. PCBWay You can have your PCB boards produced for 10$. And it provides all kinds of printing and assembly services.
PCBWay: https://www.pcbway.com/
WARNING: The design of this project belongs to me, it can not be used without permission.
Comments
Please log in or sign up to comment.