Q&A Forum

[Plugin] Extra Outp...
 

[Plugin] Extra Outputs HID USB Relay.

41 Posts
6 Users
4 Reactions
39.1 K Views
(@Anonymous)
Posts: 0
 

By the way, a nice add-on functionality would be to turn on and off the relays when another parameter (RPM, etc) is above or below a value. 


 
Posted : 19/01/2019 12:04 pm
(@Anonymous)
Posts: 0
 

bmgjet, 

Fantastic :-)! 

Yes, it is freezing cold in Norway now, and dark many hours of the day. Nice time of the year to do programming! 


 
Posted : 19/01/2019 11:54 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

What makes you think that I dont like AC/DC they are both nice forms of electricity lol.
Here is the song that was playing in the background.
https://www.youtube.com/watch?v=cvyywDE67tY

I have added source code to the plugin library.
Tried to comment as much of the code as I could bother too but iv never been big on commenting.
Should see the source for my UPS software, no a single comment for a bazillion lines of code.


 
Posted : 19/01/2019 6:31 am
(@mach_1)
Posts: 350
Member
 
Nice work BMGJet ,
I'm the 1st viewer of your
youtube clip!

Don't you like AC/DC ?

 
Posted : 19/01/2019 6:23 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Here is a early alpha, Managed to fix the bug with states getting inverted by having it remove the driver when ever "YourDyno" software isnt running which is a lot easier to do in C# then to disable and re-enable a USB port.
Every thing is managed with in a single .dll file for installing so no need to mess around installing drivers or anything.

And here is a demo video using a 2 channel one.
https://www.youtube.com/watch?v=a-fME-JAn9A

Supports
USB relay boards I linked in first post.
1/2/4/8 channel.


 
Posted : 19/01/2019 5:21 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Just ozzy internet since Julian double posted on page 1.
Id say you either pressed add reply twice because page was slow. Or you hit refresh at some point and it sent a second $_POST;

Or this will end up as a double post and there is something wrong with server.


 
Posted : 18/01/2019 1:39 pm
(@mach_1)
Posts: 350
Member
 

Is it me ! Or something wrong with the website doing double posts ?


 
Posted : 18/01/2019 1:14 pm
(@mach_1)
Posts: 350
Member
 

LOL Norway they would be freezing their balls off!

In the low  20C's temperatures is ok and liveable , once you're in the 30C's plus forget dyno testing, i overheat more than the vehicles i chassis dyno test/tune. 40C's is beach and beer time. I don't have a air conditioned workshop area.

There is a fine line how cold air makes more power fuel does funny things at -20C and it's a trade off cold air ( snow storm) equates to lower barametric pressure.

Why waste a 1/0 input/output when a simple screen bution can be used to lockup the electric retarder full load ( or 75%  arbitrary number) for a automatic time_out for 30 seconds via software   enough time to get off a vechicle of a chassis dyno????

 


 
Posted : 18/01/2019 1:11 pm
(@mach_1)
Posts: 350
Member
 

LOL Norway they would be freezing their balls off!

In the low  20C's temperatures is ok and liveable , once you're in the 30C's plus forget dyno testing, i overheat more than the vehicles i chassis dyno test/tune. 40C's is beach and beer time. I don't have a air conditioned workshop area.

There is a fine line how cold air makes more power fuel does funny things at -20C and it's a trade off cold air ( snow storm) equates to lower barametric pressure.

Why waste a 1/0 input/output when a simple screen bution can be used to lockup the electric retarder full load ( or 75%  arbitrary number) for a automatic time_out for 30 seconds via software   enough time to get off a vechicle of a chassis dyno????

 


 
Posted : 18/01/2019 1:11 pm
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Looks like bliss, I do like the cold over heat tho. Since you can always put more cloths on but you cant take more off.
And cold air does = more HP for your car and more OC for your computer.


 
Posted : 18/01/2019 12:40 pm
(@julian-edgar)
Posts: 71
Member
 

😀

Maybe on weather we should hear from Norway?

When I was in Norway around this time of year:

 


 
Posted : 18/01/2019 12:34 pm
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Ill upload this plugin in to the plugin library in the next few days once iv figured out this one bug where relay state can get messed up if you crash "Yourdyno" software then re-open it and it inverts what it thinks is the correct state. (Which is major bug since if your controlling fan or a brake, It will come on the oppsite.)
You have to unplug usb and plug back in to reset states to normal. So should just have to cycle that USB port on plugin load which would be easy in C++. C# doesnt seem to have any good working examples that I can copy, And I really dont want to have to write another dll in C++ then embed it as managed code and use a wrapper to keep it all in a single file. (Not even too sure if reflection will work within the plugin framework since you use it at runtime to unwrap everything)

Its a nice cool 19c here now.


 
Posted : 18/01/2019 12:30 pm
(@julian-edgar)
Posts: 71
Member
 

My suggestion? Keep it simple and world-wide universal in terms of the used input/output board. I'd like to be able to control dyno fan, dyno 'get-off-the-rollers brake', maybe warning sign as you are doing (I reckon that warning is a really cool idea!). 

Also want 6-8 extra analog inputs, and maybe a couple of digital ones.  

$100 for the board is fine if the software works seamlessly (ie on-screen output controls and gauges/logging) with YourDyno. Better to standardise on one widely available board, even if it costs a bit more than what is possible. 

Incidentally, my YourDyno package is on its way. I am working on the dyno power supply in the next few days.

(And it's been 40 degrees C or more here for the last 4 days - makes it hard to go out to the shed and work on getting a dyno up and running!)


 
Posted : 18/01/2019 12:18 pm
(@julian-edgar)
Posts: 71
Member
 

My suggestion? Keep it simple and world-wide universal in terms of the used input/output board. I'd like to be able to control dyno fan, dyno 'get-off-the-rollers brake', maybe warning sign as you are doing (I reckon that warning is a really cool idea!). 

Also want 6-8 extra analog inputs, and maybe a couple of digital ones.  

$100 for the board is fine if the software works seamlessly (ie on-screen output controls and gauges/logging) with YourDyno. Better to standardise on one widely available board, even if it costs a bit more than what is possible. 

Incidentally, my YourDyno package is on its way. I am working on the dyno power supply in the next few days. 


 
Posted : 18/01/2019 12:14 pm
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Havnt had enough experience with ardunio in that fasion to know how well it would work.
Labjack is another input board im looking at. Specifically the wifi one since im using one of them for my smart home sensors. But then its quite expensive and better value would be just to run a long usb cable to a VM167. But im trying to free up the dyno room of extra wires so thats where the wifi labjack would come in handy with some probes made up to back probe the ECU loom and hook into all the sensors for a ECUs that I dont have direct datalogging for.

Bought the bluebox home with me tonight lol, At the moment im playing with using my car number plate reader libary that I made for my home secuirty system.
The idea being use the dyno rooms webcam to auto load cars profiles on what number plate it sees on the car.
Probably not a plugin ill be able to share tho since its extreamly large being based of tessnet2 libary and 180mb of nz number plate training data.
So would only work in NZ and most people wouldnt have access to making there own training data and im not willing to crunch it for them since it took 4 days straight to make the NZ one on my 7980XE CPU, (18 core, 36 threads).


 
Posted : 18/01/2019 11:51 am
Page 2 / 3
Share:
Select your currency
EUR Euro
USD United States (US) dollar