Forum Replies Created
-
AuthorPosts
-
BramParticipant
Hi Beastie417,
Do you have some screenshots? Or maybe you can place a trial directly on the net?
I think you need to install matplotlib and Tkinter first?It would be nice if we set up a website to share patterns (see post 1102), we could use your code to create GIFS
- This reply was modified 1 year, 10 months ago by Bram.
BramParticipantI like this id to share the patterns, it would be nice that everyone can upload them and that there is a little preview with it.
BramParticipantThis is my current code:
{
“robotType”:”SandTableScaraMatt”,
“cmdsAtStart”:””,
“webui”:”SandUI”,
“evaluators”:{
“thrContinue”:0
},
“robotGeom”:{
“model”:”SingleArmScara”,
“homing”:{
“homingSeq”:
“FR10;A+10000N;#;A+5000n;B+10000N;#;B-10000n;#;A=h;B=h;$”,
“maxHomingSecs”:120
},
“blockDistanceMM”:1,
“allowOutOfBounds”:0,
“stepEnablePin”:”12″,
“stepEnLev”:0,
“stepDisableSecs”:10,
“axis0”:{
“maxSpeed”:9,
“maxAcc”:50,
“maxRPM”:2,
“stepsPerRot”:9600,
“unitsPerRot”:628.318,
“maxVal”:185,
“stepPin”:”14″,
“dirnPin”:”32″,
“endStop0”:{
“sensePin”:”36″,
“actLvl”:0,
“inputType”:”INPUT_PULLUP”
}
},
“axis1”:{
“maxSpeed”:9,
“maxAcc”:50,
“stepsPerRot”:9600,
“unitsPerRot”:628.318,
“maxRPM”:2,
“maxVal”:185,
“stepPin”:”27″,
“dirnPin”:”15″,
“endStop0”:{
“sensePin”:”39″,
“actLvl”:0,
“inputType”:”INPUT_PULLUP”
}
}
},
“fileManager”:{
“spiffsEnabled”:1,
“spiffsFormatIfCorrupt”:1,
“sdEnabled”:1,
“sdMOSI”:”18″,
“sdMISO”:”19″,
“sdCLK”:”5″,
“sdCS”:”21″
},
“wifiLed”:{
“hwPin”:”14″,
“onLevel”:1,
“onMs”:200,
“shortOffMs”:200,
“longOffMs”:750
},
“ledStrip”:{
“ledPin”:”4″,
“sensorPin”:”34″
}
}BramParticipantHi Geri,
I made a video where you can see:
– if I push “X-100”, both motors are turning
– if I push “Y-100”, both motors are turningthis is the same if I run a pattern
BUT if I push “Home all”, motor B isn’t turning…
BramParticipantHi Beastie417,
did you make your own viewer? can you share the result of this?
BramParticipantHi Geri,
yes, all the parts are CNC milled @ my work 🙂
As you see in the video, both arms are moving (you see the angle between both arms changing). If I use a “B-10000n” in my homing string, the upper arm is moving in the other direction.
I just don’t understand the whole homing process. You should think the main arm should move clockwise or counter-clockwise max 1 full rotation (9600 steps > 10000) until he hits the end-stop sensor. Than the upper arm should move maximum a full rotation (9600 steps > 10000) so he also hits the end-stop sensor.
Does anyone have a homing string that actually works with their scara so I can try this on mine?
BramParticipantHi Geri,
Yes, I made my Scara in aluminium 🙂 The thing is: I can control both motors separately (e.g. X+10, Y+10, Y-1, …) but just the homing process is a struggle, as you see on the video I made, the second motor isn’t moving at all..
BramParticipantHI,
I still have roubles to get the homing properly done. It seems that only Motor A is homing:
and this is my homing string:
{"homingSeq":"FR10;A+10000N;#;A+5000n;B+10000N;#;B-10000n;#;A=h;B=h;$","maxHomingSecs":120}
BramParticipantAs your sister solved this problem, I assume she has good program skills?
I have some problems with the App but my skills are none to zero..
Can she (or you) have a look?I know this is not the right forum-topic, but I posted one a week ago and it doesn’t come online. Because you started this topic, I hope you get this message 🙂
Thank you
— BramBramParticipantHi Matt,
how’s the potty training going? 🙂
Did you have any time left to look at the app once again? I would like to help but I’m not a programmer too
Keep me updated please
Thanks— Bram
BramParticipantHi Matt,
Any luck about this? I really think this should be possible, as you can add a hostname.. I would like to help, but my knowledge about programming android apps is none to zero 🙁
If necessary, maybe we should consider to change the firmware. This should be a great feature to the app you wrote
The part when I mentioned the disabling some buttons is not an issue I think?
BramParticipantHi Matt,
When you set up the SandBot, you have to configure the Wifi with the command w/SSID/PASSWORD/HOSTNAME
Is it possible to create an option so you “scan” with the App for the sand table (search for the hostname) as alternative to enter the IP manually? I know you have to be at least on the same network. I don’t think it is possible the SandBot create his own network and be used as an access point to enter the right information (another network and password) or am I wrong?
another point is: when you are not connected to the bot, maybe disable the buttons “Patterns” and “Playlists” as there aren’t offline available. (don’t forget to enable them once connected)
BramParticipantHi Matt,
Sorry for the mistake: just seen that the SD-card wasn’t plug in properly, my cat has been playing with my sandbot … (again 🙁 )
It works almost perfect: I can create a playlist, but when i hit the save button, it seems that nothing is happening. Although, when I return to the playlist, the list is created.. Wouldn’t it be better if when you save your playlist, automatically return to the overview of playlists? (just a suggestion)
another suggestion: on the home page under “status”: the file name of the correct file that is running
–Bram
BramParticipantHi Matt,
Just tested the new version. It seems to be great. Only one problem (at this time) I don’t see the patterns anymore (the storage says “0 B/1,0 MB” and the list of patterns is empty. With the previous version everything was OK and I didn’t change anything on my my SD card
–Bram
BramParticipantHi Matt,
Wouldn’t it be nice if – on the settings page – you see what you have set actually. Now you can see your IP if you tap the HTTP Server IP, or you see the diameter if you tap Sand Area Diameter (mm). Can you set the entered value right under the settings?
I would like to help with the app, the only thing is… I have zero experience with android studio (or creating apps in general)
-
AuthorPosts