Dagu trex motor output voltage fold from 12v to 6,6V

help !

motor output voltage was 12v before testing with two motors(3 min testing).

no smoke, nor bad smelly, nothing melted.

and now ,just 6,6V maximum.

power in is good with 12V.

that situation dont change after 2 days of testing. battery or PC alimentation for input.

12V PC fans for output or  12V  wiper motors   , or nothing , always 6,6V at maximum speed

 

i remember Trex was ok with only 12V power in , no need USB to PC connect. but now it need.

what did i do?

 

 

first picture : dagu trex instead of motomonster

20130522153332-RacingMat-schy-ma-y-lectrique.jpg

very simpled code used

#include <Wire.h>

#define startbyte 0x0F
#define I2Caddress 0x07

int sv[6]={1500,1500,1500,1500,0,0};                 // servo positions: 0 = Not Used
int sd[6]={5,10,-5,-15,20,-20};                      // servo sweep speed/direction
int lmspeed,rmspeed, l, r;                                 // left and right motor speed from -255 to +255 (negative value = reverse)
int ldir=5;                                          // how much to change left  motor speed each loop (use for motor testing)
int rdir=5;                                          // how much to change right motor speed each loop (use for motor testing)
byte lmbrake,rmbrake;                                // left and right motor brake (non zero value = brake)
byte devibrate=50;                                   // time delay after impact to prevent false re-triggering due to chassis vibration
int sensitivity=50;                                  // threshold of acceleration / deceleration required to register as an impact
int lowbat=550;                                      // adjust to suit your battery: 550 = 5.50V
byte i2caddr=7;                                      // default I2C address of T’REX is 7. If this is changed, the T’REX will automatically store new address in EEPROM
byte i2cfreq=0;                                      // I2C clock frequency. Default is 0=100kHz. Set to 1 for 400kHz

void setup()
{
  Serial.begin(115200);
  Wire.begin();                                      // no address - join the bus as master
}


void loop()
{
                                                     // send data packet to T’REX controller

 
    lmspeed = 255;
  rmspeed = 255;
  lmbrake = 0;
  rmbrake = 0;
                                                    
  MasterSend(startbyte,5,lmspeed,lmbrake,rmspeed,rmbrake,sv[0],sv[1],sv[2],sv[3],sv[4],sv[5],devibrate,sensitivity,lowbat,i2caddr,i2cfreq);
   delay(1000);
  
     MasterReceive();                                   // receive data packet from T’REX controller
  delay(50);
   
  
       lmspeed = -255;
  rmspeed = -255;
  lmbrake = 0;
  rmbrake = 0;
                                                    
  MasterSend(startbyte,5,lmspeed,lmbrake,rmspeed,rmbrake,sv[0],sv[1],sv[2],sv[3],sv[4],sv[5],devibrate,sensitivity,lowbat,i2caddr,i2cfreq);
   delay(1000);
  
  MasterReceive();                                   // receive data packet from T’REX controller
  delay(50);
   
}



connecting simplified

**thanks to help me **


  i always working in 12V and high voltage mode ( no jumper )


and it was working good for 2 minutes before shuting down , and after 6,6V maximum and 3.3V with only USB plugin.

 

so the code source is always the same. 
 
 
 
 

mastersend.ino code

void MasterSend(byte sbyte, byte pfreq, int lspeed, byte lbrake, int rspeed, byte rbrake, int sv0, int sv1, int sv2, int sv3, int sv4, int sv5, byte dev,int sens,int lowbat, byte i2caddr,byte i2cfreq)
{
  Wire.beginTransmission(I2Caddress); // transmit data to 7
  Wire.write(startbyte);              // start byte
  Wire.write(pfreq);                  // pwm frequency
 
  Wire.write(highByte(lspeed));       // MSB left  motor speed
  Wire.write( lowByte(lspeed));       // LSB left  motor speed
  Wire.write(lbrake);                 // left  motor brake
 
  Wire.write(highByte(rspeed));       // MSB right motor speed
  Wire.write( lowByte(rspeed));       // LSB right motor speed
  Wire.write(rbrake);                 // right motor brake
 
  Wire.write(highByte(sv0));          // MSB servo 0
  Wire.write( lowByte(sv0));          // LSB servo 0
 
  Wire.write(highByte(sv1));          // MSB servo 1
  Wire.write( lowByte(sv1));          // LSB servo 1
 
  Wire.write(highByte(sv2));          // MSB servo 2
  Wire.write( lowByte(sv2));          // LSB servo 2
 
  Wire.write(highByte(sv3));          // MSB servo 3
  Wire.write( lowByte(sv3));          // LSB servo 3
 
  Wire.write(highByte(sv4));          // MSB servo 4
  Wire.write( lowByte(sv4));          // LSB servo 4
 
  Wire.write(highByte(sv5));          // MSB servo 5
  Wire.write( lowByte(sv5));          // LSB servo 5
 
  Wire.write(dev);                    // devibrate
  Wire.write(highByte(sens));         // MSB impact sensitivity
  Wire.write( lowByte(sens));         // LSB impact sensitivity
 
  Wire.write(highByte(lowbat));       // MSB low battery voltage  550 to 30000 = 5.5V to 30V
  Wire.write( lowByte(lowbat));       // LSB low battery voltage
 
  Wire.write(i2caddr);                // I2C slave address for T’REX controller
  Wire.write(i2cfreq);                // I2C clock frequency:   0=100kHz   1=400kHz
  Wire.endTransmission();             // stop transmitting
 
  Serial.println(“Master Command Data Packet Sent”);
 
 
  //-------------------------------- Make sure Master and Slave I2C clock the same ------------------------------------------------
 
  if(i2cfreq==0)                                                               // thanks to Nick Gammon: http://gammon.com.au/i2c
  {
    TWBR=72;                                                                   // default I²C clock is 100kHz
  }
  else
  {
    TWBR=12;                                                                   // changes the I²C clock to 400kHz
  }
}



measuring

Hi Oddbot

measuring from trex input and output port with voltmeter

power supply send 12,4V when car Pb battery

12,8V when computer power supply.

no power switch connected to the PCB and no power jumper close.

blue output terminal with 4 outputs.

Gnd, +5V give me 4,9V

Gnd , servo : 5,96V

Gnd , +V (battery) : 6,6V

 

hope you can see what happens

 

 

a weld seems a bit odd

** try bypass the FET **

as you say to deltabravo , i bypass the FET, for 2 seconds, and i can see 12V output, is it  the solution for me ?

i found one big problem in my machine

motors were not good isolated from the framework, maybe source of lot of problems.