Friday, November 7, 2008

CodeVision Another C Compiler for AVR

CodeVision is C ompiler for AVR, it is support many avr device, it very usefull when you want to develop new program. CodeVision is very helping whenyou want to develop application use AVR because its have library for, spi, i2c, usb, lcd, external interupt, USART,UART

Codevision merupakan sebuah program compiler berbasikakn bahasa C untuk memprogram ic AVR. IC yang disupport cukup banyak. CodeVision sangat berguna jika ingin mengembagkan aplikasi karena banyak library yang disupport kita cukup menggunakan librarynya dan proses pengembangan alat menjadi lebih cepat.





CodeVisionAVR Standard & Light Features
Application that runs under Windows 95, 98, Me, NT 4.0, 2000, XP and Vista 32-bit
Easy to use Integrated Development Environment and ANSI C compatible Compiler
Editor with auto indentation, syntax highlightning for both C and AVR assembler, function parameters and structure/union members autocomplete
Supported data types: bit, bool, char, int, short, long, float
Fast floating point library with hardware multiplier and enhanced core instructions support for all the new ATMega chips
AVR specific extensions for:
Accessing the EEPROM & FLASH memory areas
Bit level access to registers
Interrupt support
Support for placing bit variables in the General Purpose I/O Registers (GPIOR) available in the new chips (ATtiny2313, ATmega48/88/168, ATmega165/169/325/3250/329/3290/645/6450/649/6490, ATmega1280/1281/2560/2561/640, ATmega406)
Compiler optimizations:
Peephole optimizer
Advanced variables to register allocator, allows very efficient use of the AVR architecture
Common Block Subroutine Packing (what our competition calls "Code Compressor"), replaces repetitive code sequences with calls to subroutines. This optimizer is available as Standard in CodeVisionAVR, at no addtional costs, not like in our competitor's products.
Common sub-expression elimination
Loop optimization
Branch optimization
Subroutine call optimization
Cross-jumping optimization
Constant folding
Constant literal strings merging
Store-copy optimization
Dead code removing optimization
Four memory models: TINY (8 bit data pointers for chips with up to 256 bytes of RAM), SMALL (16 bit data pointers for chips with more than 256 bytes of RAM), MEDIUM (for chips with 128k of FLASH) and LARGE (for chips with 256k or more FLASH) The MEDIUM and LARGE memory models allow full FLASH addressing for chips like ATmega128, ATmega1280, ATmega2560, etc, the compiler handling the RAMPZ register totally transparently for the programmer. This feature is available as Standard in CodeVisionAVR, at no additional costs, not like in our competitor's products.
User selectable optimization for Size or Speed
Possibility to insert assembler code directly in the C source file
VERY EFFICIENT USE OF RAM: Constant character strings are stored only in FLASH memory and aren't copied to RAM, like in other compilers for the AVR
C Source level debugging, with COFF symbol file generation, allows variable watching (including structures and unions) and the use of the Terminal I/O in Atmel’s AVR Studio Debugger
Fully compatible with Atmel’s In-Circuit Emulators: AVR JTAG-ICE, AVR Dragon, etc.
Supported chips by CodeVisionAVR Standard:
ATtiny13
ATtiny22
ATtiny2313
ATtiny24/44/84
ATtiny25/45/85
ATtiny26/46/86/166
ATtiny261/461/861
ATtiny48/88
AT90S2313
AT90S2323/2343
AT90S2333/4433
AT90S4414/8515
AT90S4434/8535
AT90S8534
AT90CAN32/64/128
AT90PWM2/2B/3/3B/316/316
AT90USB1286/1287/646/647/162/82
ATmega103
ATmega128/1280/1281
ATmega161
ATmega162
ATmega163
ATmega164/164P
ATmega165
ATmega169
ATmega2560/2561
ATMega32
ATmega323
ATmega324/324P
ATmega325/325P/3250/3250P
ATmega329/329P/3290/3290P
ATmega406
ATmega48/48P/88/88P/168/168P/328P
ATmega603
ATmega64
ATmega640
ATmega644/644P
ATmega645/6450
ATmega649/6490
ATmega8/16
ATmega8515
ATmega8535
ATxmega128A1/192A1/256A1/64A1
FPSLIC AT94K05/10/20/40
AT43USB355
AT76C711
AT86RF401
Supplementary libraries for:
Alphanumeric LCD modules for up to 4x40 characters
Philips I²C Bus
National Semiconductor LM75 Temperature Sensor
Dallas DS1621 Thermometer/Thermostat
Philips PCF8563 and PCF8583 Real Time Clocks
Dallas DS1302 and DS1307 Real Time Clocks
Dallas 1 Wire protocol
Dallas DS1820/DS1822 1 Wire Temperature Sensors
Dallas DS2430/DS2433 1 Wire EEPROMs
SPI
Power management
Delays
BCD and Gray code conversion
Built-in CodeWizardAVR Automatic Program Generator, allows you to write in a matter of minutes all the code needed for implementing the following functions:
External memory access setup
Chip reset source identification
Input/Output Port initialization
External Interrupts initialization
Timers/Counters initialization
Watchdog Timer initialization
UART initialization and interrupt driven buffered serial communication with the following parameters: 7N2, 7E1, 7O1, 8N1, 8N2, 8E1 and 8O1
Analog Comparator initialization
ADC initialization
SPI Interface initialization
CAN Interface initialization
I²C Bus, LM75 Temperature Sensor, DS1621 Thermometer/Thermostat, PCF8563, PCF8583, DS1302 and DS1307 Real Time Clocks initialization
1 Wire Bus and DS1820/DS1822 Temperature Sensors initialization
LCD module initialization
USB controller for teh AT90US646/647/1286/1287 chips
Built-in Serial Communication Terminal for debugging RS232, RS422, RS485
Built-in In-System AVR Chip Programmer, compatible with the Atmel STK500/STK501/STK502/STK600, AVRISP, AVRISP MkII, AVR Dragon, JTAGICE MkII, Atmel AVR910 application note, Kanda Systems STK200+ and STK300 development boards, Vogel Elektronic VTEC-ISP, Dontronics DT006, Tietomyrsky EXB2313, 4Ahead AVR Board 1and Futurlec JR-AVR AT90S2313 and AT90S8535 boards, features automatic programming after successful compilation. Supported chips:
ATtiny13
ATtiny22
ATtiny2313
ATtiny24/44/84
ATtiny25/45/85
ATtiny26/46/86/166
ATtiny261/461/861
ATtiny48/88
AT90S2313
AT90S2323/2343
AT90S2333/4433
AT90S4414/8515
AT90S4434/8535
AT90CAN32/64/128
AT90PWM2/3(B)/216/316
AT90USB1286/1287/646/647/162
ATmega603/103
ATmega64/128/1280/1281
ATmega161
ATmega162
ATmega163
ATmega164/164P
ATmega165
ATmega169
ATmega2560/2561
ATMega32
ATmega323
ATmega324/324P
ATmega325/325P/3250/3250P
ATmega48/88/168/48P/88P/168P/328P
ATmega640
ATmega644/644P
ATmega645/6450
ATmega8/16
ATmega8515
ATmega8535
ATxmega128A1/192A1/256A1/64A1
AT86RF401

