RS485 NXT-G Block
Re: RS485 NXT-G Block
Put my blog in your RSS feed reader. You can also subscribe to it and then you'll be automatically sent an email when a new post arrives.
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
-
- Posts: 252
- Joined: 22 Oct 2010, 20:05
- Location: The United States of America
- Contact:
Re: RS485 NXT-G Block
Thanks Xander. Are you saying that it will be posted on your blog when the next version comes out? Or are you just encouraging me to check your blog more often to learn more about LEGO MINDSTORMS? It seems like the methods of publicity would ultimately be up to Andy(not the gloomy one, but the Andy who started this thread).
-Hayden
Re: RS485 NXT-G Block
Regardless of where Andy will end up posting or publishing his code, I will blog about it Andy and I are good friends and he does not have a blog of his own yet. That's why it is not unlikely that it will be published on my blog. However, that said, it's also possible he's going to start his own, although I kind of doubt he has the time for it, he's really rather busy with a number of top secret projects for LEGOhaydenstudios wrote:Are you saying that it will be posted on your blog when the next version comes out? Or are you just encouraging me to check your blog more often to learn more about LEGO MINDSTORMS?
Yes, it would be, but that would not stop me from blogging about it We've both been doing testing for Dexter Industries NXTBee sensors, which is one of the main reasons Andy started with the development of the RS485 block.It seems like the methods of publicity would ultimately be up to Andy(not the gloomy one, but the Andy who started this thread).
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: RS485 NXT-G Block
Hey guys. Sorry for the long delay. I hope to pump a new one out by tomorrow.
It has been a very long 2 weeks. I have a few projects that are due today, so after they are done, I will work on it tonight.
It has been a very long 2 weeks. I have a few projects that are due today, so after they are done, I will work on it tonight.
Blog: 08milluz.wordpress.com
LMS Shuttle: facebook.com/lmsshuttle
LMS Shuttle: facebook.com/lmsshuttle
Re: RS485 NXT-G Block
This will have to happen tomorrow or Monday. I am at Brickworld Indy this weekend and it is much busier than I expected (which is a good thing).We shall see if I get some down time tomorrow or not.
I have the one reported bug to still fix. I think I have solution in place, but I need to test it a bit more. I think it is a timing issue in the wait loop. More details in the release notes.
I have the one reported bug to still fix. I think I have solution in place, but I need to test it a bit more. I think it is a timing issue in the wait loop. More details in the release notes.
Blog: 08milluz.wordpress.com
LMS Shuttle: facebook.com/lmsshuttle
LMS Shuttle: facebook.com/lmsshuttle
Re: RS485 NXT-G Block
I noticed something interesting on the Dexter Industries website a couple days ago. I wasn't sure if it was just a mistake, or if there was something I didn't know about. This page for the RS485 block states that "The block can communicate at speeds of up to 9.6 kbps..." which is a bit misleading in light of my comment on Xander Soldaat's blog. The phrase on the DI website leads me to believe that it is DI's mistake, mostly because I2C functions at 9.6KBps as well. It also says up to 9.6KBps, when I thought it worked at a fixed speed. Does anyone care to enlighten me?
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
Re: RS485 NXT-G Block
nxtreme, yes their website is misleading. The block runs at 1 Mb/s. Also the block specifically for the Xbee will be 200 Kb/s (I dont remember the exact numbers off the top of my head, but I know what it would be in data bytes, lol). This is locked by the firmware. The standard firmware locks it at 1 Mb/s. The next version of the block allows you to select if you are running on a standard or enhanced firmware. If you are enhanced, you can change the baud rate. (This is also supported in the xbee block.) The block I am making for the xbee will be coming soon behind the RS-485 one.
I am sorry for the delay but I have a ton of (lego) projects on my plate now, plus school and work.
I am sorry for the delay but I have a ton of (lego) projects on my plate now, plus school and work.
Blog: 08milluz.wordpress.com
LMS Shuttle: facebook.com/lmsshuttle
LMS Shuttle: facebook.com/lmsshuttle
Re: RS485 NXT-G Block
The XBee has two interfaces:
The default speed for the XBee's UART is 9600kpbs. This is the factory default. In fact, you'll find that most standard industry devices will fall back to this default speed. If you're using the official baud rate speeds, you could crank this UART up to 230.4kbs. If you don't care about that stuff, you could specify your own and use 250kbs, for example. Using these higher speeds in a noisy environment may mean more lost packets because the XBee won't have time to retransmit. If this is something you take care of in your driver then that's OK. I tend to stick with 115.2kbps but have experimented quite nicely with 230.4kbs.
I hope this explains the numbers a bit.
- Xander
- The one the NXT talks to (UART)
- The Xbee-to-Xbee one (we'll call it XNet for the sake of simplicity)
The default speed for the XBee's UART is 9600kpbs. This is the factory default. In fact, you'll find that most standard industry devices will fall back to this default speed. If you're using the official baud rate speeds, you could crank this UART up to 230.4kbs. If you don't care about that stuff, you could specify your own and use 250kbs, for example. Using these higher speeds in a noisy environment may mean more lost packets because the XBee won't have time to retransmit. If this is something you take care of in your driver then that's OK. I tend to stick with 115.2kbps but have experimented quite nicely with 230.4kbs.
I hope this explains the numbers a bit.
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: RS485 NXT-G Block
Hey folks, just FYI, I just updated the Dexter Industries website to properly reflect it. Hopefully it's not misleading any more!
RS485 Sensors: http://dexterindustries.com/rs485.html
RS485 Sensors: http://dexterindustries.com/rs485.html
Re: RS485 NXT-G Block
Thanks for all the replies! I'm eagerly waiting for the next version of the block, but no rush . I've played with low power 315MHz radios before, so I know what high speed communications will do to a radio link. I really like the concept of XBees, but they are a bit too expensive for me right now. That's why I was interested in the lower speed comms, so that I could try implementing some wireless networks using cheaper wireless radios.
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
Who is online
Users browsing this forum: Semrush [Bot] and 3 guests