Skip to content

NodeMCU v2 #172

@terjew

Description

@terjew

I have a NodeMCU v2 ("Amica") board. I think I have wired everything up correctly, but I am a bit worried that I broke something when trying to desolder the old controller chip. When I connect power on the OBEGRANSAD, it just briefly flashes all LEDS and then goes black.

In order to build the code for the NodeMCUv2 I had to to the following steps:

  • Select the env:nodemcuv2 in the PlatformIO settings in VSCode
  • Remove the "#define ENABLE_SERVER" in constants.h
  • Wrap the whole contents of webhandler.cpp in "#ifdef ENABLE_SERVER"

Is there anyting else I should to to make it work on my board?

Can I somehow confirm that everything works before connecting it to the lamp, eg. by reading out some values from the console in VSCode?

If I open COM3 in VSCode, I get the following output:

����o��r��o|� $� lb���
�|r�l�o��n�$`��r�$�l


ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00072d70
~ld
���o�r��o|�
$
�$b�|r�$�n� �n�l��{�$�l�

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00072d70
~ld
����n�|{��n|�l

l c��r�$�n�
�n�
l ��r�p��l


ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00072d70
~ld
���o�r��o|�
$
�l #�2���$�n�
�N�
$ ��r�$�l�


`

Note the garbled output after the last ~ld. It seems to be different every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions