#robotics Logs

Sep 15 2017

#robotics Calendar

12:05 AM rue_house: ok, rebooting
12:26 AM rue_shop3: huh
12:26 AM rue_shop3: I have a number of CH340 based arduino uno's that the usb dosn't work on
12:26 AM rue_shop3: just tried a new 12Mhz crystal on one and it worked right away
12:26 AM orlock: Eh, weird
12:26 AM orlock: appeared in your USB devices, or no?
12:27 AM rue_shop3: I have a number of them and I suspect its the case for every one
12:27 AM rue_shop3: no
12:27 AM rue_shop3: at best the kernel said "WTF USB BUS GARBAGE"
12:27 AM orlock: Damn, i probably would have just binned them without trying a new crystal
12:27 AM synja: what can damage crystal oscillators?
12:27 AM alic1a: synja: Nevermind...
12:27 AM synja: what can damage crystal oscillators?
12:27 AM alic1a: synja: You can see the different oscillator frequencies in PAL and NTSC consoles.
12:27 AM rue_shop3: synja, from china? how about just chineese manufacturing?
12:28 AM orlock: rue_shop3: Tried a different ESP at home, data flow was all correct
12:28 AM synja: rue_shop3, so get a refund
12:28 AM rue_shop3: pff, na
12:28 AM rue_shop3: I been buying the uno's that are at the _BOTTOM_ of the price range
12:28 AM rue_shop3: <$3
12:28 AM orlock: rue_shop3: But my two ESP's still cannot talk. I've been busting out netcat, tcpdump and wireshark
12:28 AM synja: so have i and they still work
12:29 AM orlock: I'm going to try running one as an AP, instead of both as clients
12:29 AM orlock: If that doesnt fix it, i might just use bluetooth.
12:29 AM orlock: because i realised thats literally all i need for a wireless serial cable - but then i lose the ability to have edge detection on the bot
12:30 AM orlock: unless i add in an arduino as well. hmm
12:30 AM synja: orlock, roomba?
12:30 AM rue_shop3: if I could only remmeber what I wanted the uno for...
12:30 AM synja: don't use bluetooth on a roomba; the delay is insane
12:30 AM rue_shop3: oh, the W5500 web server
12:30 AM rue_shop3: WIRED networking, that kind that works :)
12:31 AM orlock: synja: Ok, thanks for the heads up - its not a roomba
12:31 AM orlock: synja: It needs faster response times than that
12:31 AM synja: yeah bt is fairly slow
12:32 AM orlock: latency or throughput?
12:32 AM synja: latency
12:32 AM orlock: Seems odd? I mean, its used for bidirectional audio comms
12:33 AM orlock: I'd be suprised if UDP/IP is lower latency
12:33 AM synja: whatever your bot is, you can use a modulator to hook up a rpi with wifi
12:33 AM orlock: eh, nah. i've got better solutions that suck less than that
12:33 AM synja: well, it might not be that much for most cases, but when it matters, bt isn't an option
12:34 AM orlock: i was using one of my little gl-inet linux boxes for prototyping
12:35 AM synja: if communication is all you need, then yeah
12:35 AM synja: what do you have onboard, processing for the bot?
12:35 AM orlock: but these ESP's should do it, it's literally what they are for
12:36 AM orlock: Currently, nothing.
12:36 AM orlock: but an ESP8266 will do whats needed just fine
12:37 AM orlock: a whole linux host is overkill
12:38 AM synja: if you don't have advanced applications for the robot, yeah
12:38 AM orlock: It's application DOMINATION via BRUTE FORCE.
12:39 AM synja: anyone here that the new ep. of south park purposefully trolled alexa devices?
12:39 AM synja: so great
12:39 AM orlock: The motor controller i'm using is quite smart. It's got a few internal AVR's
12:40 AM orlock: and 5x analog inputs, made for use with RC gear
12:40 AM orlock: but they can also be polled via serial
12:40 AM orlock: so i'll use those to halt if it detects an edge, if i get time.
12:41 AM synja: what does it do?
12:41 AM alic1a: synja: This figurine will be available in two sizes and unique posings: 3 and 6.
12:41 AM orlock: 3k sumo bot
12:41 AM synja: i'm not still talking about south park alic1a
12:41 AM alic1a: synja: Who tells you that you are still talking about south park?
12:41 AM orlock: the "edge" is the edge of the ring
12:42 AM orlock: and all it needs to do is push the other bot out of the ring
12:42 AM synja: nobody
12:42 AM synja: alic1a, nobody
12:42 AM alic1a: synja: " u can't think of anybody? "? Really nobody?
12:42 AM synja: nevermind
12:42 AM alic1a: synja: OK, ty, for trying to explain that to me.
12:48 AM rue_ is now known as rue_house
12:48 AM rue_house: ok, so how do the arduino crowd connect this W5500
01:11 AM rue_house: ok I attached the w5500 to the uno, which was much less trivial than I thought,
01:11 AM rue_house: straightforward information is nice sometimes
01:12 AM synja: then write it for the next person :P
01:12 AM rue_house: tommorow I'll set a reasonable mac address and IP for it, see if the webserver works
01:13 AM rue_house: still dont know if it works
01:13 AM rue_house: and I'v long forgotten why I wanted to attach an arduino to the network
01:14 AM rue_house: but I can see it could be usefull
01:14 AM synja: aren't there shields for that?
01:14 AM rue_house: yup, if you have lots of money
01:14 AM synja: i thought they were ~10
01:14 AM rue_house: if your cheap like me, you just get a module
01:15 AM rue_house: lets see what I got this for...
01:15 AM rue_house: https://www.aliexpress.com/item/Free-shipping-W5500-Ethernet-network-module-hardware-TCP-IP-51-STM32-microcontroller-program-over-W5100/32728306969.html
01:15 AM rue_house: less than $3.50usd
01:16 AM rue_house: its funny all this is happening
01:16 AM rue_house: years after the smartjack
01:16 AM synja: doesn't look that hard to connect the two
01:17 AM rue_house: a jack not much bigger than the normal ethernet jack that had a linux server in it
01:17 AM rue_house: synja, ok, which of the 10 wires are connected, and to what ports to work with the arduino library?
01:17 AM rue_house: go on, you tell me
01:17 AM synja: if i needed to, i would
01:17 AM rue_house: uhu
01:18 AM synja: and aren't the pins on the board labeled?
01:18 AM synja: are there no libraries for it?
01:18 AM rue_house: yes, so what does SCS go to on the arduino, again were working with the arduino library here
01:19 AM synja: i never worked with the two
01:19 AM rue_house: mhm
01:19 AM synja: i've worked with much more complicated though
01:19 AM rue_house: there is a LOT of misinformation out there
01:19 AM synja: as long as there are docs
01:19 AM rue_house: I THINK I have it right, but I'mnot sure
01:20 AM rue_house: cause I could't find any info in the arduino examples
01:20 AM rue_house: again, I'll see tommmrow
01:27 AM rue_bed: I could probably exploit some javascript to make some neat looking stuff with minimal bandwidth
01:28 AM rue_bed: combine it with one of the 320Mbit eeproms I got
03:27 AM Jak_o_Shadows: testing out the peltier
07:58 AM veverak: \o/
07:58 AM veverak: I am stupid
07:58 AM veverak: \o/
07:58 AM veverak: ok, just los day of development because I generated wrong test data
08:35 AM horohoro: I am a walrus \0/
08:43 AM orlock: ok, firing this esp up as an AP, see if it fixes my next set of connection problems
08:43 AM orlock: otherwise i'm just going to stick a baby router on the robot
08:49 AM Jak_o_Shadows: i need to flash my baby router
08:54 AM veverak: ok
08:54 AM veverak: so I wanted to animate robot by finding shortest path in graph state
08:55 AM veverak: *in state graph
08:55 AM veverak: (each vertex of graph is state of robot)
08:55 AM veverak: wanted that grpah to be "lazy" -> it's generate as it is traversed
08:55 AM veverak: that may be problematic, because writing generator for ingoing and outgoing vertexes. ie ->
08:56 AM veverak: list of states from which I am able to get to actual state and list of states from which I am able to get from actual state
08:56 AM veverak: I think I can't have lazy generation, and approach it differently
11:46 PM Casper: Hi there, I was thinking of something, theorically... water wheel (40 rpm, 35hp, 4600ft*lbs !) to generator (1800rpm)... What would be the cheapest and reliable way to do the gearing?? Theorically of course :D
11:46 PM alic1a: Casper: I don't know what that means
11:46 PM Casper: ... another useless bot...