Search the Community

Showing results for tags 'programming'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Frontpage, Forum Information and General LEGO Discussion
    • New Member Section - PLEASE READ BEFORE STARTING!
    • 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 and Scale Modeling
    • LEGO Action Figures
    • Special LEGO Themes
  • Special Interests
    • The Military Section
    • Minifig Customisation Workshop
    • Digital LEGO: Tools, Techniques, and Projects
    • 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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



What is favorite LEGO theme? (we need this info to prevent spam)

Which LEGO set did you recently purchase or build?



Website URL








Special Tags 1

Special Tags 2

Special Tags 3

Special Tags 4

Special Tags 5

Special Tags 6

Country flag

Found 34 results

  1. The last years, we have used a NXT brick for controlling the train. For Lego World 2017, we want to use EV3 bricks only. Since the RFID sensor is not supported anymore, we needed another way to determine the train location. I have build a proof of concept of a loco: Wheels are directly connected to a EV3 medium motor Location detection based on a color sensor (the combination of yellow, red and green makes a unique pattern) And it works fine! A video of this proof of concept: Of course, the train needs a bit (... ) of restyling ;-) Enjoy, Hans
  2. So I was working on a simple rc program on my computer today with my new 51515 set and was trying to make it rc using the keyboard (up arrow=forward down arrow=reverse left arrow=left right arrow=right) But it is hard because there is no "when no key pressed" block to my knowledge. The robot I am using is THIS. Any help would be greatly appreciated.
  3. Hi. If this is the wrong question in the wrong place then feel free to direct me to the right place. I have the top gear rally car model which uses a bluetooth powered up controller app on a phone and that works. What I want to do is to find a generic controller library / software that I could run on a laptop or PC (windows or linux either is acceptable) to use to control the powered up devices without specifically knowing which model it is. What I want to do is to use it as an environment to teach about programming. Yes there may be better educational environments but being lego it will appeal and this is what I have so nice as it would be I am not about to rush out and spend more money on mindstorms or similar. I did find some very basic "generic controller" apps on the apple store but while they were able to drive different models, albeit with the same basic motors none of them seemed to be able to drive the main motor. Steer yes, but not the motor itself, even though the model specific app does work. Essentially what I would hope for would be a library of routines which really knows nothing more than channel and setting for each of the available channels on any powered up controller brick. Is there such a thing out there already? Thanks in advance
  4. On Tuesday 26 October ("Herfstvakantie Zuid"), Sioux Technologies organizes a 2 hour programming workshop in Eindhoven (NL) for kids in the age of 7 and older. As a tech company, we want to promote technique for children and Lego Boost and Spike is a great way to do this. And it is complete free of charge, we will even take care of drinks and food. Please note that the workshop is in Dutch as is the invitation. More information can be found here: You can also use this link for subscribing your kids. The afternoon time slot (12:30 hours) is already fully booked. Questions? Just leave a message. Looking forward to welcome you and your children on coming Tuesday. Hans Odenthal
  5. I'm posting this here as I've found few similar threads about file format conversion in this section, but I haven't found a tool that would fit my requirements. I'm looking for a way to batch convert whole library of parts into FBX or OBJ so the parts can be imported into the Unreal Engine 4 project. I don't want to import whole models, I want to import whole library of parts. I have implemented parser that can interpret the ldr file format, build the model structure of parts with transforms and partially draw those parts, but there are some issues with rotation in the transform (and I'm not a graphics/engine programmer), but more importantly this approach is a bit heavy on the performance. From the legal side of things, I need a way to distribute my projects without the parts, but there needs to be a way for the user to put the ldraw files there on his own. The closest thing that could be useful is this: but that's from 2012 and I've seen some basic shapes defined in 2016 so It might not be the best choice to invest into making a batch converter based on this. Any thoughts on how would you approach such issue?
  6. Hi, a few weeks ago I started a tutorial series on youtube. It's about how to program the lego powered up hardware with the Powered Up App (Lego Boost, lego Control+ and the wedo 2.0 sensors are part of the powered up hardware). The complete tutorial is 100% free. So far most of the stuff is pretty basic but it will get much, much, much more complicated later. I promise that ;) (People that saw the german version of the tutorial might know that already) There will be a new part each wednesday.
  7. I did program something with two "own Blocks" wich work together, but for that I need to check if the text entered in the text parameter of the first block matches the one of the second block. Basically I need to know how to check if "Text variable one" matches "Text variable two". Please comment if you know how to do that, or if you have any good alternatives, currently I use numbers, but that's hard to keep track off. Edit: I program in Mindstorms Ev3 with the Ev3 brick
  8. Did you know that any standard EV3 brick is capable of controlling the LEDS separately? And that the display is capable of displaying 4 shades of gray? No, this extra functionality is not available via the standard programming environment that Lego provides. But if you use low level programming (I used EV3DEV in combination with C++), you have. See the example below. You can read my article at our blog here: Or have a look at the Youtube videos. Enjoy. Hans
  9. A new video has been uploaded to our Youtube channel. In 2019, lots of new elements have been added to our layout. To name a few: the warehouse, able to store 60 containers with candies, with two independent stacker cranes, the four candy circles, and an updated delivery station. Also brand new is the PC software that connects everything. We have worked hard to get the software working stable and with success. You can see the result in the video. Enjoy the video! -- Hans
  10. Hello, Almost all of us use Sbricks as just "long range remote control with smooth speed control", right? It take time to know more about Sbrick functions that can be programmed using Profile designer. New possibilities, opened with Sequence and Circuit, was not presented and described well in guides (SBRICK Team should do a detailed guide and how-to manual). So I have to learn them by myslef. Car is just a mule for all functions we planned. So no need to describe design. We did it with my son for robotics contest in his School in January. Functions Independent suspension openable doors, including motorized rear door Rear wheel drive and steering Auto turn lights (+ manual buttons) Auto emergency lights (+ manual button) Auto backward drive light (+ manual button) Daylight and rear lights powered with solar panels All electronics 2x L motor for propulsion Servo motor for steering 2x LED for turn and emergency signals 2x LED for front and rear daylights 1x LED for backward drive signal M motor for trunk door opening WEDO tilt sensor for safe/dangerous drive control 1x LiPo batery 2x Solar panels 1x Smart Brick 1x Smart Brick PLUS Control profile is a mess of buttons. I think I need a real designer to design something nice in designer profile Small buttons are circuits, that are ON on the start, and no need to press them. So that's why I make them small (May be, hiding them is the better design decision) For example, circuits was used to make aut turn light: left or right turn LEDs are on depending on SERVO motor rotation direction. Circuits are like "IF" functions, that can be linked any port of Sbrick, but it is not described in Manual, so I have to expore it by myself. Round sequence buttons work like ON buttons but with programmed timings and power. So I can do blinking lights with described intervals of LED on and pauses between. The same I can do with motors. When driving, you can see that some sequence buttons on the iPad turns ON automatically (I don't press emergency, backward or turn rights at all) Another experiment: solar panels. They work well with LEDs. They even make work Sbrick. But too weak for motors. I saw some moving cars on YT with one solar panel and one motor under bright sun, but I can't name that "CARS" - just some liftarms and wheels with solar panel and M motor. My car is too heavy. Almost all functions can be done only by Sbrick. Sbrick PLUS is only used for connecting WEDO Tilt sensor. Tilt sensor detects "agressive driving": fast acceleration or brakes, crashes, shaking and roll over of course. Then circuit sends command to emergency lights. Another function I planned, but failed: automatic rear door opening detecting hand or leg under the rear bumper (like modern cars do). Unfortunately, I can't set up WEDO distance sensor. It should detect leg and open door only at small range. But everytime it detects surface under the car - it opens the door I also have to do some tricks, for example "all off" circuit, to prevent manual turn off emergency and rear drive light after every auto turning on... I think, this can function can be useful for big supercar scaled models or truck, especially for events. But Sbrick team shoud do a user friendly predesigne profiles for that and do a detailed manual for every function in profile designer. And I am also waiting for iOS support drivers You can turn on english subtitiles in the video. Describing how to programm all that buttons in Designer Profile need a separate video. Thanks.
  11. The Delivery Station unloads the train, separates the candies from the containers and delivers the candies to the visitors. The 2017 consisted of four parts: Push mechanism: pushes the containers-with-candies from the train Roller mechanism: rolles the containers-with-candies to the lifts Lift mechanism: lifts the containers to separate the candies from the containers Locker mechanism: candies are stored in lockers, to be opened with the ticket reader The order of the candies needed to be kept, so every visitor received the candy in the color he requested. You can watch the 2017 here (starts at timestamp 2m39s): For 2018, we keep the Push mechanism and the lockers. The part that will take care of separating the candies from the containers, is completely redesigned. The push mechanism however, was rather slow and - as you can see in the video - it needed quite some space due to the slider. So, that needed a redesign as well. You can see the new version here (click on the photo to go to our Flickr page): And of course a video: Enjoy, Hans
  12. are there here users of ev3basic here ? i m a great fan of basic [ i use it +-33y ] the only problem is that in smal basic the char's of the IDE can not be bigger i got the following working : a = Buttons.Current EV3.SetLEDColor( "ORANGE" , "PULSE" ) While a <> "U" a = Buttons.Current EV3.SetLEDColor( "GREEN" , "NORMAL" ) Program.Delay( 500 ) EV3.SetLEDColor( "RED" , "NORMAL" ) Program.Delay( 500 ) EndWhile EV3.SetLEDColor( "ORANGE" , "PULSE" )
  13. Hello everybody. Recently i found a segway program on ntx with extension .rbt. I need to convert it into .ev3.I tried, but it didin't work. Who can help me?
  14. Let me introduce you my biggest and most complex MOC so far - COFF3 BOT. Once I was contacted by a man from HP (Hewlett-Packard) and he asked me: "Are you able to build LEGO robot that would supply Nespresso coffee machine with capsules?" It sounded interesting to me so I set meeting with him to know more. He explained me that they got coffee machine with bluetooth so you can turn it on from your smart phone. The problem was that you have to insert capsule manually into coffee machine and they were looking for some "remote control LEGO solution". Soon I began working for him and it took me about 3 months to finish this robot. It was built mainly out of LEGO Mindstorms Education and LEGO Technic Bucket Wheel Excavator. It contains about 2500 parts. The most difficult part of development was building this robot. Programming was piece of cake. Robot in stand by position. It has 3 storages for 5 capsules so you can load it with up to 15 capsules. Robot without coffee machine. Notice the rail that helps robot to stay with coffee machine. Detail of three mechanisms that insert capsules into slot on the top of coffee machine. Detail of gearbox - there are three parallel gearboxes that switch large motors between operating storages and movement of robot. I had to use gearboxes to avoid using another EV3 brick. This series of gearboxes is part of robot that causes most of its failures. EV3 brick works also like counterweight for jib. I've attached it in such way to keep access for battery charger. And how it works? You turn it on and it moves to stand by position. Then it waits command from some bluetooth device that determines number of storage - you can choose out of three different capsules for your coffee. When robot receive it, it turns over coffee machine and opens its slot for capsules. It does it by pulling little lever on the top of coffee machine. Then it releases chosen capsule into slot and closes it. When it is done it sends you message that you can turn on coffee machine. I will add link to video when HP releases it (I am not allowed to upload any video of this robot). And finally one fun fact: cost of this coffee machine is about $200 and cost of LEGO bricks for this robot was about $800 (excluding my work).
  15. Not really, but I found out that the motors in my GX EV3 peform better in IR Control mode than how they do in my program, and I believe that it is because the motor power is different. Each block in the EV3 programming software that moves the motors has a digit for how much power each motor should have. I'm wondering what this digit is in IR Control mode, because the motors act much better in this mode than how the do in the program. If anyone here knows the power of the motors when the EV3 brick is in this mode, please reply as soon as possible. It would be very appreciated.
  16. Hello friends, It is I, elrid from india, and I am of having difficulty sending sounds over bluetooth to a second NXT. I have a master-slave relationship between two of my best NXT specimens, but one of them does not have working speakers (even the startup noise doesn't work my friends!!!). So, I am of trying to get the first NXT to signal one of another NXT with speakers work over bluetooth connect. I use BrickxCC language. Any help is appreciate. Thank you friends! I am see with my eyes there is individual named DR_SPOCK who is very helpful and handsome. Hopefully he can help.
  17. I wanted to tell you about this new (and cool if I may say) program that is being developed by a company with more than 30 years of experience in robotics for education called Intelitek. This program, called CoderZ, is all about teaching kids STEM through robotics and programming. This program enables an entire team to have a robot for each participant/member. How? Well, CoderZ is a fully operational robot simulator. Right now, Intelitek is giving FLL teams a free trial that lasts until the end of June, this is a great opportunity for all teams to hone their developing skills for next year’s challenge. You can easily register and start using CoderZ by clicking here: Feel free to share your thoughts with the CoderZ team after registering and trying it out at
  18. For our Sioux.NET on Track project (see, we not only write a PC application in Microsoft.NET (C#). But we also write quite some code that runs on the EV3 bricks. In this article, you'll find programming tips & tricks for the Lego Mindstorms EV3 programming environment. Is it possible to have two or more EV3’s in Daisy Chain mode and use WiFi to connect to the PC application? Yes, you can. Read the full article how you can achieve this at the blog: You can use two or more threads in parallel to run on an EV3. But how do you synchonize them? Read the article how to do this at the blog: More to come later. Enjoy, Hans (moderator of our Wordpress blog Sioux.NET on Track)
  19. Hi ! Some students and me create a new exercise for other students. This time we constructed a robot using mecanum wheels. Students should learn how to control this robot using mathematical equations and implement them in Java leJOS. Have fun! Andreas
  20. Hello fellow train builders, I would like to share my most recent project theme; Lego Trains & Internet of Things. Basically, I make connected trains and train related stuff. My aim is not to be 100% realistic or copy existing real world trains. My goal is to bring Lego into the IoT movement, learn many great things along the way, and eventually help the next generations to get interested and pick up the necessary skills for a better world through technology. Let's call this STEM through Play.(STEM=science, technology, engineering, and mathematics. Sounds like a mouthful, huh? but that's what I want anyway ) Without further ado, here's what I have built so far; Automated Lego Railroad Crossing Lego Train Voice Controlled Lights via Amazon Echo Lego Train Controller App Please bear in mind that this project is new and under development. I welcome any sort of feedback and questions I will also update this thread but if you'd like to keep up, here's my website which aggregates all the social channels related to this project: Legongineer
  21. Hi all, since I recieved Mindstorms EV3 set 31313 few days ago I've decided to start my first project. I call it CLEV3R CAR and as you can guess it's about car. I've just finished building it and I'm about to start programming it. So let's talk about model first. It looks like Mini Cooper, chassis is inspired by RAC3 TRUCK and I've finished it in just two days. It features two large motors for driving, medium motor for steering, IR sensor instead of radiator and rear bumper with touch sensor. I wanted to build it as small as possible but it became pretty big. I've paid attention to many details so you can easily remove EV3 brick (for example to change batteries) and there is enough space under it so you can use it with original rechargable battery as well. It's also pretty sturdy, I plan to program several modes for it: Automatic - independent driving with avoiding obstacles RC - remotely controlled from IR beacon with driving assistance (for example if you drive it against wall it will stop before it) Search for beacon - independent driving to beacon By the way does anyone have experience with programming searching for beacon? I can imagine how to do it for tank (or other tracked vehicle that can turn on the spot) but car with classic steering is something different...
  22. Sioux.NET on Track presents the Ticket Dispenser Unit (TDU) Two articles about the Lego Dispenser Unit can be found at our blog: In this article you can read how tickets are read using a four-color based number system. This article was written before the dispenser part was created, so it is only about the reader part. In this article you can read about the upgraded version that will be used at Lego World 2017. Click on the following picture to see more pictures: A video of the working TDU 2017 can be found here:
  23. At our Flickr page you can view the photos of our visit at Lego World 2016 in Utrecht: A video is also available: Enjoy, Hans
  24. I am new to this blog and don't know how things work yet. I have a few questions about some programming I am having trouble with and wanted to see if the community can provide me with some programs they've built. 1. I want a program so that you can press the touch sensor ex. 2 times, it would run the 2nd program; press the touch sensor 4 times it would run the forth program etc. Or have a color sensor and I put a red brick in front of it and it runs a specific program. 2. I have a wall follower program and I am wondering if it can follow the wall for about 24in or so and then stop and do some other action. Does anyone have an idea on how to do this, and can you provide a program? I can't figure out how to program these. Any tips, programs, would help!
  25. Hello all! It has been a while since I have posted here but I have got a new toy! It is on loan to me for the summer and I plan to use it well. This thread will be where I post all my creations and hopefully the programs. I have a few programs ready and waiting to be filmed and a lot more ideas. None of them have been filmed yet, but here is a trailer to wet your appetite!: As usual, please leave any constructive feedback and keep popping back because I will (probably should!) be updating this thread fairly often. Technic Jim