Anders Søborg

Forum Replies Created

Viewing 15 posts - 331 through 345 (of 411 total)
  • Author
    Posts
  • in reply to: USB library not found #3873
    Author Image
    Anders Søborg
    Keymaster

    Please post complete errors message

    Anders

    in reply to: USB library not found #3869
    Author Image
    Anders Søborg
    Keymaster

    Hi

    Thanks for trying MonoBrick Communication library

    What errors are you getting exactly…

    Anders

    in reply to: Monobrick on Android #3868
    Author Image
    Anders Søborg
    Keymaster

    Hi Again

    There are no such things as dumb questions! I am just happy that people are using me software…

    Should it be my phone name or my ev3 brick name? And does it matter if I turn on bluetooth and pair devices before I run the app on my phone?

    Yes you need to pair you phone with the brick before running the program…

    Just quoting what I wrote above

    Once Bluetooth has been turned on use the following code to get a list of paired devices

    MonoBrick.Bluetooth.BondDevices
    If you know the device name you can also call

    MonoBrick.Bluetooth.GetBondDevice(string deviceName);

    in reply to: Connection problems with WNA1100 #3863
    Author Image
    Anders Søborg
    Keymaster

    Hi Kjell

    Thanks a lot for finding a bug….

    Anders

    in reply to: Connection problems with WNA1100 #3860
    Author Image
    Anders Søborg
    Keymaster

    Hi Kjell

    Great to hear that you are enjoying the first release of the firmware. We are working on getting USB support so transfering programs can be made easy for people without a WiFi connection. But for now let us try to fix your problem.

    Please be aware that WiFi networks SSID’s and passwords are case sensitive. If you are still not able to get a working connection try to enable encryption with WPA2 (and password) – this is how I am using it so this should definitely work… please post the results of your test so we can fix potential bugs.

    Anders

    in reply to: Brick-Simulator? #3859
    Author Image
    Anders Søborg
    Keymaster

    Hi Martin

    I can’t wait to try your program

    Anders

    in reply to: Does any activity reset the sleep timer? #3858
    Author Image
    Anders Søborg
    Keymaster

    Hi Mike

    We’ve made great progress with our PC app to manage competitions between up to 4 bots at once

    Great news – I would be great to see a screenshot

    One issue which has cropped up is the bricks going to sleep. Do any of the commands sent via Bluetooth to EV3 bricks and/or NXT bricks reset the internal brick sleep timer?

    If I remember correctly the NXT does not allow you to set the timeout. There is a function to see what its value is. The function is called
    keep alive

    The EV3 works the same way – and I also think there is a function to see the value – but it has not been implemented.

    Anders

    in reply to: Monobrick on Android #3857
    Author Image
    Anders Søborg
    Keymaster

    Hi Marcin

    You need to use the Android DLL. This DLL has another implementation of the Bluetooth connection. One of the differences is the GetBondDevice…

    Anders

    in reply to: Mailbox Send and Receive on Android #3856
    Author Image
    Anders Søborg
    Keymaster

    Hi Marcin

    Try to use the code shown in this thread.

    Anders

    in reply to: Controlling EV3 by WiFi from a PC application? #3855
    Author Image
    Anders Søborg
    Keymaster

    I think that you might have misunderstood the guide. You only need to use the part of the guide that shows how to connect the EV3 to your WiFi network. Once connected you can use the Communication library to connect to the EV3.

    Anders

    in reply to: Brick-Simulator? #3842
    Author Image
    Anders Søborg
    Keymaster

    Hi Matin

    I think your project is really exciting.

    still fighting with Lcd: I cannot convert the byte-array to an image/bitmap.
    Since Width=178 and Height=128, why is the dispbuffer-size = 2944 bytes, when 178*128/8 = 2848 bytes?

    The buffer size is not 2944 since each pixel is masked. bytesPrLine=(178+7)/8 = 23. So the buffer is 23*128=4096. This is taken from the following code:

    
    public const int Width = 178;
    public const int Height = 128;
    const int bytesPrLine = (Width+7)/8;
    const int bufferSize = bytesPrLine * Height;
    const int hwBufferLineSize = 60;
    const int hwBufferSize = hwBufferLineSize*Height; 
    

    Also you should have a look at the set and get pixel functions…

    Maybe I don’t understand your question

    Anders

    in reply to: Brick-Simulator? #3839
    Author Image
    Anders Søborg
    Keymaster

    Hi Martin

    Everything looks good – We are using Mono Version 2.10 (we will update at some point but this requires a new Linux kernel hence a new image). Mono 2.10 has support for .NET 4.0. Let me know how it goes – maybe a screen shot 🙂

    Anders

    in reply to: Can you connect over 4G mobile net? #3838
    Author Image
    Anders Søborg
    Keymaster

    Hi

    To make the 4G thing work you need to make the phone connect to the PC – look at the section Running the tunnel over a 3G network for step by step instructions. Try to make this work on your local network first. Are you able to do that?

    Anders

    in reply to: Can you connect over 4G mobile net? #3834
    Author Image
    Anders Søborg
    Keymaster

    Hi Oscar

    Have you tried to follow the “Running the tunnel over a 3G network” steps found here. It should also work over 4G. If you are unable to get it to work, then you probably didn’t configure your router to “forward” UDP traffic on the the image port (that you selected on the phone) to your PC.

    Anders

    in reply to: Fail to connect Ev3 via USB #3833
    Author Image
    Anders Søborg
    Keymaster

    Hi

    This is great info – and will for sure be valuable for others – so thanks for the followup…

    Anders

Viewing 15 posts - 331 through 345 (of 411 total)
Posted in

Make a donation