Search found 23 matches

by tompzone
Thu May 17, 2012 3:20 pm
Forum: Flowcode V4
Topic: program works on flowcode but not on hardware
Replies: 10
Views: 7023

Re: program works on flowcode but not on hardware

well after checking it step by step i found that indeed that was the mistake with the algorithm and it's fixed, and working, thanks alot!
by tompzone
Sat May 12, 2012 8:11 pm
Forum: Flowcode V4
Topic: program works on flowcode but not on hardware
Replies: 10
Views: 7023

Re: program works on flowcode but not on hardware

hi yes about the keypad forgot to change the silks screen on the simulation, well i have taken 2 photos, one of the simulation and the result on matlab (the 2 parameters are shown on the matlab photo they are absolutely the same), the results are the same on both, and a picture of the real project (...
by tompzone
Sat May 12, 2012 7:58 am
Forum: Flowcode V4
Topic: program works on flowcode but not on hardware
Replies: 10
Views: 7023

Re: program works on flowcode but not on hardware

hi, after some small modifications i actually noticed that the program doesnt work, everyhing seems fine but the final results of the calculation are wrong (but the simulator gives the right answer), i tried it with 2 16f877a and one 18f4455, so the chip is not the problem and i dont know what cause...
by tompzone
Sat May 12, 2012 4:29 am
Forum: Flowcode V4
Topic: program works on flowcode but not on hardware
Replies: 10
Views: 7023

Re: program works on flowcode but not on hardware

hi

i got it working it was the connections, i hook the pulldows incorrectly (to the columns) now it's working thanks alot
by tompzone
Thu May 10, 2012 4:09 pm
Forum: Flowcode V4
Topic: program works on flowcode but not on hardware
Replies: 10
Views: 7023

Re: program works on flowcode but not on hardware

well i have tested the keypad and the connection is fine, and with a very simple program and it works fine, but the strange thing, this program on the simulator (proteus) with the 16f877a it warns me that it's trying to simulate memory that's not implemented, with the 18f4455 on the simulator it goe...
by tompzone
Thu May 10, 2012 5:15 am
Forum: Flowcode V4
Topic: program works on flowcode but not on hardware
Replies: 10
Views: 7023

program works on flowcode but not on hardware

hi, i am having trouble with this code, it's a convolution calculator, a relatively simple operation, (the code is kind of messy and it has to be optimized) on the flowcode simulator it works fine, when i tried it on proteus, it gave me warnings about the memory (on the 16f887a) but when i test it o...
by tompzone
Fri May 04, 2012 4:20 am
Forum: C and ASM Programming
Topic: keypad with C and interrupts
Replies: 2
Views: 4564

Re: keypad with C and interrupts

well i noticed that using the output icon disables the WPU and apparently also the interrupts, so i am switching the direction using the tris registers, and it works, the isr gets serviced, it's just that it is only doing half of the code, unless i press the key several times very quickly, another w...
by tompzone
Wed May 02, 2012 8:27 pm
Forum: C and ASM Programming
Topic: keypad with C and interrupts
Replies: 2
Views: 4564

keypad with C and interrupts

hi i am having trouble with the interrupt on change, C code trying to make a matrix keypad the lower part of the port is an output and the ioc pins inputs, the idea is to read the columns on the isr, then change the direction so that the outputs are inputs and do the same, the OR them together and i...
by tompzone
Tue Apr 24, 2012 3:50 am
Forum: Flowcode V2 & V3
Topic: Reading keypad with PORT int (IOC)
Replies: 1
Views: 5113

Reading keypad with PORT int (IOC)

hi i am trying to read a keypad with interrupts on a pic 16f877a (mainly because polling is to slow), to read it i am using the internal resistors, the columns are connected here (RB4-7), the LSB are outputing a logical 0, so when i press the key the interrupt occur, then in the isr, first i dissabl...
by tompzone
Thu Dec 01, 2011 10:13 pm
Forum: Flowcode V2 & V3
Topic: Matrix keypad problrm
Replies: 2
Views: 4261

Re: Matrix keypad problrm

thanks alot that was the problem, now it's fixed thanks alot
by tompzone
Thu Dec 01, 2011 7:29 am
Forum: Flowcode V2 & V3
Topic: Matrix keypad problrm
Replies: 2
Views: 4261

Matrix keypad problrm

hi, i have been trying to use a matrix keypad, i have used the examples provided here, and when i simulate it with flowcode an proteus it works, but on a breadboard, it always sends me several keys (i remember that it always send 4 7 and 1), as if i where pressing them, i tried changing the port add...
by tompzone
Fri Sep 30, 2011 12:01 am
Forum: Flowcode V2 & V3
Topic: Using a single buton to make several outputs
Replies: 2
Views: 3816

Re: Using a single buton to make several outputs

thanks alot ben just what i wanted to do
by tompzone
Thu Sep 29, 2011 2:30 am
Forum: Flowcode V2 & V3
Topic: Using a single buton to make several outputs
Replies: 2
Views: 3816

Using a single buton to make several outputs

Hi i been having trouble doing a simple task, i want to send a message to a lcd using a button (any port) and do nothing, then using the same button send another one one line below, so i can see the two messages, but i cant figure out how to do this because every time i try with the button (momentar...
by tompzone
Sun Aug 28, 2011 6:36 am
Forum: Flowcode V2 & V3
Topic: Graphic LCD
Replies: 3
Views: 4334

Graphic LCD

Hi i want to use this GLCD http://www.ebay.com/itm/132x132-pix-Serial-Color-Graphic-LCD-SPI-PIC-ARM-AVR-/400078962224?_trksid=p5197.m7&_trkparms=algo%3DLVI%26itu%3DUCI%26otn%3D4%26po%3DLVI%26ps%3D63%26clkid%3D2372855289256398022 but i want to know if the lcd can be driven directly with the GLCD macr...
by tompzone
Wed Jun 15, 2011 6:07 am
Forum: Flowcode V2 & V3
Topic: generating a sine wave
Replies: 2
Views: 3850

Re: generating a sine wave

ok, yhanks alot this was very helpful
by tompzone
Thu Jun 09, 2011 10:46 am
Forum: Flowcode V2 & V3
Topic: generating a sine wave
Replies: 2
Views: 3850

generating a sine wave

hi i am trying to create a sine wave using the DAC0800 or using the pwm with capacitor method, but i have no idea how to do it, i want to use arrays but i am having difficulties using them so i am planing to send the outputs directly and with a loop, any infor would be great
by tompzone
Thu Jun 02, 2011 5:07 am
Forum: Flowcode V2 & V3
Topic: connecting lcd
Replies: 8
Views: 6960

Re: connecting lcd

Thanks alot, i was connecting the Lcd as the bits as the connections show it, and not to the uppernibble, thanks Benj you saved me :), and thanks alot medelec35 your advices were very helpful as well
by tompzone
Wed Jun 01, 2011 3:36 am
Forum: Flowcode V2 & V3
Topic: connecting lcd
Replies: 8
Views: 6960

Re: connecting lcd

by the way maybe this is the problem, the lcd that i am using (16x2) is a TC1602A and the 16x4 is a kl sn102 94v and a pwb 20434-cem
by tompzone
Wed Jun 01, 2011 2:59 am
Forum: Flowcode V2 & V3
Topic: connecting lcd
Replies: 8
Views: 6960

Re: connecting lcd

hi thanks for the advice and the link i checked the settings and they are correct, using a cristal of 4Mhz, and double checked the connections and it still doesnt work, i am uploading the code
by tompzone
Tue May 31, 2011 7:35 pm
Forum: Flowcode V2 & V3
Topic: connecting lcd
Replies: 8
Views: 6960

Re: connecting lcd

well i amo not using Eblocks, i am testing it on a protoboard, and i have followed the conections (RW to GND) but it doesnt work, i am using the f877A and the ldc is on port B and it still doesnt work

by the way i checked the oscillator frequency and it matches my current oscilator (XT)
by tompzone
Tue May 31, 2011 8:05 am
Forum: Flowcode V2 & V3
Topic: Creating electronic lock
Replies: 4
Views: 5034

Re: Creating electronic lock

thanks alot!
by tompzone
Tue May 31, 2011 8:04 am
Forum: Flowcode V2 & V3
Topic: connecting lcd
Replies: 8
Views: 6960

connecting lcd

hi, i have been trying to connect the lcd to the pic 16f88 and 16f877A but non shows anything on the lcd, i connect them to port B as default, but i doesnt work and i have been tryng several lcd displays (16x4 and one 16x2 the displays works so that's not the issue), so is there anything i should kn...
by tompzone
Mon May 23, 2011 5:57 pm
Forum: Flowcode V2 & V3
Topic: Creating electronic lock
Replies: 4
Views: 5034

Creating electronic lock

hi i am trying to create a electronic lock, using a keypad, using 3 numbers (170 by the way), but i am not able to "memorize" each pulse and it's value, and i dont know how to make the comparison so it can accept or reject the password, (i am using 2 leds as outputs)