For In-System programming of the other AVR chips (AT90S1200, ATtiny12, ATtiny15L) please use our Universal Programming software ChipBlasterAVR.




selain itu pada software ini sudah include
Universal In-System Programming Software for the Atmel AVR family of microcontrollers
jadi tinggal buat circuit untuk memburn

Thursday, November 6, 2008

Minna No nihonggo みんなの日本語

Minna No Nihongo, みんなの日本語






Those are minna nihongo you can download from indowebster, an indonesian file server. so if you in indonesian its more faster if you download from there. and also you can resume your download.



Minna No nihonngo bagi yang ingin belajar… sepertinya buku ini bagus banyak dipake, setelha di lihat sih memang buku ini tidak sekedar memeberi tatabahasa juga memasukian nilai nilai tata krama dalam berbahasa jepang.

jadi memang ribet sekali.. aturan aturan di sana…
yah begitulah lain pc lain prosesor (menggantikan lain lubuk lain belalang ^^)

namun yang menjadi keheranan saya kenapa sih jarang banget buku ini di indonesia? kenapa gak ada yg upload.. bayangkan.
1. satu buku pak buku (4 file). 16 mega
2. File videonya.. jadi ada video untuk mengambarkan keadaan buku ada 25 chapter. 365.56 Mega
3. Mp3 ya.. jadi ada yg baca 318 mega.

lom termasuk yang workbook mp3 loh ^^

kan menghabiskan bandwidth internasional ^^ sharing is caring atuh …
berhubung speedy sudah care… maka saya care juga care.. tak upload di local
http://www.indowebster.com/Minna_No_Nihonggo_1.html << 16M
untuk mp3nya (file di list 3 yg diatas)
1. http://www.indowebster.com/Minna_No_Nihonngo_MP3_CD1.html
2.http://www.indowebster.com/Minna_No_Nihonngo_MP3_CD2.html
3.http://www.indowebster.com/Minna_No_Nihonngo_MP3_CD3.html





untuk videonya ada di beetube. tinggal buka and save original file atau save flv nya biar hemat

1. http://bee-tube.binus-access.com/play.php?vid=1765
2. http://bee-tube.binus-access.com/play.php?vid=1767
3. http://bee-tube.binus-access.com/play.php?vid=1769
4. http://bee-tube.binus-access.com/play.php?vid=1771
5. http://bee-tube.binus-access.com/play.php?vid=1773
6. http://bee-tube.binus-access.com/play.php?vid=1774
7. http://bee-tube.binus-access.com/play.php?vid=1775
8. http://bee-tube.binus-access.com/play.php?vid=1776
9. http://bee-tube.binus-access.com/play.php?vid=1777
10. http://bee-tube.binus-access.com/play.php?vid=1778
11. http://bee-tube.binus-access.com/play.php?vid=1779
12. http://bee-tube.binus-access.com/play.php?vid=1780
13. http://bee-tube.binus-access.com/play.php?vid=1781
14. http://bee-tube.binus-access.com/play.php?vid=1782
15. http://bee-tube.binus-access.com/play.php?vid=1784
16. http://bee-tube.binus-access.com/play.php?vid=1785
17. http://bee-tube.binus-access.com/play.php?vid=1786
18. http://bee-tube.binus-access.com/play.php?vid=1787
19. http://bee-tube.binus-access.com/play.php?vid=1788
20. http://bee-tube.binus-access.com/play.php?vid=1789
21. http://bee-tube.binus-access.com/play.php?vid=1790
22. http://bee-tube.binus-access.com/play.php?vid=1791
23. http://bee-tube.binus-access.com/play.php?vid=1792
24. http://bee-tube.binus-access.com/play.php?vid=1793
25. http://bee-tube.binus-access.com/play.php?vid=1794

Remembering Kanji 2042 dengan cara yg lebih mudah.
http://www.indowebster.com/RememberingKanjiI.html
Jeleknya hanya tau arti tidak cara baca. cara bacanya ada cocoknya di
http://nihongo.j-talk.com/parser/search/kanjisearch.php?search=paste




Silahkan….

Tuesday, November 4, 2008

Email On RAZR V3

RAZR mobile phone have so many fans in USA, the phone vendor is from motorola. many feature that we can use to support our daily life.

Key Features
External dimensions: 13.9 x 55 x 98 millimeters
Weight: 95 grams
External color display
Picture caller ID
Nickel-plated copper-alloy chemically-etched keypad
Internal display: 2.2 inch 176 x 220 pixel 64K color TFT display
External display: 96x80 pixels 4k color CSTN CLI
EL keypad illumination panel
Internal quad-band antenna
Integrated VGA camera with 4x zoom
Integrated Class 1 Bluetooth® wireless technology
22kHz polyphonic speaker with MP3 ringer support
MPEG4 video Playback
3D Graphics Engine
Java™ MIDP 2.0\
Dedicated Messaging & Browser keys

This mobile phone is easy to modification too, what you need is just usb cable, and the driver so you can customize the phone.  you can download the program at  www.themotoguide.com
i've tried to reflash the phoen and add the chinese languge. you can add the software like java.

V3 support POP3 / IMAP
Those are protocol or rule to comunicate between server and the mobile phone to exchanging email. so on your phone know you can send your travel picture, see your income email. of course you must check te email provider you use support pop3. like yahoo local. co.id, co.us
and in the phone you must setting GPRS enable.
in email setting

ISP Settings:
Connection Type: GPRS
APN Address: www.indosat-m3.com ;if Empty the  phone will say incomplete.
User name: [fill blank]
Password: [fill  blank]
DNS IP: 0.0.0.0 [fill  blank]


