Speaking digital thermometer demo

Use this forum to share and discuss Uzebox games and demos.

Speaking digital thermometer demo

Postby Harty123 » Fri Dec 30, 2011 7:50 pm

Hi,

I'm finished my work on a digital thermometer based on the Uzebox platform with an digital I2C temperature sensor LM75. Here is a first preview of my work:



You will find detailed information about this thermometer in the wiki.

It is possible to connect a LM75 temperature sensor to the Uzebox hardware (SDA = PD5, SCL = PD3, address = 0). In this case the demo will measure and show the temperature of this sensor in realtime. Without a sensor the program runs in so called DEMO MODE with simulated temperature values.

uzethermV11.zip
Uzetherm V1.1
(UZE + HEX + VOICE FILES)
(488.71 KiB) Downloaded 116 times


Uzetherm Sensor V01-00.zip
Schematic of sensor connection
(16.96 KiB) Downloaded 168 times


-Harty
Last edited by Harty123 on Sat Jan 14, 2012 7:44 pm, edited 4 times in total.
Life's too short to remove usb safely

Web: www.hwhardsoft.de
http://www.facebook.com/hwhardsoft
YouTube: http://www.youtube.com/user/hwhardsoft
User avatar
Harty123
 
Posts: 334
Joined: Wed Jan 12, 2011 9:30 pm
Location: PM, Germany

Re: WIP - Digital thermometer demo

Postby uze6666 » Fri Dec 30, 2011 10:47 pm

Cool, that's a nifty idea Harty! I reckon there should be more hardware things made with the Uzebox. I'll try it for sure and get one of the sensor on mu next digikey order.

-Uze
User avatar
uze6666
Site Admin
 
Posts: 2670
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada

Re: WIP - Digital thermometer demo

Postby HardlyUnique » Sat Dec 31, 2011 3:05 am

uze6666 wrote:Cool, that's a nifty idea Harty! I reckon there should be more hardware things made with the Uzebox. I'll try it for sure and get one of the sensor on mu next digikey order.

I second all of that. :mrgreen:

The display is very cool; that thermometer looks gorgeous on my avcore and the digital display looks really cool in uzem! Can't wait to test it with the LM75.

Nice job!
HardlyUnique
 
Posts: 64
Joined: Tue Dec 08, 2009 7:44 pm

Re: WIP - Digital thermometer demo

Postby Harty123 » Sat Dec 31, 2011 10:44 am

Hi,

@Uze and Hardlyunique

many Thanks... For the dotmatrix style I find inspiration by the multi function display in my VW Passat... :D The big advantage of this style is that I need only 2 tiles for it.

I've realized, that in the Uzebox schematic PD2 is in use for the power switch (? - no idea how this works) but PD5 is unused and also available on the expansion slot. So in the further development I will change the SDA signal to PD5.

-Harty
Life's too short to remove usb safely

Web: www.hwhardsoft.de
http://www.facebook.com/hwhardsoft
YouTube: http://www.youtube.com/user/hwhardsoft
User avatar
Harty123
 
Posts: 334
Joined: Wed Jan 12, 2011 9:30 pm
Location: PM, Germany

Re: WIP - Digital thermometer demo

Postby mapes » Mon Jan 02, 2012 9:41 pm

Hi Harty,

I'm interested in your inclusion of the UzeAmp into a different program. Does it also support sound effects?

If you can mix sound effects and the playing of a wave file via UzeAmp, I would be have a very big hurdle of my next game project cleared out.

I would really like to do a Intelevision Space Spartans remake, but the voice/sound effects have to work before I really grind on it.

-Mapes
User avatar
mapes
 
Posts: 119
Joined: Sun Feb 13, 2011 7:04 am
Location: Seattle

Re: WIP - Digital thermometer demo

Postby Harty123 » Mon Jan 02, 2012 10:56 pm

Hi,

I've changed the code to PD5 for SDA see above. About the LM75: this chip is often used in PC mainboards as temperature sensor. If you have an old mainboard check it - perhaps you can recycle the sensor. ;)

mapes wrote:I'm interested in your inclusion of the UzeAmp into a different program. Does it also support sound effects?

If you can mix sound effects and the playing of a wave file via UzeAmp, I would be have a very big hurdle of my next game project cleared out.

I would really like to do a Intelevision Space Spartans remake, but the voice/sound effects have to work before I really grind on it.



Space Spartans - great idea for an Uzebox game!

Hm at the moment I do some experiments with the converting of sound files in the right format - with good results. Also I tried to understand the source code of Uzeamp. It looks like that it is possible to mix sound effects with the playing of a wave file. But I don't need this feature for my application. I will inform you about the results of my experiments in the next days...


-Harty
Life's too short to remove usb safely

Web: www.hwhardsoft.de
http://www.facebook.com/hwhardsoft
YouTube: http://www.youtube.com/user/hwhardsoft
User avatar
Harty123
 
Posts: 334
Joined: Wed Jan 12, 2011 9:30 pm
Location: PM, Germany

Re: Speaking digital thermometer demo

Postby Harty123 » Sat Jan 07, 2012 4:28 pm

Hi,

the first version of the speaking thermometer is finished now. See above.

-Harty
Life's too short to remove usb safely

Web: www.hwhardsoft.de
http://www.facebook.com/hwhardsoft
YouTube: http://www.youtube.com/user/hwhardsoft
User avatar
Harty123
 
Posts: 334
Joined: Wed Jan 12, 2011 9:30 pm
Location: PM, Germany

Re: Speaking digital thermometer demo

Postby uze6666 » Mon Jan 09, 2012 6:13 am

Voice!! :mrgreen: It works flawlessly as usual...and in 2 language as a bonus. Though all those little wav files should ideally be bundled into one or two. I was refactoring the Uzamp code this weekend and a new feature could be the ability to play the wav file from an arbitray point and for a certain lenght.

Nice work Harty!
User avatar
uze6666
Site Admin
 
Posts: 2670
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada

Re: Speaking digital thermometer demo

Postby Harty123 » Mon Jan 09, 2012 6:45 pm

uze6666 wrote:Voice!! :mrgreen: It works flawlessly as usual...and in 2 language as a bonus. Though all those little wav files should ideally be bundled into one or two. I was refactoring the Uzamp code this weekend and a new feature could be the ability to play the wav file from an arbitray point and for a certain lenght.

Nice work Harty!


Yes thats a good idea for future versions of Uzetherm to put all wav files of a language in one file .... I can save a lot of RAM with this feature.

-Harty

P.S. If you want to create a news item, pls wait until I've added the source code in the wiki!
Life's too short to remove usb safely

Web: www.hwhardsoft.de
http://www.facebook.com/hwhardsoft
YouTube: http://www.youtube.com/user/hwhardsoft
User avatar
Harty123
 
Posts: 334
Joined: Wed Jan 12, 2011 9:30 pm
Location: PM, Germany

Re: Speaking digital thermometer demo

Postby paul » Fri Jan 13, 2012 11:59 am

That's really inventive, Harty! I like how you seem to consider the Uzebox more of an experimental prototype board rather than a game console ;)
User avatar
paul
 
Posts: 416
Joined: Sat May 02, 2009 8:41 am
Location: Brisbane, Australia

Next

Return to Games & Demos

Who is online

Users browsing this forum: No registered users and 1 guest