I've been playing with something that may become a product for the company I'm working for, so I won't say anymore about that other than it took a lot of time.
So, now I'm back to playing. I'd still like to make a really cheap Wifi Camera and I think I have all the tools and parts I need to do that.
I love Espressif devices, they pack a heck of a lot into small chips.
https://www.espressif.com/
There are now 3 main variants:
ESP8266
This is the original Espressif chip, it has caused quite a stir in the hobby world.
It's a single small 5x5 mm, 32 pin chip containing a processor and most hardware blocks to
handle WIFI.
There are an awful lot of different modules available containing these chips.
Previously I created a remote control from an ESP8266-12 module.
I've been buying these off Ebay, always under £2.
Unbelievable value for money.
ESP8255
This is the next stage, ESP8266 required a separate flash chip, all ESP8266 modules
contain the main chip and a flash chip. ESP8255 now includes a 1Mbyte flash inside the
chip. So it behaves and performs like an ESP8266, but modules are much smaller. My
favorite so far has been the ESP-M2 by DOIT (Doctors Of Intelligence and Technology).
I've been buying ESP-M2 off AliExpress, £1.41 each!!!
ESP32
This is the very latest offering, not quite mainstream yet, they have gone very much
upstream. I'm looking forward to playing with it.
The modules are all fabulous, but none of them seem to break out all the pins of the processor, and all of them are non bread board friendly. I've created PCBs where the module mounts to the board.
I have a PCB that connects ESP-M2 with micro SD card and RS485 bus as well as all the components to go from 12V to 5V and 3V3. This PCB is 63 x 26 mm. I had a few problems requiring putting 5V onto module pins and blowing them up, would have been much more advisable to have bread boarded it first.
So, I've fixed that.
I've created 2 small and simple PCBs, I can now plug my ESP-M2 into a bread board. Here's 1 I prepared earlier
Standard FTDI module at one end, supplies 3v3 and allows programming via Arduino.
ESP-M2 module at the other end. See lower photo, push button to reset the ESP, black push switch to switch between flash and run modes. See upper photo, 8 LEDs all attached to ESP GPIO.
Ok, it was just a setup to play, I have 8 useable GPIO, I have them flashing in all sorts of patterns. I didn't go further, I could have had them all controlled from a web page via WIFI, but I didn't.
These days I have ditched Eagle for PCBs, the constant nags to buy and the limitations got too much, I've moved over to using KiCAD and it seems to be a good decision.
I have KiCAD files for all these if anyone is interested?
The ESP8255 chip is much more than the ESP-M2 module, I've got some chips, so I'm currently creating my own module, this is a part of the ESP-M2 module schematic:
I listed the useable GPIO, IO16 isn't included above and IO2 can be used, that is the 8 off GPIO I used on bread board. This is a part of my ESP8255 module schematic:
Ok, bit complex to see clearly! But it has 14 useable GPIO. Though I have focussed on GPIO, they all have alternate functions, SDIO, ADC, PWM, too many to list, you need to look at datasheets for full details.
I've also been playing with other stuff. Got a darling little touch TFT LCD.
The LCD module is 2.4 inch, 320x240 pixels, £3.50 from Ebay. It's attached to an ARDUINO MEGA 2560 running demo paint program (not mine), works very well, has Full LCD, 4 wire touch and micro SD holder on the module. I want to get it running with the ESP8255.
I've also been looking around, I think I can plug an OV2640 camera into an ESP8255 and get it running, Wifi Camera next attempt. I can also buy all these chips at a very nice price from Mouser.
Ok, back to the real world, I've created this ESP8255 module with crystal and PCB arial, but I've not had the guts yet to build the damned thing, writing this has put it off, but time to bite the bullet.
Watch this space.......