How did I miss that? thanks
Type: Posts; User: InitialDriveGTR; Keyword(s):
How did I miss that? thanks
Your code will only write to eeprom once.
SERIN2 PORTB.0,16780,[WAIT(J),STR ArrayVar\n]
B0 = B0 [ ARRAYVAR + 1] ?????
WRITE B0,ARRAYVAR
try this maybe? Not sure if this works but should
Alright I am working with USB here, I'm using a PIC18F4550 with a 20MHz HS crystal, pll etc is all running fine considering I can talk to it via USB perfectly (for the most part). My issue is that I...
Wow, thanks for your help all
Ok, I successfully got it to receive data using a LVC chip. Now, I have a GPS (CW20 from Navsync - email them for free samples - you just need an antenna) and it has a very vague data sheet. My...
That is true, but my problem is that the PIC is looking for 5v signals, and the radio module is only supplying 3.3v signals, so the PIC doesn't properly read the module's output.
I tried your schematic, and all it does is cause my PIC to reset, and directly connecting just reads in jibberish
Hi, can I use pull-ups to allow the PIC to properly receive the 3.3v signals from a SPI Radio module? Thanks
If you need gyros, try the analod devices ADIS16250 or ADIS16255
Lets say I was rotating my Gyro at 600 degrees per second. The sensor's output would be 8191 in decimal according to the datasheet. Now lets say that the sensor is outputing 856 in decimal format....
I have a LCD connected to my PIC, and I wish to display the rotation of the Gyro in degrees per second. I need decimals, and I am having trouble working out the math without maxing out the word...
Hello, I am working trying to display the degrees per second on an LCD. I want to have accuracy with the displayed value, but for now would be happy with just integers. Can someone help me figure it...
Do you know what the "LSB" is on the ADIS16250 datasheet? I think it is being used as a unit. Thanks
PS mister_e, I could host your calculator software on my website if you would like
The Defines for the Hardware serial were generated using a program I found here. So, I honestly didn't even know what it was(or at least I didn't put much thought into them). As for the MSBPRE, etc....
I wrote up some new code that is meant to use two ADIS16250 Gyros. Once I figure out what LSB (Not Least signifigant bit)(I think), I will use them in a RC Helicopter Navigation system.
<a...
Hello all, I finally got it working. I fixed it by changing the settings for the SHIFTOUT and SHIFTIN commands. Here is my source:
<code>
DEFINE OSC 20
DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA...
With shiftout, how can you use binary format instead of hex? Is there a method for translating binary into hex on the PIC?
I tried reading the 0x04 register, and it just simply gives me 0x0000. I'm relatively sure my connections are right, but I could be wrong. Do I need any pull-ups? Are there any connections I need...
This is my code:
<code>
DEFINE OSC 20
DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA 24h
DEFINE HSER_SPBRG 21 ' 57600 Bauds
DEFINE HSER_CLOERR 1
DEFINE SHIFT_PAUSEUS 1000
What would be a good pause time? (Note that I am completely new to this)a
How does one go about decreasing the SPI clock speed?
Thanks,
Benjamin B. Roy
Are the data adresses that I am shifting out correct? That is what I think I am doing wrong. I couldn't fully understand the datasheet's SPI output.
Thanks,
InitialDriveGTR
Hello, I have two ADIS16250 Gyros from analog. I have spent abu thte last 3 days trying to figure out how to use them, but the datasheet is way too complicated for me. I have tried:
<code>
DEFINE...
Hi, I compile and get some errors. Sorry, but I had to attach it in a picture format.
Thanks.
National Semiconductor has free samples of BLuetooth serial modules. I have 12 on order, and will let you know how they go.