Code Monkey home page Code Monkey logo

arduino-cnc-speed-control's People

Contributors

jmharvey1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduino-cnc-speed-control's Issues

Using 2 reference points how to correct PWM?

Hello, I'm using a hall effect sensor and 2 magnets (for balance) on my spindle. I've changed line 285 to "calcrpm = (SampleCnt*30000000)/period;" to reflect the doubling of the counts and it appears to be setting the speed correctly as checked against my frequency function on my multimeter. I've noticed that when the speed gets over 10000rpm( I've changed the values for trgtRPM) the Actl RPM starts from 5000 again. I've looked for the calculation to correct this but have been unsuccessful. Could you point me in the write direction please.
Cheers
Mike

Compile time error in line 344, MaxRunTime

Hi, and thanks for the code, just what I was looking for. This is a real nitpick but there is a compile time error for line 344 which can be corrected by changing one of the numbers to a long number ie.
long MaxRunTime = 606010L;// number of seconds the program is allowed to run be
Cheers
Mike

Spindle slows down every 5 minutes

Hello, I've noticed that the spindle does a reset approx. every 5 minutes. I've tried to debug this but have not had any luck. It appears to be in the loop that starts at line 386. Any help would be greatly appreciated.
Cheers
Mike

app crashes if 'select' is pressed

i have just put this together, and it spins the spindle when turned on, and the sensor looks to be working with the scan screen etc, but if i press the select button, the app crashes and i have to power cycle to restore.

Any ideas?

A verify compile fails. arduino 1.6.3

C:\Users\rick\AppData\Local\Temp\build5221026074079849357.tmp\LCDKeypad\LCDKeypadR1.cpp.o: In function `LCDKeypad::LCDKeypad()':

C:\Users\rick\Documents\Arduino\libraries\LCDKeypad/LCDKeypadR1.cpp:12: multiple definition of `LCDKeypad::LCDKeypad()'

C:\Users\rick\AppData\Local\Temp\build5221026074079849357.tmp\LCDKeypad\LCDKeypad.cpp.o:C:\Users\rick\Documents\Arduino\libraries\LCDKeypad/LCDKeypad.cpp:12: first defined here

C:\Users\rick\AppData\Local\Temp\build5221026074079849357.tmp\LCDKeypad\LCDKeypadR1.cpp.o: In function `LCDKeypad::LCDKeypad()':

C:\Users\rick\Documents\Arduino\libraries\LCDKeypad/LCDKeypadR1.cpp:12: multiple definition of `LCDKeypad::LCDKeypad()'

C:\Users\rick\AppData\Local\Temp\build5221026074079849357.tmp\LCDKeypad\LCDKeypad.cpp.o:C:\Users\rick\Documents\Arduino\libraries\LCDKeypad/LCDKeypad.cpp:12: first defined here
I receive the following error message when doing a verify compile. I download your code, and then perform the compile. This is after I downloaded and installed the modified libraries. Once I get this to compile, I will then go through and change the commented out lines so that I can run this on a UNO.

Thank you for any assistance.
Rick Harms
[email protected]

C:\Users\rick\AppData\Local\Temp\build5221026074079849357.tmp\LCDKeypad\LCDKeypadR1.cpp.o: In function `LCDKeypad::LCDKeypad()':

C:\Users\rick\Documents\Arduino\libraries\LCDKeypad/LCDKeypadR1.cpp:12: multiple definition of `LCDKeypad::button()'

C:\Users\rick\AppData\Local\Temp\build5221026074079849357.tmp\LCDKeypad\LCDKeypad.cpp.o:C:\Users\rick\Documents\Arduino\libraries\LCDKeypad/LCDKeypad.cpp:12: first defined here

collect2.exe: error: ld returned 1 exit status

Error compiling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.