Searching \ for '[SX] HELP - HomeMade Remote Control - Why won't th' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx
Search entire site for: 'HELP - HomeMade Remote Control - Why won't th'.

Exact match. Not showing close matches.
PICList Thread
'[SX] HELP - HomeMade Remote Control - Why won't th'
2007\06\09@152710 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

I put TX_TEST on one SX28 and Rx_TEST on another SX28
then connected the two RA.0's together.


I can't figure out why this code will just not work
When i push Button RA.1 or RA.2 the receiver blinks RB.4 (LED)
but nothing else seams to work.


Help
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\09@191652 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Most likely because you cannot use the internal oscillator for serial communications it's not accurate enough.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m195691
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\09@214441 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

Great, I will give that a try.

Do you have any recomendations?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m195705
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\10@115138 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Bean's right, you need to use an external clock source for serial.  You can use a 4 MHz resonator since your rate is so slow.  
On the receive side you may want to allow for upper- and lowercase letters in your command header; here's how we do it at EFX-TEK with our serial accessories:

' Use: theByte = RX_BYTE { ConvertToUppercase }
' -- converts "a".."z" to "A".."Z" if "ConvertToUppercase" bit 0 is 1
FUNC RX_BYTE
 IF __PARAMCNT = 1 THEN                        ' option specified
   tmpB2 = __PARAM1                                ' yes, save it
 ELSE
   tmpB2 = 0                                        ' no, set to default
 ENDIF
 IF BaudRate = BR2400 THEN
   SERIN Sio, BaudSlow, tmpB1                      ' for Prop-1/BS1
 ELSE
   SERIN Sio, BaudFast, tmpB1                    ' for Prop-2/BS2
 ENDIF
 IF tmpB2.0 = Uppercase THEN                        ' convert to uppercase?
   IF tmpB1 >= "a" THEN                          ' lowercase?
     IF tmpB1 <= "z" THEN
       tmpB1.5 = 0                              ' ...yes, make uppercase
     ENDIF    
   ENDIF
 ENDIF
 RETURN tmpB1
 ENDFUNC

If you're expecting a character to be a letter then the function above can convert it to uppercase by using this calle:

char = RX_BYTE 1

In my programs I use a constant called "Uppercase" so my listing is more readable:

char = RX_BYTE Uppercase

If a non-letter character is received it is not changed by the function.  Note, too, that the function above checks the baud rate jumper on our boards; you can remove this check for a fixed baud system.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m195798
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\10@164139 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

Thank You.

I am ordering some 4Mhz's today.


Mark
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m195831
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\10@182536 by transistortoastern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, transistortoaster wrote:

The SX has provision to calibrate the internal oscillator in the confguration bits. I think there are about 3 bits which will nudge the frequency. You would need to measure the output though with a frequency counter. It's a lot of hassle versus an external source which would be rated for 100ppm precision for the cheaper ones.

I don't know if you looked at all your IR receiver modules,  Digikey carries the Sharp line at low cost and high performance.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m195838
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\12@182907 by Sparks-R-Funn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote:

Try putting a slight pause in your TX_BYTE subroutine.  You want to make sure that the receiver is ready before you send each byte.

- Sparks
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m196300
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\13@221346 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

Did I forget to mention that I am using RF?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m196583
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\21@072015 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

I have tried the above mentiond and i can get it to work going RA.0 of SX#1 to RA.0 of SX#2 with one pulled up wire between them,  but I cannot for the life of me seem to get it to work with the RF tranceivers.

Could I need to do something with the Highbit and Lowbit? or with a sync pulse? (Please see attached code in previous post)
I can see that people have used the RF transmitter and RF receiver with the BS1, BS2 and then Javelin, but has anyone ever used them with the SX chips?

I have tested the RF tranceiver package that I have and they work great with the CIP-8E and CIP-8D from www.Rentron.com but I can't get them to work with the SX.


Mark
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m197871
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\21@141139 by Sparks-R-Funn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote:

I tried to look at the data sheets for the two chips that you mentioned but I was unable to get them to display on my computer.

I hope you will not mind my asking this but if the encoder chips work, why not use them instead of SX's?

It seems like you have only connection and signal generation issues to resolve.  I was unable to open the documents that should describe these.  If you can post that information or point to working code for another processor surely someone will help you figure out what settings you need and what sync pulses to send.

I am sorry I am not able to help further.

- Sparks
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m197953
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\22@004848 by DosManDann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DosManDan wrote:

I have sucessfully built several transmitter and receiver circuits using the SX-28. I'm not using the Parallax ones, so my situation might be different from yours. I also have them talking to a BS/2 without any problems either.

What receivers are your using?

Dan
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198033
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\22@062839 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

DosManDan,
I am trying to use a couple pair of these: http://www.sparkfun.com/commerce/product_info.php?products_id=7813#

I have used them with these : CIP-8E 8-Bit Encoder IC  and  CIP-8D 8-Bit Decoder IC from: http://www.rentron.com/remote_control/Holtek.htm
and they work great.


I have tried to transmit from one SX to another SX and a BS2 at the same time.  The DEBUG on the BS2 shows data, just not the data that i am trying to send. The SX shows data also but there again its not the data that I am trying to send.


Thanks
Mark
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198066
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\22@111125 by DosManDann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DosManDan wrote:

I think I can solve this one for you pretty quick...

The two data lines you have are different, use the second data line and everything should be fine. So, from the outside edge of the board, connect to the second DATA pin, not the first one.

The reason it worked with the decoders is that they are able to use the digital signal. The second pin is analog, so you can just read it and not have to do anything weird. Interstingly enough, sometimes that second pin is called the TEST line, and the first one is called the DATA line.

Let me know how it works out for you,
Dan
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198109
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\22@120718 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

Thanks DosManDan,
I will try that as soon as i get home tonight.  I would also be interested in your code and wireing diag. when you get them finished.

Thanks
Mark
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198120
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\22@134339 by DosManDann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DosManDan wrote:

Mark,
I don't know how far you are looking to send a signal, but I've found these to be pretty effective in the 60-90 ft range. After that, stay signals start to mess things up. To get the full range, you need to invest a few dollars in an antenna made for the 433.92 frequency. There are two models I've looked at, one is about $3 and the other one is about $9. The cheap one looks like the metal antenna you would find on a radio, the other is a rubberized mini whip. If you are going for range, it think a small investment like this is worth it.

Dan
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198141
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\22@135512 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

Dan,
Are you using 12v on the transmitter?

Mark
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198142
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\22@155122 by DosManDann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DosManDan wrote:

I run them both at 5V. That way I don't need to deal with shifting voltage up or down.

Dan
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198159
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\22@220611 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

Dan,
I gave it a try but no go.

do you have any code for something that you have working? Both TX and RX?

Mark
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198204
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\23@011712 by DosManDann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DosManDan wrote:

I was really hoping to clean the code up first. This was just my proof of concept code, so it isn't as clean as it should be.

My SX-28 is hooked up to a keypad and an LCD screen. So depending on where you are looking at the code, you might want to remove some of the extra stuff. It should work fine as is, but you probably want to use debug statements where you see things the mention LCD. My prototype has a Receiver AND a Transmitter on it. It talks to other boards that have the same configuration. I'll put the BS/2 code here too, since you mentioned needing that. The BS/2 code receives the signal from the SX-28, then returns a character to acknowledge.

I was going to post this as a finished project when I got it all cleaned up....so I hope people aren't to critical of it right now.

Dan
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198214
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\23@201856 by DosManDann/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DosManDan wrote:

Did this help you solve your problem?

Just checking up,
Dan
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198296
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\25@063428 by jmevansn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jmevans wrote:

Dan,


Thanks that did help. I am still experimenting with some timing issues, for some reason if I add a new debug on the BS2 it troughs off the first incoming char. again.  :confused:  

But now I can get coding on the rest of my project.  :smilewinkgrin:  
.


Mark
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198519
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\25@082059 by DosManDann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DosManDan wrote:

Glad to hear you got past that problem, it sure can be frustrating. As for the debug statement, make sure you aren't putting it in the middle of your receive routine. For instance, if your transmitter is sending 3 characters, and you put a debug line in your receive routine (so you can watch the incoming characters), you might miss one.

I usually load up all the incoming data, then look at it.

Dan
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195677#m198530
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...