Added support for flymouse to my light controller.

Added support for fly-mouse to my light controller. You know 'fly-mouse' right?

Basically a 3D motion sensitive mouse with a keyboard:

formatting link

More a Linux / Android keyboard:

formatting link

Now finally a light control remote I do not have to point. You can keep it under your pillow and it still works. And many functions can be controlled... as many as there are characters. It is a bit getting used too, but way cool. I am sure I will think of more things. Your pointing skill may require you to have a steady fix in 3 D space... Up down is tilting, not up down. Takes practice.

Will I add it to all my software? Dunno. The normal mouse will keep working too (on a PC) so I found you need to switch that off, else cursor may not be where you pointed last time.. (you locked it via fly mouse).

Toys :-)

Reply to
Jan Panteltje
Loading thread data ...

On a sunny day (Wed, 20 Jan 2016 20:46:30 GMT) it happened Jan Panteltje wrote in :

More on airmouse:

Pictures: Secret chip

formatting link

Switches on both side of the PCB, a first:

formatting link
formatting link

Rubber? keys, the green button lights up in UV, the others not...:

formatting link

2.4 GHz add on board, note the antenna as a give-away:
formatting link

Batteries not includes, but my ROCKET batteries work just fine:

formatting link

Measurements: Pairing with 2.4 GHz module: 34 mA normal use 16 mA timeout: 20 seconds, then 35 uA Cursor lock and cursor motion is lost after 20 seconds no activity, pressing a key brngs it back. If no USB m2.4GHz module found 35 mA for a few seconds, then 35 uA.

lsusb: Bus 004 Device 057: ID 0c45:3451 Microdia

dmesg: [8049239.075014] usb 4-3: new full speed USB device using ohci_hcd and address 57 [8049239.224038] usb 4-3: New USB device found, idVendor=0c45, idProduct=3451 [8049239.224042] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [8049239.224044] usb 4-3: Product: Airmouse [8049239.224046] usb 4-3: Manufacturer: AliTV Remote V1 [8049239.231344] input: AliTV Remote V1 Airmouse as /devices/pci0000:00/0000:00:12.1/usb4/4-3/4-3:1.0/input/input116 [8049239.231432] generic-usb 0003:0C45:3451.005D: input,hidraw2: USB HID v1.01 Keyboard [AliTV Remote V1 Airmouse] on usb-0000:00:12.1-3/input0 [8049239.235193] input: AliTV Remote V1 Airmouse as /devices/pci0000:00/0000:00:12.1/usb4/4-3/4-3:1.1/input/input117 [8049239.235389] generic-usb 0003:0C45:3451.005E: input,hidraw3: USB HID v1.01 Mouse [AliTV Remote V1 Airmouse] on usb-0000:00:12.1-3/input1 [8049239.241263] generic-usb 0003:0C45:3451.005F: hiddev0,hidraw4: USB HID v1.10 Device [AliTV Remote V1 Airmouse] on usb-0000:00:12.1-3/input2 [8049239.245251] input: AliTV Remote V1 Airmouse as /devices/pci0000:00/0000:00:12.1/usb4/4-3/4-3:1.3/input/input118 [8049239.245359] generic-usb 0003:0C45:3451.0060: input,hidraw5: USB HID v1.01 Gamepad [AliTV Remote V1 Airmouse] on usb-0000:00:12.1-3/input3

So vendor 0C45 model 3451, manufacturer AliTV, name airmouse Version 1

