Im lowering the top BTW
The build here
Arduino Inputs from RX
Ch3 Throttle Arduino pin 4
Ch1 Steering Arduino pin 5
Ch5 Throttle limit Arduino pin 6
Ch2 Steering on Throttle Arduino pin 7
Arduino analogue inputs
Anin 0 Ambient temp sensor Anin 1 Hall effect current sensor
![](//4.bp.blogspot.com/-4aokTmiaY9I/UkaEip_6RoI/AAAAAAAAmlc/5L3zridmtvU/s1600/raztech+5+turn+c.png)
![](//3.bp.blogspot.com/-HbNPE8UF6iM/UkaFFgpDkhI/AAAAAAAAmlk/SkWVQeo5ScA/s320/Arduino+LM35+Linear+Temperature+Sensor+Module.jpg)
Ch5 Throttle limit Arduino pin 6
Ch2 Steering on Throttle Arduino pin 7
Arduino analogue inputs
Anin 0 Ambient temp sensor Anin 1 Hall effect current sensor
![](http://4.bp.blogspot.com/-4aokTmiaY9I/UkaEip_6RoI/AAAAAAAAmlc/5L3zridmtvU/s1600/raztech+5+turn+c.png)
![](http://3.bp.blogspot.com/-HbNPE8UF6iM/UkaFFgpDkhI/AAAAAAAAmlk/SkWVQeo5ScA/s320/Arduino+LM35+Linear+Temperature+Sensor+Module.jpg)
Arduino outputs
Pin 8 Left jet
Pin 9 Right jet
Pin 10 Cooling fan speed
Pin 11 Steering
Mixing of the outputs
//SteeringBias
int SterringOnThrottle = (long)map((int)ch4v, 1500, 1100, 0, 1000);
if(SterringOnThrottle < 0) SterringOnThrottle = 0;
SteeringBias = (long)map((int)ch3v - (int)ch3vWOZ, 0, 1000, 0, SterringOnThrottle);
int SteeringAngle = (long)map((int)ch3v, 1100, 1900, 1000, 2000);
//Limit fan speed for 11.1 V
FanSpeed = map(FanSpeed, 1100, 1900, 1000, 1500);
//Update the outputs
Servo1.writeMicroseconds((int)Throttle - (int)SteeringBias);
Servo2.writeMicroseconds((int)Throttle + (int)SteeringBias);
Servo3.writeMicroseconds((int)FanSpeed);
Servo4.writeMicroseconds((int)SteeringAngle);
The cooling system
![](http://2.bp.blogspot.com/-bcK2WFlZdtA/UkaCpu1Dv2I/AAAAAAAAmlQ/XbjiWrqNLIQ/s320/HKESC10A.jpg)
![](http://4.bp.blogspot.com/-bm8US3rI8mw/UkaCU2wz-JI/AAAAAAAAmlI/oyfVe7sWo2M/s200/27mmEDF.jpg)
The fan is a 27 mm EDF should keep the air moving with a 10A ESC
There is a big heatsink and fan on the 30 AMp ESCs
0 komentar:
Posting Komentar