#robotics Logs
Sep 21 2017
#robotics Calendar
02:17 AM rue_shop3: ok, well I'm making some progress on the new cnc controller box
02:20 AM rue_shop3: this is something
02:20 AM rue_shop3: Tom_L, I took off the tip of the V bit I have, and it milled the lettering nicely
02:47 AM rue_shop3: if grbl is running on a m328, what does it matter if I use an uno or a pro mini?
02:48 AM rue_shop3: I just assume use a good usb-serial with a pro mini
02:49 AM orlock: Woot woot woot
02:49 AM orlock: it works
02:49 AM rue_shop3: what was the difference?
02:49 AM orlock: Unsure as yet. needs more testing
02:50 AM rue_shop3: well what did yo chage?
02:50 AM orlock: But i suspect that at least some of it may have been confusion related to netcat
02:50 AM orlock: I tested it conencting both pocket router and ESP to a test network at work
02:50 AM orlock: Now, that wasnt working when i kind of expected
02:51 AM orlock: netcat -n -u -l 10.5.52.123 2850
02:51 AM orlock: No results
02:52 AM orlock: netcat -u -n -l -p 2850
02:52 AM orlock: works
02:52 AM rue_shop3: but
02:52 AM rue_shop3: udp...
02:52 AM rue_shop3: k
02:53 AM rue_shop3: 10. was the local ip of the machine running netcat?
02:53 AM orlock: yup
02:54 AM orlock: the same code has worked elsewhere - theres a few different netcat variants
03:18 AM Luminax-Work is now known as Luminax
06:52 AM orlock: woo
06:52 AM orlock: it works
06:52 AM orlock: i can pull a lever, and twist a knob, and a pair of motors somewhere else spin up and down
06:53 AM orlock: the only connection is wireless, and the inputs are all nice and intuitive
06:53 AM orlock: steer and go
06:56 AM orlock: i am testing with some AA's and a pair of tiny can motors from servos
09:02 AM SpeedEvil: yay
09:34 AM rue_house: orlock, thats better than it removing part of your face.
09:38 AM rue_house: if it destroys the nation, I'll be annoyed
09:45 AM veverak: ok
09:45 AM veverak: I am still bad at deciphering circuits
09:46 AM veverak: https://cdn.sparkfun.com/assets/learn_tutorials/2/6/8/schem-button.png
09:46 AM veverak: BTN-N.C. is what type of part?
09:46 AM SpeedEvil: veverak: button, normally closed
09:46 AM SpeedEvil: With a stupid non-standard symbol
09:46 AM polprog: for some silly reason they drwe it a sa jumper
09:47 AM polprog: drew*
09:47 AM SpeedEvil: The normally closed switch standard symbol is like the normally open switch symbol (the play button) but with the switch 'bar' drawn touching the contacts
09:47 AM polprog: this schem is awful
09:48 AM veverak: hmm
09:49 AM veverak: well
09:50 AM veverak: do yo uhave any tips for KISS circuit to toggle switch using D ?
09:50 AM veverak: I need to toggle 5V output using either button or output from microprocessor
09:51 AM deshipu: rpi?
09:51 AM veverak: esp, but that should not be relevant
09:51 AM veverak: just consider it "two 5V logic inputs"
09:52 AM veverak: deshipu: of course if you have something nice for rpi, link it
09:52 AM veverak: :)
09:56 AM SpeedEvil: veverak: what are you actually trying to do
09:56 AM veverak: SpeedEvil: hardware overload between microcontroller and device controller by relay
09:56 AM deshipu: veverak: it's not exactly what you need, http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/raspberry-pi/on-off-power-controller
09:56 AM mpiii: [ Raspberry Pi ON/OFF Power Controller, Power up Your Raspberry Pi with Latching Push-button Controlled MOSFET Switch ] - www.mosaic-industries.com
09:56 AM SpeedEvil: veverak: overload?
09:57 AM veverak: SpeedEvil: microcontroller -> has control output and feedback
09:57 AM veverak: device -> relay controlled device that takes 5V logic to switch the relay
09:57 AM veverak: and I literally want to design one pcb inbetween those two things
09:57 AM veverak: with button on it, that allows mi to switch the target device
09:58 AM veverak: deshipu: thanks
09:58 AM deshipu: veverak: btw, I've built it, and it doesn't seem to work right
09:58 AM veverak: hmm
09:59 AM veverak: deshipu: but ti may serve as inspiration
09:59 AM veverak: in theory, it should be easy
09:59 AM veverak: just D flip-flop
10:00 AM veverak: Q of 'D" is output to Relay
10:00 AM veverak: !Q goes into input of that 'D'
10:00 AM veverak: and you use the CLK of 'D' to change state, either by button or other inputs
10:01 AM veverak: however, I am worried about the button, I think that it may be wise, to create some sort of hysteresis
10:02 AM SpeedEvil: Why are you usuing an external flip-flop, and not an input on the micro and controlling that
10:03 AM veverak: purpose of this is to have overload i ncase microcontroller does not work for various reasons
10:04 AM SpeedEvil: overload is not a sensible word to use for this in general for electronics, as it has other meanings that are more common than for computing
10:04 AM SpeedEvil: override, for example would work.
10:04 AM veverak: "to have button that can manage the targeted switch one microcontroller does not work"
10:04 AM veverak: oh, override
10:04 AM veverak: yeah
10:04 AM veverak: tha tsounds better :)
10:04 AM SpeedEvil: There are also latching relays.
10:04 AM SpeedEvil: which might also be an option
10:05 AM SpeedEvil: Sorry - I'm not awake enough at the moment.
10:05 AM veverak: I don't want relay specifically
10:05 AM SpeedEvil: ah
10:06 AM veverak: I am aware of them, but they are usually more expensive and I think I should be able to avoid mechanical parts in this
10:06 AM veverak: which is certain benefit
10:08 AM deshipu: veverak: there is also MAX16054
10:17 AM deshipu: veverak: or this: https://www.maximintegrated.com/en/products/power/supervisors-voltage-monitors-sequencers/MAX6456.html
10:18 AM veverak: hmm
10:18 AM veverak: MAX16054 is available on mouser
10:18 AM veverak: and it sounds ... perfect
10:18 AM veverak: :D
10:28 AM mpiii: requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) (file "/usr/lib/python3.6/site-packages/requests/adapters.py", line 490, in send)
10:29 AM veverak: deshipu: cool things is
10:29 AM veverak: that I may design circuit for MAX16054 that works either with 3.3V or 5V
10:29 AM veverak: or, as I understand it, this should be possible
10:54 AM veverak: hmm
10:54 AM veverak: done?
10:55 AM veverak: https://i.imgur.com/XVQkrkM.png
10:55 AM veverak: almost too easy
12:16 PM i-make-robots: http://iros2017.org/
12:16 PM mpiii: [ IROS 2017, Vancouver, Canada - Home ] - iros2017.org
12:16 PM i-make-robots: https://roscon.ros.org/2017/
12:16 PM mpiii: [ ROSCon 2017 ] - roscon.ros.org
12:29 PM roborust: hello
09:38 PM Luminax-Work is now known as LuminaxWk
11:18 PM rue_shop3: what I like about V bits is that I can make them from all the other snapped off bits I have
11:26 PM DagoRed: Cool.
11:27 PM DagoRed: Small accomplishment today. Making the basic version of my mandelbrot code in c++ 14 operational.
11:27 PM DagoRed: I need to look into different color schemes now.
11:30 PM orlock: DagoRed: Nothing _relevant_ changed, but my wireless link is working between two usable hosts now
11:30 PM DagoRed: Or
11:30 PM DagoRed: orlock: how did that happen?
11:30 PM orlock: tested all the way from the controller handset to triggering the motors too
11:30 PM orlock: now i just have to swap the little motors for the big ones
11:31 PM DagoRed: Cool. Still that is confusing.
11:31 PM orlock: DagoRed: I changed the router and the ESP to act as wireless clients. Tested it at work. They worked.
11:31 PM orlock: DagoRed: I changed the router back to an AP, leaving the SSID and key the same, and it worked.
11:31 PM DagoRed: Well... Ok then.
11:31 PM DagoRed: Glad it worked out for your
11:31 PM DagoRed: *you
11:32 PM orlock: Still doesnt work with an ESP, but i'll look at that later, once i get basic functionality going
11:32 PM orlock: One week to go.
11:32 PM DagoRed: Before what?
11:32 PM orlock: the robot compitition
11:32 PM orlock: 3kg sumo bots
11:32 PM orlock: Thats what its being used for - link between handset and robot
11:34 PM DagoRed: Oh sweet.
11:35 PM orlock: all the other entrants will likely be autonomous, designed and built by professional robotics/automation engineers
11:36 PM orlock: There was one that could out-perform a human, but that engineer retired
11:37 PM orlock: eh, its not actually that fast looking at it
11:38 PM orlock: they are all traction limited anyway
11:38 PM DagoRed: Still. Neat
11:38 PM orlock: Yeah. it's as much tech outreach for the kids as anything
11:38 PM orlock: LAst year, mine didnt do anything but spin in the spot
11:38 PM orlock: due to broken sensors
11:39 PM orlock: but, the kids fucking _loved_ it