Q&A Forum

Notifications
Clear all

[Plugin] Extra Outputs HID USB Relay.

41 Posts
6 Users
4 Likes
19.1 K Views
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Plugin for USB Relay.
by bmgjet 2019

V1.0
Provides source code for controlling HID USB Relays.
Provides GUI to manaully turn on / off

 

V1.1
Provides automatic control based on dyno input.

Demo video:
https://www.youtube.com/watch?v=a-fME-JAn9A

Download:
[V1.0] Plugin Library
[V1.1] [Still in Alpha] Visit last post for latest alpha build.

Where to buy:
https://www.ebay.com/itm/1-2-4-8-Ch-5V-10V-USB-Relay-Programmable-Computer-Control-Relay-For-Smart-Home/192208103778?hash=item2cc07ee962:m:mlg_RwObhC-7ozedu3cOnAQ:rk:1:pf:0

**Note: Iv had no issue with 2 channel one from this supplier but another user has had issues, Your luck may vary**

This topic was modified 5 years ago 3 times by bmgjet
 
Posted : 26/11/2018 5:42 am
Walter reacted
(@mach_1)
Posts: 350
Member
 

Nice work Bmgjet ,  i definetly will need extra relays for my engine dyno room to control a few items.

Will this extra feature be avaliable for other yourdyno uses ?

I was thinking using the arduino and a 8 or 16 channel relay shield independent of yourdyno controller.

 
Posted : 26/11/2018 11:24 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Yeah will be for all users, Just waiting on permission to be allowed to hook into the software to pull values from it. Like how you can get hacks for computer games by hooking into it.

Other wise I can always just make it stand alone but then it will require input from user to activate relays on screen.

 
Posted : 26/11/2018 9:24 pm
(@admin)
Posts: 1397
Member Admin
 

bmjet, 

The idea of a plugin system for YourDyno is really good. I am all for a way to make anyone contribute to the software, without exposing the source code, and plug-ins can be the way to go! I will look at how to do that technically. 

 
Posted : 26/11/2018 9:39 pm
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Im postphoning this until the plugin system is in place since make it nicer to have everything in a unified system so each update doesnt break compatiblity which it would if I was hooking the software.

If you need something urgent for your system I can throw together a simple program to work with your specific version.

 
Posted : 29/11/2018 5:18 am
(@julian-edgar)
Posts: 71
Member
 

I would also like this. 

 
Posted : 12/01/2019 10:36 pm
(@mach_1)
Posts: 350
Member
 

Hi Bmgjet , where are you located in the world?

 

 

 
Posted : 15/01/2019 7:41 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

NZ

 
Posted : 15/01/2019 8:12 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Got a working alpha of this mod as a useable plugin so far.
Dont know how far I should take it tho since could add a simple scripting window so you can control it for your own input conditions.
But then the VM167 looks like a much better addon board to use. But its $100 vs the $4 this board costs so its sort of a easy cheap board to get and not be too worried about burning it out driving loads too high though it or excessive flyback voltage from switching something.

 
Posted : 17/01/2019 9:05 am
(@mach_1)
Posts: 350
Member
 
Posted by: bmgjet

Got a working alpha of this mod as a useable plugin so far......
But then the VM167 looks like a much better addon board to use. But its $100 vs the $4 this board costs so its sort of a easy cheap .......something.

Nice work ,  you certainly are keen and hard worker doing unpaid over time ! You wanna come and work for me in SUNNY MELBOURNE  AUSTRALIA ? 

Is   Arduino Mega  ATmega2560   and/or
Teensy (3.0 , 3.1, .... 3.5 , 3.6 )
Microcontroller feasible to use as a
USB interface for additional channels
at a quarter/third of a price of
velleman module vm167 USB interface
board ?


https://www.elprocus.com/different-types-of-arduino-boards/

And

https://www.pjrc.com/teensy/



 
Posted : 18/01/2019 3:46 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Be too hot there for me, Bad enough where I am today with 27C temps lol.
I dont mind working late since im on a decent salary (104K per year).

 
Posted : 18/01/2019 5:24 am
(@mach_1)
Posts: 350
Member
 

LOL fare call , next weeks temperature is all in the 30C plus.

Any thoughts on the  ardunio mega ATMega2560 and teensy range of microcontrollers as USB interfaces ?

 
Posted : 18/01/2019 10:32 am
(@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 10:51 am
(@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. 

This post was modified 5 years ago by Julian Edgar
 
Posted : 18/01/2019 11:14 am
(@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!)

This post was modified 5 years ago by Julian Edgar
 
Posted : 18/01/2019 11:18 am
Page 1 / 3
Share:
Select your currency