hello,i wanted to interface 2 atmega8 ic through SPI and i wrote theise code as Master and Slave but when i execute the code in circuit in proteus
app it wrote "Testing" in lcd
but then nothing and the transfer cant complete wnd the code freezing in the code line:
while(! (SPSR &(1<
Microcontrollers :: 11-26-2015 19:09 :: shirko20 :: Replies: 6 :: Views: 1018
I am trying to read ADC in atmeg 32 .Displaying the data to lcd
to a vlot /ammeter project .
my problem whenever simulate it on proteus
it will hangup on the checking of ADSC conversion
* Created: 14-Oct-15 6:44:15 PM
* Author: Krishna
#define F_CPU 16000000UL
Microcontrollers :: 10-15-2015 02:22 :: thannara123 :: Replies: 1 :: Views: 623
Hi Pawan kumar
Have You asked to Labcenter. Creator of proteus system ??
Visit this link:
They have a discussion forum here:
Probably you find something good for you.
Moreover: why not looking for these displays, first, in your area ??. .
I recommend you firs
Microcontrollers :: 10-12-2015 19:49 :: MrCarlos :: Replies: 8 :: Views: 1156
I'm not familiar with proteus, but shouldn't you provide a polarsation voltage to the pin of display which adjusts the lcd contrast ?
Microcontrollers :: 10-09-2015 01:29 :: andre_teprom :: Replies: 4 :: Views: 908
Post the circuit if possible in proteus format. I will have a look at your code and try to fix the problems. Also zip and post the complete mikroC project files. In your code it doesn't show the sbit defines for the lcd.
Microcontrollers :: 08-20-2015 14:06 :: pic.programmer :: Replies: 5 :: Views: 747
Please help me where is the problem in the below program, In proteaus simulation it works very fine and reads as I required, but when working with circuit it is not reading the adc but displaying some other junk values from where I don't know & being on change in values, totally it is not reading while working in circuit, anybody please correct the
Microcontrollers :: 06-11-2015 11:00 :: firstname.lastname@example.org :: Replies: 6 :: Views: 903
mikroE tells that if you want to use FlaotToStr() then ch length should be minimum 23. Try using ch. Zip and post your complete mikroC PRO PIC project files. I will test it in proteus and also hardware.
Microcontrollers :: 06-10-2015 08:44 :: milan.rajik :: Replies: 10 :: Views: 810
hello to all ...
I simulate a graphic lcd 64*128 in proteus
and program the micro with codevision avr and atmega64
but just show some point!
did you know whats the wrong?
tnx from your good site
the schematic and code is here
Microcontrollers :: 05-28-2015 12:16 :: mohammad.habibi :: Replies: 0 :: Views: 535
This is Multiple I2C lcd code. It is written using CCS C Compiler version 5.044. This si tested in proteus and also EasyPIC v7 development board with 2 x 20x4 lcds. lcds should be HD44780 or compatible. I have used I2C lcds and I2C lcd modules from Banggood.
I will soon post mikroC PRO (...)
Show your DIY :: 05-04-2015 03:03 :: milan.rajik :: Replies: 1 :: Views: 2039
Mention which MCU you are using and what clock frequency. Are you just simulating in proteus ? Provide your circuit.
Microcontrollers :: 04-19-2015 14:05 :: milan.rajik :: Replies: 3 :: Views: 750
can anybody plzz give the code and schematic diagram for following.
i want to do display lcd using ADC pins in atmega16. so i m in thought to do it for temperature display using LM35. so plzzzzz send me the code and schematic diagram and i want to execute it in proteus and then do hardware.......plz do help me........awaiting for reply.......
Elementary Electronic Questions :: 04-11-2015 11:34 :: Shaikh Jani Ashraf :: Replies: 0 :: Views: 696
hello friends i am facing some problems while interafcing PIC18F4550 witl Glcd. i am using Mikroc 6.00 compiler, and using built in libraries present in MIKROC.
i am attaching my code here, and also a proteus model.
if i comment the line No. 173 and 174 then lcd is displaying. but when i uncomment thease lines then nothing is showing (...)
Microcontrollers :: 03-30-2015 04:06 :: shaha2014 :: Replies: 0 :: Views: 757
problem in displaying on lcd is that it slows down decrementing my duty.
unsigned int adc_data;
unsigned char analog_selected = 0;
unsigned char str;
unsigned short duty1=255;
// lcd Module connections
sbit lcd_RS at RD0_bit;
sbit lcd_EN at RD1_bit;
sbit lcd_D7 at RD7_bit;
Microcontrollers :: 03-22-2015 12:11 :: mugheesnawaz :: Replies: 2 :: Views: 600
I am working on a project which is very simple. I am interfacing Glcd with Arduino in proteus and also simulating this circuit.
The library of Glcd for Arduino is not working also and it gives the simulation error so I have created it my own. Now the problem is that when I am trying to display any character on (...)
Microcontrollers :: 03-19-2015 08:04 :: chirag2239 :: Replies: 0 :: Views: 825
I have problem with lcd that has controller ts1620-1 where lcd can not display character,
I write code in mikroC-PRO software and it is working good on simulation of proteus but in real work it is not display any thing till the POT resistor is not working with light control.
Note : the lcd use in MikroC pro (...)
Microcontrollers :: 03-16-2015 10:23 :: hosammatar :: Replies: 0 :: Views: 593
Here is the code for pic18f4580
#define RS RB6
#define EN RB7
#define D0 RC0
#define D1 RC1
#define D2 RC2
#define D3 RC3
#define D4 RC4
#define D5 RC5
#define D6 RC6
#define D7 RC7
Microcontrollers :: 02-26-2015 05:38 :: Ajay Rai :: Replies: 1 :: Views: 646
My project is I2C lcd with ATMEGA1284. Project tested in proteus and also mikroElektronika EasyAVR v7 dev board. Code is written in mikroC PRO AVR compiler and uses TWI library.
mikroC PRO AVR files and proteus file are attached.
Show your DIY :: 02-25-2015 18:24 :: milan.rajik :: Replies: 1 :: Views: 2129
Nice job, thanks.
It might be worth to adding a keypad (1-wire analog) to set the clock.
An alarm function (using a buzzer) also can be useful ...
The 12f1840 has usable pins yet ;-) ;-).
Do you can attach the proteus simulation (DSN) also in ver7 (not v8) form?
Show your DIY :: 02-20-2015 07:48 :: zuisti :: Replies: 3 :: Views: 1968
Can any one help me on this. I am working on voltmeter using the adc of pic6f877a with lcd , my code works perfect on proteus but when i implement it, it won't respond fine. At times it display, at times it don't. Pls i need help.
No one can help you better with out your code and hardware connection.Post the code an
Microcontrollers :: 02-17-2015 06:22 :: ud23 :: Replies: 9 :: Views: 1029
I want to develop an interface for a project. On this Interface There is an I2C 2x16 lcd (attached datasheet), SPI communication with main board,UART for debugging. The micro controller used is a PIC18F26K22 (attached schematic).
The problem is, the lcd won't display anything. I tested the I2C in proteus, and with (...)
Microcontrollers :: 01-05-2015 16:29 :: electrodarkness :: Replies: 3 :: Views: 971
Your circuit is fine. I will check the code and update.
I think this is causing the problem. I guess it should loop from i = 0 to i < 16. The lcdbuf1 and lcdbuf2 doesn't contain anything and hence 1st coloum of lcd will be always blank but the 16th column will be filled.
If you have proteus file then Zip and post (...)
Microcontrollers :: 12-06-2014 06:20 :: milan.rajik :: Replies: 7 :: Views: 1192
You can use proteus from labcenter.co.uk. You can draw schematic, simulate and make PCB layout in it.
Microcontrollers :: 11-23-2014 06:59 :: milan.rajik :: Replies: 2 :: Views: 777
Here is my lcd code. See if that works for you. I have created lcd library similar to mikroC lcd library. Uncheck the lcd library in library manager before using my code. I have tested this in both proteus and hardware and it works.
Microcontrollers :: 10-07-2014 14:52 :: milan.rajik :: Replies: 9 :: Views: 1138
You have to use float or double type variables and use FloatToStr() function. I have answered to a similar question in your another thread.
I have fixed the code as you need. I have tested in proteus 8.1
Microcontrollers :: 09-24-2014 05:31 :: milan.rajik :: Replies: 4 :: Views: 523
hii, i want to connect 16x2 lcd (blue color screen) to the pic 16f877a. The code is running correctly with proteus. but when i made the circut it will not working.i tried many times, first it worked for some extend. it means not the correct code, part of the code. now it only appears black color boxes. i designed this circuit to measure the rainfal
Microcontrollers :: 08-05-2014 16:25 :: upekshachathurani :: Replies: 2 :: Views: 840
I write a code in assembly for 16x2 lcd display,but it does not display the ASCII code which given in the code.I use pic16f1936 uC at 4 MHz internal osc. My display interface is 8 bit mode with my controller.
Now my problem is when I start the animation play button, all the connected pin work as well,but it display nothing.I don't understand wha
Microcontrollers :: 07-16-2014 12:50 :: biswajitdas49 :: Replies: 2 :: Views: 1024
Here is the proteus simulation of my code.I am just trying to display temp on lcd screen but when i connect lm 35 to any of ad pin then lcd is displaying any garbage values and without connecting the sensor lcd is working well.here i m just printing "pra" while no ADC code is running.
Microcontrollers :: 07-06-2014 14:16 :: prashant agarwal :: Replies: 1 :: Views: 800
If I define a custom character that uses the lowest (8th) pixel row also, this row is never displayed, although the HD44780 datasheet says this:
The 8th line is the cursor position and its display is formed by a logical OR with the cursor. Maintain the 8th line data, corresponding to the cursor display position, at 0 as the curs
Software Problems, Hints and Reviews :: 07-08-2014 10:03 :: zuisti :: Replies: 2 :: Views: 1316
try to increase the delays after sending commands and data . also you need to use some resistor (fixed or variable ) at pin number 3 of the lcd as the proteus will show u the value but in real life u need to adjust the contrast.
Microcontrollers :: 06-24-2014 03:11 :: microlab :: Replies: 13 :: Views: 1277
I am sharing a code for driving 16x2 lcd. The MCU Uses only two pins for lcd. Full code, Hex file and proteus simulation are attached. I got it from internet but i made small changes for better operation. CD4094 Shift register will plays the main roll..Hope it will help you...:-)
Microcontrollers :: 06-05-2014 13:11 :: ronexg :: Replies: 1 :: Views: 680