Hi guys. Apologies for not replying ressi. I'm not really sure how it's done (complete novice) as I have yet to receive my display so don't want to lead you in the wrong direction talking gibberish. Also I don't know why you can't register on the site. I had no problems apart from the expected using...
Thanks John. That's where I've been trying to purchase from but can not access the chip packs. Then again I find some strange things with my account as my copy of Flowcode is shown as activated for 30 days?? So I'm a bit confused. I do hope it's still supported as FC6 is as about as deep as I'd want...
Hi I'm assuming but just had to ask (couldn't find the answer). :oops: Can I assume that now FC7 is out, the chip packs for FC6 are no longer available? I ask as I'm interested in trying the AVR chip pack for $X's but can't justify $XXX's for FC7 pro plus pic plus AVR. I'm sure FC7 is worth the mone...
Hi Andrew, This reminds me a lot of the 4D Systems VISI interface, you design the GUI and then control/monitor the GUI using the serial VISI command interface. The Nextion seems to do the same thing but without the open source VISI interface, unless I am missing something. Either way I've not found...
Hi Anybody have any luck in getting one of these Nextion displays to work with a MicroChip PIC micro-controller using flow code? I did find an example in the Russian Flowcode area. But Google translate doesn't quite cut it and I can't access the example. But at $20 for a 3.2 inch screen, it interest...
To the right in the image at the red arrow, you are dealing with hardware connections totally outside the program flow (I guess). Yes. But they can be user selectable. Although if you are using an Interrupt On Change (IOC) your choice will be limited. 1. ResetCounter is controlled by software. It s...
I don't have FC7 but in 6 you have to select the "Component Macro" block. Once you have selected the block, opened it and selected the encoder option a sub menu will open up. Moving your pointer over these options explains there use. In FC6 my first choice would be to select "Enable&q...
Thanks for the explanation medelec. Quite obvious really in hindsight. I had the thought ' well the program isn't using the input from those pins, how can it be a problem ' but ignoring the fact the processor was probably going mad servicing the interrupt from interference. Thanks again :D Andrew
Oh the sweet, sweet taste of success!!! :D :D :D A beginners error that caused a huge headache. Not that I understand it, but I can, at will, make this run as sweet as a nut or run like insane mad man. The polling did not work (for me in this case) as it appeared to stop polling/counting while comm...
Hi again. I’m still not given up on this. I have written a short program to look at the chip’s reaction. Now I am even more confused as this ‘seems’ to imitate the results I have been getting. Basically I have the chip using a IOC on port B. All the chip has to do once the interrupt has occurred is ...
Hi Benj Thanks for the idea. I gave it a try but still no change. If I do a steady sweep from the index to a fixed stop, about 3300 counts, it gives a very close (but not perfect) repetitive result. If I randomly move it even just a little the count can be off but not always. Rapid movement will mak...
Hi Still having problems with this. I have changed the chip to an 18F25K22 and clocked at 64MHz. I have also added caps to the outputs from the line receiver to chip. It is still missing counts. An interrupt can occur every 25µ seconds. I'm trying to measure and display an angle and want to repeat t...
Hi Medelec. Thanks for that. I'll use a chip with more interrupts and work with your example. Regarding the switch bounce. This is 16000 counts per revolution optical encoder (E5-4000-079-IE-D-D-D-3) so thinking switch bounce shouldn't be a problem? :?: The timer interrupt was only used so it wasn't...
Made some progress. It's not missing count's. There seems to be some extra erroneous signals being counted on the end of the return stroke. There for the count is less than before movement. This was taken on the output side of the line receiver. Input to Pic. The movement is off hard stop then back ...
Hi I'm try to read an rotary encoder (US Digital Differential 4000CPR, 16000PPR with index) together with a 26C32 differential line receiver. The trouble is it's losing counts, even at a slow speed (The signal is good from the 26C32). My question is, can I improve the programming with this chip or s...
I'll try and help but I'm not really sure what the set up is and how your program works. And I'm the one usually scratching my head :) I guess the input is coming from some sort of switch on the final drive? The way I would do it is something like this: Count=Count+1 Trip=Count*(0.0021/Counts per wh...