Wireless beer fridge temperature logger

The forum for discussing all kinds of brewing paraphernalia.
Post Reply
Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sat Jul 25, 2015 6:11 pm

The correct sketch. But it won't upload to things speak so I need to serial monitor to check its connecting.

User avatar
Andy
Virtually comatose but still standing
Posts: 8716
Joined: Fri Nov 18, 2005 1:00 pm
Location: Ash, Surrey
Contact:

Re: Wireless beer fridge temperature logger

Post by Andy » Sat Jul 25, 2015 6:27 pm

This is my board set in programming mode.
Attachments
IMG_20150725_181958.jpg
ESP dev board in programming mode
Dan!

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sat Jul 25, 2015 6:43 pm

I've tried that arrangement. I'll breadboard the esp8266 and see if it works on its own.

Fil
Telling imaginary friend stories
Posts: 5229
Joined: Sun Oct 16, 2011 1:49 pm
Location: Cowley, Oxford

Re: Wireless beer fridge temperature logger

Post by Fil » Sat Jul 25, 2015 7:50 pm

as its usually a dodgy cable have you tried substituting a different usb cable??
quite a few mini and micro usb cables sold with devices for recharging are not data enabled.. :oops:
ist update for months n months..
Fermnting: not a lot..
Conditioning: nowt
Maturing: Challenger smash, and a kit lager
Drinking: dry one minikeg left in the store
Coming Soon Lots planned for the near future nowt for the immediate :(

User avatar
Andy
Virtually comatose but still standing
Posts: 8716
Joined: Fri Nov 18, 2005 1:00 pm
Location: Ash, Surrey
Contact:

Re: Wireless beer fridge temperature logger

Post by Andy » Sun Jul 26, 2015 4:15 pm

Hey Belter, don't give up on this! :)

I'm now getting lots of hassle uploading sketches to the dev board.

To get it working I have to power the board off, unplug the USB from the PC, plug it back in again, power board up and attempt an upload. Sometimes this works sometimes it doesn't.

Frustrating! This seems to have happened after upgrading to the latest Arduino ESP8266 board manager yesterday.

Anyway! It does work (eventually) but needs a bit of patience :)


EDIT: Some experimentation would show that choosing "Generic ESP8266 Module" in the IDE seems to cause problems! Both with uploading and the sketch running (my DHT11 fails to read regularly). Using "NodeMCU 0.9 (esp8266-12 module)" as Fil mentioned seems to give reliable results!
Dan!

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sun Jul 26, 2015 8:01 pm

Mine fails every time no matter what I do or how i do it.

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sun Jul 26, 2015 8:06 pm

Andy wrote:This is my board set in programming mode.
Looking at this pic, you don't seem to have the jumpers on RX and TX. I do? Little red jumpers between the two pins?

User avatar
Andy
Virtually comatose but still standing
Posts: 8716
Joined: Fri Nov 18, 2005 1:00 pm
Location: Ash, Surrey
Contact:

Re: Wireless beer fridge temperature logger

Post by Andy » Sun Jul 26, 2015 8:12 pm

Yes, my board doesn't have any jumpers for RX/TX
Dan!

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sun Jul 26, 2015 8:15 pm

Andy wrote:Yes, my board doesn't have any jumpers for RX/TX
mine does, but when I remove them nothing happens :lol: :lol:

User avatar
Andy
Virtually comatose but still standing
Posts: 8716
Joined: Fri Nov 18, 2005 1:00 pm
Location: Ash, Surrey
Contact:

Re: Wireless beer fridge temperature logger

Post by Andy » Sat Aug 01, 2015 9:23 pm

How's everyone getting on with their projects ?

I've modified my ESP8266 data logger to use MQTT (lightweight messaging protocol indented for embedded devices) and am publishing the data to a MQTT broker running on my NAS box. Then I use Node-Red ( http://nodered.org/) to construct a workflow based upon the received sensor data, I can instruct the 8266 board to turn on/off a relay, sound a buzzer etc all using MQTT.


On my other project, the HLT liqour volume display, I've now received my Arduino USB Host Shield + a bluetooth dongle and they appear to work OK with an Arduino UNO. So, just need to get a Wii Balance board, put that under the HLT and see what happens :)
Dan!

Fil
Telling imaginary friend stories
Posts: 5229
Joined: Sun Oct 16, 2011 1:49 pm
Location: Cowley, Oxford

Re: Wireless beer fridge temperature logger

Post by Fil » Sat Aug 01, 2015 10:12 pm

been busy then,, ive had small coding session resulting in test code for coms between the arduino and esp8266 ive ripped of your code andy substituting the dht reading for a serial read and conditional write to thingspeak with the arduino data fields and worked out the wiring to connect it all together, just not plucked up the courage to physically test yet fearing the escape of all the magic smoke.. its an optomistic version of code using software serial coms, I expect that i may need to change that and to have to use the arduino to trigger an esp restart to sync the boards..

well u did ask ;)
ist update for months n months..
Fermnting: not a lot..
Conditioning: nowt
Maturing: Challenger smash, and a kit lager
Drinking: dry one minikeg left in the store
Coming Soon Lots planned for the near future nowt for the immediate :(

User avatar
themadhippy
Even further under the Table
Posts: 2970
Joined: Tue Dec 08, 2009 12:53 am
Location: playing hooky

Re: Wireless beer fridge temperature logger

Post by themadhippy » Sun Aug 02, 2015 12:22 pm

worked out the wiring to connect it all together, just not plucked up the courage to physically test yet fearing the escape of all the magic smoke
Ya big wus,get in there and let the smoke free.If your really worried a condom over the smoke detector avoids unwanted interruptions to the fault finding process
Warning: The Dutch Coffeeshops products may contain drugs. Drinks containing caffeine should be used with care and moderation

Fil
Telling imaginary friend stories
Posts: 5229
Joined: Sun Oct 16, 2011 1:49 pm
Location: Cowley, Oxford

Re: Wireless beer fridge temperature logger

Post by Fil » Mon Aug 03, 2015 12:25 pm

themadhippy wrote:
worked out the wiring to connect it all together, just not plucked up the courage to physically test yet fearing the escape of all the magic smoke
Ya big wus,get in there and let the smoke free.If your really worried a condom over the smoke detector avoids unwanted interruptions to the fault finding process

all true, if the magic smoke is contained it will probably be a full eveninh of debugging,,
ist update for months n months..
Fermnting: not a lot..
Conditioning: nowt
Maturing: Challenger smash, and a kit lager
Drinking: dry one minikeg left in the store
Coming Soon Lots planned for the near future nowt for the immediate :(

Post Reply