Lil' Blackbox

Coding => v2.0 => Topic started by: samirakle on June 06, 2021, 04:20:48 PM

Title: Possible To Control The Actuator Motor With Just a CAN Shield & Arduino?
Post by: samirakle on June 06, 2021, 04:20:48 PM
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!
Title: Re: Possible To Control The Actuator Motor With Just a CAN Shield & Arduino?
Post by: hakcenter on June 06, 2021, 10:18:36 PM
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
Title: Re: Possible To Control The Actuator Motor With Just a CAN Shield & Arduino?
Post by: Rx7man on June 07, 2021, 12:54:06 AM
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
Title: Re: Possible To Control The Actuator Motor With Just a CAN Shield & Arduino?
Post by: Muffinzs on June 08, 2021, 09:11:53 PM
hakcenter are you doing both shields and standalone in this run?
Title: Re: Possible To Control The Actuator Motor With Just a CAN Shield & Arduino?
Post by: hakcenter on June 13, 2021, 09:18:04 PM
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