Search found 438 matches

by brandonb
Wed Feb 27, 2013 2:39 am
Forum: Programming Tips & Tricks
Topic: different way of measuring rpm
Replies: 2
Views: 4690

different way of measuring rpm

i did this project a while back, this is a universal tach for gasoline engines, the responce and accuracy is very good, you can set it for cam or crank, then type in how many teeth are on the tone wheel, then it will give back rpm based on time it took to count the teeth +1 that was input in menu, t...
by brandonb
Wed Feb 27, 2013 2:19 am
Forum: Flowcode V5
Topic: file types problem
Replies: 2
Views: 2213

file types problem

i downloaded ccs and soon after deleted, but now any time i generate a hex file instead of .hex it returns and has changed all hex files to c object files, what can i do to fix it?
by brandonb
Sun Feb 24, 2013 6:18 pm
Forum: Programming Tips & Tricks
Topic: playing with external sram
Replies: 6
Views: 8405

Re: playing with external sram

Thanks for sharing us this. I was in-need of using higher RAM for an application. I will give a try and come to you if stuck anywhere. nahh man, i've never used spi or sram chips before tonight, just trying to inspire members to try them so we can all learn and make cool things, i really like the n...
by brandonb
Sun Feb 24, 2013 5:38 pm
Forum: Programming Tips & Tricks
Topic: playing with external sram
Replies: 6
Views: 8405

Re: playing with external sram

