Search found 77 matches

Return

by brandonb
Sun Sep 04, 2011 5:27 pm
Jump to forum
Jump to topic

Re: values?

would agree with rotary encoder, but instead of the usual quadrature type, it would be much better to use an absolute (positional) type that uses Gray Code. i've never seen one, can you show me the perfect fit with a link to one that i could buy in the usa from digikey/mouser or equivenant,(when it...
by brandonb
Mon Sep 05, 2011 12:12 pm
Jump to forum
Jump to topic

Re: values?

at this point i can only point out issues, thats probably driving you guys nuts I am also a bit confused, but with injection time. If i remember well, we talk here for FUEL injectors. Take a look again Brandon at your first post. From those i know from petrol engines, the minimum injection time (in ...
by brandonb
Wed Nov 30, 2011 2:11 am
Jump to forum
Jump to topic

Re: Anyone have a PWM Dimmer program to dim just 1 LED?

this is an extention of the last file but with an lcd display... incase you were wondering the copyright thing is a joke for a friend of mine, i put it on all my stuff to make him and my self laugh
by brandonb
Wed Nov 30, 2011 1:48 am
Jump to forum
Jump to topic

Re: Anyone have a PWM Dimmer program to dim just 1 LED?

with 3 tactiles controlling and lcd for feedback
by brandonb
Thu Dec 08, 2011 6:39 am
Jump to forum
Jump to topic

Re: Best resistor value to stabilize PWM pin going to transi

thats weird, usually as you know N mosfets requred a pull down resistor from gate to ground of about 10k, but since your using the pic it shouldnt need one because your sinking the gate charge when pulsewidth is low discharging the gate to turn it off, i've run into stuff like this in past non pic p...
by brandonb
Fri Dec 09, 2011 5:30 am
Jump to forum
Jump to topic

Re: How many pins does it take to burn a typical 8bit pic?

5 pins, vpp(programming voltage 12volts) -5v - ground - in circuit serial data and - in circuit serial clock.... all of these are supplied directly from your pickit2 or what ever you use for a programmer.... i tried to upload a picture of the one i made with the zif adapter for 40 pin dip but when s...
by brandonb
Sun Jan 22, 2012 1:14 pm
Jump to forum
Jump to topic

Re: Look-Up Tables Tutorial

no i knew the MS was milliseconds the FCV threw me for a loop, i would have never guessed and if i read that it didnt click, i thought it was some kind of register value previously(oops).... but the C statement FCV_DELAY_MS=Delay_Val[FCV_ADC_VAL]; should read flowcode variable --> delay_ms now has t...
by brandonb
Fri Feb 10, 2012 3:51 am
Jump to forum
Jump to topic

Re: How big is my program?

you can see this when you download to chip or can do a quick convert to hex, if you read through the programmer progress it shows what % used and unused
by brandonb
Sat Mar 03, 2012 12:23 pm
Jump to forum
Jump to topic

Re: Look-Up Tables Tutorial

check it out martin, got my pwm working... right now it only goes up in counts but is actually quite stable for frequency at 920hz on hardware
by brandonb
Wed May 30, 2012 8:18 am
Jump to forum
Jump to topic

Re: tmr2 desired frequency?

thanks for the very useful info.....and like i way saying there isnt much in the main macro, this works like a charm, with an update rate of x3 per second which is low with all the tmr2 interrupts occuring at the time lcd is updating reducing the measurements but the resolution is what i was looking...
by brandonb
Sat Aug 04, 2012 10:01 pm
Jump to forum
Jump to topic

Re: RPM Readout

this is one that i did for a chevy, i changed the calculation to fit requirements, update rate is 2x
by brandonb
Sun Aug 05, 2012 8:42 am
Jump to forum
Jump to topic

UART NETWORK

i wanted to post this in hopes that it may help someone in future, this project is a concect to network uart, this is a simple example project but could be complex as well, the 16f1938 on the green board housing the lcd sends commands to the top three chips on the breadboard, it sends a chip address...
by brandonb
Sun Oct 28, 2012 11:49 pm
Jump to forum
Jump to topic

flowcode supported lut macro

it would be amazing if we could have a macro that looks like the eeprom component where we could just write in the look up table values to the right of the lut index number, and make it to where we could simulate it and have as many lut macros as we want to have, would this be possible since the c c...
by brandonb
Thu Nov 22, 2012 9:24 am
Jump to forum
Jump to topic

removing smd chips without effort

i recently converted the boards i create for fun to all surface mount components, and since im paranoid i bought a pack of this https://www.sparkfun.com/products/10925? well i had a situation with a 18f26k80 chip that wouldnt do much of anything and had to remove it, applying some of the special flu...
by brandonb
Sat Nov 24, 2012 5:14 pm
Jump to forum
Jump to topic

timerbased low freq pwm

this is to get some really low pwm frequencies, from seconds up to about 350hz, (high frequencies dont leave enough time for main) ...it works with tmr2 interrupt only so frequency is stable, pot connected to A2 ... output is on A5...... will have to play with tmr2 settings to see what frequencies y...
by brandonb
Sun Nov 25, 2012 11:50 am
Jump to forum
Jump to topic

Re: timerbased low freq pwm

heres a pwm that i was working on today, this one has fully adjustable tmr2 oscillator on the fly, can set the prescaler 1:1 -1:64 postscaler 1:1-1:16 and rollover 1-256 (pwm =tmr2/200).. it shows the output pwm frequency derived from timer math, the useable output range is 3 seconds to 660hz, like ...
by brandonb
Wed Nov 28, 2012 6:45 am
Jump to forum
Jump to topic

Re: tmr2 interrupt flowcode calculator!

something important to note that i forgot to mention on the calculator, if your searching something like 10hz you can do f_osc = 16000000 target = 10 range = 9 display_delay = 2 **BUT THE "RANGE" NUMBER HAS TO BE LOWER THAN THE "TARGET" NUMBER OR IT WILL NOT RETURN ANYTHING*** ex...
by brandonb
Wed Nov 28, 2012 5:26 am
Jump to forum
Jump to topic

tmr2 interrupt flowcode calculator!

if you want to quickly get all the prescaler,postscaler.rollover values of a desired tmr2 frequency or get all the frequencys and adjustment settings in a certain range around a desired frequency this is for you....i created this as a simulator flowchart to help pick those frequecies and settings ea...
by brandonb
Thu Nov 29, 2012 6:29 am
Jump to forum
Jump to topic

Re: tmr2 interrupt flowcode calculator!

on this one i think i have it all fixed right, i added the rollover value of 256(oops), and made the range and target both floating point variables, now if you select "0" it will give you only the exact matches +/- .1 i also fixed a couple of minor things, now you will get alot more return...
by brandonb
Sat Dec 01, 2012 9:18 am
Jump to forum
Jump to topic

Re: tmr2 interrupt flowcode calculator!

i really should get more sleep lately, 5 hours a night just dont cut it :lol: i've been playing with it alot and tonight i ran into my first incorrect result with the last file with the settings osc 32000000 target 30 range .6 it returned 30.39hz with settings 64-16-1 which is way off, i traced it d...
by brandonb
Sun Dec 02, 2012 7:46 pm
Jump to forum
Jump to topic

Re: tmr2 interrupt flowcode calculator!

some clever calculations you did within flowchart Brandon! I will definitely use this instead on online calculators! thanks martin, its nice to be able to give something back to the community :D i like the new features! i think we are making this too easy for people :lol: in flowchart below i added...
by brandonb
Sat Dec 01, 2012 4:42 am
Jump to forum
Jump to topic

easy pwm on any pin or pins with multiple freq's

i made a post in v5 with a simular topic, this one is slightly different in the way it operates and is easy to manipulate... the way it works with 1% accuracy mode - the tmr2 macro increases a count everytime its accessed, the count starts at zero and counts up to 100, when count = 100 the count is ...
by brandonb
Sun Dec 16, 2012 10:49 am
Jump to forum
Jump to topic

Re: tmr2 interrupt flowcode calculator!

there are two different calculators below ------ AUTOMATIC FIND------------------- tmr2_calculator_automatic_find.fcf ------------------- in this one you set only the F_OSC and F_TARGET and it will give you back the results that matches or the closest to your target frequency, the f_range is automat...
by brandonb
Sun Dec 30, 2012 3:26 am
Jump to forum
Jump to topic

Re: rc5 no pin control/possible incorrect operation

here is a simple working project of both send and receive that i did as a test of current operation, it works the way it is programmed with the execptions of problems and questions stated above sending 5% resolution pwm commands with on off commands address 1 = command 0 pwm off command 1 pwm on add...