l /dev/character: wxrwxrwx 1 root root 13 Jan 21 11:00 189:439 -> ../usbdev4.56 lrwxrwxrwx 1 root root 10 Jan 21 11:05 245:3 -> ../hidraw3 lrwxrwxrwx 1 root root 10 Jan 21 11:05 245:2 -> ../hidraw2 lrwxrwxrwx 1 root root 10 Jan 21 11:05 245:5 -> ../hidraw5 lrwxrwxrwx 1 root root 10 Jan 21 11:05 245:4 -> ../hidraw4 lrwxrwxrwx 1 root root 13 Jan 21 11:05 189:440 -> ../usbdev4.57 lrwxrwxrwx 1 root root 14 Jan 21 11:05 180:97 -> ../usb/hiddev1 lrwxrwxrwx 1 root root 15 Jan 21 11:05 13:71 -> ../input/event7 lrwxrwxrwx 1 root root 15 Jan 21 11:05 13:73 -> ../input/event9 lrwxrwxrwx 1 root root 16 Jan 21 11:05 13:74 -> ../input/event10 lrwxrwxrwx 1 root root 15 Jan 21 11:05 13:33 -> ../input/mouse1 lrwxrwxrwx 1 root root 12 Jan 21 11:05 13:0 -> ../input/js0

When doing a /dev/char # cat ../input/mouse1 when moving this unit (cursor movement) we see:

so the codes can be read directly.

The cursor lock timeout can be a problem when doing something with a specific key or input on a GUI, I used keybindings 'Aa' and 'Az' xforms for 'up and down' to control a LED light, and cursor lock.

The 1 piece of paper manual says it also has an IR learning mode. Do they use the big transparent IR LED as receiver?

The D1 on the front side is a red LED that flashes if a button is pressed.

formatting link

There sems to be a switcher on board too.

When plugged in several devices are created, I do not see any signal at /dev/input/js0 (joystick). cat /dev/input/js0. My software recognises that joystick device, but no signal from it, so this seems either a Linux problem or a fake device claim. Would be nice if that worked.

Reply to
Jan Panteltje

Added support for fly-mouse to my light controller. You know 'fly-mouse' right?

Basically a 3D motion sensitive mouse with a keyboard:

formatting link

Linux source code release with many fun airmouse text commands:

formatting link

this basically a GUI for some LED control hardware. You can for example simply type the color you want for the LED lights on the airmouse keyboard. This assumes the PC is always on, server here is always on. It can use keyboard too of course.

For a list of colors if you are a Linux user see: /usr/lib/X11/rgb.txt

Reply to
Jan Panteltje

Does this one have right-click capability? Some of these types of devices do not have a right-click.

How about button back lighting?

--- news://freenews.netfront.net/ - complaints: snipped-for-privacy@netfront.net ---

Reply to
OldGuy

On a sunny day (Sat, 23 Jan 2016 11:09:14 -0800) it happened OldGuy wrote in :

Yes, I was missing that one, and no control key, and no middle mouse (needed for Linux copy). And no TAB key, no ALT key, only caps lock.

I also ordered this one, mostly a real keyboard:

formatting link
but has not arrived yet.

So I had to use some tricks, also because you cannot always see the monitor, this way I can just use it as a remote control, if you use it upside down, then the cursor is locked, its just a very simple keyboard. So I made some key bindings: a brightness up z brightness down s saturation up x saturation down. d color up (in color circle) c color down f move to next entry in color database v previous entry.

Note those keys are opposite each other so easy to use. v previous entry q black w white (100%) r back to specified value

And if you type ',' it goes into color text mode, then you can type redENTER for red etc. Or red.ENTER to find the next entry in the database that contains the string 'red', there are many types of red like darkred violetred, indianred, etc, and .ENTER tries them all one at the time. Typing udENTER put it back in normal mode (ud from up/down).

If you use it front side up, then you can just point and click, and enter numbers, but you need to see the monitor in that case.

When the other one arrives you can just use it as a remote wireless keyboard. It is easy to add any command, but to work in a terminal you really need to see what you type, or else BAD THINGS can happen (I am always root).

Nope, not present, and a LED that shows it is still active would help too, it auto switches off after 20 seconds no use, and then you have to hit a key to bring it back alive, and that key is then lost, so I hit space bar before use...

As time passes I am sure I will find more serious applications for it, or I hope so :-) Control your drone... control AirForce 1, whatever you are into ;-)

It is a toy. :-)

Reply to
Jan Panteltje

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.