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.
I think if you want to use more than one DS1820 with one wire you should select one of them and for this you can use:
ds1820_select(addr)
and for read_spd this is in codevision help:
unsigned char ds1820_read_spd(unsigned char *addr)
this function reads the contents of the SPD for the...
Here is library of DS1820:
/*
CodeVisionAVR C Compiler
(C) 1998-2005 Pavel Haiduc, HP InfoTech S.R.L.
Dallas Semiconductor DS1820 1 Wire bus temperature sensor functions
*/
#include <delay.h>
#include <ds1820.h>
struct __ds1820_scratch_pad_struct __ds1820_scratch_pad;
unsigned...
Hi,
I tried to sense temp. with this sensor and my program work fine in proteus but in real on LCD shows:
-9999.000000!
Is there any difference between ds1820 and ds18b20?
Thanks but I wrote new program without interrupt but still not work. :(
/*****************************************************
Project :
Version : 1.0
Date : 9/12/2013
Author :
Company :
Comments:
Chip type : ATmega32
Program type : Application
AVR Core Clock...
Hi,
I have pipeline code of MIPS CPU and i have a testbench for multicycle CPU know i want to change it.How change testbench?
module cpu(clock);
input clock;
//debugging vars
reg [31:0] cycle;
//IF vars
wire [31:0] nextpc,IFpc_plus_4,IFinst;
reg [31:0]...
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.