Misfittech / nano_stepper

Stepper feedback controller
427 stars 179 forks source link

Added pin mapping for 3.3v logic (Smoothie). Also some display updates. #1

Closed pristinesource closed 7 years ago

pristinesource commented 7 years ago

Added a pin mapping and a simple #define to turn the D3, TX and RX pins into STEP, DIR and ERROR/ENABLE inputs to bypass the built in level shifter.

The level shifter pins will work with 3.3V as well

pristinesource commented 7 years ago

I see I put the wrong pin numbers for TX and RX, they should be 30 and 31 not 20 and 21. I am going to do another commit to fix it.

pristinesource commented 7 years ago

I also added some updates to the display code img_3125

pristinesource commented 7 years ago

I updated some of the display text: img_3126 img_3127

I love the changes, I have changed the LCD code and menu system I will got back and see if I can add your changes back in to the new source

pristinesource commented 7 years ago

Hmm, I am going to take out "PCB" from the splash screen.

Misfittech commented 7 years ago

I love the LCD changes, I have changed the LCD menu system in FW0.07 to be more modular.

Also the level shift pins will work with 3.3V so there is no reason to use the other pins.

pristinesource commented 7 years ago

I did not know they would work for 3.3v, that is awesome!! Made my job easier ;) Thank you!!!!!!!!!

Misfittech commented 7 years ago

Yes they will even work with 3.3V if the Vin pin is floating. If Vin has 5V power and you use a Smoothie than the step, dir and error will have a 10K pull up to 5V however the LPC on the smoothie is 5V tolerant so it is not an issue.

Trampas

On Tue, Dec 20, 2016 at 2:41 PM, Anthony Rainer notifications@github.com wrote:

I did not know they would work for 3.3v, that is awesome!! Made my job easier ;) Thank you!!!!!!!!!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Misfittech/nano_stepper/pull/1#issuecomment-268338318, or mute the thread https://github.com/notifications/unsubscribe-auth/AT7GxoADMAxQYsDGZBnUiKpQKMNtZ0o4ks5rKC9ggaJpZM4LNAfc .