Welcome, Guest
Username: Password: Remember me

TOPIC: Arduino problem in 5.6

Arduino problem in 5.6 3 years 3 months ago #10896

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
hey Marc,

can you post the corrected UNO sketch?

i see there are 2 -- function Request Temperature

and you deleted the second RequestTemperature?

i Could use that updated sketch

Thanks man!!

bill
The administrator has disabled public write access.

Arduino problem in 5.6 3 years 3 months ago #10902

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Bill,

The sketch was attached on my last post.
Be aware of the baud rate and the duplication of the sensor addresses.

Don't waste too much time on this issue. Just make beer!
I don't think you can speed this up under 1 second.
Using a DUE will probably not change this. Today's "Super Computer" will not be able to change this.
Onewire..., DS18B20 (conversion time) are slow by design.

Why is this so important for you?

Without doubt your brewery has many dead time related issues.
Heating up a tank with liquid, placement of the temperature sensor related to heating element etc..

My 2 cents....,

/Marc
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Arduino problem in 5.6 3 years 2 months ago #10904

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
marc wrote:
Hi Bill,

Don't waste too much time on this issue. Just make beer!
I don't think you can speed this up under 1 second.

Why is this so important for you?

/Marc

Marc,

my main problem is that the Temp Sensors screw up the time...
when the pump is supposed to run for 30 sec, and suddenly time is messed up, and it runs for 2 minutes, obviously that ruins the batch...
Having proview set for 1.6 sec does not really hurt anything...as long as it doesn't go longer than 1.6 sec, and screw up the timing of the PLC...

If i can figure out something to make it work quicker, i will post it here...
but for now, i am gonna run with 1.6sec timing and make beer!

bill
The administrator has disabled public write access.

Arduino problem in 5.6 3 years 2 months ago #10916

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
my joy is never-ending

How to tell original from fake DS18B20 temperature sensors.

We bought over 1000 "waterproof" probes or bare chips from more than 70 different vendors on ebay, AliExpress, and online stores -big and small- in 2019. All of the probes bought on ebay and AliExpress contained counterfeit DS18B20 sensors, and almost all sensors bought on those two sites were counterfeit.

github.com/cpetrich/counterfeit_DS18B20
The administrator has disabled public write access.
Time to create page: 8.466 seconds