Author Topic: Possible To Control The Actuator Motor With Just a CAN Shield & Arduino?  (Read 26 times)

Offline samirakle

  • Member
  • **
  • Posts: 1
I seem to be treading into a ghost forum as of right now. I probably won't get a response but if anybody sees this I'm hoping that I can be pointed in the right direction:

What I'd basically like to do is send CAN bus commands to the actuator with an Arduino and some coding. Is this possible or do I need to hook up a bunch of other hardware?

I'm thinking of just sending can bus commands through the J1939 data lines that would just command the motor the rotate in either direction at different angles/values.

I've tried to make sense of the code provided here but I'm not very code savvy. I can't seem to figure out where this function "send_turbo_position(data)" came from as I can't see where it's been defined. I'm assuming this is what stores the PGN, SPN, and data to be transmitted to the actuator?

Thanks in advance!



Offline hakcenter

  • developer
  • Hero Member
  • *****
  • Posts: 770
    • 1998 12v Ram
I wouldn't try too hard deconstructing the code if you can find the function methods  :o

It's not dead here just very very slow. There was a dead year, and now everyone wants a 351ve back on their vehicles and I guess I'm the last option left now :D
Waiting on manufacturers to finish the next unit run /shrug

AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.



Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • Posts: 1079
  • Jack of all trades
    • got 4 cummins
I watch the forums here, though i"m low on the totem pole :P
you can control the actuator with just a can shield and arduino, but you'll be missing the VR sensor input in particular to sense turbine speed which is an important part of the Lilbb code

'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles


Offline Muffinzs

  • Member
  • **
  • Posts: 2
    • Ford Probe
hakcenter are you doing both shields and standalone in this run?



Offline hakcenter

  • developer
  • Hero Member
  • *****
  • Posts: 770
    • 1998 12v Ram
hakcenter are you doing both shields and standalone in this run?

I have shields being made right now, they are baron only. No one wants to put them together for me, which is why I designed them with through-hole

I'm having a problem with the standalones at the moment

AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.