Masih satu

Siapa menyusul?

:)
We could speeding the timer by pre-loading TCNT0 with a value between 0 and 255, so TCNT0’ll start count at our own value instead of zero.

Using interrupt, we have a subroutine that regularly called, automatically.

It called when overflow flag (OVF) is set.

Clear Timer on Compare (CTC) as its name suggests, will clear the flag if counter has same value with compare value.

Our timer is static, it have to wait TCNT0 to count from 0 to 255 and then start over.

Chip’s Internal Timer in ’Normal' mode will count from 0 to 255, set the overflow flag TOV0 to 0 and count again from 0 to 255, set the flag to 0 and

Kadang datang secara tak disangka.

Jonathan Ive style, Old Macbook Pro sleep indicator LED.

Using interrupt, fast PWM on ATTiny13A.

Jonathan Ive style, Old Macbook Pro sleep indicator LED.

Using interrupt, fast PWM on ATTiny13A.

Maybe it's just me, but I recently realized that we have a handy feature on ATTiny13A for flip the value of the bit.

Here's the template

.include "../tn13Adef.INC" 

.def a=r16

.org $0000              ; startup vector

rjmp onReset

.org $0006              ; compar

Here's the template

.include "../tn13Adef.INC" 

.def a=r16

.org $0000              ; startup vector

rjmp onReset

.org $0006              ; compar

Here's the template

.include "../tn13Adef.INC" 

.def a=r16

.org $0000              ; startup vector

rjmp onReset

.org $0006              ; compar
Here's the template

.include "../tn13Adef.INC" 

.def a=r16

.org $0000              ; startup vector

rjmp onReset

.org $0006              ; compar
Here's the template

.include "../tn13Adef.INC" 

.def a=r16

.org $0000              ; startup vector

rjmp onReset

.org $0006              ; compar
Here's the template

.include "../tn13Adef.INC" 

.def a=r16

.org $0000              ; startup vector

rjmp onReset

.org $0006              ; compar
Based on my ADC with PWM output program.

Based on my ADC with PWM output program.
Based on my ADC with PWM output program.

P Rosyid menulis tentang langgam beberapa waktu lalu.   

Dan saya juga ingin menulis. Memang lain, ini tentang gendhing jawa.

It started with this

.include "../tn13Adef.inc" 

.org 0000 

rjmp reset 

.org 0003 

rjmp timer

reset:

sbi ddrb,0           

ldi r16,0b00000101

ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.

ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
ATTiny is ... well, tiny. Not very suitable to programed it on arduino. Nevertheless, I decided to do it.
Well, a picture is worth thousand words.

Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Well, a picture is worth thousand words.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.

Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Didn't really remember the chronology. It use Parallel Desktop. It use VirtualBox too.
Since we need to set the baud rate. We have to use either manual delay or timer interrupt.

For now, I am trying using manual delay.

Since we need to set the baud rate. We have to use either manual delay or timer interrupt.

For now, I am trying using manual delay.

To send  bit data, we need 10 bit.

ATTiny didn't come with TX/RX Pins, so I have to make it by myself.

Ujian pertama KBK Elektronika dan Instrumentasi Fisika

Sangat langka memang, dan dapat hadiah uang dari P Samsul, :)

Ujian pertama KBK Elektronika dan Instrumentasi Fisika

Sangat langka memang, dan dapat hadiah uang dari P Samsul, :)
Ujian pertama KBK Elektronika dan Instrumentasi Fisika

Sangat langka memang, dan dapat hadiah uang dari P Samsul, :)
Ujian pertama KBK Elektronika dan Instrumentasi Fisika

Sangat langka memang, dan dapat hadiah uang dari P Samsul, :)
Ujian pertama KBK Elektronika dan Instrumentasi Fisika

Sangat langka memang, dan dapat hadiah uang dari P Samsul, :)
Yep, here we are. I use pin B3 as ADC input, and B0 as output. The delay's vary; depend on r16 value, which is ADC value.

My ATTiny13A LED’s still blinking, but I can’t program it anymore.

Happened  to change the header pin of my arduino pro mini  from male to female.

Happened  to change the header pin of my arduino pro mini  from male to female.
Happened  to change the header pin of my arduino pro mini  from male to female.
After read the ATtiny13A datasheet, I use the code below as the base. Under OS X in my Macbook Air. Using USBASP programmer.

Satu langkah (lyrics)

Telah kulakuan semua 

Semua tuk mendekatimu 

Telah kucoba segala 

Cara tuk cari atensimu 

Ingin setiap kata terucap

Kau uc

Hari ini dia sangat pengertian, menggemboskan ban belakang kiri di garasi, pagi hari, saat akan mengantar Alfa Beta dan ibuknya ke Kediri.

Hari ini dia sangat pengertian, menggemboskan ban belakang kiri di garasi, pagi hari, saat akan mengantar Alfa Beta dan ibuknya ke Kediri.
vAVRdisasm is an 8-bit Atmel AVR firmware disassembler.

Selamat Datang (Sheila On 7)

Ini lagumu

yang kutuliskan

untuk temani 

dimanapun kau.

Tetap semangat

jadi dewasa 

seperti yang kamu impikan.

Here the assembler version

I use file coba.s

.include "tn13Adef.inc"

.def temp = R16

//Pin assignments

.equ LED = PB0 ;pin 5 of ATtiny13

.cseg

After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.

After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
After several success attempt with arduino mini and nano (both using ATMega328), I’m curious about programming some chip in assembler.
Canggung 

Melupakan tak akan mudah  

Walau kau telah yakin merelakan 

Lihat nanti lihat sendiri  

saat waktu yang ditentukan datang 

Saat bertemu

Rembulan antara purnama dan separo akhir.

Rembulan antara purnama dan separo akhir.
Rembulan antara purnama dan separo akhir.
Rembulan antara purnama dan separo akhir.
Rembulan antara purnama dan separo akhir.
Rembulan antara purnama dan separo akhir.
Ada apa dengan musik Sheila On 7? 

Ingat lagu Dan di album pertama? Lagu yang sederhana dengan akord/kunci standar.

I add the code from previous project so it could read analog sensor from pin A0 and display it on second row LCD.

I add the code from previous project so it could read analog sensor from pin A0 and display it on second row LCD.
I add the code from previous project so it could read analog sensor from pin A0 and display it on second row LCD.
I add the code from previous project so it could read analog sensor from pin A0 and display it on second row LCD.
All I have to do is open the mini (micro?) amp obviously. There's four screw to open.

All I have to do is open the mini (micro?) amp obviously. There's four screw to open.
All I have to do is open the mini (micro?) amp obviously. There's four screw to open.
All I have to do is open the mini (micro?) amp obviously. There's four screw to open.
All I have to do is open the mini (micro?) amp obviously. There's four screw to open.
All I have to do is open the mini (micro?) amp obviously. There's four screw to open.
All I have to do is open the mini (micro?) amp obviously. There's four screw to open.
All I have to do is open the mini (micro?) amp obviously. There's four screw to open.
Archive
Label
Popular Posts
Popular Posts
Loading