Search the Community
Showing results for tags 'linux'.
Found 6 results
-
LEGO WeDO with Linux and Mindstorms EV3
MajorAlvega posted a topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi all! I don't know if WeDO fits here at "Technic, Mindstorms & Model Team" but didn't find a better forum theme. The ev3dev people are preparing a WeDO driver for Linux. It will allow any Linux system [EV3 ev3dev included] to use WeDO. Not just ONE WeDO USB hub but as many as you want/have. I got excited and got two WeDO USB Hubs and a tilt sensor. And while waiting done my own tests. There is already a python library for WeDO: wedo. But I could not make it work so I used a variation: WeDoMore. It works fine with my Ubuntu laptop and with Mindstorms EV3 running ev3dev. I believe it will also work seamless with a Raspberry Pi, will try it later. Some more details at my blog. I've also found Philo photos of the WeDo internals and used it to reverse-engineering the tilt sensor. With just 4 resistors and a Power Functions connector we can build a 4-switch control and read it as a tilt sensor (one switch for each tilt state). More on this later. -
Hi all, Now that Studio’s Eyesight has been open sourced, I managed to build and run it natively on Linux 🥳 and to make Studio use it seamlessly 🥳🥳 and with the GPU too 🥳🥳🥳🥳 If someone wants to give it a try, I wrote a howto.
-
Everyone, Instead of letting this get buried inside the BlueBrick topic, I decided to create a new topic so that people could find this easily. To run BlueBrick on Linux you will need mono, a cross-platform .NET development framework. Most distros I would assume ship with mono in their repositories and or the additional repositories. But to get right to the point as I know you are all eager to fire-up BlueBrick to mock up your next big project. So without further adue, here is how to get mono installed and how to run BlueBrick. BlueBrick running on my fedora 20 + KDE desktop installation. 1.a - For fedora: Note: I tested this with fedora 20 x86_64. I am not sure they are needed but start with making sure you have the fedora RPM Fusion repositories enabled: Enable RPM Fusion on your system PS: They are a great addition! Install mono: sudo yum install -y mono-core mono-extras [*]Proceed to section 2. 1.b - For ubuntu: Note: I do not possess the means at the moment to test this but if someone could verify this that would be great. Install mono: sudo apt-get install mono-complete [*]Proceed to section 2. 1.c - For openSUSE: Note: I do not possess the means at the moment to test this but if someone could verify this that would be great. Install mono: sudo zypper install mono-complete [*]Proceed to section 2. 1.d - For debian: Note: I do not possess the means at the moment to test this but if someone could verify this that would be great. Install mono: sudo apt-get install mono-complete [*]Proceed to section 2. 2. For BlueBrick: Note: Once you are up in running, to my understanding these steps below should in theory be universal across distros. Download the latest version of the BlueBrick software: BlueBrick Unzip archive to some desired destination. [*]Run BlueBrick: Open terminal emulator of choice and enter the following command, feeding it the location to where you extracted the zip archive to: mono /Path to BlueBrick folder/BlueBrick.exe & For example: mono /home/username/Downloads/BlueBrick.1.7.1/BlueBrick.exe & For shortcut: mono ~/Downloads/BlueBrick.1.7.1/BlueBrick.exe & Note: '&' denotes running as a background process to free up the terminal. '~' is a shortcut to the current user's home directory. And I apologize if these do not work in your distro as I have no idea how universal they are. And an added bonus for KDE users: 3.a - For KDE Desktop: Invoke the KDE Menu editor by right-clicking Kickoff icon > Select 'Edit Applications.' Go to location you wish to place the BlueBrick shortcut icon in. Example: Graphics [*]With the desired folder selected, click on 'New Item' Under the general tab fill in the necessary information: Name:, Description:, Comment:, Command: Example: Name: BlueBrick Description: Display mockup tool Comment: Tool for creating mockups of LEGO displays. Command: mono ~/opt/BlueBrick.1.7.1/BlueBrick.exe Note: There is not a readily-accessible icon for BlueBrick so unless you make one you will have to substitute another one. [*]Click save. [*]Enjoy your newly created menu shortcut item. Well that is all I have. Again, if you are able to verify one of the above, feel free to post it. Otherwise I will try to get around to testing them against live installs. Happy BlueBrick'ing on Linux! Your Fellow Studded-Penguin, 3D LEGO
-
EV3DEV(Motor Contols)
Santiago105 posted a topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hello, I have a LEGO robot arm Assembly, my project also uses kinect from xbox, the code processes the position of my hand and sends it to the ev3 control unit, how can I implement the motor lift by a certain degree? Let's say I set y>0 my package went, and the robot raised its arm to a certain height, then I lowered my arm y became < 0, and the arm went down too. The code through which I tried to do this is attached, but in this case it infinitely turns the motor. - client(my pc) -server(ev3) -
LEGO Laser Harp
MajorAlvega posted a topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hi again. Another project I showed live last weekend at PLUG Braga BRInCKa 2016 - a LEGO Laser Harp: It uses a Mindstorms EV3 to read the light intensity on 8 color sensors. Each color sensor has a 1mW red laser pointing to it so my instrument has 8 "strings" or "chords" (I use two 3-to-1 input multiplexers in order to achieve 8 sensors). All 8 lasers are controled from one EV3 output. I started with 8 LEGO Power Function LEDs and it worked fine... at dark. But at a live show room I knew it would be impossible to use the LEDs (unless for very very short distances) so I opted for lasers. The EV3 runs ev3dev, a linux distro for the EV3. A python script controls the lasers and reads the sensors, sending their state to a linux laptop where another python script plays the notes on a software MIDI synth (EV3 with ev3dev can play MIDI but has not enough power to polyphonic sound so I had to use this client-server configuration). This allows the "instrument" to scale out so I can had more EV3 and more "strings". I don't know now how to play so during the exhibition my wife, when present, played some 8-note children tunes for the public. I have no live video but I have this one at home, still with LEDs and just 7-chords: Sound still needs some improvements (I'm not controlling note length) and hopefully in a later version I will read hands distance to control note amplitude. I will also use some kind of Human Interface Device to change the MIDI soundfont intrument "on the fly" so the artist can change from an harp to a piano or a drum whenever he/she wants (I'm planning to use LEGO Dimensions ToyPad since I can already read NFC tags with it on the EV3). Some technical details (and code) at my blog.- 12 replies
-
- mindstorms
- ev3
- (and 4 more)
-
Is there a Brick building program for linux?
GandalfofHoth posted a topic in Digital LEGO: Tools, Techniques, and Projects
I am getting a linux system soon and I was wondering if anybody knew of a good brick building program for linux? I would appreciate any help, even if there isn't a program.