News for hackers. Stuff that matters.
Re:Hacking my Vagina by jtchang on Saturday November 24, 2012 @05:15PM (#4826605)
Really cool!

Is reverse engineering the wireless protocol easy? I imagine hacking hardware involves a lot more work than software.

I also love how she 3d printed out some plastic cases for her toy. I see cheap 3d printers eventually being so ubiquitous that a quick prototype may be just as easy to hack up as a working software program.

Re:Hacking my Vagina by pjscott on Saturday November 24, 2012 @06:00PM (#4826729)
In this case, here are the clues she used to reverse-engineer the wireless protocol:

1. The specs for the radio chip are easily available, so she could identify the actual packets from looking at the voltages on four wires.

2. Each packet had two identical bytes that went up when she turned the remote up, and down when she turned it down.

3. There were some bytes which were always constant, and didn't seem to do anything.

From there, the code ended up being fairly simple:

https://github.com/scanlime/arduino-lelo-remote/blob/master/...

On power-up, it sends an initialization sequence, copied from the trace from the original remote. This has a bunch of settings that you can look up in the manual. Then for each packet, it sends a start sequence (essentially, "finish sending anything queued, and stand by"), puts a packet into the transmit queue (packet = 0x0100a5[power][power]00000005, where power is the power level byte), and then tells the radio to transmit.

And then of course you can debug this by comparing the traces it generates to the traces from the original remote.

Re:Hacking my Vagina by benedikt on Sunday November 25, 2012 @06:43PM (#4829693)
> 1. The specs for the radio chip are easily available, so she could identify the actual packets from looking at the voltages on four wires.

How does one go about doing this? Is this done on hardware or some wireshark-esque software tool?

Re:Hacking my Vagina by brandon on Sunday November 25, 2012 @07:40PM (#4829828)
My favorite tool for this is the Saleae Logic[1], but I've had mixed success with the cheaper Bus Pirate[2] as well.

[1] http://www.saleae.com/logic [2] http://dangerousprototypes.com/docs/Bus_Pirate

Re:Hacking my Vagina by TazeTSchnitzel on Saturday November 24, 2012 @06:01PM (#4826734)
I can't wait for easily and cheaply 3d-printed electronics. Just the thought of buying the parts and plastic stuff, putting them in a machine, and letting it work, building a complete device.

I can dream.

Re:Hacking my Vagina by iamwil on Saturday November 24, 2012 @06:50PM (#4826842)
Well, the more I looked into this possibility, the more I think it's not going to look like traditional electronics that we know. Chances are, somebody's working on this right now, and we just don't know about it.

There's been some promising blips here and there with the reprappers:

http://blog.reprap.org/2011/06/new-approach-to-printing-meta...

http://blog.reprap.org/2012/04/some-more-printed-circuitry.h...

Re:Hacking my Vagina by iamwil on Saturday November 24, 2012 @10:18PM (#4827151)
Some recent discussion on it and more up-to-date info.

http://forums.reprap.org/read.php?2,154755,154835,quote=1

Re:Hacking my Vagina by zerostar07 on Saturday November 24, 2012 @06:33PM (#4826816)
I wonder if there is some order-to-3dprint business out there?
Re:Hacking my Vagina by iamwil on Saturday November 24, 2012 @06:43PM (#4826831)
Re:Hacking my Vagina by mcpherrinm on Saturday November 24, 2012 @07:13PM (#4826890)
But there are plenty of 1-off or small run PCB manufacturers, which will surely be higher quality than anything produced by some 3d printing experiments.
Re:Hacking my Vagina by iamwil on Saturday November 24, 2012 @09:15PM (#4827056)
It's true for now, and for the near term (read: couple of years). The trend for the 3D printers is that they'll both get faster and use different materials (or same material with different properties). That way, you can print everything in-place, from batteries, the board, and enclosure. You won't be able to replicate chips for a long while, besides really simple electronics, so it will probably be pick and place.
Re:Hacking my Vagina by Wingman4l7 on Sunday November 25, 2012 @10:34PM (#4830343)
How about a web-based design tool that lets you make a custom case, which will then be 3d-printed on demand? Alternatively, you could accept customer uploads of certain 3D design formats.

There's gotta be a market for this.

Re:Hacking my Vagina by homedog on Sunday November 25, 2012 @11:29PM (#4830492)
Re:Hacking my Vagina by Wingman4l7 on Sunday November 25, 2012 @11:39PM (#4830532)
Well, I meant more of an all-in-one product: the company would provide a few different options of base vibrator units with minimum case size/dimension requirements, and the customer creates the custom case; the product would be shipped fully assembled. I suppose they could outsource the printing to Ponoko, though.