Hi everyone,,,
I want to use the DS1620 chip as a thermometer to read the Temp, so I had to operate with the (3-wire mode).
I just need 1 temprature reading so I used the 1 shot mode.
*The first thing I had to access the configuration register by the command (write config 0Ch).
*Then setting the register to be 00000011 (CPU, 1SHOT) are set.
*After that I issued the command (start convert T EEh)
*The last command is (read temprature AAh)
to see the thing clearly I used three switches, one for DQ, another for CLK and the third for RST.
My sequence to write the instructions was:
1- Rst is low
2- CLK is high
3- Rst is high
4- CLK is low
5- setting DQ for the LSB of the instruction
6- CLK is high
7- repeating (4, 5, 6) for the remaining bits of the instruction
8- Rst is low then High (Toggling)
9- Next instruction.
But I cant get any thing in DQ in read mode when i start the CLK does anyone know why??
Many Thanks
I want to use the DS1620 chip as a thermometer to read the Temp, so I had to operate with the (3-wire mode).
I just need 1 temprature reading so I used the 1 shot mode.
*The first thing I had to access the configuration register by the command (write config 0Ch).
*Then setting the register to be 00000011 (CPU, 1SHOT) are set.
*After that I issued the command (start convert T EEh)
*The last command is (read temprature AAh)
to see the thing clearly I used three switches, one for DQ, another for CLK and the third for RST.
My sequence to write the instructions was:
1- Rst is low
2- CLK is high
3- Rst is high
4- CLK is low
5- setting DQ for the LSB of the instruction
6- CLK is high
7- repeating (4, 5, 6) for the remaining bits of the instruction
8- Rst is low then High (Toggling)
9- Next instruction.
But I cant get any thing in DQ in read mode when i start the CLK does anyone know why??
Many Thanks