Check out https://www.microchip.com/wwwproducts/en/PIC18F4431 this series has a hardware quadrature encoder feedback module that runs on it's own in the back ground.
Type: Posts; User: microcnc05; Keyword(s):
Check out https://www.microchip.com/wwwproducts/en/PIC18F4431 this series has a hardware quadrature encoder feedback module that runs on it's own in the back ground.
The machine had to be built to take many different types of tape of width and thickness. So for small tape it looks a little silly for the large stuff it really helps to run it though multiple rolls...
Well I finished up the machine and delivered it. My client is thrilled and has more automated machines he wants me to get started on. But like I said I'd post a little about this project. This...
Oh yeah as soon as I get the machine done I'll post some pictures and video of the project as well.
Ok I found it, there were a couple of configuration bits that for some reason the config setting I originally had didn't work when I launched the programmer. I changed them with the U2 software...
Plot thickens . I went to my shop today and programmed this simple code to the board and it works fine. I then try and program the same code from my laptop even after uninstalling and reinstalling...
Yep I tried that as well. My first post shows CONFIG PWM4MX = RD5 The second post I was just showing the output for meConfig one line of code. Still stumped. Tomorrow I'll try another board with a...
I usually use meCONFIG.exe just because it's so much faster when I'm writing code and it has the chips in it I use. Here is the long form of the same file. The weird thing is that this program was...
I don't post much but last night I was work on finalizing a hserin interrupt routine for a project I'm working on. I'm using pic18f4431 portb.5 as an output for a buzzer on my main board. I normally...
I don't know if I would have figured it out without your last post wanting all my code. I just updated to PBP 3.1, on my system I have to disable ransom ware protection to install programs. I...
Sorry HenrikOlsson for the frustration. I figured it out just now, it wasn't the code. It was my anti-virus software, I had ransom ware protection on. This somehow allowed some of the pic to be...
I've tried so many thing now with no luck. Here is the config setup in 16f18857.inc file. A pause 1000 led on & off program is giving me 125ms on the scope.
#CONFIG
__config _CONFIG1,...
I was following the data sheet and it must be set for 32Mhz because when I used a pause of 1000 and hooked up the oscilloscope to it I was getting 125ms. I used the define 32 in PBP but it doesn't...
I'm hitting my head against the wall now. I can't seem to figure out this new chip. I just want to get it up and running with the internal oscillator at 32Mhz. When I blink an led with a 1 sec...
Hmmm plot thickens. In my main program I got it to work today using ARRAYREAD ARRAY,[DEC VARIABL] AND THEN LCDOUT $FE,$1, DEC VARIABLE... The strange thing is that it would work the first time...
It's late so I'm probably missing something right in front of me.
I'm using a pic18f4331 and I can't seem to be able to read a byte array with 3 segments into a word variable. I'm reading a keypad...
Hi I'm having a little trouble with a LCD display. I've used melabs serial LCD's before and they work great but I'm trying a JHD 204A display it's a Hitachi based display and I believe it's...
That's funny. I'm a pattern maker in the arrow space industry. I got laid off early 2009 and started doing side jobs. I started my own company about two months ago and started automating some...
I'm having trouble with math in picbasic pro. I'll give you an over view of what I'm trying to do. I've been automating a few machines that feed out cardboard and cut it off. The feeding is done by a...