Menu

Raspberry PI Zero

Andreas
2017-01-14
2019-01-22
1 2 > >> (Page 1 of 2)
  • Andreas

    Andreas - 2017-01-14

    Here is my current setup for a Raspberry PI Zero:
    You need a:
    "indeed a"Raspberry PI Zero
    a ENC28J60 (SPI Ethernet Modul)
    USB Powered HUB and a Keyboard.

    If you use another keyboard layout you have do reconfigure your pydarts.cfg, you see it, when you not do it :)

    Looking for you tty USB in /var/log/syslog
    my is /dev/ttyAMA0 but it can be another for you for example /dev/ttyACM0

    you need to follow this guide:
    https://sourceforge.net/p/pydarts/wiki/Installation%20on%20GNU-Linux/

    do a "sudo apt-get update" before

    Is it really working? Yes it is, but the cpu is often by 95%, i think it needs some tweaking do get it smooth running on a raspberry zero.

    Raspberry 2,3 should be better, but i havent tried yet.

     

    Last edit: Andreas 2017-01-14
  • Anonymous

    Anonymous - 2017-01-14

    will be great if both of you make it work with a screen or something, maybe as you said in the other post with a tactile one, that would be awesome. Thank you for helping @poilou and @diego and pydarts.

    I am Diego2 by the way ...

     
  • poilou

    poilou - 2017-01-14

    I have no touchscreen at home but it is not the hardest part of the job I'd say...

    Meanwhile, I play on my TV which is not the biggest one but I enjoy it ;)

    If Andreas (or any of us) manage to embed a Raspeberry in place of the Arduino, I make the promise to code the mouse on pyDarts for tactile feature ;)

     
  • Andreas

    Andreas - 2017-01-15

    i have a Raspberry 3 with 7'' touch. It can be mounted in the board. But i am not sure? Make this sense? to sseing the hits etc. I think it is to small. I like to have a monitor on a sideboard.

     

    Last edit: Andreas 2017-01-15
  • Andreas

    Andreas - 2017-01-15

    Did i say hello to Diego2?
    Hello Diego2 :)

     
  • Diego2

    Diego2 - 2017-01-15

    Hello! I have just register!! I think that we can connect a touchscreen or a normal screen ( like 10' or bigger one, we could do something like http://www.fpwarena.com/forum/viewtopic.php?t=231
    not as big as it, but with a it of wood could be awesome. We would need to connect the screen to the electricicty but i think that could be a good project to work on it.

    @Andreas, the green pcb that you have attached to the screen is the raspberry or it is a driver for the screen?

    @Andreas @poilou I am in exams so i apologize if i am not here as I want.

    Thank you for you two.

    Cheers,
    Diego2

     

    Last edit: Diego2 2017-01-15
    • poilou

      poilou - 2017-01-15

      Sorry Diego[2] this link display a blank page on my computer...

      On 15/01/2017 10:46, Diego2 wrote:

      Hello! I have just register!! I think that we can connect a touchscreen or a normal screen ( like 10' or bigger one, we could do something like
      not as big as it, but with a it of wood could be awesome. We would need to connect the screen to the electricicty but i think that could be a good project to work on it.

      @Andreas, the green pcb that you have attached to the screen is the raspberry or it is a driver for the screen?

      @Andreas @poilou I am in exams so i apologize if i am not here as I want.

      Thank you for you two.

      Cheers,
      Diego2


      Raspberry PI Zero


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pydarts/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Andreas

    Andreas - 2017-01-15

    It is the raspberry.
    Your link shows a great idea for a bar.
    But for home use a little bit oversized? :)

     
  • Andreas

    Andreas - 2017-01-15

    this is with Raspberry PI 3 and a monitor:
    Works, but cpu is also on high load, whatever, runs smoother then a raspberry zero. :)

     
  • Diego2

    Diego2 - 2017-01-15

    haha yes, but i have some ideas for doing it for home.. the cpu is in high load because the raspberry can't work with python or what is happening? I am totally a noob with raspberry... and with everything haha but i want to learn...

    do you know what is orangepi?? seems to be cheaper and almost the same of a pi.

     
  • Andreas

    Andreas - 2017-01-15

    i do not know why the cpu is so high, i have to investigate that.
    raspberry pi is a simple mini computer. it runs super with a debian jessie image.
    Just linux :)
    there are much mini pc like raspberry, but the raspberry have the biggest community.
    So if you have got a problem, you have better chances to solve them.
    I will do some more test in short time.

     
  • Diego2

    Diego2 - 2017-01-15

    thank you @Andreas

     
  • Andreas

    Andreas - 2017-01-15

    python reads the serialPort to much,
    looks like you need to put some time.sleep(0.3) somewhere.
    This should help to reduce the cpu power on linux machines and raspberrys.

     
  • Diego2

    Diego2 - 2017-01-15

    @poilou maybe could do something with this issue. =)

     
  • poilou

    poilou - 2017-01-15

    Hey @Diego2 and @Andreas,

    I just updated source code with a sleep of 100ms before reading inputs.

    Could you tell me if it works better on your fruity motherboards ?

    Oversized ? Yesssss, but that rocks ;)

    Bye amigos

     
  • Diego2

    Diego2 - 2017-01-15

    Hi!!! I do not have a raspberry yet.... but It is on my mind, and right now, much more than ever!! haha

    Edit: I have something like this in mind.... i think it is not oversized, what do you think?

     

    Last edit: Diego2 2017-01-15
  • poilou

    poilou - 2017-01-15

    I like it :)

     
  • Andreas

    Andreas - 2017-01-16

    I like it too, but then you can put a old laptop in the case and ready it is.
    The case can be plywood :)
    I try the new code after work tonight.
    Very interesting thingie here :)

     
  • Andreas

    Andreas - 2017-01-16

    Looks good :)

     
  • poilou

    poilou - 2017-01-16

    An important point solved !

     
  • Andreas

    Andreas - 2017-01-17

    yupp, i ll check @ the weekend with the zero.

     
  • Andreas

    Andreas - 2017-01-17

    Ok i couldnt resist and have test the zero today.
    cpu around 8% in reading mode. ca. 27-40% in working mode.

    I will write me a new cfg ASAP and then i like to test the newtwork functions, and a complete game! :)
    When succees, i join all components in the dart case, only the connectors will be accessable,

    WHAT A GREAT PROJECT, or what!? :)

     
  • poilou

    poilou - 2017-01-17

    Definitly !

     
  • Andreas

    Andreas - 2017-01-20

    Ready! And Autoconf works like a charm! :)

     
1 2 > >> (Page 1 of 2)

Anonymous
Anonymous

Add attachments
Cancel