Submitted by trol on Tue, 04/06/2021 - 22:52
I was prompted to create this guide by the fact that all existing resources are inconvenient, since they do not have the ability to quickly switch between instructions.
Whereas I wanted to be able to see the description of the command immediately after entering its name, without any unnecessary actions.
The manual is based on the Atmel documentation. In addition, more examples of the use of commands have been added here.
In particular, examples for the AVR GCC assembler have been added, since the latter has a number of features related to linking the object code.
To quickly go to the required just, just enter its name.
Submitted by trol on Tue, 09/29/2020 - 09:48
When writing code on assembly language, there is a desire to have a more convenient syntax, similar to the syntax of C, where familiar and more
readable constructs can be used instead of assembly mnemonics. Similar to how it is done in C--.
This prompted me to create a language and compiler for the AVR microcontroller, which allows you to write very compact and very fast code.
Submitted by trol on Fri, 12/06/2019 - 16:03
This integrated circuit tester is designed to test logic integrated circuits: TTL and CMOS (74, 40, and 45 series), SRAM, DRAM and EEPROM, can also test
some operational amplifiers, optocouplers sensors, and more. Menus and results are displayed on a 128x128 color display.
The device is powered by the miniUSB port, through which it can also be connected to a computer. The software allows you to develop and debug tests,
read the contents of ROM, start testing chips with the display of results and update the firmware.
Submitted by trol on Thu, 10/04/2018 - 13:05
Online UART bitrate calculator for AVR-microcontrollers.
By default, you can get a list of the UBRR settings for many popular clock speeds, and serial port bit rates.
But you can tell it what serial port bit rate you want, and it will tell you all the possible clock speeds that will
generate your desired serial port bit rate.
You can also give it a clock speed, and it will tell you all the possible serial port bit rates that can be producted with that clock speed.
Submitted by trol on Fri, 06/02/2017 - 11:33
Many of the AVR/STM/Arduino compatible TFT displays available can display up to 64K colors .
These screens using the RGB565 (16-bit color) specification instead of what you're used to, RGB888 (24-bit color).
The RGB565 color bitmask is rrrrrggg:gggbbbbb
: red - 5 bit (0-31) in MSB, green - 6 bit (0-63), blue - 5 bit (0-31) in LSB.
For RGB888 <-> RGB565 color conversion, you can use this online color picker.
Submitted by trol on Tue, 02/28/2017 - 09:13
Atmel Studio is available only for Windows users. Alternatively, you can use any liked text editor with some utility to build the project.
Atmel Studio uses the make utility to build the project and generate makefile file for this.
In general, the makefile can be written by hand, but it seems to me very uncomfortable and unwieldy.
I also tried to use other build systems (cmake, scons etc.) but the results I also didn’t like.
I wanted to have a very simple, user-friendly and flexible tool for building projects.
As a basis I took the Python language, because it is easy to use, not only for writing the build system, but also as a convenient
language for describing the configuration of the project.
Submitted by trol on Mon, 02/27/2017 - 13:49
If you still have an old computer, the problem is to connect to it modern mouse may be familiar to you. Old mechanical mouse, sooner or later
come into disrepair - cable wear, buttons do not work, etc. In general, modern laser mouse is usually much nicer than the devices of the last
century
Because the serial mouses are no longer produced, then the for PC without a PS/2 port is still two options: adapt the PS/2 or USB mouse.
With PS/2 mouse everything is much easier - this protocol can be implemented in almost any microcontroller, such as ATMega8.
The adapter is built on ATMega8 microcontroller and uses MAX232 to match the TTL signal levels with a serial port levels.
The microcontroller receives data from the PS/2 mouse and transmits them via the UART.
Submitted by trol on Wed, 08/03/2016 - 17:18
Released a new version of trolCommander (0.9.8). It included many improvements to the text viewer and editor, working with archives, MacOS X utilities,
and so on.
Submitted by trol on Mon, 01/25/2016 - 13:33
Recently, released a new version of the trolCommander file manager - 0.9.7.
Briefly about the main improvements in it ...
Submitted by trol on Fri, 12/11/2015 - 14:39
ZX Spectrum - a computer designed over 30 years ago with a 3.5 MHz processor and only 48 KB of RAM. For him, it developed a huge number of
software and games. Moreover, new game releases are constantly in our days.
Previously, the program is loaded from the tape. And the loading is not always succeeds, sometimes the game had to try several times to load
often getting message "R Tape loading error".
Alternatively audiotapes today suggests a memory card that stores the program files in the formats TAP, WAV and TZX.
And as an alternative to tape recorder - microcontroller device that can play and store these files.
Pages