Hi.
I made some tests a while ago.
Take a look at:
http://www.picbasic.co.uk/forum/showthread.php?t=5458
Regards Stefan
Type: Posts; User: sjohansson; Keyword(s):
Hi.
I made some tests a while ago.
Take a look at:
http://www.picbasic.co.uk/forum/showthread.php?t=5458
Regards Stefan
Hi.
Here is a piece of code I wrote for a Basic Stamp 2.
I hope it helps you to get started.
Regards
Stefan.
=========================================================================
Thanks Darrel.
Fels like I'm on the right track again.
I made some tests with USBIn today and it seems to work.
I call DoUSBIn directly after the DoUSBOut so it has time enough to transmit...
Hi Darrel.
Thanks for verifying the problem. Now I know that it is not just my program messing with me..
But it's still confusing because when I use my Basic Stamp to simulate a signal, it...
Good idea, I will try that.
How can I do that? I thought that's what CCP1IF does. Just triggering if ccp pin rising or falling. Right?
Also another question; Is it best to turn On and Off...
No not really. It should be 130Hz something. When the dutycycle is shorter than 7,5ms (130Hz) the pic send strange values to my vb application.
I'm sure the pic can count much higher frequences,...
Can someone please help me to find out why I'm not able to measure higher freq than 67Hz. Is it the speed of the USB transfer that takes too long time?
I would really apreciate if you can help me....
When I chosed the MPASM as assembler I did'nt get the error anymore.
But now I have another problem with MicroCode as you can see here:
http://www.picbasic.co.uk/forum/showthread.php?t=5448
It...
I'm working on a project measuring high pulse and then during the low pulse, send the value by USB to a VB app.
The problem is that when the period (High and Low pulse) is shorter than aprox 7ms I...
In the MicroCode Studio Plus (mcsp) helpfile it tells me this:
"By default, MicroCode Studio will use the windows based assembler, mpasmwin.exe. This is preferred over the command line version...
I have the same problem. Can you tell me how you did?
Thx Stefan
Hi Robert.
This is quick guide how I did and what I used:
First I created a hexfile as described in step 2 & 3 here:
http://pic18fusb.online.fr/wiki/wikka.php?wakka=UsbBootload
(Attached file...
Hm... My misstake... I thought I could see a "B" In DS18B20 but there is no "B" so the resolution of the sensor is 0.5degrees instead of 0.0625degrees.
101110 = 23,0Deg and 110011 = 25,5Deg.
...
Hi
I'm trying to get the temperature values from a DS18B20 but it seems like I receive only the lower 6 bits. Right now I have 101110 wich is 2.8750.
When I touch the sensor it will increase the...
Thanks for your fast reply.
In my application I have a wheel that rotates from 2rev/sec up to 110rev/sec. The wheel has a sensor wich is activated during 180degrees of a rotation. So during the...
Hi Melanie.
Im working with a 18f4550 and using USB to communicate with a Visual basic program.
I need to measure the time an input pin is activated.
Normaly I use Pulsin but the USB commands...
Hi.
Im using EasyHID and a 18f4550 to communicate with VB6.
I use MicroCode Studio Plus and PicBasic 2.46. I download my programs using Microchip USB bootloader. And this works just fine.
Now I...
Thank you very much for this information!!!
Stefan.