💬 ESP-LINK ESP8266 WeMos D1 Mini Adapter Board


  • Hero Member

    @kalle said:

    Haha, good question and here is the answer:
    We have created a IR/RF Blaster 😉
    The video and description show you not the newest version, but it give you an idea of it.

    http://voxcommando.com/mediawiki/index.php?title=IR/RF_Device

    I was inspired by mysensors member "blacey" - https://forum.mysensors.org/topic/1402/ir-blaster-progress
    because he never finished his project 😉

    Kalle

    I have an Amazon Echo that I like a lot, although I'm vastly under-utilizing it. Is Voice Commando as good as it is at understanding speech? If you mated your IR blasting orb to Amazon echo, I'm sure you'd find a large, receptive audience.



  • @NeverDie said:

    I have an Amazon Echo that I like a lot, although I'm vastly under-utilizing it. Is Voice Commando as good as it is at understanding speech? If you mated your IR blasting orb to Amazon echo, I'm sure you'd find a large, receptive audience.

    Thanks and yes VoxCommando has a lot of more advantages as the Amazon Echo but it is hard for me to list it all here. I'm sure the Amazon Echo has also its authority, but I don't really know how the Amazon Echo works. VoxCommando do not need a internet connection to communicate to a device and for me it is important to know that my spoken commands will not send over the net to an cloud server. You can use any kind of prefix to start VoxCommando to listening for a command if you don't like "Alexa" 😉
    You can try VoxCommando, because it has a full working trial version http://voxcommando.com/home/downloads/

    PS: VoxCommando has also a python API to communicate to mysensors device


  • Hero Member

    @kalle said:

    @NeverDie said:

    I have an Amazon Echo that I like a lot, although I'm vastly under-utilizing it. Is Voice Commando as good as it is at understanding speech? If you mated your IR blasting orb to Amazon echo, I'm sure you'd find a large, receptive audience.

    Thanks and yes VoxCommando has a lot of more advantages as the Amazon Echo but it is hard for me to list it all here. I'm sure the Amazon Echo has also its authority, but I don't really know how the Amazon Echo works. VoxCommando do not need a internet connection to communicate to a device and for me it is important to know that my spoken commands will not send over the net to an cloud server. You can use any kind of prefix to start VoxCommando to listening for a command if you don't like "Alexa" 😉
    You can try VoxCommando, because it has a full working trial version http://voxcommando.com/home/downloads/

    PS: VoxCommando has also a python API to communicate to mysensors device

    Does VoxCommando work well if it's hooked up to an array microphone so that it's always listening? One of the strong points of Alexa is that you don't have to pick up a microphone to talk to it. I can talk from across the room, and Alexa still understands me just fine.



  • @NeverDie
    I use personally different types of mics. Wireless mic, my mobile phone (there is a extra android app availabe "VoxWav") and also a smartwatch (Omate). I have no experience with an microphone array but some user using a boundary mic. Here are a interested post from our forum about the Echo.

    http://voxcommando.com/forum/index.php?topic=1847.0


  • Hero Member

    Just now released Version 004. Changes in Version 004:

    1. Corrected spacing between rows of pins to fit the Wemos D1 Mini.
    2. Enlarged drill holes to make inserting and aligning header pins easier.
    3. Rotated FTDI header 180 degrees.
    4. Added a ground pour.
    5. Vias eliminated.

    I just now ordered new Version 004 boards from the fab. This project will remain a "Work in Progress" until I receive them and can verify that everything is fitting correctly and working as it should.


  • Hero Member

    @NeverDie said:

    @fets said:

    @NeverDie said:

    So, I decided to order some of those instead.

    Which one did you order ? Can you provide the link please 😉

    I ordered it from:
    https://www.aliexpress.com/item/1PCS-D1-mini-V2-Mini-NodeMcu-4M-bytes-Lua-WIFI-development-ESP8266-by-WeMos/32754697134.html?spm=2114.13010608.0.0.zAagka

    Caveat emptor:The vendor I used (above) sent me version 1 clones, despite its photos showing Version 2 Wemos boards. What a rip off! From now on I'm ordering only direct from Wemos.


  • Hardware Contributor

    @NeverDie don't forget to open a dispute, add a photo with the board you received and a v2 with clear text saying "Official Wemos v2 / picture on product page" and "Board received" as title, then make arrows to show the differences.
    They are claiming to sell v2 so you would already not have too many problems to get your money back from aliexpress. But as they also claim it's "by Wemos" and what you received is not, it means they're selling fakes, full redund is only a few days away from your pocket.

    Tip: you can also discuss with the seller to make him admit it's not an official wemos board, then put a screen capture of the messages attached in the dispute.


  • Hero Member

    I received the ESP-LINK board from the fab, and it fits together very easily. For illustration purposes, the photos below show it connected to a 3.3v 8Mhz pro mini

    0_1481043499651_esp1.jpg

    0_1481043513972_esp2.jpg

    In this instance, the pro mini hovers over the ESP8266 antenna, which isn't ideal. I suppose one could mount the pro mini vertically so as to avoid that. However, I'm now thinking that mounting the FTDI connector at the front of the adapter board, and having the pro mini (or whatever is being connected to) hang in the opposite direction might be a better way to go. Doing that, the board could also be reduced in size by about 1/3.

    Of course, for a permanent installation, one could just solder the pro mini direcctly to the adapter board, and then it wouldn't overhang quite so much. Or one could just orientate the plugs vertically (as in the example photos of the homemade version), and the pro mini itself could remain horizontal.

    Anyone have any opinions regarding this, or is it a "don't care" issue? For example, which do you prefer: a horizontal (as shown) or vertical orientation for the FTDI connector?



  • What is the idea to connect an Arduino to an ESP8266. What are the benefits of an Arduino in comparison to an ESP?
    From my understanding, an ESP is more powerful than an Arduino nano.


  • Hero Member

    @gloob said:

    What are the benefits of an Arduino in comparison to an ESP?

    The number of inputs and outputs is one benefit.


  • Hero Member

    Also, if you're doing something that's very sensitive to timing, you may want to have a dedicated mcu handling that aspect. The ESP8266 is effectively timesharing it's wi-fi duties with its other tasks.


  • Hero Member

    I just now posted Version 7.

    Changes from Version 4:

    1. Fixed a routing error that prevented OTA reset from working. Now connecting D6 of Wemos D1 Mini (i.e. GPIO 12 of ESP8266) to DTR.
    2. Fixed the overhang issue.
    3. Shrunk size of PCB
    4. Updated schematic.
    5. Changed pads to be square or round according to normal schematic convention.

    For reference, here's a pinout of the Wemos D1 Mini:
    alt text


  • Hero Member

    I just received my D1 Mini "Pro," and it is a completely different design from the non-pro version. It only has SMD parts on one side of the board, not two as with the non-pro version. Furthermore, it doesn't use a metal encased ESP8266 module at all. Instead, it more or less implements the contents of a metal-can module on the board itself. In other words, Wemos vertically integrated the Pro version.



  • @NeverDie

    It has also 16M bytes flash instead of 4M bytes and a CP2104 USB-TO-UART IC which is new, there is also a external antenna connector available.

    Here are the product webpages if anyone is interested:

    WemosD1 mini Pro: https://www.wemos.cc/product/d1-mini-pro.html
    Wemos D1 mini: https://www.wemos.cc/product/d1-mini.html

    The Wemos D1 mini Pro is slightly more expensive than the Wemos D1 mini


  • Hardware Contributor

    Just received mine and it's great as it's really thin now. They have moved the USB plug on the same slide than the components and every other component is thinner than that.
    Not sure about the reception quality with the ceramic antenna but it could be a good improvement too.

    The problem is when you want to use the 16Mb. It's not supported by Arsuinonso you have to cheat. And it's not even supported by the read/write flash functions so you have to cheat also. In both cases you don't have full functionality for the 16Mb using Arduino...


  • Hero Member

    @Nca78
    You're ahead of me. How much is supported?



  • @NeverDie
    Do you noticed also the PSF-A85 and PSF-A85 boards on the itead website?

    https://www.itead.cc/wiki/PSF-A85
    https://www.itead.cc/wiki/PSF-B85

    These boards contain the new ESP8285. I have seen this ESP8285 (ESP8285 internal Flash is 1MByte = 8Mbit) in the Sonoff Wall-Touch-switch and it was easy to write a Arduino sketch to it with an FTDI programmer (FTDI prg. is only for the first time needed, after that you can update the sketch OTA).

    The Board has only ~14mmx14mm - so it is possible to shrink "Wemos D1 mini" based projects.
    Here are a picture to see the Wemos size vs. PSF-A85 (red square):

    0_1481398463489_ESP8285.JPG

    Kalle


  • Hardware Contributor

    @NeverDie said:

    @Nca78
    You're ahead of me. How much is supported?

    Sorry I didn't go much further than seeing there's some code to modify to cheat in the flash read/write methods to access it from the ic when running, and some other modifications in arduino IDE to be able to write to more than 4Mb. As I don't have a need for the extra storage at the moment I decided to pass 🙂

    @kalle thank you for the link I didn't notice those before. Very interesting indeed as it's an ESP8266 with extra memory. With a small ceramic antenna similar to the one on the D1 mini pro it can make a really tiny
    I just discover the wall switches too, they are nice but you need neutral wire (not surprising to be able to power esp8266) and it's not available for the switch type I have here US(AU) which is a bit smaller than standard US type 😞



  • @Nca78 I have tested both types of switches (EU/US) and they have both the same components inside - so maybe the EU wall switch will fit because it is even smaller. The price for such a switch is amazing (15$), but it is not glass on the top it is acrylic plastic.


  • Hero Member

    @kalle
    Thanks for the links. Itead describes them as "ultra alow power," but I'm wondering: what's ultra low power about them? Aside from turning it off (500na), everything else doesn't seem ultra low power, at least compared to the usual atemega328p + nrf/rfm radio module that we're all used to on this forum.

    That said, I think the esp8266/85 actually could be made much lower power if it were possible (and it probably is, but I don't know how) to use its radio to simply broadcast a message without first linking to a router. Then, even if the power drain is high while active, it's active period could be kept so short that the energy drain would be quite manageable. Do you happen to know if there's a way to do that?



  • @NeverDie Itead said this chip is also for creating wearaible devices - so I think it is possible to use it with batteries. The ESP has a deepsleep function but I have no experience with it and don't know how it works - sorry. I have only "hacked" the Sonoff touch wall switch to use it without the terrible cloud app - I don't use it with the mysensors stuff, but maybe it is possible to use such a switch as ESPgateway node (the chip is powered with 3.3V) and we can try to upload the ESPgateway sketch on the switch.


  • Hero Member

    @kalle

    The deep sleep is good enough. What ruins the whole thing, though, is the fairly long re-acquaintance with the wi-fi router once it wakes up. That's where most of the power drain happens. If we could just drive the radio directly, then that problem goes away.


  • Hero Member

    @NeverDie

    OK, I just noticed that it supports wi-fi direct (https://www.itead.cc/psf-a85.html), so perhaps that could accomplish it, since that doesn't require the lengthy wi-fi router dance.

    The other strange thing is that Itead says its module supports 2x1 MIMO, and yet I see only one antenna port on it.



  • @NeverDie To connect to the router take only 1-2 seconds for my wemos devices (static IP), but ok - maybe this is to long.
    I think for a switch, it can be run all the time - or do I misunderstand something


  • Hero Member

    @kalle
    Yeah, 1-2 seconds is correct, but there's a consensus that for battery operation, because of the high current drain, that's actually 2 to 3 orders of magnitude too long. Think of a typical temp-rh sensor that updates every 5 minutes, for example. It adds up quickly.


  • Hardware Contributor

    @NeverDie said:

    @NeverDie

    OK, I just noticed that it supports wi-fi direct (https://www.itead.cc/psf-a85.html), so perhaps that could accomplish it, since that doesn't require the lengthy wi-fi router dance.

    No it doesn't. That's a claim that has been made by Espressif in the ESP8266 specs. But it has never been implemented...

    Wearable ESP8266 (or 8285) is also a bold claim by iTead. The lowest power mode for radio transmit draws around 120mA, it's already over 50mA in receive mode. And if you use PWM, i2C (and I fail to see the use of wearable without them) or anything like that even when disabling the radio it will consume 15mA.

    I have better hopes for the ESP32 as it's supposed to have some kind of very low power (for real) coprocessor to handle small tasks while the main cores will sleep. But it's still in development on the SDK side, and as seen with the "wifi direct" claim on the ESP8266 we should not take every promised feature from Espressif at face value 😉



  • @Nca78 Thanks for the explanation - and yes, I'm also still waiting for the ESP32


  • Hardware Contributor

    Hmm.. at Mysensors Team we already have our ESP32 LORA board 😜

    0_1481467903933_custom-esp32-LORA-board-near-a-Nano32.jpg
    This is a LIPO charger, LORA board i did for ESP32 evaluation. With a nice LDO, I added a neopixel, and prefer bigger tactile switch 🙂 same width as Nano32 but 1cm longer, so one row available on each side for breadboarding. ESP32 is a nice little beast 🙂

    I have other stuff coming for esp32. i'll release 😉


  • Hero Member

    @scalz
    Will the ESP32 be capable of "ultra low power" in a real sense? Have you run any measurements?


  • Hardware Contributor

    imho, ultra low power is sub uA. Above, it's very low power 🙂

    So, i'm not sure for ultra low power (depends also on strategy..), but very low power yes. I've not run any power consumption tests, focused on other parts. And the SDK is still not complete including the low power aspects. Some stuff is missing in ESP-IDF, but ready in Arduino, and vice versa. Docs are not complete yet, but looks good.
    That said, ESP32 team is doing a great work! And Espressif is working on a revision of their sillicon die (there is an errata)...


  • Hero Member

    @scalz
    In that case, what's your definition of "very low power"?


  • Hardware Contributor

    lol, my very personal view, for battery operated devices:

    • ultra low power : <= 1uA
    • very low power : < 10uA
    • low power : 100uA, not sure for this one 🙂

    The same for the efficiency 😉


  • Hero Member

    Will the ESP32 be able to remember its state (including all variable values) just prior to sleeping, like an atmega328p can, or like the ESP8266 do you have to explicitly store the state in flash before sleeping and then restore it upon waking up?


  • Hardware Contributor

    for more infos, easier to have a look at their docs but it's a lot smarter than esp8266.


  • Hero Member

    @scalz
    Fair enough. It's just that it's hard to know, as Nca78 points out, what parts of their documentation can be believed, and what parts are pure fantasy.


  • Hero Member

    I notice Seeed Studio was selling the esp32 for $6.95, but it's presently backordered: https://www.seeedstudio.com/ESP-32S-Wifi-Bluetooth-Combo-Module-p-2706.html

    Other seller are selling either the esp32 or the esp32 with an adapter board for 2-3x that amount. So, it's still early days until supply catches up with demand.

    A few other things impress me about it:

    1. it comes with Bluetooth Low Eenrgy,
    2. 520kByte of SRAM.
    3. Built in hardware support for 10 capacitive touch channels.
    4. Apparently it comes with an RTC built-in
    5. 240Mhz processor clock frequency
    6. Two 10-bit DAC's. Quite a few 12-bit ADC's.

    Sounds interesting!


  • Hero Member

    @NeverDie

    Which of the esp32 boards is the best one to buy? What I like about the Wemos board for the ESP8266 is that I can download a sketch without having to press any buttons on the board itself. Is there an esp32 board that works like that also?


  • Hardware Contributor

    yeah, it has nice specs 😉

    which board to order ? Mine 😜
    I'm kidding, I don't really have idea on this. I made mine..and am waiting for different pcb variant now 🙂

    But I firstly ordered a Nano32 which I like. You can have pinheader on each side of the board when breadboarding. You can't with the official Espressif board which is too large.
    There is lot of esp32 board released. But all have the first ic revision of course.


  • Hero Member

    @scalz said:

    yeah, it has nice specs 😉

    which board to order ? Mine 😜
    I'm kidding, I don't really have idea on this. I made mine..and am waiting for different pcb variant now 🙂

    But I firstly ordered a Nano32 which I like. You can have pinheader on each side of the board when breadboarding. You can't with the official Espressif board which is too large.
    There is lot of esp32 board released. But all have the first ic revision of course.

    Uh, "first ic revision"? I haven't followed esp32 at all, obviously. Was there later a second ic revision? i.e. are all the boards currently out there saddled with obsolete ic's?


  • Hardware Contributor

    yes Espressif has released an Errata doc, some issues related to silicon die ic. Minor issue, depending of doing what with it.
    I read the fixed version should be available at beginning of next year.


  • Hero Member

    @scalz
    Thanks! , I see that the next revision of the silicon is scheduled for February 2017: http://esp32.de/eco_and_workarounds_for_bugs_in_esp32_en.pdf
    I'm in no rush. I'll wait until it's deemed ready for prime-time.


  • Hero Member

    I've tested the board, and it works fine.


  • Hero Member

    I added some photos of the lateset board version.

    This project is now finished. 😄


  • Hero Member

    In case anyone is interested, I received my D1 Mini's directly from Wemos, and they are now marked directly on them as version 2.1.0:
    0_1482944106294_wemos_2_1_0.jpg



  • @NeverDie did you opened a dispute regarding your false wemos D1 V2 on aliexpress cause I have the same situation with the same seller.
    Did you solve the issue ?
    Thanks


  • Hero Member

    No. I've had more important things to do that took precedence. I think the lesson is: buy only direct from Wemos.


  • Hardware Contributor

    @fets it's easy to win the dispute in this case. Make side by side pictures of the board you received and the real wemos as advertised by the seller with title "real wemos" / "received from [seller name]" and put some big red arrows to point the differences.
    In the text explain the differences and insist on cheaper esp8266 version with lower antenna performance. Explain you want full refund because the price of items is not worth the time and money to send them back.
    The best is if you can make the seller admit in private message that he is not selling genuine boards but copies. Then screen capture of conversation is your quick ticket for full refund.
    Should take you less than 15mns.

    Be careful about vicious sellers trying to make you cancel dispute withe empty promises, or proposal of resolution with nice comment talking about refund/resend but choice of solution in the list selected as "no resend, no refund" or "refund" with value 0$ 😄



  • @Nca78 thanks, I'll try it


  • Hero Member

    Hi @All I built a GW node with local sensors without radio from a WeMos D1 mini Pro and I have one issue with it.
    It seems like it shuts down the WiFi part if there is no communication. If I constantly ping it it will keep working but if I leave it alone for 30min it will no longer respond to ping and my controllers have lost the connection. I see from the serial debug that it is still working and processing the code related to the local "sensor" but WiFi is dead.

    AVR Boards version 1.6.11
    esp8266 version 2.3.0
    MySensors Lib version 2.1.1


  • Hero Member

    I think I found the problem. I think it misbehaved because of an illegal character in the "HOSTNAME". Changed the hostname yesterday and It was still alive this morning even if I have not pinged it.



Suggested Topics

1
Online

11.4k
Users

11.1k
Topics

112.6k
Posts