Instructables

Tweeting, Wireless, Ugly Drum Smoker (UDS) temperature controller using Android

FeaturedContest Winner
Picture of Tweeting, Wireless, Ugly Drum Smoker (UDS) temperature controller using Android
UDS 005.jpg
UDS 009.jpg
running.png
chart-session.png
UDS 030.jpg
twitter.png

(Last updated: Oct. 2014. See last step for details on changes.)

This is the UDS Digital Supervisor, an Android app and hardware for remotely maintaining the temperature of your UDS like a thermostat. Your phone monitors the temperatures inside the UDS and adjusts a blower to keep the temperature to the setting you decide. Don't have a UDS? You can build one yourself!

What cool stuff can the UDS Digital Supervisor do?

The Supervisor app has the following functionality:

  • Maintains a constant temperature inside your smoker (duh).
  • Sounds an alarm if a thermometer temperature falls outside a configurable range. Very handy for overnight cooks so you can sleep worry-free.
  • Records the temperatures in a database and displays a graphical chart showing the progress of your cook.
  • Periodically tweets the status of your smoker so you can monitor your cook from anywhere in the world. Requires an internet connection (double duh). If you need something to put yourself to sleep you can follow my smoker's twitter account.
  • A companion app running on another Android device can monitor the Twitter feed and sound an alarm if there is an error. Go see a movie in peace knowing that your smoker is purring like a kitten in a basket full of warm socks.
  • Can monitor up to eight thermometers and measures in Fahrenheit, Celsius, or Kelvin.

How It Works

The app monitors the temperature using thermometers inside your smoker and compares it to your target temperature. If the temperature is too low the app will turn on a blower to force more air into the UDS, which will stoke the coals and increase the temperature. The app uses a PID algorithm to determine when to turn on the blower. Your phone uses Bluetooth to communicate with the hardware attached to the blower and the thermometers.

Components

This project is made up of three main parts:

  1. Blower The temperature of the smoker is ultimately determined by the amount of air the coals get. The more air the blower pushes into the smoker the hotter it will get.
  2. IOIO controller The IOIO (pronounced yo-yo) is a microcontroller specially made for Android and acts as the connection between the blower/thermometers and the Android app. The blower and thermometers plug into the controller and it sends signals to your phone using Bluetooth. Check out the IOIO home page for more information.
  3. Android app The app monitors the thermometer temperatures and adjusts the blower speed accordingly by sending a signal to the IOIO controller. The app uses a PID algorithm to determine the correct blower speed. The temperatures and the blower speed are recorded in a DB (database) which can then be used to display a chart of the entire cook. The app is free to download and is Open Source, which means it will always be free.
 
Remove these adsRemove these ads by Signing Up
1-40 of 65Next »

hey i installed the new version you put up the 1.2 but how do i get to the settings now my action menu button part were i could get to settings before is gone?

Deeg (author)  g00se_is_l00se1 month ago

The settings UI hasn't changed so it should work the same as before. At least one other person has used 1.2 and didn't mention any problems with the UI. If you still have problems send me a PM and I'll give you my email so you can send me the logcat.

I just put up a new version of 1.2 with some bug fixes so you may want to try that.

I feel like i am missing something about how to get to the settings. It use to be in the bottom right corner now its no longer there and i dont know how to get there to access the twitter settings.

bu734iw9.bmp

I'm having trouble setting up the twitter part do i put the @xxxx or just my twitter account name like xxx and i have the api key and api secret access token and token secret but i cant seem to get it to tweet. There isn't much on instructions on setting up the twitter part. Do I need to do more on the account or is it suppost to be as simple as plug in token secret tokent api key and secret api key?

I have the same problem, what is mean with api key and api secret access token and token secret?

How do i get to the action button on the new andriod 4 were it use to come up and say settings when i was using my tablet its andriod 3 were all the twitter info goes? Its no longer gives me the option on the 1.2 vesrion to access it like this?

Deeg (author)  g00se_is_l00se25 days ago

g00se, can you send a screenshot? I'm using the UDS on Android 4.4.4 (Nexus 7) without any problems.

Deeg (author)  sascharr1 month ago

You need to register UDS as an application in Twitter. Here are the step-by-step instructions: http://iag.me/socialmedia/how-to-create-a-twitter-...

The "Website" (step 5) can be anything and leave "Callback" blank. On step 7 select "Read and Write". Step 8 will show you the keys that you need to put into UDS.

Did you get your Twitter already running, goose? i did it once and until now not again.

Deeg (author)  g00se_is_l00se1 month ago

Use just your Twitter account name (e.g. "deegsmoker") for the Twitter handle. If you believe you've set it up correctly and it's still not tweeting then send me your logcat and I'll take a look.

From what i have found twitter changed whats acceptable to post for security reasons

unnamed.png
Deeg (author)  g00se_is_l00se1 month ago

Update: I'm working on this but I've updated a few dependencies and I'm working through some DB problems.

Nice to hear, my coding is pretty bad im you are taking your time to update it to make it compatible. I am putting the finishing touches onto my controller.

Deeg (author)  g00se_is_l00se1 month ago

I just put up a new version named uds-1.2-SNAPSHOT.apk. Try it out and let me know if you have problems.

https://sourceforge.net/projects/udssupervisor/files

Thx you for your time and great build and help I ran Catlog and I'm getting a error when it trys to update to twitter code 92 its ssl required.

(removed by author or community request)
Deeg (author)  g00se_is_l00se1 month ago

Odd. I used the twitter functionality a few weeks ago without issues. It looks like an upgrade to Twitter4j 4 (instead of version 3) will solve the problem. I'll try to get to it by the end of the weekend. Thanks for posting the logcat.

For those who care, here's a description of the error+solution:

http://stackoverflow.com/questions/22742478/ssl-is-required-exception-while-requesting-oauthrequest-token-using-twitter4j

sascharr made it!1 month ago

Ready!!! Hope I can fix the Twitterproblem soon :-)

IMG_20141115_190025.jpgIMG_20141115_190840.jpgIMG_20141115_190856.jpgIMG_20141115_190905.jpgIMG_20141115_191338.jpg
Any problems with the IOIO-OTG board? I had to order a new board and it seems I ordered the last original IOIO board available on eBay.

My ID10t tip is don't put Vin across the analog I/O pins. :-(
I use the OTG without any problems at the moment.
Deeg (author)  jschlager28 days ago

Ouch! I feel your pain--I accidentally swapped the power pins and fried my IOIO. The UDS works with the IOIO-OTG just fine. At least one person has used the OTG.

Twitter works! :-)))))
Deeg (author)  sascharr28 days ago

Nice work Sascha and thanks for the pictures! I like how you have an external jack for the bluetooth dongle. That probably helps with the range. Now you'll have to post a picture of some good German BBQ.

jschlager1 month ago
Software works on Galaxy Note 3 and OnePlus One.

Bluetooth tip: Turn up/down the current going to the USB port using a small screwdriver.

I am trying to use a PC case fan. I will update since I am still waiting for parts.
Deeg (author)  jschlager1 month ago

Thanks jschlager! What versions of Android OS are you using on those devices? I'll update the list.

jschlager Deeg1 month ago
Note 3 Android 4.4.2
OnePlus One Android 4.4.4
temp_-2064465626.jpgtemp_1279679916.jpgtemp_-1775984752.jpgtemp_394543576.jpg
I also used an MPS6532 NPN transistor since that is what I had instead of the TIP41C. MPS6532 can handle 500mA fan was rated at 300mA at 12V. TIP41c is rated for 6 amps.
Deeg (author)  jschlager1 month ago

I've updated the table with your devices, thanks! It'll be interesting to see what kind of range you get with that bluetooth dongle. I haven't found anything yet that is consistent past 30 feet.

sascharr7 months ago

Hello!

Just did my first wireing, but the Software shows negativ degrees and the therm has no influence on the temperature. Did anyone can help me? I add an picture of my wireing.

Regards

Sascha

20140504_195111.jpg
Deeg (author)  sascharr2 months ago

In case anybody is following along, we figured out the problem. My schematic incorrectly showed the thermometers being connected to the 5V pin. This has been fixed; the thermometers should be connected to the 3.3V pin.

Deeg (author)  sascharr7 months ago

You're wiring looks good to me. I have some thoughts:

1) Double-check and triple check your connections. If you have a multimeter verify that you have continuity between the wires and the IOIO. Also verify that you have continuity through the thermometer. The app is responding in a way that makes it look like no thermometer is plugged in so I'd check the thermometer wires first.

2) Are you using the right probes (thermometers)? The software is calibrated to work with just the the Maverick ET-73 probes.

3) Try connecting the thermometer to the other pins (e.g. 44 and 43) to see if they all read the same.

Good luck!

sascharr Deeg7 months ago

Hi Deeg!

1) See the Picture. The Software show's all the same temperature when i connect the other ports and there is no reaction when i connect the thermometer. Connection is given, i checked it with the multimeter :o(

When there is no connection to the IOIO ports 46-43, it shows 200 to 600

degrees.

2) Yes, ET-73 probes

3) See the picture

At the moment i used a 9V 1A power supply, but that could not the reason for this problem, right? Maybe the IOIO is defect? Any other idea?

Thanks for your help.

20140507_221257.jpg
Deeg (author)  sascharr6 months ago

Hello Sascha, have you had any luck in solving your problem? I've been updating the software and added the ability to use Celsius (or Kelvin!) instead of Fahrenheit. I hope to test it over the next few weekends. Once it passes I'll put up .apk file in the download page on Sourceforge.

sascharr Deeg3 months ago

hi deeg! get the new ioio now, but have the same problems. get frustrated at the moment. i only connect the mobile to the ioio without any probes and the software shows 509-512 degrees. really don't know whats running wrong.

Deeg (author)  sascharr3 months ago

Hi Sascha, I'm sorry it's not working. :( If you want we can try using the debugger to see what values the software is reading from the IOIO. Can you get the logcat from your device? If you want to try it let me know and I'll PM you my email.

All the users of UDS that I know of are in the US so maybe there's something different about your Android device that's preventing it from working.

sascharr Deeg3 months ago

Thank you! I sent you a PM :-)

sascharr Deeg6 months ago

sorry for the late reply. no, i did not find the time, but now after your update i will try to start again. keep you informed. regards

Deeg (author)  sascharr7 months ago

The 9v PS shouldn't be a problem (assuming it's not defective). Maybe verify that the +V voltage coming out of the IOIO is 5v. It's always possible that the IOIO is defective; I have no idea how many of them have problems but the two I bought were both fine.

If you are up to it you could try installing the HelloIOIO app to verify that the basic operations of the IOIO are working. You can learn more here: https://www.sparkfun.com/tutorials/280

I don't know what else to say except re-check the connections and verify all they inputs/outputs. I don't think the problem is with the UDS app because other people have been able to get it working. I used the original IOIO and haddad1 used Version 2 so that rules out version issues. I'm sorry I'm not much help. =/

haddad1 Deeg5 months ago

did you try that ioio on the PIDGO schield first? if so that could have burned up your IOIO. i personally burned one up by pluging it into a PIDGO schield. there is a wiring error on the schematic for the pit temp input of the PIDGO.

sascharr haddad15 months ago

yes i try this on the pidgo first. i ordered a new ioio and hope it will run with it.

1-40 of 65Next »