Hi metric taper
I will have to look up what a ISR routine is but thank you for this info. Will research later
many thanks again
The Home Engineer
Hi metric taper
I will have to look up what a ISR routine is but thank you for this info. Will research later
many thanks again
The Home Engineer
ISR= Interrupt Service Routine. Your code enables interrupts, (attachInterrupt(0, runEncoder1, RISING ); // encoder pin on interrupt 0 >>(pin 2 on arduino)), but I don't see a service routine. I see you have a CLI()=Clear Interrupt Flag, in the main loop of the program. But a ISR will be outside this main loop. Clearly the program is working, so the Arduino IDE put something to return, that is invisible to the end coder.
Typically with quadrature encoders, the interrupt does the count up or down based on the A vs B phase outputs of the encoder. Maybe I'm missing something.
I do like your design of having a dedicated processor as a feed back counter, with it's own display.
Paul Jones (Jan 15, 2020), thehomeengineer (Jan 15, 2020)
Congratulations thehomeengineer - your Arduino Controlled Rotary Table is the Homemade Tool of the Week!
Another big week with many excellent builds, but this is a worthy winner.
Some more good builds from this week:
Piston Ring Locator by Rikk
Broach by thehomeengineer
Forging Press Tooling by Philip Davies
Welding Clamp by Kwandotechnic
Bar Stock Bender by Made in Garage
Rolling Storage Rack by bobs409
Angle Grinder Stand by barts metalwork
Swarf Collector by bouboulas
Welding Clamp Modification by Catfish
Quick Disconnect Cap by TigerCreek
Air Compressor by warsztatOdZera
Flanger by Eaglewood
Belt Grinder Platen by House_Work
Tire Chain Brackets by Frank S
Drill Bit Extender by Kovanca Polock
Slot Punches by Philip Davies
V Block Swage by Philip Davies
BB Pellet Trap by Matt Owens
Lathe DRO by Retro Steam Tech
Belt Grinder by Fromthewood
Updated Fence Cove Jig by Make Things
Pin Router by woodenworldenic
Welding Clamp by Kwandotechnic
Mobile Workbench by Sam's Workshop Diary
Milling Machine Power Feed by Mr Mechanical
Thin Strip Rip Jig by Didpoolhall
Wire Stripper by diyfixman
Trailer Ramp Mounts by Frank S
thehomeengineer - you'll be receiving a $25 online gift card, in your choice of Amazon, PayPal, or bitcoin. Please PM me your current email address and gift card choice and I'll get it sent over right away.
This is your 7th Homemade Tool of the Week. Here are all of your Homemade Tool of the Week winning tools. Congrats again
New plans added on 11/20: Click here for 2,589 plans for homemade tools.
Hi All
This means a great deal to me as I was unsure at times if I would ever get this project finished so thank you again for all the interest shown in this project. All I can say is "don't give up, just step back have a think and go again" (Frustrating at times)
Totally made up with this weeks HMT of the week
The Home Engineer
Paul Jones (Aug 16, 2020)
I do not have the time to go through your code in detail, but my initial impression was that the Mega code was very long for the tasks. I might think differently if I waded through it all.
You last function "software_Reset()" is defined but a search did not find any instances of it being called.
The posted Nano code looks to be missing a chunk. As posted it does nothing.
You attach an interrupt "attachInterrupt(0, runEncoder1, RISING );" but there is no "runEncoder1()".
Last edited by tonyfoale; Jul 21, 2022 at 05:24 AM.
Hi
If I remember I had to use the mega for the additional earth pins but I am no expert when it comes to arduino. this was my first project I have used an arduino and it was a steep learning curve. There is probably a lot better way of doing it but I eventually got it to work. ( took me a real long time ) luckily I got some help from a friend who was really good at coding so got some good advice.
There are currently 2 users browsing this thread. (0 members and 2 guests)
Bookmarks