Has anyone tried to control a digital camera using a PIC? I have been looking around, and it appears that many cameras can be controlled and even pictures acquired via a simple serial connection
...
Type: Posts; User: Tom Gonser; Keyword(s):
Has anyone tried to control a digital camera using a PIC? I have been looking around, and it appears that many cameras can be controlled and even pictures acquired via a simple serial connection
...
Hi folks:
I would like to make a really simple thing happen. I'd like to have a PIC control an on-off switch for a battery operated fan. The power switch on the fan is simple, it simply completes...
And if NO Osc is used as with the 16F88 internal??? I am running at 4mhz now, and have seen mention of how to run at 20mhz.. BUT what about 8mhz..
does a '100' at 4 mhz = a 50 at 8mhz? Or is it a...
Hi all:
I have been looking for information about what the period for Pulsout would be for an 8 mhz 16F88. I have a program that is working at 4mhz, but want to move it to 8mhz.
The servo I am...
Yes. I have the exact same issue - on a high level page I can search. On the page for PBP Pro I cannot.
On THESE pages:(example - there are others)...
Anyone else not able to use the 'Search' pull down list in PBP Pro forum? I cannot get it to work in IE or in Firefox, and hence can't search for things... Is it just me?
Tom
I have a very simple equation which works fine from 0 to 65 (MPH in this case), but when it goes above this speed, it shows 1,2,3 MPH... Somehow my variable is overloading and looping back to 0...
Now I get it!
Thanks folks for helping me see the options here. Since the number of feet between 0 and 30,000 would require me to store 30,000 locations, this does not seem feasable on a PIC.
...
Oh, I see.
There is no PC connected to the unit, so there is no way to compute this. The PIC has to do all the work, and transmit the converted MB to Meters or Feet....
THANKS! I think I figured it out!
OK.. I guess I am not tracking..
How does one load a VB program into a PIC? I was under the impression the only things that could execute on a PIC were compiled code from PBP or some such...
Except that I need to do this every time I get a new MB reading which can be as fast as 100ms....
meters = 44330.769 * (1 - (Millibars / 1013.25) ^ 0.190262525939031)
This converts millibars in pressure to meters given a simple atmosphere. Since the PIC does not have FP, and this point REALLY...
The answer was to not use the CASE statement at all.. It looked like it was failing somehow internally. So I moved to:
If TCX = 0 then TracID1 = " "
If TCX < 27 then TracID1 = TCX+64
If TCX...
WOW!! I just tried setting my value to 27 manually, and it STILL does not work!!
Check this out:
TC1=27
Select Case TC1
case 0
It is coming from an array of 2 HEX bytes, which are then converted to binary. In the case I am using, the
the value '44308' is what TRACID_ID is in this example..
SSD4= (ssmax[1]>>4)...
... actually if I have PBP show me the 'DIG1' of the value that was 27, it is actually 27.7... it needs to be just 27.. How does one round using PBP?
How odd.. I actually had it working last night, but this AM tried the new suggestion and it broke again. Unfortunately I was an idiot and did not write down what worked. I THINK it was:
Select...
I have a program that assigns ASCII values based on a number. In a particular case, the value is '27', I know because I have it Serout showing me this.
BUT, the Case statement is not catching...
I have a routine that is incrementing or decrementing 1 time each pass. It reads a milibar value(dec_mb) every second. Then it compares this to the last reading(last_mb) to see if it is going up or...
What does the new variable 'firstpass' do? Does it allow me to continue to use the BO and B1 buttons in submenus somehow?
My biggest problem is that when I interrupt, I go into the menu...
Thanks much! I will try these out for sure.
Any input on interrupt processor or timing routine? For some reason once I hit the interrupt to select a menu item, if THAT menu item needs to use...
Hey folks: Not sure if the is an appropriate ask for this group, but over the past few months I've been writing a PBP app that listens to a data link for a custom GPS(non NMEA) data stream, and then...
Well with 54 reads over the past few weeks, and no replies, there must be some interest in a menu system! My code has a weak interrupt system I am trying to improve, and NOW I need to add something...
' Read the TracID into the 3 letters represented
16 bits are in SSD1-SSD4:
SSD4= (ssmax[1]>>4)
SSD3= (ssmax[1] & $f)
SSD2= (ssmax[0]>>4)
SSD1= (ssmax[0] & $f) ...