Wireless beer fridge temperature logger
Re: Wireless beer fridge temperature logger
The correct sketch. But it won't upload to things speak so I need to serial monitor to check its connecting.
- 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
I've tried that arrangement. I'll breadboard the esp8266 and see if it works on its own.
-
- Telling imaginary friend stories
- Posts: 5229
- Joined: Sun Oct 16, 2011 1:49 pm
- Location: Cowley, Oxford
Re: Wireless beer fridge temperature logger
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..
quite a few mini and micro usb cables sold with devices for recharging are not data enabled..

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
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

- 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
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!

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!
Re: Wireless beer fridge temperature logger
Mine fails every time no matter what I do or how i do it.
Re: Wireless beer fridge temperature logger
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?Andy wrote:This is my board set in programming mode.
Re: Wireless beer fridge temperature logger
mine does, but when I remove them nothing happensAndy wrote:Yes, my board doesn't have any jumpers for RX/TX


- 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
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
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!
-
- Telling imaginary friend stories
- Posts: 5229
- Joined: Sun Oct 16, 2011 1:49 pm
- Location: Cowley, Oxford
Re: Wireless beer fridge temperature logger
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
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
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

- 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
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 processworked 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
Warning: The Dutch Coffeeshops products may contain drugs. Drinks containing caffeine should be used with care and moderation
-
- Telling imaginary friend stories
- Posts: 5229
- Joined: Sun Oct 16, 2011 1:49 pm
- Location: Cowley, Oxford
Re: Wireless beer fridge temperature logger
themadhippy wrote: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 processworked 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
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
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
