Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Hardware / Re: Oh Joy.. reverse engineering
« Last post by hakcenter on May 02, 2018, 08:05:16 AM »
jusss
22
Hardware / Re: Oh Joy.. reverse engineering
« Last post by Rx7man on May 02, 2018, 12:12:12 AM »
OK.. Does this look better?  that was a dozen hours work.
23
Hardware / Re: Oh Joy.. reverse engineering
« Last post by Rx7man on May 01, 2018, 09:50:28 AM »
I'm grinding away at it.. nearly done.. Had to desolder 2 of the control relays and an 11 pin transformer..  Really hard to trace the circuits on the center layers if there are devices with continuity.. (hence the need to desolder) they also use a VERY high temp solder, so it took a lot of solder wick, had the iron cranked right up to 500F, and to top it all off, the devices/board have conformal coating on them which makes them hard to work, and it glues things down.. Well, I see the finish line at least!
24
Hardware / Re: Oh Joy.. reverse engineering
« Last post by Rx7man on April 29, 2018, 07:14:44 PM »
Oh, yeah, I was told it's a 3 layer board.. they're wrong, it's 4 layer..
25
Hardware / Re: Oh Joy.. reverse engineering
« Last post by Rx7man on April 29, 2018, 06:35:52 PM »
yes, yes they are.. I'm trying to make the schematic approximately like the board, or I'll never see it through.. maybe when I'm done I'll make a second copy where I organize everything nicely... and don't have wires going through devices.  As you see, for now, with some of the devices they're just black boxes that look like the physical device.. later I'll fix that too.. maybe.
26
Hardware / Re: Oh Joy.. reverse engineering
« Last post by hakcenter on April 29, 2018, 05:03:13 PM »
omg is that 45 degree angles in the schematic phase ? noooooooooooooooooooooooo
27
Hardware / Oh Joy.. reverse engineering
« Last post by Rx7man on April 29, 2018, 04:34:16 PM »
I have a problem with my welder.. suspecting the high power board.. AC generator works, no weld output though, mechanics are fine,.. and of course schematics are "proprietary" and unavailable.. Board has about $200 worth of components, certainly could be designed as a 2 layer with a few vias (no vias, thankfully, that would make tracing harder)

3 layer board, 55 resistors, 25 capacitors, 40 diodes, few rectifiers, half dozen high power transistors, 4 optocouplers, couple op-amps, and about 30 connectors.. I'm just lucky it's a very translucent board and I don't have to probe everything, I can see the center plane through it, and mostly just fine traces there.

Once I get it drawn out I can start troubleshooting and see if it's the control circuitry or the power section that's not working
28
General Discussion / Re: Starting a new build
« Last post by Rx7man on April 18, 2018, 10:43:09 PM »
I'd start tossing in some serial prints in there and see what's going on..  Also pay attention to HEX and DECimal values with your message ID's

I'd start with putting one in the interrupt, then each CASE statement.. is it actually getting in there?

Also, it would make the program flow look smoother if instead of setting a flag that the copy is done, just go right to parsing that data out.   Also, global variables tend to be frowned upon when not absolutely necessary.. Pass directly to the function..
29
General Discussion / Re: Starting a new build
« Last post by Chewy1576 on April 18, 2018, 09:15:19 PM »
Here's my first attempt, no workie....

Code: [Select]
void MCP2515_ISR()
{
  data_rcvd = true;
}

void C_CANBUS()
{
  data_rcvd = false;
 
  if (CAN.available() == true)
    {
      rcv_data = CAN.read();
    };
 
  data_ready = true;
}

void copydata()
{
  data_ready = false;
  switch(rcv_data.id)
    {
      case turbo_speed_ID:
        memcpy(rcv_data.data,turbo_speed.b,4);
        break;

      case vane_pos_ID:
        memcpy(rcv_data.data,vane_pos.b,4);
        break;

      case boost_pressure_ID:
        memcpy(rcv_data.data,boost_pressure.b,4);
        break;

      case egt_ID:
        memcpy(rcv_data.data,egt.b,4);
        break;
    }
}

void loop()
{
  if (data_rcvd = true)
  {
    C_CANBUS();
  }

  if (data_ready = true)
  {
    copydata();
  }

  D_LCDWrite();

}
30
General Discussion / Re: Starting a new build
« Last post by Chewy1576 on April 18, 2018, 09:36:40 AM »
I'll try to give it a shot tonight. Thanks!!!
Pages: 1 2 [3] 4 5 ... 10