Lämmämõõdusk

Description A device that measures the ambient temperature in the environment in which it is located. And displays it on the screen. Artistic description Plant-like structures. Display like blossom. Bottom woodblock aged with brushing with a wire brush and oxidation solution (steel wool + vingar). Animations When the number to display changes it plays short […]

Using millis() instead of delay

millis() function returns the number of milliseconds the current sketch has been running since the last reset. millis() returns an unsigned long.

Arduino Dark Theme

New Instructions that use Arduino built-in theme mechanism. Download https://github.com/taunoe/arduino-dark-theme/raw/master/tauno-dark-theme.zip Find your Arduino Sketchbook location: Arduino IDE > File > Prefernces In my case /home/tauno/Arduino Go to that location and make new foler theme In my case /home/tauno/Arduino/theme Copy downloaded tauno-dark-theme.zip to theme folder. Open Arduino IDE > File > Prefernces and select new theme: […]

AVR vs Arduino funktsioonid

pinMode() Arduino funktsiooni pinMode() abil seatakse siin (pin) kas sisendiks või väljundiks: pinMode(6, INPUT); AVR c-keeles: DDRD &= ~(1 << 6); DDR – tähendab Data Direction Registrit. Ja kuna Arduino (Atmega328) digital pin 6 kuulub regitrise Port D siis DDRD. Näiteks Arduino digtal pin 12 kuulub registrisse Port B ja siis oleks DDRB. Et siin (pin) oleks […]

AVR: Binaartehted

Inglise keeles: Bitwise Logical Operators Registrisse binaarväärtuse kirjutamine: PORTB = 0b01100001; Registri lugemine muutujasse: unsigned char reg = PORTB; Üksikute bittide muutmiseks registris (arvus jne) kasutatakse binaartehteid. Binaartehe on tehe binaararvude vahel, kus nende arvude iga biti vahel toimub omaette loogikatehe. Binaararvude ette kirjutatakse 0b ja heksatestimaalarvud 0x. Binaararve kirjutatakse paremalt vasakule. Näiteks: 1 == 0b0001, […]

FM Radio with Frequency Display

A simple FM radio with a display that shows the frequency and audio amplifier. My goal was to make simple FM radio with a display that shows the frequency. And manual control over frequency and volume. 2. Hardware You can use Arduino Uno or Nano: 2.1 RDA5807 The main component is RDA5807 Sinle-Chip FM Receiver Module. It’s […]

Selfmade i2c 7-segments display with ATtiny85

0. Intro Because I had a bunch of common anode 7 segment displays i decided learn how to make i2c slave device. 1. 7-segment LEDs My 7-segment LEDs are marked as 5611BH and looks like this: 2. 7-segment LEDs module I connected four 7-segment displays together on PCB and i added resistors (470Ω). 3. Shift […]

Programming ATtiny85 with Arduino Uno

Simple and easy way to use Arduino Uno as ATtiny programmer. 0. Turn the Arduino into a AVRISP (AVR is a family of microcontrollers. ISP means In System Programmer) Connect Arduino and open Arduino IDE -> File -> Examples -> 11.ArduinoISP ->ArduinoISP and upload to Arduino. 1. Install hardware package for ATtiny85 1.1 Open Arduino […]