Connections to Raspberry Pi?

Can I ask - why are you using the web version?

It might be OK to use once the firmware is loaded but I would always use a downloaded program to do the initial firmware install

Just less things to go wrong :slight_smile:

Yes :wink: I've just checked and with the standalone version, 2 tries out of 3 were completed without the button press.


Another spanner in the works :frowning:

Just realised that the CH340 NodeMCU is a different width compared to the one that plugs into the motor shield :frowning:

I think we might be able to get away with it but I've broken the only one I had while messing around so awaiting a new one to arrive!

This is a real 1 step forward - two steps backwards issue :slight_smile:

I've sussed it out :slight_smile:

My NodeMCU V3 Ch340 wasn't broken - I just didn't realise where the 5V to power the motor shield board needed to come from :slight_smile:

So, if you plug the board in with just the right hand pins in the socket then all you have to do to get things working is link from 3 pin down from the top left over to the VIn pin on the motor shield and that will power up the board :slight_smile:

The WeMos D1 Ch 340 in the Uno form factor arrived this evening.

If we can find a moment between conference sessions tomorrow, we'll see if we can establish communications with it.

My Arduino Motor Shield V1 clone board arrived and it turns out to be non-trivial to get it to work with my WEMOS D1 :frowning:

The motor shield is not not just a simple H-Bridge board and it's going to take some time to transcode it's library into something simple in Microblocks.

I'm now thinking that maybe just use a plain Arduino UNO clone together with this V1 motor shield and just go back to the concept of running a simple Arduino sketch to listen for a serial speed command like I did last month

This is fun game :wink:

[edit] And, of course, I can't even upload the simple Blink sketch to my Arduino Uno clones today!!!!
I think I'll have to resign my membership of the Physical Computing Society :slight_smile:

[edit2] Silly me - I forgot to close down Microblocks and that was hogging the port!!! :rofl:

So using an Arduino Uno clone, I can control a motor using the an Adafruit V1 Motor Shield (also a clone) for total cost (UK ebay prices) for <£8

#include <AFMotor.h>

int pwm;

AF_DCMotor motor(1);

int incomingByte = 0; // for incoming serial data

void setup() {

void loop() {
  if (Serial.available() > 0) {
    // read the incoming byte:
    incomingByte =;
    if (incomingByte > 127) {;
      motor.setSpeed(int((256 - incomingByte) * 2.55));
    } else {;
      motor.setSpeed(int(incomingByte * 2.55));

AdafruitMotorShieldV1_using_ArduinoSketch_serial script pic