Search the Community

Showing results for tags 'rcx'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Frontpage, Forum Information and General LEGO Discussion
    • Guest Section - PLEASE READ BEFORE YOU REGISTER!
    • Frontpage News
    • Forum Information and Help
    • General LEGO Discussion
  • Themes
    • LEGO Licensed
    • LEGO Star Wars
    • LEGO Historic Themes
    • LEGO Action and Adventure Themes
    • LEGO Pirates
    • LEGO Sci-Fi
    • LEGO Town
    • LEGO Train Tech
    • LEGO Technic, Mindstorms & Model Team
    • LEGO Scale Modeling
    • LEGO Action Figures
    • Special LEGO Themes
  • Special Interests
    • Minifig Customisation Workshop
    • LEGO Digital Designer and other digital tools
    • Brick Flicks & Comics
    • LEGO Mafia and Role-Play Games
    • LEGO Media and Gaming
  • Eurobricks Community
    • Hello! My name is...
    • LEGO Events and User Groups
    • Buy, Sell, Trade and Finds
    • Community
    • Culture & Multimedia

Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Country


Special Tags 1


Special Tags 2


Special Tags 3


Special Tags 4


Special Tags 5


Special Tags 6


Country flag

Found 14 results

  1. Dear All, since 2001 I am working on this: LEGO train layout control from one single computer (trains, switch points, light, bridges, …) using as much as possible original LEGO hard- and software. Still WIP but getting close. Most of the LEGO stuff used here is – since long – not officially available anymore. But LEGO is LEGO and lasts forever … and now I am close to getting it all to work. This project has survived Win98, QBASIC, WinXP, VB6 (well not true, still using it, see below …). And as sPy pointed out correctly in his reply on my PF RF hack, all this is building on stone-old electronics hardware. But: All this stuff is still available today. BrickLink is very close to LEGO heaven, I believe. And because nobody really cares anymore about RCX’ or MicroScouts – they have become dead cheap. I recently ordered RCX’ 1.0 with power jack for less than $20 each. These are the best PBricks ever made by TLC … imho, of course. There are many powerful and elegant solutions for controlling PF operated trains as well as track/track side-related functions such as remote switch operation, lighting, train detection, and much more. Most of these are based on home-built (as for example the myriads of wonderful Arduino-based solutions) or third party commercial devices, e.g. SBrick, 4DBrix/nControl, PFx Brick, and increasingly more. And this is wonderful. This post is just another one in this line. The difference is that I tried to use exclusively original LEGO stuff. Based on IR communication, it works perfectly well, but only within a range of about 1 m, which is not that good for train/track control ... So there was “only” one but significant modification required: Changing from IR to RF communication. This post illustrated how to do that. And if you don’t want to break into your PF receiver at all but just an add-on, this works also perfectly well, but is somewhat more elaborate. The ultimate goal of this project is to control diverse LEGO devices (PF, RC-train, RCX, NXT, Scout, MicroScout, Spybotics) from one device. In my case from a program running on my computer. However this could also be any device that can generate LEGO Mindstorms IR messages (which were introduced with the RCX, as far as I know), for example: A computer with one of the LEGO IR Towers attached, running the Bricx Command Center (BricxCC) software, A computer with one of the LEGO IR Towers attached, running any other program, which has access to the LEGO IR Towers; this includes the various programming environments and languages such as NQC, RobotC, or any custom program that has access to either a serial port for the serial tower or the LEGO drivers for the USB tower. (Note that on 64 bit platforms, the USB tower does not work anymore, since TLC never updated the required driver for the tower. In that case the stone old serial tower attached to a RS232-to-USB converter has to be used and accessed via a free COM port, preferentially in the COM1 … COM8 range. Works like a charm. Some people have trouble to get BricxCC or the original RXC 2.0 Mindstorms software communicate with the RCX only caused by the missing driver. Some revert back to 32-bit or even Win98 … not necessary!) Any of the RCX, Scout, or Spybotics, NXT(+IR Link Sensor) PBricks, Any learning remote, that was trained with any of the above means of generating LEGO Mindstorms messages; I am usually using BricxCC for programming. For testing purposes on my train layout, the programmed learning remote is very handsome: On my home-office style train layout (yes, I do work here as well), there are currently running/installed 8 PF trains 1 RC train 2 RCX controlled trains In addition to 2 RCX switch controllers (one serving 7 switch points using PF M motors, the other 12) 2 Scout switch controllers (one serving 3 switch points using 3 MicroScouts, the other 7) 1 Scout train bridge controller, see below 2 RCX light controllers with 3 outputs each, see below Each of the PBricks (RCX, Scout, NXT) have their own "personal" ID they recognize and respond to; the PF and RC trains are handled by the NXT PBrick (equipped with the IR Link sensor from HiTechnic) serving as central “PF/RC-train communications hub”. The NXT recognizes a total of 3 (RC) + 8 (PF) = 11 ID’s and maps these to the 3 RC and 8 PF channels: The NXT is operated with standard LEGO firmware (V1.31) and the LEGO NXT-G software environment is used for programming. Unfortunately the IR Link sensor has a very limited communication range, far less than any other IR light emitting LEGO device. This was one more reason for me – other than wanting no line of sight operation – to switch to RF. I have thus placed one of my IRRF transceivers (big words for not much, this is just what I am calling them) right in front of the IR Link sensor, which sends out every 38kHz modulated IR light it detects into RF space and listens for any 433 MHz signals in half duplex mode on a first come first serve basis: If IR light is detected then RF is sent out – if RF is detected IR is sent out. Both channels are dynamically mutually “blocked”; when an IR message is sent out it will continue to do so until finished, the same holds true for RF. Here is an overall schematic of the RF connectivity and direction of signals. In case of PBricks (NXT, RCX, Scout, Spybot) bi-directional half-duplex communication is possible (but not required), thus the IRRF transceivers come in handy. In other words: The addressed PBrick may reply with “OK”, “Did not recognize the payload”, or “I am busy”. In case of NXT to PF or RC-train, just uni-directional communication without any feedback is possible. The NXT-G program running on the NXT PBrick equipped with the HiTechnic IR Link sensor is is available on my university account. This navigates you to a folder , which contains the entire program. It is divided into the main program “RCPF_Control_14” and several “MyBlocks”. This structure is entirely owing to the limitations of the LEGO NXT-G software GUI. One could readily program (“tie together” is better phrasing) this is one block – but the GUI freaks out when exceeding a couple of nested loops. Putting these into individual MyBlocks circumvents this problem. The compiler readily generates the correct output code – “regardless” (I found no limits) of number of MyBlocks nested or called. This is the workflow on the entire layout: Essentially, one supplies an address byte plus a payload byte consecutively as two LEGO messages within let’s say 2 seconds; that is easily manageable with the programmed remote. When programs send out the two messages, the time between ID and payload byte can be much shorter, in the 100 ms range. The two bytes are each encoded according to the “LEGO Mindstorms IR message” protocol. Prepare 2 messages: Address as LEGO IR message + payload as LEGO IR message: Send these messages consecutively out into RF space: Any “intelligent” device equipped with an RF receiver will recognize its own address, listen for the payload and act appropriately. Example: RCX1 has address 192. We issue the sequence “message 192” + “message 8”. RCX1 will now do what “8” means within its own program running. Another example: NXT1 recognizes all addresses between 194 and 205. Let us say, 194 to 202 are mapped to PF trains 1 to 8, and 203 to 205 to RC train devices 1 to 3. That would cover the regular PF and RC address space. NXT1 senses address 194 and payload “-5”. It then uses the IR Link to send out the PF single pin command “PF channel 1A motor power -5” into RF space. Which lets the corresponding PF train equipped with an RF receiver “go reverse at power level 5”. And “205 + 4” will then get RC train #3 on forward level 4. The device addressed acknowledges the reception of the messages by sending out “OK” or any kind of error message (e.g., “I am busy”) to the caller. When using one-way communication, e.g. the handheld remote control, that acknowledgement goes of course unheard – when running a program with IR tower that could be recognized by the program and acted on (simply resending the message or wait and then resend and so on). Using the PF single pin command lets the PF receiver “jump” to the respective power level; when it was at 0 = stop, sending “7” would bang the motors full forward. This is handled by the NXT program as well: It slowly increases the power level with programmable delays between the steps. This results in a more “realistic” train behavior. The LEGO RC train protocol just allows the commands “increase” (+1), “decrease” (-1), “stop” (0) on a scale of -7 to +7. The PF protocol allows the increase (+1)/decrease (-1) scheme as well, however, a control program may lose “track” when such a command issued was not received properly, since there is no feedback. When all three available RF frequencies 315, 418, and 433 MHz are used, 8 x 3 = 24 PF devices can be controlled with a total of 12 PF receivers. That is not including the change of the “address space”-bit in the PF protocol, which would double this number to 48. Any other track or trackside devices to be remotely controlled with PBricks works of course as well; here is an RCX turning on/off the light in the light house or the diffuse and changing light in a scary tunnel not shown (yet). Or a Scout letting a bridge go up or down and reporting the bridge status to the host control program. Switch drives hooked up to an RCX or Scout based brick-built “switch drive controller” may also recognize the address + payload sequence and act appropriately: “RCX2, put switch #5 in branch position”. See list of my controlled stuff above. In summary: You can control PF, RC, RCX trains and RCX, Scout, Spybot operated switches or other devices with an almost pure LEGO solution. Up next: Build switch drives and controllers solely from LEGO bricks + Scout, RCX or Spybot PBricks and then program them using LEGO software. (Sorry for the long post) Best regards, Thorsten
  2. Tramway line - RCX Automation

    This was an experiment of automation of a tramway line with an old LEGO RCX brick: All sensors and cables are 100% LEGO. There are 8 light sensor, 4 (two couples, one couple for station and one for switch zone) on input 1 and 4 on input 2. 3 output, output A (station 1 - switch), output B (station 2 - switch) and output C (switch zone). Everything is handled by NQC program
  3. Hello everyone, This is an old topic but I need your help. I acquired the set 9731 LM Vision Command without the original software but I have already found the version for Windows 98. Now i'm searching for the English version for WinXP and I can't found nowhere. At BrickLink, only other languages are on sale for WinXP :( Can someone share the installation CD in English of LEGO Mindstorms Vision Command for WinXP or where can I download the software in English?? Any help appreciated...
  4. While skiing I had the idea to reproduce an entire detachable ropeway just with LEGO-Technic-Bricks. After 400 hours of developing, testing and programming the model was built from scratch without any construction plans. This ropeway is an improved version of my first ropeway 2 years ago ;) This model-ropeway works just as its real brother. The eight gondolas are detached in the stations and slowed down to let passengers board easily. But not just the cable-clamp-mechanism is realized like in real ropeways but also the rope tensioner. This mechanism keeps the haul-rope always tensioned by the information of the sensors. Other sensors supervise the distance between the gondolas and adjust it when needed by slowing down a specific motor. Also the haul-rope is monitored by sensors. If the rope falls out of a deflection pulley the whole system performs an emergency-stop. The entire model and even the whole control system with sensors and processors consists of usual LEGO-parts and is driven by 16 motors in total. Along with about 300 gears and 1‘000 chain-links, 10'000 parts were needed. Pictures of the building process can be found on Facebook Next year I plan to build an intermediate station with another 6’000 parts. The whole ropeway-model then will be powered by 30 motors, 4 Mindstorms-Computers, 15meters of technic-chain-links and about 500 gears.
  5. hi all im looking for a ball counting program made with rcx code 2.0 its for a conveyor like this one http://www.brickshelf.com/cgi-bin/gallery.cgi?i=2036337
  6. This project is the culmination of everything I have ever wanted to build. The Aquazone theme will always hold a special place in my heart, and Lego Technic and Mindstorms have solidified my lifetime addiction to Lego. I know this is a bit of a blast from the past using rcx's but they are cheap (as am I) and readily available on ebay. Not to mention they fit the color scheme ;). I got 10 between 2 ebay auctions and after a few hours of cleaning battery acid and a few solder joints i was left with 6 working units. I sold off some of my collection (bye bye maersk train), mostly minifigs to finance my ebay findings (hello dacta control center). Most of the Aquazone sets were bought years ago on ebay once I got my first job, I was able to snag one of most every original aquazone sets that i couldn't afford as a kid. Now that the history is out of the way on to the building! Features so far include: 2 sets of LED's given a random power level every 10ms, to give a nice flicker effect in the cave. 1 Lamp (more coming from bricklink!), randomly goes between power level 6 and 7 on a slow cycle. This is designed to catch the eye and add realism. Cant wait to get more to light the entire model. Power station in back powered by classic 9v non-geared motor, The propellors spin at different speeds thanks to different sized pulleys mounted on smooth axles, the smooth axles a carefully pushed through the friction pins of the propellors. Automatic air compressor using a rotation sensor to stop at max pressure, and a touch sensor and pneumatic cylinder to trigger start at min pressure. Also features manual override touch sensor to start again. Power functions RC robotic arm, doesnt quite fit in yet, but it will eventually, again this is a work in progress. The picture below is an overview of a somewhat recent picture, for the most recent work check out the brickshelf link. I will eventually post a video of the completed model without all the technical jargon. But if you are in to technical jargon the youtube videos below go in to detail as the model has progressed. Brickshelf Folder http://www.brickshel...ry.cgi?f=546905 Worklog Videos with Commentary part 1 part 2 part 3 part 4 part 5 part 6
  7. Hi i saw in a document that it is possible to powering a RCX mindstorm (yellow one) by a jack plug in? I've a 1.0 and a 2.0 and didn't see any jack plug in? can you help me to find it? Thanks
  8. I want to know if someone know how to check if a locomotive is on a curve track? One way is to use a axle to instead of bogie pin, then put a rotation sensor around that axle so that curve track can be checked. Does anyone have any more simple way to check locomotive on curve track?
  9. I have a lot light sensors and wires connectors, maybe it is too old, I found the wire core is exposed as in picture, I want to replace this wire to a new wire, how can I do? What can I open bottom plate and what tool to be used? Does any expert give some suggestion to repair it?
  10. Indeed! I am moving it to Mindstorms Programming
  11. I am still using old RCX and serial IR tower for my projects. I have a question about old IR tower, can I use a 9v power supply to this tower instead if 9v battery?
  12. This is simple project, there are only two RCXs, one is on mobile deCoupler, one is to control switch track and power on track.you can find IR communication between two RCXs. With PF system, maybe this mobile deCoupler is useless, but it was not a bad idea before PF:)
  13. I used four RCXs to control two trains, one car, three switch tracks and one cross leveling, there are five light sensors to check three switch tracks, two light sensors to check cross leveling. RCX1 is master to control RCX2 and RCX3, then RCX3 is to control RCX4, all programs is run in brickOS. Now I try to convert this project to PF system so that all wires will be moved. This is layout and some pictures, You can view trains and car moving
  14. MOC semaphores

    [ full gallery] I have finally had a chance to photograph my semaphores. First off the signal bridge is modified version of a design I first saw by Jeramy Spurgeon. I have since seen this idea duplicated on several other layouts, but so far all of the examples I have seen have inactive signals. Sure, I had working LED signals, but then a few years back I started thinking about semaphores. There is just something nice about the changing position. So soon enough, I combined my semaphore idea with the signal bridge design. The MOC is tucked away in a dark corner of my layout and my camera batteries were dying, so I couldn't get any good video, but I was able to piece together this animated gif to give you an idea of how they look when operating. The mechanicals are fairly simple, a PF m-motor with a rubber band for a clutch. The one non-obvious feature is the two 1x1 plates just below the red and white semaphore arm. These are twisted ever so slightly to provide stopping points, the plate in back for the white and the plate in front for the red. I use an RCX to run the whole signal tower with a simple "break beam" train detector consisting of a PF LED pair in the middle shining on two light sensors, one for each track. I used a technic half pin to keep the emitted light beam tightly focused and a 1x1 plate sized hole in front of the sensor to keep as much ambient light out as possible. Because the whole setup is in a dark corner, the light for the sensor looks a lot brighter in the photos than it would normally look, e.g., I had the semaphores at one show and some of my club members were puzzling over how it sensed the trains. Given normal light levels it was a lot harder to see the light used for the sensor. The RCX is tucked away in a snug shed along the tracks, with cables coming out for the sensors, light, and motors. The program isn't complicated, but it does have a few clever tricks worked in, e.g., at startup it samples the background light level and stores that for a reference (instead of using a hardcoded value). It then does a loop to check if beam a has broken (saving the result in a variable), then if beam b has broken (again saving the result), then checks to see if it needs to change the state of either semaphore (either due to a newly broken beam or timing out since the last detection). Then loops back. Since most of the action is confined to the conditional statements, the program can complete the loop quickly and sample both tracks with a fairly frequency. I should also mention that I do not actually cut power to the track, so these are just for show. It should be fairly simple to modify this set up to control a single block on one track. [ full gallery]