[info] Frankenso: prototyping area stepper board install

Hardware inside and outside of the ECU
Post Reply
User avatar
AndreyB
Site Admin
Posts: 13017
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Frankenso: prototyping area stepper board install

Post by AndreyB »

Since we have a few cars interested to use stepper idle valve it's time to make some pictures of a stepper driver installed in the prototyping corner of the board

set engine_type 22
(close console / powercycle rusEfi / connect console)
idleinfo


this should produce something similar to
2017-01-29 00_33: EngineState: directionPin=PD1 reactionTime=10.00
2017-01-29 00_33: EngineState: stepPin=PD6 steps=150
2017-01-29 00_33: EngineState: enablePin=PB1/0
the code for this mentions recommended jumper wire colors

Code: Select all

	boardConfiguration->idle.stepperDirectionPin = GPIOD_1; // top stepper drive pin, white wire recommended
	boardConfiguration->idle.stepperStepPin = GPIOD_6; // yellow wire recommended
	engineConfiguration->stepperEnablePin = GPIOB_1; // bottom stepper driver board pin, blue wire recommended

	boardConfiguration->triggerSimulatorPins[0] = GPIO_UNASSIGNED; // we want to avoid PD1 conflict
As is it's not super convenient. Very few GPIO pins which work with discovery are exposed with a via - see

We still will need a 12v rail somewhere.
111) GND and +12v rails? at least some 1.1mm holes in the prototyping area. Make holes larger for larger wires.
New action items for https://svn.code.sf.net/p/rusefi/code/trunk/hardware/frankenso/known_issues.txt
127) Add vias to button traces: PC8 PD11 PD10 (PD0 & PD2 already have those)
128) Add vias to most or all HL traces: PC7 PC9 PD8 PD9 PE8 PE10 PE12 PE14

Image

Image

See also http://rusefi.com/wiki/index.php?title=Hardware:Stepper_motor
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 13017
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Frankenso: prototyping area stepper board install

Post by AndreyB »

@ todo: add comments to the photos
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply