Skip to main content

Posts

First steps with ESP32 (M5Stack BASIC Kit)

Hello World I have a micro-controller project idea that requires the following: LCD screen Buttons Bluetooth LE USB (for a dongle) I've had good experience with the ESP8266 (specifically the Wemos D1 Mini ) and thought I would try an ESP32. I discovered the M5Stack product range which is quite handy as it goes beyond barebones in its form factor, so I purchased an  M5Stack BASIC Kit as well as an M5Stack USB Module . My preferred language/programming environment is Arduino  with PlatformIO  as the IDE. I use Windows 10 and run PlatformIO in Visual Studio Code , so the first step is to download a Windows CP2104 driver for programming the M5Stack device (referred to as the M5Core). This is provided on the  Arduino IDE Development page of the M5Stack website (I am only using that page for the driver as I don't intend to use the Arduino IDE). The Windows driver can also be used with M5Stack's  EasyLoader software which is provided for test purposes. It'
Recent posts

Amazon Dash Button with Node-RED built-in nodes

I bought an Amazon Dash button for experimentation (July 2017, in the UK). The part number I received was JK29LP (with FCC ID 2AETK-1013) which apparently is revision 2 of the hardware. There is a teardown here . There are at least a couple of Node-RED nodes published but they both have dependencies which I wanted to avoid: node-red-contrib-mydash requires tcpdump node-red-contrib-amazondash requires libpcap There is also a description here of a ping method but I did wonder if I could do it an alternative way without using the ping (which has its own complications due to needing root permissions on certain systems). I configured the button using the Amazon app as far as the wireless SSID and password, and on a button press I could see the button appearing in my router Attached Devices table (DHCP address reservation). It only takes a short lease so it would appear and then disappear in the router table. This gave me a MAC address (and also an IP address but I would not need