free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  [1] 2 3
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
Ajay
Sat Aug 18 2007, 05:25AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3767
Thanked 697 times in 656 posts
Please post your doubts regarding "Lets Learn AVR - step by step tutorial" here..
we will discuss it..



[ Edited Mon Sep 03 2007, 01:02AM ]

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


4y133
Sun Sep 02 2007, 06:08PM
 User Offline
Registered Member #1344
Joined: Tue Jun 05 2007, 06:11AM

Posts: 3
Thanked 0 times in 0 posts
Hi ajay, How are you? i hope you are fine.

Ok ajay, i have a problem with the software. i already download all software that u give in the 1st step. but when i try to install my computer will be stuck. i try to install it to other computer, but it still same.. and 1 thing, can u give the full schematic for avr? becoz the schematic that u give only for interface. so if u dont mind i want the full schematic for avr becoz i want to compare it with my schematic.

Thanks
rgds
BoB
Back to top


Ajay
Mon Sep 03 2007, 01:01AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3767
Thanked 697 times in 656 posts
what do you mean by full schematic?
also... I have installed the software in my PC i don't feel any problem.. can you try a different version of AVR studio.. that might help..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top



This post has been thanked 1 time
 huuthang 
4y133
Mon Sep 03 2007, 02:53AM
 User Offline
Registered Member #1344
Joined: Tue Jun 05 2007, 06:11AM

Posts: 3
Thanked 0 times in 0 posts
i mean schematic diagram for avr.

ok ajay, now i can install the program. Thanks. the problem is the file that i download was corrupted. thats why i cannot install the program. hehe
Back to top


Ajay
Mon Sep 03 2007, 03:35AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3767
Thanked 697 times in 656 posts
ok..
for AVR its very simple..
everything is labeled.. MISO will go to MISO of AVR
MOSI with MOSI of AVR
SCK with SCK of AVR
RESET with RESET of AVR
LED with simple.. LED on the target board.. or u can leave open if you don't want to connect
Led is connected like this.. on the target board..
LED ---|<|-----/\/\/\/\------VCC

For more information on pin configuration look in the datasheet of your AVR.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


4y133
Mon Sep 03 2007, 04:11PM
 User Offline
Registered Member #1344
Joined: Tue Jun 05 2007, 06:11AM

Posts: 3
Thanked 0 times in 0 posts
ok. Thanks ajay for ur information.
Back to top


milky
Tue Oct 30 2007, 09:34PM
 User Offline
Registered Member #4607
Joined: Tue Oct 30 2007, 08:14PM

Posts: 21
Thanked 0 times in 0 posts
Ajay~i want to ask about the step3 tutorial.
LD Rn,X+/Y+/Z+ , this instruction.i'm curious about the Z+. izzit this code is for the next pointer?so if i only want to load in only 1 data from 1 address then izzit Z is enough?
Back to top


Ajay
Tue Oct 30 2007, 09:52PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3767
Thanked 697 times in 656 posts
yeah.. slashes in the instruction means you can either use x, y or z.
i.e.
LD Rn X+
or
LD Rn Y+
or
LD Rn Z+
That command load the register Rn with the value stored at location Z and then increment Z.
if you just want to load from location Z and do not want it to increment then you can use the following command
LD Rn, Z
this will load register Rn with value stored at location Z.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


MATHIVANAN
Wed Oct 31 2007, 07:15AM
 User Offline
Registered Member #2569
Joined: Wed Jul 25 2007, 05:21AM

Posts: 57
Thanked 4 times in 4 posts
hey milky
if u want load only one data from address location of ram means , u can do following instruction

LDS r16,$0061
this instruction will directly load the data from ram location $0061
and also if u want store directly means

STS $0061,r16

this will store the data to the location $0061


I respect others the same way i expect from others.
Back to top


Robbby
Sun Dec 09 2007, 10:39AM
 User Offline
Registered Member #4750
Joined: Wed Nov 21 2007, 02:53AM

Posts: 6
Thanked 0 times in 0 posts
Hi Ajay,

I'm begginer in AVRstudio and winAVR. I wrote lcd .h and .c file, but when I use .h in other project, building final files fails:

../test.c:7: undefined reference to `LCD_init'
../test.c:11: undefined reference to `LCD_cursorxy'
../test.c:12: undefined reference to `LCD_sendstring'
make: *** [test.elf] Error 1
Build failed with 3 errors and 1 warnings...

lcd.c was checked before and works fine. I don't know where my mistake is.

Can you help me???

regards Robbby



[ Edited Sun Dec 09 2007, 10:41AM ]
Back to top


Go to page  [1] 2 3  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems