Search Results

by FredrikH
Thu Jan 25, 2024 11:29 am
Forum: Javascript
Topic: Newby = Timed out on connection
Replies: 0
Views: 24102

Newby = Timed out on connection

Hi I have the simple code bellow: var runExample = async () => { var phidgetsConn = new phidget22.NetworkConnection({ hostname: serviceServerConfig["phidgets"]["hostname"], port: serviceServerConfig["phidgets"]["port"], name: "Phidget Server Connection&qu...
by FredrikH
Sat Apr 29, 2023 6:05 am
Forum: All Other Phidgets
Topic: Gearbox question from a newby
Replies: 4
Views: 28409

Re: Gearbox question from a newby

Hi

Yes it makes sense that the rpm, torque is depenedent of the power and the voltage. Can you calulate the torque and the RPM if you just have the ratio?

The calcualtion maybe require more ex. the power?
by FredrikH
Fri Apr 28, 2023 11:06 am
Forum: All Other Phidgets
Topic: Gearbox question from a newby
Replies: 4
Views: 28409

Re: Gearbox question from a newby

Hi Ok, thank´s :) That mean that the motor --> https://www.phidgets.com/?tier=3&catid=101&pcid=81&prodid=1077 har ratio 4.9:1. I assume that 4.9:1 can read "4.9":1 or 4/9:1 in that case the motor has 5.6kg-cm of torque in s speed of 810 RPM. I also assume that torque are 5.6 in...
by FredrikH
Fri Apr 28, 2023 4:45 am
Forum: All Other Phidgets
Topic: Gearbox question from a newby
Replies: 4
Views: 28409

Gearbox question from a newby

Speaking of DC Motor when a gearbox is involved sometime I can read ex. 1.4:30 or 30:1 or 1:30. I just show some fictive numbers and combo... What that mean and do I need to take any of that into account?'¨'
by FredrikH
Tue Jul 09, 2019 2:07 pm
Forum: Javascript
Topic: Newby in Phidget programming in Javascript and Node JS
Replies: 4
Views: 28953

Re: Newby in Phidget programming in Javascript and Node JS

Ofcause, I am just playing with it now to learn. In my real program the channel will remains open until the program is done :)

That was that I thought that I need to ply with the duty cycle, I thought the close() turn off the led right away :)

Thank you for the confirmation in this.
by FredrikH
Tue Jul 09, 2019 1:43 pm
Forum: Javascript
Topic: Newby in Phidget programming in Javascript and Node JS
Replies: 4
Views: 28953

Re: Newby in Phidget programming in Javascript and Node JS

Hi The leds are lights, in that code so all is fine but they remains on when shiwtich. If doing like bellow as you told i : let vs1_13 = new jFive.Switch(12); vs1_13.on('open', function () { console.log('vs1_13 on'); //LED on LEDBoardObj.board1.chInstance0.open().then(function () { // code to execut...
by FredrikH
Tue Jul 09, 2019 10:41 am
Forum: Javascript
Topic: Newby in Phidget programming in Javascript and Node JS
Replies: 4
Views: 28953

Newby in Phidget programming in Javascript and Node JS

Hi I have the code I am playing with: let vs1_13 = new jFive.Switch(12); vs1_13.on('open', function () { console.log('vs1_13 on'); //LED on LEDBoardObj.board1.chInstance0.open().then(function () { // code to execute after open succeeds console.log('Utgång 0 - Öpppen'); LEDBoardObj.board1.chInstance0...