129 Threads found on edaboard.com: Lcd Avr Atmega
Actullay I have got STK502 starter kit (extension for lcd avr ) . I don't have STK500 board . The kit has a atmega 169 microcontroller . Can I programm it with this kit .
Microcontrollers :: 08.10.2007 17:57 :: riteshranjan007 :: Replies: 0 :: Views: 504
There is already an lcd library included in codevision, just use the lcd tab in code wizard to set the port and generate the initialization code
Alex
Microcontrollers :: 09.06.2012 10:30 :: alexan_e :: Replies: 1 :: Views: 666
i thinsk that all mcu are the same if you program in C.
But pic has mcu with mane periphelars like lcd drive......
xxtigerxx was here
Microcontrollers :: 10.09.2004 07:40 :: xxtigerxx :: Replies: 50 :: Views: 7387
Have you considered a serial lcd, or making one with a small Pic or similar, there is plenty code around. Maybe you dont have a spare serial port, athough you could possibly configure any port to do this. Maybe not practical for you, but just a thought.
Microcontrollers :: 24.05.2006 08:43 :: GrandAlf :: Replies: 10 :: Views: 2939
I am not sure what the reset circuit is. I don't know what i should describe here, but i will describe a little my test board illustrated in the .brd posted here, where i did iron the crystal, and tried to reset the uc. on the board I have just a max232, an uln driver, the connector for the parallel programmer, and the rest are just outputs to conn
Microcontrollers :: 14.04.2010 01:20 :: RestRomania :: Replies: 168 :: Views: 75850
Dear Forum,
I need your suggestion and solution. I have problem with my semester project, I make data acquisition using avr atmega 8535 and Delphi 5. This data acquisition use for measure voltage (ADC 10 bits) and the result will be display at lcd Graphic and Delphi Chart. I use four channel ADC from atmega and I use (...)
PC Programming and Interfacing :: 10.10.2008 08:53 :: the_balistic :: Replies: 0 :: Views: 2972
Can anybody please tell me how to do lcd interfacing using assembly language? iam working on avr atmega 32.
PC Programming and Interfacing :: 19.10.2008 16:11 :: icaniwill :: Replies: 1 :: Views: 812
want to display signal type in first line and frequency on next line and able to change menu with bottums(up-down-right-left)
there are many ways to do this
1) connect them to custom inputs and scan them by timer interrupt from time to time
2) connect them to custom inputs also connect them together with diode all cathodes goi
Microcontrollers :: 10.06.2010 11:11 :: ama_trig :: Replies: 1 :: Views: 1355
The main goal was to increase the frequency range but maintaining the cheapest cost. Large and inexpensive color display has been used.
Drzasiek wanted build a mobile device, so he was looking for small elements.
Show DIY :: 11.07.2011 10:00 :: konrad_3582 :: Replies: 4 :: Views: 3669
Here's some code extracted from the following the code:
;*******************************************************************************
; File: m8_lcd_4bit.asm
; Title: atmega8 driver for
Microcontrollers :: 16.09.2012 11:21 :: hate :: Replies: 6 :: Views: 1716
but on compiling it is giving the error
So you need to fix the error
even the cursor is not displaying on the lcd................
Does this surprise you? If the code does not compile, let me know, how do you expect the lcd to display anything?
main.c:140: error: expected declaration or statement at end of i
Microcontrollers :: 05.12.2012 13:59 :: sky_123 :: Replies: 3 :: Views: 146
I'm using Code*Vision avr and I/A/R. Can anybody tell me where I can download libraries for this compilers? I want to drive a Samsung Chipset Graphic lcd and a Virtual Serial Port.
Thanks
Ezequiel
PC Programming and Interfacing :: 26.02.2003 11:08 :: NikZetaJones :: Replies: 10 :: Views: 3454
Why not use a PIC with built in ADC ?
Like 16F876, 16F877 they are cheap and you do not need external ADC's.
TLC549 has "only" 8 bits resolution while most PIC's have 10 :-)
You can also find many design notes how to use lcd, ADC and many other peripherals with a PIC.
Just browse the Microchip website at
Microcontrollers :: 16.12.2003 18:45 :: C-Man :: Replies: 6 :: Views: 10563
Use to 2 paralel in/serial out latch register circuit (like 74LS597) for 16 keys. It consume 4 lines. The lcd can be access using 7 lines: 3 for control and 4 for data (or 6 2 control and 4 data but I do not recommend it). You can overlap the output lines for controling the serial latches with the data lines for the lcd. Until now you used 8 lines
Microcontrollers :: 02.07.2004 20:31 :: marie65 :: Replies: 10 :: Views: 950
Salam,
The lcd display use Philips PCD8544 controller.
For more info
Bye
Microcontrollers :: 31.07.2004 00:43 :: SphinX :: Replies: 10 :: Views: 2028
I'd like to receive a circuit diagram for interface PIC16F84, 16F628 or PIC16F877(microcontroller) with SHT11 and code CCS-PIC. Display can be lcd or PC .
I need routines for reading the SHT11 sensor (humidity and temperature) with a PIC microcontroller - lcd.
Please, send me the details of how to connect the
Microcontrollers :: 17.08.2004 02:54 :: Sylvia Karla :: Replies: 5 :: Views: 8668
hi ,
im an avr developer and instructor i have a frind of mine that has a programer that works with the serial port (spi) it programs more than 45 devices (At90s , Attiny , atmega , At89s ) including atmega8535 (the hardest in the family)
he also made a great tutorial for begenners and experts to make you master avr (...)
Microcontrollers :: 31.10.2005 11:50 :: a_shawky :: Replies: 17 :: Views: 2182
It depends on what language you use.
- avr assembler is quite simple and well structured so you can write your program with ease. Anyway I didn't use I2C/TWI interface before, but the datasheet is comprehensive so you need to read it carefully.
- If you want to finish the project rapidly and with full features you can program it in C, using
Microcontrollers :: 28.11.2005 21:08 :: Eugen_E :: Replies: 2 :: Views: 3215
i'm trying to compile this code
//*****************************************************************************
// File Name : rprintftest.c
//
// Title : example usage of rprintf library functions
// Revision : 1.0
// Notes :
// Target MCU : Atmel avr series
// Editor Tabs : 4
//
// Revision History:
// When Who Descript
Microcontrollers :: 19.03.2006 06:07 :: david90 :: Replies: 7 :: Views: 3280
check this link from NXP
PC Programming and Interfacing :: 31.03.2008 15:02 :: kamalkiran.j :: Replies: 13 :: Views: 1976
hello everyone !!
Well what i want to do is, connect a cpu fan to an avr (atmega16 or 32) then measure its speed and show on lcd. Then through buttons change the speed. Well what i am looking for is how to measure and change speed ???
any datasheet or doc ??
Microcontrollers :: 31.03.2008 18:14 :: rockstar_212 :: Replies: 6 :: Views: 1745
i have made a small web server using wiznet NM7010A. i can syccessfully run the demo web server program given by wiznet. i can send data to my lcd and turn on and off some LED as per the web page.
i want to control port0, PORT1 AND port3 using web server.
when i try to expand the html code the web server dose not responds.
i have individually te
Microcontrollers :: 14.08.2008 09:17 :: hock :: Replies: 3 :: Views: 2495
#include "avr/io.h"
#include <avr/interrupt.h>
#include "stdio.h"
#define F_CPU 11059200UL
#include
volatile double AdcOutput;
volatile unsigned char Temp,Temp1,Temp2;
volatile unsigned int k;
/************************************************
SPI INITIALISATION
*************************************************/
v
Microcontrollers :: 10.04.2013 10:14 :: sreejith4348 :: Replies: 11 :: Views: 24540
I want to interface a USB based Keyboard to a 8051 microcontroller. Data from the Keyboard (thru the USB) must be sent to the microcontroller (whenever user presses keys) and will get displayed on lcd.
Can anyone please let me know how to start with this?
Microcontrollers :: 23.06.2009 12:16 :: rajesh279 :: Replies: 4 :: Views: 2302
I am new on this forum and say "Hello everyone!"
I want to measure and read in real time the speed in mm/sec.
I use a linear transducer (it work between 0-10 V dc.), atmega 8, lcd 16x4 and to compile i use Bascom-avr.
I tried several times to write the code , but without results.
Can you help me with code in (...)
Microcontrollers :: 02.08.2009 13:17 :: iulian2010 :: Replies: 4 :: Views: 1420
Hello,
Thank You so much for you reply.
Project title: Developement of Graphical library for Easy avr Board. i.e draw lines and shapes on the screen.
I need to write a Source Code using Embedded C.
For this project, Iam using atmega16 controller and LG12864b lcd display. Using avr Studio Software for compiling. I (...)
Microcontrollers :: 07.08.2009 09:27 :: srinu1306 :: Replies: 4 :: Views: 2104
Hi,
I wana creat a up down scroll menu using atmega 128 on a Graphic lcd.
Can some body help me and guide to some code or tutorial for it.
Thanks to all!
Microcontrollers :: 16.11.2009 05:19 :: nihal_2000 :: Replies: 5 :: Views: 1891
i am doing a project in which Vehicle will be controller using a cellphone,for this i have to program the 89C51 microcontroller.i have the C program for atmega16 which i got from one of my friend but i dont have atmega16 so i need to convert the C program written for atmega16 to C program for 89C51. can some one convert it for. my email ID (...)
Microcontrollers :: 08.01.2010 09:15 :: nikhilthunderlion :: Replies: 6 :: Views: 1958
Hello friendz!!!my project on DAS.M using avr for that.the output is displayed on Glcd320*240.I have a problem in interfacin that lcd with atmega16.Please guide me to interface glcd with atmega16.....please i need your help!!!!!
Microcontrollers :: 09.01.2010 14:31 :: ameyku :: Replies: 0 :: Views: 503
I am currently developing a fan which can be controlled by temperature and also manually by the user using bluetooth technology. I will also incorperate a lcd to display the temperature. I am also planning to develop a software using either C#, VB or C++ to control the fan. As this is my first time conducting a project by myself i am in need of som
Microcontrollers :: 31.01.2010 10:05 :: Finals :: Replies: 7 :: Views: 1721
I have the same problem. But I am using the atmega16.
The porta is connected to the lcd1602 dataport and it works fine. When I connect the dataport to PORTC, the lcd display nothing.
I've already set
PORTC = 0x00;
DDRC = 0xff;
but nothing change....
I hope someone can help us!!!!
p.s. I am using the Codevision (...)
Microcontrollers :: 26.04.2010 18:50 :: michaelkaka :: Replies: 2 :: Views: 1036
i want to program 2*16 lcd on assembly language for my project electronic voting machine. Controller used is avr at-mega16. there are 5 candidates and a total of 20 votes possible. every candidate is assigned a register and the value increments if the candidate gets a vote. i want to display the end values of these registers on lcd. at first (...)
Microcontrollers :: 17.06.2010 05:36 :: incisive29 :: Replies: 2 :: Views: 1657
Hi,
If you want to do 4 bit mode with lcd, you cna get code from code wizard itself as you are using codevision avr. Just make new project in codevision avr then it will ask whether you want to use code wizard or not. After selecting that you can ask for that code.
NIKS
Microcontrollers :: 21.06.2010 13:48 :: Nikunj Tanna :: Replies: 3 :: Views: 1840
I am using atmega32 to display something in a 16x2 lcd screen.
The problem is, I have used PORT C for lcd connection and is not working. Later I erased the micro-controller and wrote a very basic program to alternatively make PORT C high and low with some delay (1 second) in between. Now, only 4 bits of PORT C is working as I expected. (...)
Microcontrollers :: 22.07.2010 18:14 :: royvincent :: Replies: 6 :: Views: 2202
hi all,i need c programming using atmega 128 avr to display lcd,to display spwm,and analog to digital converter,who can help me please?.see you
Microcontrollers :: 14.08.2010 17:22 :: hins :: Replies: 2 :: Views: 1342
Firstly, I havent worked on Glcd's yet so I dont really know how are they operated. Secondly, take things slow and step by step when you get stuck. I suggest you disconnect the lcd for now and place LED's at some port. Such that, the number you press gets output at that LED port. In this way you ll break down a much complicated problem in to a simp
Microcontrollers :: 16.10.2010 17:58 :: khansaab21 :: Replies: 6 :: Views: 1356
/* Header file declaration */
#include
/* SFR declaration */
sfr lcd=0x90;
/*single bit declaration */
sbit RS=0x90;
sbit EN=0x91;
void delay(unsigned int );
/* modem function decalration */
void uart_init(void);
unsigned char Rx_data(void);
void Tx_data(unsigned char );
void Tx_Str(unsigned char *);
void e
Microcontrollers :: 14.03.2011 11:02 :: ckshivaram :: Replies: 32 :: Views: 4579
Hi,
I am presently trying to build up a project on a temperature sensor with the help of LM35DZ using an atmega16 uC and trying to display the result on a 16x2 lcd...I have compiled a code but its not working(since I'm a complete noob)...I am posting the code in this thread..Please correct me,any help will be highly appreciated..
__________
Microcontrollers :: 25.05.2011 10:23 :: a4arijit :: Replies: 11 :: Views: 2708
If you ignore the lcd display part, which is for informational purposes only, you'll see, that the code is mainly reacting on the level changes of the DTMF outputs. The coding style isn't applying for a brilliancy prize, but understandable though. You need to get familiar with common methods of masking port bits and similar stuff.
Microcontrollers :: 12.06.2011 17:57 :: FvM :: Replies: 5 :: Views: 909
I am using lcd 16 x 2 for displaying data that come from my microprocessor. I connected everything but I didn't get anything in the lcd. I want to check if my lcd is working or not and if I have soldered perfectly or not. How should I check it?
You can make a small program using this tutorial and check whether your lcd
Microcontrollers :: 13.08.2011 15:43 :: nandhu015 :: Replies: 14 :: Views: 559
when you say function is void why do you return??? as in lcd_Write function...
and in main function instead of return put while(1); as the last statement in main function.......
---------- Post added at 18:50 ---------- Previous post was at 18:47 ----------
where is your circuit diagram.. from one of th
Microcontrollers :: 15.08.2011 15:20 :: ckshivaram :: Replies: 39 :: Views: 1095
Recently I bought a USB ISP for ATMEL avr serires controller. (somewhat Similar to picture attached).
I attached the programmer with atmega128A chip with crystal & other basic components, the chip is being written & read, now I want to know for running the hardware which will include a 16x2 lcd I need to detach the ISP & then provide the (...)
Microcontrollers :: 18.08.2011 14:55 :: garg29 :: Replies: 0 :: Views: 412
Interface GSM Module with 8051 Microcontroller : Project with Circuit & C code
Interface GSM with 8051 Microcontroller
Microcontrollers :: 29.08.2011 14:12 :: ckshivaram :: Replies: 8 :: Views: 2447
I am using 8 Mhz crystal oscillator as opposed to 12 Mhz crystal oscillator as per the circuit diagram. Does that have anything to do with this problem?That was the problem. I had given 12 Khz in the beginning instead of 8 Khz. Now it is working perfectly. Next step RFID.
Your lcd routines rely heavily on delays
Microcontrollers :: 02.09.2011 21:02 :: bigdogguru :: Replies: 9 :: Views: 676
Have you made the proper connections?
For 4bit operation D0,D1,D2,D3 should be grounded
61607
Also there is no need to set the port direction, the CVavr lcd library does it internally (in the library) for the defined pins (PORTC in this case)
The R/W can either be hardwired for read only mode (as shown in the schemat
Microcontrollers :: 17.09.2011 16:31 :: alexan_e :: Replies: 6 :: Views: 2484
Guys,
I want some opinions from you guys picking right Atmel/atmega controller for my project purpose which following specifications:
1. UART connections
2. lcd display
3. Keypad 4x4
4. SD card write/read data
Regards
Linspire
Microcontrollers :: 25.09.2011 14:07 :: Linspire :: Replies: 3 :: Views: 554
Hi
Recently I designed a High voltage circuit based on avr microcontroller. I need your opinion or any suggestion or improvements I could add to the presented project.
Circuit operation:
Microcontroller is responisible for giving appropriate PWM pulse (of known frequency) to the MOSFET transistor. Pwm signal from the uC goes to the op
Analog IC Design and Layout :: 13.10.2011 17:57 :: ifryd :: Replies: 1 :: Views: 674
Fusebit Doctor is a device for repairing badly converted fusebits in avr microcontrollers. The biggest problems are: setting the incorrect clock source (CKSEL fusebits), disabling SPI programming (SPIEN fusebit) or setting the reset pin in I/O mode (RSTDISBL fusebit). This simple d
Show DIY :: 06.11.2011 13:49 :: Vermes :: Replies: 0 :: Views: 3784
Always use an endless loop at the end of main, you shouldn't allow execution to exit the main.
#include<avr/io.h>
#include
#include<avr/eeprom.h>
#include
#include
#include"lcd.h"
#define read_eeprom_byte(address) eeprom_read_byte ((const uint8_t*)address)
#define write_eeprom_byte(address,va
PCB Routing Schematic Layout software and Simulation :: 28.01.2012 18:11 :: alexan_e :: Replies: 4 :: Views: 791
I'm also want learn TFT lcd, waiting for others.
GSM Modem is not a problem to me.
Microcontrollers :: 13.02.2012 01:52 :: engshahrul :: Replies: 5 :: Views: 348