Home Forums Crumble Scratch ScratchCrumble testing release

Tagged: 

This topic contains 61 replies, has 6 voices, and was last updated by  Simon 2 years, 7 months ago.

Viewing 15 posts - 16 through 30 (of 62 total)
  • Author
    Posts
  • #2465

    drkempton
    Participant

    Hi Simon,

    Thanks for progressing this. I downloaded the new exe file but unfortunately things dont seem to have improved for me. The prog crashes within about a minute. It could be just me of course. Running it under Win7 on a Duo core IBM T60 laptop.

    The sensor readings start to get flaky i.e flashing A is low when it is high and soon after it crashes. Have attached a screen grab.

    It would be useful if your prog could declare its version when it runs to confirm to testers that we are running the new version. I checked this a couple of time so I am sure that I was but nevertheless with the same file name it can get a bit confusing.

    Suggest that you enjoy the good weather this weekend rather than coding 🙂

    Cheers.

    Attachments:
    You must be logged in to view attached files.
    #2467

    Mike
    Participant

    Wow – this is going to be great.

    Playing with this now and getting some issues:

    1) WITHOUT battery power to the crumble (just USB power) and using a connection from + to the input pads:
    A and B go HI for a second in Scratch, then revert to LO
    C – nothing happens
    D – both C and D go HI, then revert to LO!

    2) WITH battery power to crumble:
    same as above, but sensor values remain HI until you disconnect, instead of going LO after a few seconds

    3) Loading programs makes Scrumble go potty – have to restart it

    4) Setting a motor to 0 does not turn off the LED, you need to [broadcast (join [Motor1] [OFF])]

    Many thanks for this tho – another big step forward!

    🙂

    P.S. Am I allowed to call it ‘Scrumble’ in my head?

    #2468

    Simon
    Moderator

    Sounds a bit like the python prog is sending data too fast for Scratch to keep up

    Can you send me a copy of the script your running please

    Simon

    #2469

    Mike
    Participant

    Sure – its pretty simple…

    Attachments:
    You must be logged in to view attached files.
    #2471

    Mike
    Participant

    Sorry – what I meant by (2) above is that A and B work perfectly as you would expect. The problem is in (1) where the value drops to LO even if you are still holding it connected to +ve. Sorry if that was not clear! 🙂

    #2472

    Simon
    Moderator

    Sorry – posts crossed – I meant drkepmton to post 🙂
    But I can look at your issues as well Mike 🙂

    Simon

    #2473

    Simon
    Moderator

    PS broadcast GetVersion will create a Version sensor value

    #2476

    Mike
    Participant

    Oooo. I’m not even sure what that means! 😀

    Sorry to post in the middle of your convo.

    #2481

    Joseph
    Keymaster

    Hi Simon,

    This is looking great! 🙂

    Just wondering how often you are polling the Crumble?

    Joseph

    #2484

    drkempton
    Participant

    Hi Simon,

    I am not running a script. Just the same Scratch prog that I was before. The same simple prog that you published with input A controlling Motor1.

    #2486

    Simon
    Moderator

    @mike

    1) WITHOUT battery power to the crumble (just USB power) and using a connection from + to the input pads:

    em – AFAIK – that is not a valid operation – with just USB power – the + pins are indeterminate state (neither Hi or LO) so anything that happens after that is in the lap of the gods 🙂

    3. Yep – that’s what you get with Alpha software 🙂

    4. I’ve jsut disconvered that internally Crumble doesn’t handle a speed of 0 – basically it has FORWARD/REVERSE/OFF so I need to set its internal action value to OFF (At which point it ignores the speed value)

    • This reply was modified 2 years, 9 months ago by  Simon.
    #2488

    Simon
    Moderator

    @mke

    PS I tend to use variables motor1 and motor2 to control the speed of motors as it saves a broadcast and is more intuitive I feel

    #2489

    Simon
    Moderator

    @Joseph

    just wondering how often you are polling the Crumble?

    Currrently every 0.1 sec – is that too fast?

    Simon

    #2490

    Simon
    Moderator

    @drkempton

    OK I’m going to leave this running overnight to see what happens

    I’ve got a lead from D going to A to provide the Hi level sig input
    Test

    #2493

    Mike
    Participant

    Hi Simon,

    Many thanks! I did not know that about the +/- under USB.

    Can you post showing how to use variables? All examples here use broadcast. Many thanks. 🙂

Viewing 15 posts - 16 through 30 (of 62 total)

You must be logged in to reply to this topic.