Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
In proteus, I could not find DS3231 so i used DS1307 and surprisingly it works in proteus.
In real hardware i am using DS3231 and that where my code get stuck.
You are right, i might have missed to save proteus project.attaching the proteus project again. Having said that code is working fine but doesn't work in real hardware.
Hi Okada,
In proteus I selected 46k22 only and simulated with the code I share with you and its working fine in proteus.
Issue comes when I use real hardware.
Hello Okada/Fvm,
Actually I was trying with I2C2 module as well, but the same results.
Okada I also tried with setting TRISC as input, still its getting stuck at I2C wr command.
// LCD module connection
sbit LCD_RS at LATB4_bit;
sbit LCD_EN at LATB5_bit;
sbit LCD_D4 at LATB0_bit;
sbit LCD_D5...
Hello Easyrider83,
I really appreciate you suggesting me to work through your soft driver.
But with all due respect I hope mikroC I2C library works fine as its working for others. Apart i did try with mikroC soft I2C library as well.
Do you any suggestion why my code is getting stuck at...
Hello Guys,
I did try with changing I2C1_Init(100000); but no luck. Also tried with Pull up resistance but still the same issue.
Below is the circuit diagram. Its working in proteus but not on real hardware.
Also I am using DS3231 module below is screen shot.
Regards,
Dev
Hello Guys,
I am trying to connect DS3231 RTC to my PIC microcontroller 18f46k22. But my code is getting stuck at I2C1_Wr(DS3231_Write_addr) command. Any idea whats the issue.
// LCD module connection
sbit LCD_RS at LATD4_bit;
sbit LCD_EN at LATD5_bit;
sbit LCD_D4 at LATD0_bit;
sbit LCD_D5 at...
Hello Guys,
Thanks for your valuable response.
Input Voltage 3.24V means 3.24V battery connected between V2 and V1.
Next day I tried with same circuit and it worked. Must be some problem with connection.
Sorry for wasting your time.
Regards,
Dev
Hello Guys,
I and trying to create a Unity Gain Differential Amplifier using LM324 opamp. Circuit diagram as below, In this all resistance are of 10k values. Theoretically output should be difference of both the inputs but somehow the result are totally different.
Supply voltage: 5V
Input...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.