You may recall my blog entry about my “universal peripheral” – using the little Arduino Nano or similar clones with an ESP8266 – with the former providing GPIO via an I2c connection.
Well, that led me to getting this little number from Banggood – the Wemos Atmega + WiFi R2 Atmega2560+ESP8266 32Mb Memory board.
It’s not 32 MEG of course – it is 4MB – but that’s the same as a normal ESP12. but with the GPIO power of an Atmega 2560 – all in one neat board.
Initial impressions – it looks well put together. According to the underside, it takes DC 7-16v in – and has DC out at 5v 1.6A and 3.3v at 1 amp – so it actually is a little more than just the two boards – looks like there’s lots of power there for peripherals.
I must admit, I’m not a fan of these boards renaming GPIO on the ESP8266 to pretend it is an Arduino – makes wiring up for those of us used to the ESP8266 just that bit more difficult. On this board, some of the ESP8266 pins (that connector in the middle) retain their original names – CH_PD, GPIO5, GPIO4, GPIO12, GPIO0, GPIO2, GPIO16…. the rest are buried away along the edge connectors.
The important thing is that they’ve not tried to be too clever and the I2c pins on the Atmega are not connected up to the ESP – just as well because different people use different pins on the ESP8266, I use GPIO4 and GPIO5. There is a TINY dip-switch in the middle of this board which lets you set what connections if any you want between the two boards.
It might take a little while for me to modify (easy enough) the “universal peripheral” code to take into account the extra pins and features of the 2560 but that is what I’ll do (that’s not stopping anyone else in the meantime of course as I published the code in previous articles) – basically add another node to my home control system, this one with more GPIO than you could shake a stick at!!