support email

mail Provider:
Bellsouth
EarthLink
SBC Yahoo!
Custom << saya pilih ini

Protocol: POP3 or IMAP4
User ID: xxx@yudhi.org
Password: yourpassword
Sending Host: mail.yudhi.org >>depend on your server.
Sending Port:25 >> depen on your conection
Recieving host: mail.yudhi.org >> depend on your server.
Recieving Port: 110 >> depend on your server.
Return Address:return email.
Name: the person who have the email account

Cleanup: none (if clean up, phone will automatically deleted data  on the server)
Save on server: Yes
Notification: On
Check new msgs:
Hide Fields: I left it alone
Auto sig: Again, I left it alone
Security:
Use SSL for sending: yes / no > mempengaruhi port diatas ( 25 /xxx)
Use SSL for receiving: yse / no >> mempengaruhi port diatas(110 / 965)



Sunday, November 2, 2008

SIMPLE AVR BURNER

AVR is one of type of microcontroller from atmel, AVR have many abbilities compare with 89s52 form 8051 family. for example 

1. AVR have output current bigger (up to 80 mA, I test with Ammeter short it directly to ground)
2. CPU RISC base, so many instruction can be done by one clock. the speed is depend on xtall that we use
3. Many feature. like PWM genarator, some of them have internal comparator, Analog to digital converter, 
4. and many program have avr library. avr is remomend to be programed in C langugae.

first to use AVR is how to make the burner / downloader.
burner is some kind connection / modul to download the machine code program that have built in pc. the machine code is generate by compiler. its compile from our main program in C or assembly. downloader tool to insert machine code to avr.

there are many may to burn avr. like paralel programing , and ISP (in system programing ,like we create right know). paralel programing faster than ISP but its need high voltage and need special tool. so many person like to make ISP. we can configure our AVR in our system.

ISP is burn avr use Serial Peripheral Interface protocol at the end of sytem(the system which directly entry the machine code one by one) but in front system (which transfer from computer) many way that can do. like use paralel port, serial, even USB.

below is DT600 burner. its simply just use paralel port and some of cable

Above is the schematic. i dont use the resistor. but i suggest u  use the resistor for MISO pin. because it can protect our computer from large current.

Below is the burner that i've made use breadboard.



you don not use external XTALL since avr have it. but you need to configure it first use FUSE bit. 

you can use pony prog program to transfer machine code from computer to AVR.  but some of compiler have extra feature to directly download after you compile, like codeVision.




Protel DXP_ Project tree

Protel DXP is a software from altium ltd. this software usually use fro create PCB. the newest version of software have different name. with this software we can make pcb more easly. the program have atumatic routing program. so what we need is just design the schematic and altium will do the rest for us. may be i'll will explain altium on the other post. sure i will do it

DXP was release at 2004, and the latest versionof this software  is altium summer design 2008. from the website, they said altium summer have 800 new componned added. it amazing!!

Ok, first we need to learn how to create project! and learn about project structure.

The  step for create PCB  
1. Create PCB project
2. Add schematic
3. Add PCB file

To create PCB project you can use both your mouse or keyboard short cut [alt] F, N, B

the project will create automatically. in PCB project you need to have schematik file and pcb file.

1. schematic file ist file where you can draw the circuit do you want.

2. PCB project is create after you create your circuit and then compile it.

 From the picture on the left. The procject windows will add with our new pcb project, and now we can add the supporting file to create pcb.

As you see there are so many file that we can put to support.
1. schematic file for drawing circuit
2. PCB file. add after we create PCB
3. schematic library is symbol library. so we can make our symbol by ourself. it use when you use component that protel dxp haven't.
4. PCB library is same as schematic but its contain footpriont library. of coure we can custom our footprint library to.
5. CAM document use for generate 3D
6. etc.

the Project tree would like the picture below(only if you put the file of course!, you can just add schematic, and or , PCB,  library it self) .



The project tree will tell use about the project we want to create more structurize'. it will help use when our design is bigger.

You can move one file to another file easily, just click the file and the TAB will appear above workspace window.






One procjet tree can have many schematic file.  and also PCB file. its uses when you have blok diagram schematic and you want to create one blok in one circuit file. so if you want tou use it in another design you can simply add the circuit file to new PCB project. and you need not to draw new circuit again.