Комментарии •

  • @nathanielx3rd97
    @nathanielx3rd97 2 месяца назад

    Super informative, descriptive and straight to the point. Thanks!

  • @channel_B5
    @channel_B5 6 лет назад +2

    nice! A note: I know it says so, but servo does not need a pwm pin. Servos require a different pwm signal. Try it on another pin to see for yourself.

  • @sergiyrudenko905
    @sergiyrudenko905 5 лет назад +2

    great! Thanks a lot!!! i just bought an Arduino UNO and going to write some code in JS.

  • @elsazougouri1261
    @elsazougouri1261 5 лет назад +1

    It works damn well !! Thank you very much !!!!!

  • @JohnSmith-rn3vl
    @JohnSmith-rn3vl 5 лет назад

    Is there an easier way to use johnny 5 just like this with a raspberry pi 2 or 3 using com ports from a windows machine without going down the vnc or remote rdp ?

  • @joaquinbecerra634
    @joaquinbecerra634 4 года назад

    Excellent video

  • @mrdragos7151
    @mrdragos7151 Год назад

    Thanks, saved me hours

  • @zlackbiro
    @zlackbiro 3 года назад +2

    Yes, but you depends on your PC. Traditional Arduino IDE injects compiled code directly into memory of arduino and you can comminucate using Bluetooth, Serial Port, using ESP8266 WiFi, you can connect it through GSM module, you can comminicate using Infra Red Remote, Radio Wave, etc... In this way, once you disconnect your USB, your arduino is dead. I tough, you coding arduino using JS and that comes through compiler and you flash your Arduino over USB to work as independent.

  • @500iq6foot8
    @500iq6foot8 4 года назад

    Can you put the steps in the description with Timestamps of where each step starts. I need something condensed to bounce back to.

  • @sultanmahmud6360
    @sultanmahmud6360 4 года назад

    Invalid shorthand property initializer (what can i do)

  • @cfortini1
    @cfortini1 5 лет назад

    Very Good!
    Your explanation was the better i fond in Web.
    Thanks very much for help.

  • @gameworn1820
    @gameworn1820 2 года назад

    I programmed everything as instructed with no errors. However; upon running the code, the servo will only respond to the 1st command only, either CW or CCW. The space bar does nothing, neither does quit. I do see the text change on the screen indicating that a CW ,CCW , Stop, or Quit command has been sent, but the Arduino does not follow the java script commands. I tried a different servo program and it was the same thing. The servo only responded to the first command.

  • @Daleon1
    @Daleon1 4 года назад +5

    To by-pass having to constantly hitting enter in the after running "npm init" Use "npm init -y" (-y tell the command to say yes to it all...)

  • @YousufAbouobayda
    @YousufAbouobayda 3 месяца назад

    Thanks SM!!!!!

  • @VirusterDev
    @VirusterDev 2 года назад

    I would be so OP at this if I had a PC.

  • @ArthurKa-yd5un
    @ArthurKa-yd5un 10 месяцев назад

    Hey. Sorry for bothering. But I was wondering if you can tell how to run written sketch on Arduino board standalone without having J5 REPL permanently running...

  • @coolpetz2803
    @coolpetz2803 5 лет назад +1

    javascript or python or c language will be better for bigger projects on arduino

  • @rameshnaidu9460
    @rameshnaidu9460 5 лет назад

    Is there any video to send SMS using audrino,gsm module and nodejs

    • @optymystyc
      @optymystyc 5 лет назад +1

      ramesh naidu you could start with building an express server along side Johnny 5 to connect to the twilio service.

  • @nicholas9195
    @nicholas9195 4 года назад

    Does it make a difference wether i do "npm i johnny-five" or "npm i johnny-five --save"?

    • @azeemshah7991
      @azeemshah7991 4 года назад +1

      Yes. When you --save it saves the package name in package.json file.

  • @SakthiVel-wj9pl
    @SakthiVel-wj9pl Год назад

    Hi, I'm working on my college project. I need to control stepper motor with Johnny five I tried using arduino uno along with cnc shield but for me stepper.step() method is not executing. When I complie it didn't show any error. Give me some suggestions or your mail Id that will help me

    • @jesperweijnen1264
      @jesperweijnen1264 Год назад

      Did you get any errors in your javascript with serialport/firmata?

  • @sagarjain4128
    @sagarjain4128 2 года назад

    what's this moving part called, I don't have it, I need to purchase it separately. Kindly tell.

    • @MakeUseOf
      @MakeUseOf 2 года назад +1

      hobby servo motor.

    • @sagarjain4128
      @sagarjain4128 2 года назад +1

      @@MakeUseOf thank you for replying 🙏😃

  • @bencegedei4291
    @bencegedei4291 2 года назад +1

    I have this Error: Cannot find module 'firmata' what sould I do?

    • @jesperweijnen1264
      @jesperweijnen1264 Год назад

      I get the same error. I hope someone can help

    • @HeitorYT
      @HeitorYT Год назад

      "npm install firmata" ??

  • @jesperweijnen1264
    @jesperweijnen1264 Год назад

    When i try to run the code after npm installing johnny-five and keypress, i get the message that its missing the module "firmata". I have uploaden the firmataplus code to my arduino, and why i try to do npm install firmata in my node enviorment, i get an error. So im stuck now. Anybody knows how to solve this problem?

    • @MakeUseOf
      @MakeUseOf Год назад

      did you install firmata using npm too?

    • @MakeUseOf
      @MakeUseOf Год назад

      (separate to the arduino side of things)

    • @jesperweijnen1264
      @jesperweijnen1264 Год назад

      @@MakeUseOf First of all, thank you for the quick reaction. When i do npm install firmata inside of the folder where my js file is, i get an error. It just dont want to install firmata.

    • @MakeUseOf
      @MakeUseOf Год назад

      It's been a while since I played with npm I'm afraid, but that's what you need to install. Try it globally / as root etc.

    • @jesperweijnen1264
      @jesperweijnen1264 Год назад

      ​@@MakeUseOf tried to do it globally but still dont work. This is the error im getting (and its long, sorry):
      npm ERR! code 1
      npm ERR! path C:\Users\Jesper Weijnen\AppData\Roaming
      pm
      ode_modules\firmata
      ode_modules\@serialport\bindings
      npm ERR! command failed
      npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@9.1.0
      npm ERR! gyp info using node@18.10.0 | win32 | x64
      npm ERR! gyp info find Python using Python version 3.10.4 found at "C:\Users\Jesper Weijnen\AppData\Local\Programs\Python\Python310\python.exe"
      npm ERR! gyp ERR! find VS
      npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
      npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
      npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details
      npm ERR! gyp ERR! find VS looking for Visual Studio 2015
      npm ERR! gyp ERR! find VS - not found
      npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
      npm ERR! gyp ERR! find VS
      npm ERR! gyp ERR! find VS **************************************************************
      npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
      npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
      npm ERR! gyp ERR! find VS For more information consult the documentation at:
      npm ERR! gyp ERR! find VS github.com/nodejs/node-gyp#on-windows
      npm ERR! gyp ERR! find VS **************************************************************
      npm ERR! gyp ERR! find VS
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
      npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Program Files
      odejs
      ode_modules
      pm
      ode_modules
      ode-gyp\lib\find-visualstudio.js:122:47)
      npm ERR! gyp ERR! stack at C:\Program Files
      odejs
      ode_modules
      pm
      ode_modules
      ode-gyp\lib\find-visualstudio.js:75:16
      npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Program Files
      odejs
      ode_modules
      pm
      ode_modules
      ode-gyp\lib\find-visualstudio.js:364:14)
      npm ERR! gyp ERR! stack at C:\Program Files
      odejs
      ode_modules
      pm
      ode_modules
      ode-gyp\lib\find-visualstudio.js:71:14
      npm ERR! gyp ERR! stack at C:\Program Files
      odejs
      ode_modules
      pm
      ode_modules
      ode-gyp\lib\find-visualstudio.js:385:16
      npm ERR! gyp ERR! stack at C:\Program Files
      odejs
      ode_modules
      pm
      ode_modules
      ode-gyp\lib\util.js:54:7
      npm ERR! gyp ERR! stack at C:\Program Files
      odejs
      ode_modules
      pm
      ode_modules
      ode-gyp\lib\util.js:33:16
      npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:420:5)
      npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
      npm ERR! gyp ERR! System Windows_NT 10.0.22000
      npm ERR! gyp ERR! command "C:\\Program Files\
      odejs\
      ode.exe" "C:\\Program Files\
      odejs\
      ode_modules\
      pm\
      ode_modules\
      ode-gyp\\bin\
      ode-gyp.js" "rebuild"
      npm ERR! gyp ERR! cwd C:\Users\Jesper Weijnen\AppData\Roaming
      pm
      ode_modules\firmata
      ode_modules\@serialport\bindings
      npm ERR! gyp ERR! node -v v18.10.0
      npm ERR! gyp ERR! node-gyp -v v9.1.0
      npm ERR! gyp ERR! not ok
      npm ERR! A complete log of this run can be found in:
      npm ERR! C:\Users\Jesper Weijnen\AppData\Local
      pm-cache\_logs\2022-11-11T10_49_42_633Z-debug-0.log

  • @iwontigers6092
    @iwontigers6092 5 лет назад +16

    Are you by chance color blind? What you call the brown cable is actually green.

    • @HaiderAli-co9jl
      @HaiderAli-co9jl 5 лет назад +3

      What if it is the other way around

    • @StephJ0seph
      @StephJ0seph 4 года назад +2

      @@HaiderAli-co9jl Do you see brown or green? We say that he is color blind because he might be missing a color receptor cone when you're supposed to have three (or more if you are tetrachromatic.)

    • @StephJ0seph
      @StephJ0seph 4 года назад

      @iwontigers Hey, thanks for pointing this out! One of my teachers is color blind and it's so weird to think about how other people could be perceiving the world so differently from how you do without you even noticing it!

  • @cmdhacker9827
    @cmdhacker9827 4 года назад

    I am have arduino mega

  • @andypython
    @andypython 3 года назад

    Next language rust