Location:
Search - ds1307 16
Search list
Description: 16*2 LCD 电子钟程序,使用DS1307实时芯片+AT89C51,理想的电子钟-16* 2 LCD electronic clock, the use of real-time DS1307 chip+ AT89C51, ideal for electronic clock
Platform: |
Size: 114688 |
Author: liping |
Hits:
Description: bascom-avr波斯日历项目:
这是一个与DS1307的集成电路波斯日历。在大多数项目的默认日期是基于ANSI系统,但在波斯湾的项目,我们有太阳能系统,并从开始一个重要的伊斯兰事件的另一个日期。在这个项目中,我们开发了一个功能转换的ANSI日期波斯(贾拉利,Shamsi先生)日期。这个功能是非常强大的日期为字符串作为输入,并给波斯作为输出字符串的日期。这个函数的基本算法是不从AVR64。
输入:日$包含:“11年6月6日”(MM/ DD / YY)[8位数STR]
输出:“1390年3月16日”(YYYY / MM / DD)[10位STR]-Persian Calendar Project:
This is a Persian calendar with DS1307 IC. The default date in most of projects are based on ANSI system, but in Persian project we have another date based on solar system and start from a important Islamic event. In this project we develop a function that convert ANSI date to Persian (Jalali, Shamsi) date. this function is very powerful and get Date$ string as input and give Persian date as output string. The base algorithm of this function are not from AVR64.
Input: Date$ is contain of : “06/06/11” (MM/DD/YY) [8 digit str]
Output: “1390/03/16” (YYYY/MM/DD) [10 digit str]
Platform: |
Size: 102400 |
Author: lupo |
Hits:
Description: TFT LCD code demo
HARDWARE
AVR mega8,16,32
BL-TFT240320PLUS. An interface can be 8/16 bit mode. TFT LCD arduino shield.
SD card
File
APPLICATION
main.c main program. scan SD card and display BMP file on lcd.
readme.txt this text.
BMP DISPLAY
sdbmp.c,
sdbmp.h Read SD Card and plot to LCD.
SD card driver
mmc.c,
disio.h,
pff.c,
pff.h
integer.h SD driver / Petit FatFs (C)ChaN, 2009 (http://elm-chan.org)
mcc.h avr spi for sd card interface.
LCD driver
SSD1289.c,
SSD1289.h,
graphic.h TFT LCD interface. LCD driver SSD1289.
Release 01
first release
Release 02
- (readme.txt) add comment
- (sdbmp.c) Change reading sd card using stream. It give faster and smooter display
- (ssd1289.c)Change Bar function to native code from call routine. So clear screen is too fast.
Release 03
- change hardware to support arduino I2C and add ds1307 RTC (only arduino).-TFT LCD code demo
HARDWARE
AVR mega8,16,32
BL-TFT240320PLUS. An interface can be 8/16 bit mode. TFT LCD arduino shield.
SD card
File
APPLICATION
main.c main program. scan SD card and display BMP file on lcd.
readme.txt this text.
BMP DISPLAY
sdbmp.c,
sdbmp.h Read SD Card and plot to LCD.
SD card driver
mmc.c,
disio.h,
pff.c,
pff.h
integer.h SD driver / Petit FatFs (C)ChaN, 2009 (http://elm-chan.org)
mcc.h avr spi for sd card interface.
LCD driver
SSD1289.c,
SSD1289.h,
graphic.h TFT LCD interface. LCD driver SSD1289.
Release 01
first release
Release 02
- (readme.txt) add comment
- (sdbmp.c) Change reading sd card using stream. It give faster and smooter display
- (ssd1289.c)Change Bar function to native code from call routine. So clear screen is too fast.
Release 03
- change hardware to support arduino I2C and add ds1307 RTC (only arduino).
Platform: |
Size: 121856 |
Author: Sindzas |
Hits:
Description: arduino + 1602 +dht11 + sr04 + ds1307-#include <LiquidCrystal.h>
LiquidCrystal lcd(2,3,4,5,6,7)
/*
1602
vss to gnd
vdd to 5v
RS TO PIN2
RW TO GND
E TO PIN3
D4 TO PIN4
D5 TO PIN5
D6 TO PIN6
D7 TO PIN7
A TO 5V
K TO GND
*/
#include "Wire.h"
#define DS1307_ADDRESS 0x68
byte zero = 0x00 //workaround for issue#527
/*
DS1307
SDA TO PIN A4
SCL TO PIN A5
VCC TO 5V
GND TO GND
*/
#include <dht11.h>
dht11 DHT11
#define DHT11PIN 8 //DHT11 PIN 3 连接UNO 3
#define TRIGPIN 9
#define ECHOPIN 10
long ping() {
digitalWrite(TRIGPIN, LOW)
delayMicroseconds(2)
digitalWrite(TRIGPIN, HIGH)
delayMicroseconds(10)
digitalWrite(TRIGPIN, LOW)
return pulseIn(ECHOPIN, HIGH)/58
}
void setup() {
Wire.begin()
Serial.begin(9600)
//setDateTime() //MUST CONFIGURE IN FUNCTION
lcd.begin(16, 2)
//lcd.setCursor(0,1)
//lcd.write("LIGHT: ")
pinMode(TRIGPIN, OUTPUT)
pinMode(ECHOPIN, INPUT)
pinMode(13, OUTPUT)
}
void loop() {
//int sensorValue
Platform: |
Size: 2048 |
Author: dicklaw |
Hits:
Description: DS1307\Avr 16\AvrStudio,时钟,IIC-DS1307 \ Avr 16 \ AvrStudio, clock, IIC
Platform: |
Size: 1024 |
Author: sky |
Hits:
Description: Programmable Digital Clock with Alarm
Processor: Atmel AT89C51 Microcontroller (Compatible With MCS-51)
Timekeeper: DS1307 I2C Serial Timekeeper IC
Display: 16 characters x 2 lines LCD
Author: Aslam Ali
Platform: |
Size: 70656 |
Author: Asalm Ali |
Hits:
Description: 16* 2 LCD electronic clock, the use of real-time ds1307 chip atmega48
Platform: |
Size: 22528 |
Author: julki |
Hits: