Stepper not working properly using 12F683 chip.

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
astro1234
Posts: 50
Joined: Mon Apr 10, 2017 12:53 pm
Has thanked: 39 times
Been thanked: 13 times
Contact:

Stepper not working properly using 12F683 chip.

Post by astro1234 »

Hi.
Trying to get this stepper running using a 12F683, it will run ok in simualtion,
but will not run properly on the breadboard, will run one way but not the other.
Will run ok if i use any 16F--- pic chips.Any one any idea why it will not run using
the 12F683. I need to use this chip because of space on the breadboard, when i have two Voltage regs plus a Bravo T868 and uln2004an chip there is not a lot of room left.
Win 10 pro .
Flowcode v8.1
thanks Roy.

Just tried another 12F683, Still no joy, but just programed a 12F1822, and this now works ok.
Must be the pin set up i am missing in the 12F683.
Roy.
Attachments
12F683_Focus_4.fcfx
(10.29 KiB) Downloaded 164 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Stepper not working properly using 12F683 chip.

Post by Benj »

Hi Roy,

It might be worth looking at the motor direction control pin (GP1) and seeing if you can drive a logic high and logic low e.g. to a LED.

I can't see any reason in your project as to why the pin wouldn't be behaving correctly.

Maybe a short or open on the breadboard? Have you done conductivity sanity checks?

astro1234
Posts: 50
Joined: Mon Apr 10, 2017 12:53 pm
Has thanked: 39 times
Been thanked: 13 times
Contact:

Re: Stepper not working properly using 12F683 chip.

Post by astro1234 »

Hi benj.
Thanks looking at this, so just re-programed the 12F683 and chip flashed led on the GP1 pin at 100ms and working ok.
Like i said in my first post,it is working ok using 12F1822 ,but not the 12F683.
So i know my circuit is ok.Running a Bravo T868 with key fobber.
Will look again at my circuit with the 12F683.
Regards Roy.

Post Reply