Arduino blink example error

#1

Hi,
I sketch the standard-firmata on my Arduino and after make blink node based on example I faced with this error: "TypeError: Cannot read property 'on' of null"

0 Likes

#2

Which example? Please export the part of your flow that shows the problem and paste it here.

0 Likes

#3

this arduino blink example https://nodered.org/docs/hardware/arduino
in debug this is error: TypeError: Cannot read property 'on' of null
and in cmd :[error] [arduino out:47fa459b.750dfc] TypeError: Cannot read property 'board' of null
[arduino out:47fa459b.750dfc] TypeError: Cannot read property 'board' of null
I think I should add device name but I dont know how. this is wemos D1 R2
thanks

0 Likes

#4

1- have you flashed standard firmdata on the arduino board and connected through USB?
2- Have you defined the proper port of your arduino board on the node red arduino node?

Regards

0 Likes

#5

yes a flashed standard firmdata and also select com4 in arduino node

0 Likes

#6

Are u under windows?

0 Likes

#7

I tried both windows and linux

0 Likes

#8

I'm using raspbian and frankly speaking I don't know exactly what your problem is because the steps are really simple:

1- install arduino node on node red.
2- flash standard firmdata on arduino board and plug to USB
3- define your usb port on some arduino node

And directly works, I have being never able to use jhonny-five and I don't know why but directly use the arduino board as simple in/out is very easy.

Re-check the steps I told you....

Regards

0 Likes