Wireless beer fridge temperature logger

The forum for discussing all kinds of brewing paraphernalia.
Post Reply
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 1:49 pm

Which USB connector are you plugging into on the board ? You can only program it using the mini USB (the larger of the two) the micro USB connector only provides power and no comms. The mini USB provides both.
Dan!

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sat Jul 25, 2015 1:55 pm

Yeah i'm definitely on the right one. I've followed all three guides I found and nothing seems to work. One says GPIO15 needs to be high to write. The other says Dipswitch R. Another says K2. Another says press S2 and power on. None of these things seem to work :(

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 2:00 pm

Run up the serial monitor in the IDE after trying each port then reboot the board. It should spew some text out if you've got the right one.
Dan!

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sat Jul 25, 2015 2:19 pm

Serial Monitor wont load as I have the wrong port. I think my board may be broke but I can't prove that as I don't know enough about electronics. I'll have another go tonight

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 2:20 pm

to get the board into a state you can flash/upload to, plug it in and turned it off with the latching microwsitch on board, and flip the 8th dip switch to on, turn on the board and then return the 8th dip switch to off and you should be able to upload to the board.

I wouldnt have an open serial monitor or putty session to the board prior to attempting a flash as that could get in the way, ive had a bit of trouble with the arduino ide not recognising usb/serial ports when redundant serial monitor windows remain active

putty is the terminal s/w i use to connect to the board for an AT check prior to flashing to ensure i have the correct port identified...
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 » Sat Jul 25, 2015 2:22 pm

Do any lights come on the board and/or chip when powered on?
Dan!

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sat Jul 25, 2015 2:32 pm

Yep we have both LED's lit. One on the board and one on the WIFI shield.


Phil: So no other Dipswitches set to on?

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sat Jul 25, 2015 2:35 pm

Sketch uses 300,680 bytes (69%) of program storage space. Maximum is 434,160 bytes.
Global variables use 49,164 bytes (60%) of dynamic memory, leaving 32,756 bytes for local variables. Maximum is 81,920 bytes.
error: cannot access /dev/cu.Mmmmrach-DataTransfer

error: espcomm_open failed.

I think on a Mac the Ports don't show up until the device is connected. So with the device not connecting properly I have selected a completely unrelated port. I need the device to connect, then select the correct port then flash but it doesn't connect.

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sat Jul 25, 2015 2:36 pm

In 'boards' I take it I should be on 'Generic ESP8622 Module'?

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 2:38 pm

Yup
Dan!

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 2:39 pm

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 Jul 25, 2015 2:41 pm

i selected.. NodeMCU (esp8266-12 module) in the arduino borad type..
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 :(

Belter

Re: Wireless beer fridge temperature logger

Post by Belter » Sat Jul 25, 2015 2:42 pm

I've just plugged my Uno in and get a new port so that confirms that the ESP isn't communicating with the Mac. Regardless of which dip switches are pulled up or resetting while pressing S2 it doesn't put itself into Flashing mode.

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 3:42 pm

excuse me for starting at step 1 again.. but did you establish communication with the board and get responses to AT commands in either serial monitor or any other terminal emulator, i find putty very easy to use..??

with a breadboard and arduino you can just use the 8266 chip without the dev board to establish a serial connection and execute AT commands and check responses, if you can get that going then your 8266 is ok and the dev board is the problem.. and you should be able to flash the board using a ftdi programmer.

The dev board while presenting a 'easy' jump in isnt the only method.
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 » Sat Jul 25, 2015 4:53 pm

Well you've managed to get the thing working once. What did you upload that first time ?
Dan!

Post Reply