Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 21 16:54
    dlech commented #1370
  • Jan 21 16:50
    cho934 labeled #1370
  • Jan 21 16:50
    cho934 opened #1370
  • Jan 21 08:23
    JavitoLope edited #1354
  • Jan 16 07:35
    JavitoLope closed #1357
  • Jan 16 07:35
    JavitoLope closed #1366
  • Jan 15 08:14
    JavitoLope commented #1354
  • Jan 15 08:14
    JavitoLope commented #1354
  • Jan 14 22:09
    scprotz commented #1368
  • Jan 14 21:56
    dlech commented #1368
  • Jan 14 20:48
    scprotz closed #1369
  • Jan 14 20:48
    scprotz commented #1369
  • Jan 14 20:27
    dlech commented #1369
  • Jan 14 19:10
    scprotz opened #1369
  • Jan 14 19:07
    scprotz commented #1368
  • Jan 14 18:42
    scprotz opened #1368
  • Jan 14 17:34
    forhang commented #1349
  • Jan 14 17:26
    JavitoLope commented #1354
  • Jan 14 13:37
    JavitoLope commented #1354
  • Jan 14 13:29
    JavitoLope commented #1366
markosko
@markosko
@Nyceane if they are in same port then no chance
markosko
@markosko
but that only if its two devices with same id on same port
but if its different port then u can write to 0x42
Olivier Martin
@omartin2010
hey team, anyone knows if it's possible, using an EV3 (and not NXT) to run an NXT program (.nxc and .rxe files) ?
David Lechner
@dlech
not without porting the NXT VM to EV3
Olivier Martin
@omartin2010
damn. I guess I need to get a replacement sensor... or a process to do the calibration using i2c commands from mindsensor...
Ritik Parmar
@Rparmar01
Hello everybody,
Ritik Parmar
@Rparmar01
My Ev3 device is having trouble connecting both to my Amazon Alexa Show and Alexa Dot. I have successfully paired and connected both devices separately to my computer, but connecting the Ev3 device to the Alexa seems to be an issue. After selecting the respective device on both the Ev3 and Amazon echo screen, the Alexa states that it does not see anything to connect, and the Ev3 displays: GDBus.Error: org.bluez.Error.Failed: Protocol not available. Is there any way to get around this?
David Lechner
@dlech
Have you tried rebooting the EV3?
Ritik Parmar
@Rparmar01
Yes
David Lechner
@dlech
Are you using the sample python code to pair the device or are you pressing buttons on the EV3? Alexa gadget pairing is not like normal Bluetooth pairing, so requires special code.
Ritik Parmar
@Rparmar01
I am pressing buttons to pair bluetooth on the Ev3. What is the code required for this Alexa gadget pairing?
David Lechner
@dlech
The example code provided by Amazon.
The python code that runs on the EV3 takes care of connecting to Alexa. There is no need to pair before that.
Ritik Parmar
@Rparmar01
There seems to be an importing error when importing agt into VSCode. The error simply says "unable to import agt"
David Lechner
@dlech
that is because you have to run the code on the EV3, not on your computer
Ritik Parmar
@Rparmar01
Thank you, I will try that and let you know if it works.
Ritik Parmar
@Rparmar01
I downloaded the code on the Ev3 and I ran Ev3Alexa.py* from Mission 1 on the Ev3 brick and simultaneously hit Ev3 connect on my Amazon Echo, but the Amazon Echo still gave the connection error. However, I am not getting any error messages on the Ev3.
David Lechner
@dlech
you might have to remove the EV3 from the list of devices on the Echo and try again
Ritik Parmar
@Rparmar01
Sorry, the website was down-The error persisted even after forgetting the Ev3 from the list of devices.
DJuego
@DJuego
Happy new year to all, ev3dev!!
Uldiniad
@Uldiniad
My ev3 with edimax wifi adapter can't see any wifi networks on buster. is this a known issue?
I can scan but it doesn't return any results
The5thGhost
@The5thGhost_gitlab
Hi everyone, I need to use serial communication between raspberry pi and stm32 but I also want to use console over serial when I needed. can I change this by gpio based operation like using some push button?
John Beale
@jbeale1
Just trying out ev3dev today:robot@ev3dev:~$ uname -a
Linux ev3dev 4.14.96-ev3dev-2.3.2-ev3 #1 PREEMPT Sun Jan 27 21:27:35 CST 2019 armv5tejl GNU/Linux
Running a Python3 program with a single line of code "from ev3dev2.motor import MoveTank" and then exits, it takes a bit over 5 seconds. This is slower than I expected. Is there something wrong with my config? When I try a real program, the motors do move as expected, but all programs take over 5 seconds to start.
David Lechner
@dlech
That is normal. The EV3 runs at 300MHz and doesn't have a floating point coprocessor, so it can be slow.
You can try running with micropython instead of python3. It is a bit faster, but don't have near all of the features.
John Beale
@jbeale1
Ok thanks!
I guess the normal EV3 Lego environment manages instant start when the go button is pressed because it uses LabView as the backend which gets translated to C++ and compiled (?) I'm a EV3 novice. Is there a C/C++ API for this device?
David Lechner
@dlech
The official firmware implements it's own VM which is already up and running when you start a program that was downloaded.
You can actually kind of do the same sort of thing with Python.
John Beale
@jbeale1
Right, I gues it's just a one-time overhead of loading the libraries so I'm curious if there is any example online for doing this sort of thing with Python.
David Lechner
@dlech
John Beale
@jbeale1
Ah, interesting. I am not familiar with either of those so I will need to investigate further. Thanks!
Αλμπανίδης Χ. Κώστας
@KostasDaskalos_twitter
Hello and goodmorning from Greece ( It is ...morning here !)
I just installed snapshot-ev3dev-stretch-ev3-generic-2019-12-22.img on a Lego Minstorm EV3
When I connect to the brick with SSH ( PuTTy ) and type: python --version
I got this:
robot@ev3dev:~$ python --version
Python 2.7.13
I want Python 3 and to be exact I want pyhon 3.5
Is there any way to install python 3.5 ?
I tried with pyenv. Pyenv it self installs fine but when I try to install python 3.5 it seems it freezes ( takes hours to complete... ) and throws errors about missing libraries...
First it was zlib and then ctypes etc etc
Any help would be much appreciated :-)
Αλμπανίδης Χ. Κώστας
@KostasDaskalos_twitter
Well I just foudn out python 3.5.3 is already installed... How can I make it the default?
found*
markosko
@markosko
@KostasDaskalos_twitter use python3 instead of python
Αλμπανίδης Χ. Κώστας
@KostasDaskalos_twitter
Oh! I see! Thank you very much @markosko :)