|
 |
|
06-21-2007, 12:36 AM
|
#721
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Ok, the custom function inputter's basic functionality is there. It will be able to parse a formula with any number of variables and the variables could be either some number you define making it like a constant but easier to type, or it can be a current raw or evaluated value from an analogue input. Meaning it can evaluate the function based on that input's raw voltage such as 3 volts, or 20degrees.
One use for this would be the ultrasonic sensor. The speed of sound changes with the temperature of the air it is traveling in. So you would use an equation that relates both the current input voltage of the ultrasonic sensor's port of 2.3v for instance, and the current evaluated value of your temperature sensor say at 20degrees C.
I would like some feedback as to what functions would be needed for this function parser. Currently it adds, subtracts, multiplies, divides, square roots, and powers.
I think most functions are built off of that. Integral and differential equations I guess could be added, but I dont know of a sensor that would use that.
Any other operators that should be included? Maybe some constants like pi, and e? Suggestions?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
06-21-2007, 12:37 AM
|
#722
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Oh, and to wet your appetite some more, the Brains are in the US now after their 5,500 mile journey!
Last edited by 2k1Toaster; 06-21-2007 at 12:40 AM.
|
|
|
06-21-2007, 01:17 AM
|
#723
|
|
Super Moderator. If my typing sucks it's probably because I'm driving....
Join Date: Oct 2004
Location: NY
Posts: 6,102
|
cool
so with that custom function inputter I can use that to control my water pump for the pc cooling control?
was there ever a solution for a variable speed motor drive? do you know of anything I could buy to achieve this?
you gotta write a good guide explaining how to build a skin & set everything up, this can be pretty intimidating to otherwise anxious buyers, a good guide will let the average guy realize they'd be able to do this, & guide them through it
|
|
|
06-21-2007, 01:24 AM
|
#724
|
|
FLAC
Join Date: Oct 2006
Location: Las Vegas
Posts: 1,283
|
it would be hard to do a variable speed drive setup without analog out or PWM. one possible work-around would be a setup with a motor operated potentiometer in series with the DC motor that you want to control. you could control the timing of the pot-motor, raising and lower the voltage dropped in series with the motor. This would vary with different dc motor designs. Not very elegant, but could work.
|
|
|
06-21-2007, 01:26 AM
|
#725
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Quote: Originally Posted by turbocad6 
cool
so with that custom function inputter I can use that to control my water pump for the pc cooling control?
was there ever a solution for a variable speed motor drive? do you know of anything I could buy to achieve this?
you gotta write a good guide explaining how to build a skin & set everything up, this can be pretty intimidating to otherwise anxious buyers, a good guide will let the average guy realize they'd be able to do this, & guide them through it 
Yeah I will write a guide. There is already a hardware part of the manual. I've just been slacking and dont want to do it.  There is so much to put in there, it is sort of daunting. But it will be there soon.
And for variable motor control, is it directly driven by the motor, or are you referring to servos? Both are in the works.
As for the analogue outputs, that is pretty much done, just needs to be sent off to be made.
The servo control, Tim is working on. I am not sure of his progress. But the concept is there.
|
|
|
06-21-2007, 01:44 AM
|
#726
|
|
Super Moderator. If my typing sucks it's probably because I'm driving....
Join Date: Oct 2004
Location: NY
Posts: 6,102
|
I want to vary the speed of the motor itself depending on temperature readings, the motor itself on full might be a bit over 15 amps at 12v. I've used pwm motor controls on 110vac before, but don't know if anything is available for 12vdc
|
|
|
06-21-2007, 01:49 AM
|
#727
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Quote: Originally Posted by turbocad6 
I want to vary the speed of the motor itself depending on temperature readings, the motor itself on full might be a bit over 15 amps at 12v. I've used pwm motor controls on 110vac before, but don't know if anything is available for 12vdc
Actually the program will already do this. If you set the KEYSEQUENCE for either high or low to *SWITCHOUTPUT* then put the output number in the SETTINGS filed, once the input gets to a specified value, it will turn on or off that output.
|
|
|
06-21-2007, 01:53 AM
|
#728
|
|
Super Moderator. If my typing sucks it's probably because I'm driving....
Join Date: Oct 2004
Location: NY
Posts: 6,102
|
so you mean like 4 or 5 outputs, varied depending on temp, & each a different speed through a resistor?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
06-21-2007, 01:58 AM
|
#729
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Well you can do that. Although using a resistor as a voltage regulator can be problematic if the load changes.
What I am working on would be basically a digital to analogue converter. You use a few outputs and it gives a single votlage output based on the states of the outputs.
|
|
|
06-21-2007, 02:08 AM
|
#730
|
|
Super Moderator. If my typing sucks it's probably because I'm driving....
Join Date: Oct 2004
Location: NY
Posts: 6,102
|
ok, sounds great, I'll like to see how that works out.
I know a lot of automotive design for motor speed is done with resistors anyway, like blower speeds & even multiple speed coolant fans, I guess a motor is a pretty steady load really
|
|
|
06-21-2007, 02:09 AM
|
#731
|
|
FLAC
Join Date: Oct 2006
Location: Las Vegas
Posts: 1,283
|
Microchip's AN905 discusses speed control of small dc motors, including pwm.
|
|
|
06-21-2007, 02:11 AM
|
#732
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Quote: Originally Posted by h3rk 
Not 15A motors though!  That is a hefty motor. I am actually not how sure I can get 15A worth...
|
|
|
06-21-2007, 02:16 AM
|
#733
|
|
Super Moderator. If my typing sucks it's probably because I'm driving....
Join Date: Oct 2004
Location: NY
Posts: 6,102
|
yeah, the factory would use large ceramic coated resistors for a load like this, a pwm drive would have to be hefty & probably expensive...
|
|
|
06-21-2007, 02:21 AM
|
#734
|
|
FLAC
Join Date: Oct 2006
Location: Las Vegas
Posts: 1,283
|
No Mosfet big enough eh? hmmm
|
|
|
06-21-2007, 02:27 AM
|
#735
|
|
Super Moderator. If my typing sucks it's probably because I'm driving....
Join Date: Oct 2004
Location: NY
Posts: 6,102
|
that looks nice, not too expensive either... hmmm cool
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:40 AM.
| |