Calculation of the tabular functions for microcontrollers

Calculation of the tabular functions for microcontrollers

When programming microcontrollers sometimes there is a problem of calculation of math functions. And despite the fact that the standard AVR GCC library includes support for float numbers and basic math calculations, in practice is not always possible to use these routines.

Two microcontroller regulators for fans

Two microcontroller regulators for fans

This device allows to reduce the noise from cooling fan. It turn off the fan or reduces the rotation speed depending on the temperature of the radiator. Also the device beeps when temperature exceeds a threshold. There are two variants of device for fans of different power.

The first variant is designed to control 12-volt computer fan, and has been fully implemented on the SMD-elements:

Mood Lamp on ATTiny13

Moodlamp on ATTINY13

Mood lamp is a LED RGB lamp that changes the color of light at random. There are a lot of mood lamps projects in the Internet and usually they use relatively "big" microcontrollers. I wanted to make a lamp based on simply ATTiny13 microcontroller.

The circuit of the device is very primitive and shown in the figure below:

Zomberman game

Zomberman game

Zomberman - si a clone of the old good games such as Bomberman and Dyna Blaster.

There are dark and terrible mazes full of angry and hungry zombies. Only a brave Zomberman can fight against that horrible creatures. Blow up walls, kill enemies, find secrets, collect keys which will help you to escape from that scary mazes.

Alchemist game

Alchemist game

Transform gems into gold and train your brain! Alchemist is a ultimate time killer and brain training game. Find three gems with same runes and transform them into gold! When you get a match the gems disappear. You have to clear the field of gems as quickly as possible. Score increases regarding your skill.

SWF-flash files unpacking

SWF unpacking

There are many commercial soft to extract resources (images and sounds etc) from flash SWF files. There is also a free crossplatform console toolset for compile and decompile SWF: swftools.

In particular, this package includes tools swfextract и swfdump to extract resources from the SWF and decompilation SWF files with getting list of elements with dumps. The disadvantage of these tools is that the first one can't automatically extract all resources from a file and the second can't store hex-dumps to binary files.

PNG-files optimiztion - pngout

pngout

Optimization of image files to reduce their size without loss of quality is especially important when developing applications for mobile devices, Web applications or Intertet-sites. To reduce the size of png-files there is a good free command-line utility - PNGOUT. This utility is repacked the data in IDAT-chunk (data chunk that contains information about all image pixels), can automatically reduce the color depth (where it makes sense) and remove from package some chunks that are not necessary.

Christmas Icicle

Christmas led icicle on microcontroller

This LED "icicle" made from mainly blue LEDs. This device can serve as Christmas present or New Year's ornament. The "icicle" can be transformed into a "candle" if to use red and yellow LEDs and to change accordingly its external design. As the body I used two fur-tree toys: transparent plastic icicle and one-half of the Christmas ball. LEDs are placed in the first and second placed the microcontroller board.

Connecting the Joystick from game consoles to your PC

Sega joystick and PC

8- and 16-bit game consoles that were a long time ago very popular, has long lost its leadership in gaming and entertainment market. However, the old games are still popular and yet are perfectly competitive of the interestingness with the modern multi-gigabyte and multi-gigahertz monsters. Today there are many different emulators of old consoles and the Chinese industry is still produced a console itself as well as joysticks to them.

The Christmas LED-Snowflate-thermometer

Новогодняя светодиодная снежинка с микроконтроллерным управлением и индикацией температуры

This LED "Snowflate" made from mainly blue and white LEDs and can serve as Christmas present, Christmas ornament or night light. The device also has a thermometer. Snowflake has 6 beams and every beam contains 8 superbright LEDs. I have used blue and white LEDs with different diameters.

Pages

Subscribe to TrolSoft RSS