previous example was byte read and write mode, in this example we can fill all the ram locations at once with out delays with one address, then read them all back with one address, key to this is in sequel mode it autoadvances from the start address! to enable sequel operation (C0=0, spi_write(1), s...
by brandonb
Sun Feb 24, 2013 9:08 am
Forum: Programming Tips & Tricks
Topic: playing with external sram
Replies: 6
Views: 8405

playing with external sram

picked up some new chips for communication projects, the one of current discussion is this one http://www.digikey.com/scripts/DkSearch/dksus.dll?WT.z_header=search_go&lang=en&keywords=23LC512-I%2FP-ND&x=10&y=16&cur=USD this chip is easy to use, since im using a 16f1939 with 32k of memory i thought i...
by brandonb
Sun Feb 24, 2013 5:53 am
Forum: Flowcode V5
Topic: SOLVED... PIC12F1840 Clock Configuration
Replies: 6
Views: 4624

Re: Help please: PIC12F1840 Clock Configuration

i use these chips commonly, if running internal, disable all options except brownout detection,
osccon=0x78; //16Mhz
osccon=0xf0;//32Mhz
below is a hex file and fcf with a 1m/s blinky using internal 32Mhz, tested on hardware
by brandonb
Sun Feb 24, 2013 2:46 am
Forum: Flowcode V5
Topic: microchip buss
Replies: 1
Views: 1739

microchip buss

i keep seeing this while looking at memory chips http://ww1.microchip.com/downloads/en/D ... 22076B.pdf is anyone familiar with its applications
by brandonb
Fri Feb 22, 2013 3:26 am
Forum: Flowcode V5
Topic: c-code
Replies: 2
Views: 2161

Re: c-code

jonny, can you guys make the c code windows more friendly, if it had the red lines like in mikroc that show open/closed braces that would be awesome
by brandonb
Fri Feb 22, 2013 2:12 am
Forum: Flowcode V5 Suggestions
Topic: Add "Else If" to Decision Block
Replies: 2
Views: 7527

Re: Add "Else If" to Decision Block

just pointing out, code below is same as flowchart

Code: Select all

while(1)
{
   if(up==1){
     }
    else if(down==1){
      }
      else if(flow==1){
      }
       else if(stop==1){
      }
}
by brandonb
Wed Feb 13, 2013 8:38 pm
Forum: Flowcode V5
Topic: Disable interrupt while interrupt is running?
Replies: 2
Views: 2318

Re: Disable interrupt while interrupt is running?

what chip are you using? when i set and clear bits i do it in a generic way for all compilers for instance to set bit 2 in t2con register t2con|=1<<2; to clear bit 2 t2con&=~1<<2; if you look at bens tutorial on sleep function he shows how to do it in in a more eligant way on your interrupt you can ...
by brandonb
Sat Feb 02, 2013 9:27 am
Forum: Flowcode V5
Topic: questions on keypads
Replies: 4
Views: 3690

Re: questions on keypads

thanks martin, since i dont have a keypad i found a better resource (remote) the toggle is a bit different than explained in tutorials for this remote when you press a button it changes toggle state, if hold button or release button it does not change state this makes it possible for me to have a wi...
by brandonb
Sat Feb 02, 2013 7:26 am
Forum: Flowcode V5
Topic: Problems with I2C
Replies: 6
Views: 3621

Re: Problems with I2C

Unfortunately not :( I didn't expect this to happen...I just updated the software several times, and here is the result...ohhh what a stressful day.. i have a 24LC512 microchip external eeprom chip that i was itching to try, i did test below with picv5.5 and it returns the correct values, i noticed...
by brandonb
Mon Jan 28, 2013 5:32 pm
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

Re: tqfp packages and capacitive coupling

So it was the flux which cause the capacitive coupling?
yes, hot running water, polmolive dish soap, a tooth brush, and a hair dryer fixed the problem
low tech solutions, alcohol did not remove the flux no matter how hard i scrubbed
by brandonb
Sun Jan 27, 2013 10:25 pm
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

update: tqfp packages and capacitive coupling

i did some internet searching and kept running into this @Brett – Imagine my surprise being shown the high-tech board cleaning system when touring an assembly house I hired. Kenmore. I shouldn’t have been surprised because when I was just a young engineer and had a board come back from the prototype...
by brandonb
Sun Jan 27, 2013 10:18 am
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

Re: tqfp packages and capacitive coupling

Does the problem occur when the i/o:s are "loaded", or is the problem present when nothing is connected to i/o:s? the are always loaded as every pin has pull down resistors, when load the pin down with an additional 1k resistor the noise does go away, i have tried jumping power,ground and various c...
by brandonb
Sun Jan 27, 2013 1:15 am
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

Re: tqfp packages and capacitive coupling

What kind of solder have you used for the board? Could it be flux from this solder creates capacitive bridges between the pins? thats the first thing i considered, and by the picture where the light is behind the board it looks like flux is present still, i used a new tooth brush drenched with iso ...
by brandonb
Sat Jan 26, 2013 11:49 pm
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

Re: tqfp packages and capacitive coupling

in the early 80's boss got a tuning machine in basically an oscilliscope with a co2 meter(you know the ones :lol: yep, a over glamorized sun scope, a good example of what im talking about is the ASNU fuel injection machine, i made a controller for it thats too large to post here but it does alot mo...
by brandonb
Sat Jan 26, 2013 11:14 pm
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

Re: tqfp packages and capacitive coupling

thats a neat board are you making your own dev type system
yes, i create alot of stuff for my automotive job and give my designs out to the public to make auto techs lives easier and cheeper, auto tools are way over priced
by brandonb
Sat Jan 26, 2013 10:33 pm
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

Re: tqfp packages and capacitive coupling

alright, got my pico and did some testing.... this looks alot different when using the pico with a different power supply on the board! looks to be ok, there is a slight amount of noise from chip pins that are close to each at the chip, t his is still there even if the traces are ran in complete dif...
by brandonb
Sat Jan 26, 2013 11:56 am
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

Re: tqfp packages and capacitive coupling

The I2C pins are RC3 and RC4? Those are 'miles' apart on the chip, so it seems unlikely to be related to capacitive coupling at the chip pins for this pair.
i'll run the shop and get some high res scope captures
by brandonb
Sat Jan 26, 2013 11:24 am
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

Re: tqfp packages and capacitive coupling

heres a close up of pins with light behind board to show chip legs
https://dl.dropbox.com/u/10367218/100_0997.JPG
by brandonb
Sat Jan 26, 2013 11:08 am
Forum: Flowcode V5
Topic: tqfp packages and capacitive coupling
Replies: 17
Views: 10203

tqfp packages and capacitive coupling

not sure if this fits in the v5 section so please move or delete if it doesnt :?: really i dont know where on the web to ask this question :lol: designed a new board that i can use for communiction projects and such, i've built two of these boards, the second one i used 10k pulldown resistors on eve...
by brandonb
Sun Jan 20, 2013 8:03 am
Forum: Flowcode V5
Topic: questions on keypads
Replies: 4
Views: 3690

Re: questions on keypads

i have one way of doing the numbers that i came up with but it is a bit weird
by brandonb
Sun Jan 20, 2013 1:27 am
Forum: Flowcode V5
Topic: questions on keypads
Replies: 4
Views: 3690

questions on keypads

i've been doing flowcode for over a year and havent done anything with keypads, im not sure how to do all the string stuff and what all the string stuff actually does, can you guys help me out with this
by brandonb
Thu Jan 17, 2013 5:25 am
Forum: Flowcode V5
Topic: how can i create a usb keyboard
Replies: 2
Views: 2436

Re: how can i create a usb keyboard

thanks kersing and steve, i wont get to this project for possibly a couple weeks, its always good to get an idea before proceeding