Back
[01:12:12] <rue_house> me or it is doing something wrong
[01:27:04] <anonnumberanon> how megahertzy is the arm rue_house ?
[01:27:27] <rue_house> 75
[01:31:11] <anonnumberanon> Not bad. I wonder how small a timestep() function you can make with it. Like in the genre of micros() for microseconds.
[01:32:13] <anonnumberanon> speed 4 times of an AVR and best function found online was 1us definition on a micros() function, wonder if you can do 250ns timestep.
[01:32:31] <anonnumberanon> I recently read it was more of a pain in the dick to play with than AVR.
[01:32:55] <anonnumberanon> Maybe that's just the lack of people documenting their work with it.
[02:50:07] <Bomber4Chats> Does anyone have any good examples / tutorials / videos on how to communicate / telnet to a HID usb device (has an atmel chip on it)?
[02:51:02] <orlock> Bomber4Chats: Can you name the device vendor/type?
[02:51:18] <Bomber4Chats> I think so, yeah
[02:51:25] <Bomber4Chats> oh crud.
[02:51:29] <Bomber4Chats> I need to switch OS...
[02:51:31] <Bomber4Chats> maybe.
[02:51:33] <orlock> Bomber4Chats: but generally, if the device doesnt support IP nativly, then you'll want to write a daemon on the handler side to deal with the OS
[02:51:37] <Bomber4Chats> maybe I can get it from Windows
[02:52:42] <orlock> Bomber4Chats: personally, i'd use python
[02:53:54] <orlock> Bomber4Chats: you can use that to talk both IP and USB/hid
[02:54:28] <Bomber4Chats> sure
[02:54:42] <Bomber4Chats> I just need to figure out who (the address) it needs to talk to
[02:54:49] <Bomber4Chats> I'll look it up too
[02:55:09] <orlock> lsusb might help
[02:55:25] <orlock> theres pywinusb
[02:55:39] <Bomber4Chats> yeah, I'm just stuck waiting for VS2015 to install ^_^
[02:55:45] <orlock> or pyUsb
[02:55:46] <Bomber4Chats> so I'm stuck on Windows
[02:56:00] <Bomber4Chats> but the idea is to go back to Linux and work on the project with JS/python
[02:56:21] <Bomber4Chats> I remember I was given manufacturer and vendor details
[02:56:27] <Bomber4Chats> that were related to Atmel
[02:56:39] <orlock> It doesnt say on the board?
[02:56:57] <Bomber4Chats> look like an ATMega
[02:57:15] <orlock> i mean on the PCB itself
[02:57:23] <orlock> TelAviv University?
[02:59:47] <Bomber4Chats> OK, no it's an XMega
[02:59:51] <Bomber4Chats> 128A40-h
[03:00:35] <Bomber4Chats> Technion
[03:01:00] <orlock> It may or may not matter for your application, but you can get IP capable microcontrollers for under $10, and linux systems with USB/wireless/ethernet for $30
[03:01:58] <Bomber4Chats> we've received a custom made board with that chip for an application we're orking on
[03:03:13] <orlock> Love to chat, but must be off home
[03:37:32] <Triffid_Hunter> Bomber4Chats: depends entirely on the firmware on the chip.. HID doesn't imply that it also has a serial channel available
[03:37:59] <Bomber4Chats> Triffid_Hunter: ?
[03:38:18] <Bomber4Chats> Well, here's the thing
[03:38:31] <Bomber4Chats> I'm able to communicate with the device on Windows and upload a firmware into it
[03:39:16] <Bomber4Chats> But I think the software I'm using doesn't allow me to disconnect the device and have the firmware properly remain on the flash, because when I change from Windows to Linux, I can no longer telnet to the device
[03:39:44] <Triffid_Hunter> Bomber4Chats: well maybe it has a DFU endpoint or something? lsusb -v should tell you.. also it would need a full network stack and ethernet endpoint for telnet, do you mean serial console?
[03:39:51] <Bomber4Chats> but even if I screw up the device's firmware, in windows it knows how to communicat through HID to send data to the device
[03:39:56] <Bomber4Chats> to have it reflash with the firmware
[03:40:08] <Bomber4Chats> yes, serial console
[03:41:48] <Triffid_Hunter> Bomber4Chats: well see what lsusb -v tells you about it
[03:42:23] <Bomber4Chats> It'll be a while (^_^'), I'm stuck waiting on VS15 to install
[03:56:50] <anonnumberanon> Bomber4Chats, No, the linux command lsusb -v. Nothing related to Linux.
[03:57:11] <anonnumberanon> I meant: nothing related to Windows or VS2015.
[04:09:42] <Bomber4Chats> I know. I'm waiting for VS2015 installation to complete so I may go back to Linux to try the commands
[05:40:29] <anonnumberanon> Bomber4Chats, Very logical steps.
[07:16:49] <Bomber4Chats> Ok, I'm back
[07:17:35] <Bomber4Chats> here's the information about my device
[07:17:36] <Bomber4Chats> http://pastebin.com/CauYvwXE
[07:18:54] <Bomber4Chats> So just to reiterate - how does one connect to a usb-connected device which has an ATXMega128u4?
[07:18:55] <Bomber4Chats> (connect to read the serial channel)
[07:18:59] <Bomber4Chats> in Linux?
[07:27:48] <Bomber4Chats> The device itself is detected as a HID-Class device
[08:58:12] <rue_bed> Bomber4Chats, what programmer do you have for it, you use avrdude
[08:58:38] <Bomber4Chats> no, I don't
[08:58:47] <rue_bed> you need a programmer
[08:58:49] <Bomber4Chats> I found node-hid and I'm trying to communicate with the device
[08:58:57] <Bomber4Chats> I only need to find a way to run my script as root
[08:58:58] <rue_bed> unless its got a bootloader like arduino
[08:59:10] <Bomber4Chats> because I'm trying to access a protected resource, apparently
[08:59:18] <Bomber4Chats> it has a bootloader
[08:59:25] <rue_bed> what bootloader does it have
[08:59:31] <Bomber4Chats> custom
[08:59:46] <rue_bed> then you need a programmer
[09:00:07] <rue_bed> avrisp or avrasp, or something
[09:00:36] <rue_bed> stk200
[12:44:30] <z64555> hm, how to mount the launchpad dev board...
[12:45:47] <z64555> it's got female headers underneath the board that stick out by about .25"
[12:52:13] <z64555> hm
[12:52:23] <z64555> I've got some aluminum spacers
[12:52:41] <z64555> and I should have some extra m3 (?) screws around
[12:53:12] * z64555 eyes a cardboard box
[13:10:01] * z64555 browses amazon for parts
[13:10:20] <z64555> hm, looks like they've got some dupont connector kits available, but I only need 1's, 2's and 3's
[13:15:01] * z64555 looks at digikey
[13:15:08] <z64555> ahah, they've changed their website
[13:15:22] <z64555> looks *way* more navigable
[13:17:11] <Snert__> 3pin dupont - used alot on servos iirc.
[13:17:33] <Snert__> that's where I get 3pin connector shells.
[13:18:39] <Snert__> 2pin and 1pin I've ordered before. Forget zactly where though.
[13:22:27] <z64555> hm, can't find dupont connectors on digikey today
[13:22:33] <z64555> odd
[13:24:12] <z64555> google finds it, though
[13:38:37] <z64555> odd
[13:38:58] <z64555> gold plated and tin plated cotacts cost the same
[13:50:11] <z64555> polulu sells a bag of 25 singles for $0.59
[13:50:17] <z64555> ??
[13:50:24] <z64555> that can't be right
[13:53:19] <z64555> they must've ordered them by the 10's of thousands to get them that cheap
[14:00:26] <deshipu> z64555: the cost of storage and transport is actually higher
[14:01:43] <veverak> wow
[14:01:50] <veverak> http://gizmodo.com/china-actually-built-that-crazy-traffic-straddling-bus-1784724612?utm_medium=sharefromsite&utm_source=Gizmodo_facebook
[14:01:59] <veverak> never believed that this thing would be eventually build
[14:03:14] <Snert__> z64555: Might look at Hansen Hobbies - that's where I bought my connector shells
[14:04:54] <Snert__> http://www.hansenhobbies.com/products/connectors/200mmconnectors/
[14:15:53] <z64555> THX
[14:15:57] <z64555> oh sorry
[16:23:35] <Snert__> Hansen is the only place where I've found servo crimp pins by the 100.
[16:23:50] <Snert__> none of this 2 shalls and 6 pins for $4.99 crapola.
[16:26:18] <Tom_itx> digikey has those
[16:26:36] <Tom_itx> i can't recall what they're called now but like the PC fan connectors right?
[16:28:01] <Snert__> I'm talking about dupont style black plastic connector shells such as are used on servos.
[16:28:03] <Tom_itx> i have a bag of em
[16:28:11] <Snert__> in multiple or single pin configurations.
[16:28:31] <Tom_itx> .1 spacing header connectors?
[16:28:50] <Snert__> no.
[16:28:54] <Tom_itx> that page says 2mm
[16:28:57] <Snert__> .1" connector shells.
[16:29:05] <Snert__> the thingy you stick the pins into.
[16:29:09] <Tom_itx> yeah digikey has those
[16:29:22] <Tom_itx> make sure you get the pin to fit the connector though, they are different
[16:33:28] <Tom_itx> i'll see if i can find em...
[16:34:25] <Tom_itx> try C-grid in digikey for a search
[16:34:41] <Tom_itx> that's what they're called
[16:34:55] <Tom_itx> or mouser for that matter
[16:35:58] <Tom_itx> http://www.digikey.com/product-detail/en/molex-llc/0050579003/WM2801-ND/115005
[16:36:02] <Tom_itx> for example
[16:38:23] <Snert__> maybe they have 1 pin and 5 pin too.
[16:38:32] <Tom_itx> all sorts yes
[16:39:56] <Tom_itx> i see 2 pos, but not 1... yet
[16:45:04] <Tom_itx> the search starts with 2 pos as the only option so that must be it
[16:45:20] <Tom_itx> if you want 1 pos, crimp the connector on the wire and apply shrinkwrap
[16:45:43] <Tom_itx> http://tom-itx.no-ip.biz:81/~webpage/how_to/atmega168/breadboard_basic_side.jpg
[16:45:55] <Tom_itx> illustrated there with a different type pin
[17:00:13] <Snert__> somebody else wanted all that info.
[17:00:22] <Snert__> so maybe it helped.
[17:02:01] <Tom_itx> mkay. that's the series of connectors you want though
[17:02:46] <Tom_itx> just match the pin with the conector
[17:03:01] <Tom_itx> the 'snapin' hole varies in location on them
[21:27:45] <codepython777> anyone here?
[22:50:37] <rue_shop3> yes
[23:24:09] <codepython777> hi rue_shop3
[23:24:22] <codepython777> have you recently used brushless motors for your projects?
[23:32:32] <rue_shop3> no
[23:36:44] <codepython777> rue_shop3: so esc-s can be used with brushed dc motors as well?
[23:38:17] <rue_shop3> hmm what does esc stand for again? I dont think its used specifically for brushless
[23:38:20] <rue_shop3> they have dc ones
[23:38:26] <rue_shop3> motor drivers
[23:44:09] <codepython777> rue_shop3: how do i calculate the torque on this one?
http://www.hobbyking.com/hobbyking/store/__25138__Turnigy_TrackStar_Waterproof_1_10_Brushless_Power_System_4000KV_80A.html
[23:44:57] <codepython777> cont current : 80A! ? Is that really correct? that will eat the battery in a few seconds?