Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: Sig239 on March 31, 2010, 11:04:41 pm

Title: Codespace, IO etc.
Post by: Sig239 on March 31, 2010, 11:04:41 pm
Hello, First I,d like to say thanks for all that you are doing. The innovation is outstanding! I already have a bus pirate, case and probes and now it looks as if I'm gonna have to add a USB IR toy. I have some questions though.

1. About how much codespace is left?

2. What are the chances that a future board revision will include easier access to the    currently unused IO. IMHO, this would make it vastly more useful and hacker friendly. keypad matrix anyone? lol

Either way I'm still gonna get one, as it encompasses many of the features I've been looking for in a product. Thank you so much for sharing your work! Open source FTW!
Title: Re: Codespace, IO etc.
Post by: ian on April 01, 2010, 08:26:42 am
As I recall, 50%+ of the codespace remains, the 18F2550 is a huge chip.

Thanks for the suggestion, I'll try to work I/Os into a future board.
Title: Re: Codespace, IO etc.
Post by: TEN on April 01, 2010, 10:32:13 pm
[quote author="ian"]
As I recall, 50%+ of the codespace remains, the 18F2550 is a huge chip.

Thanks for the suggestion, I'll try to work I/Os into a future board.[/quote]If you do, it might be most interesting to use them not just with (different) carrier modulations (i.e. 36/56 kHz for some manufacturers), but also without any modulation at all:

This would allow to connect ISM-band RF transceivers as well (typically 433 and 868 MHz AM) to also record and replay the commands for e.g. wirelessly controlled sockets/dimmers/blinds - as well as to extend the reach of IR remote control to other rooms using emitters such as the Marmitek PowerMid.

The inputs and outputs could be made software-selectable to determine which receiver would be listened to, and to which device(s) each of the transmissions should be sent.

Wondering where this ability to remote-control all appliances through one single "USB IR+RF Toy" might lead?
Per aspera ad astra: http://www.mail-archive.com/mythtv-dev@ ... 04534.html (http://www.mail-archive.com/mythtv-dev@mythtv.org/msg04534.html)
Title: Re: Codespace, IO etc.
Post by: cuagn on April 03, 2010, 06:28:48 pm
[quote author="Sig239"]

1. About how much codespace is left?

[/quote]

My own compilation results are HERE (http://http://dangerousprototypes.com/forum/index.php?topic=422.msg3651#msg3651)
There is enough room to add a lot of functions ...
Title: Re: Codespace, IO etc.
Post by: TEN on April 03, 2010, 07:06:03 pm
[quote author="cuagn"]There is enough room to add a lot of functions ...[/quote]
One useful addition besides the much-requested (http://http://dangerousprototypes.com/2010/01/29/prototype-usb-infrared-remote-control-receivertransmitter/#comment-1748) RF support (http://http://dangerousprototypes.com/2010/04/03/ir-or-rf-remote-control-design/) (i.e. actually -optionally- doing less: just keying the output without generating a softcarrier, to enable communications with all the gear linked from http://www.wetterstationen.info/phpBB/v ... hp?t=16538 (http://www.wetterstationen.info/phpBB/viewtopic.php?t=16538)) would be a way to communicate through the serial port (perhaps with the chip&PCB "real estate" used to throw in the option for a MAX232 or similar) to drive LCDs or VFDs, which often need nothing but TX (e.g. at 9600 baud 8o1 XON/XOFF for cashiers' displays (http://http://www.maltepoeggel.de/html/vfd/index.html)) and also make nice and convenient housings for the USB IR(+RF) Toy.
LIRC/libirman may need some kind of tweak to allow packets of serial output data to be sent to the USB Toy's UART, but then so it will for adding an option to choose between different(ly [un]modulated) outputs to make best use of the previously unused pins.

In the attachment, you can see a USB Toy's predecessor for illustration: an amplified serial LIRC transmitter (http://http://vdr-portal.de/board/thread.php?threadid=85908) (and receiver for a VDR (http://http://www.tvdr.de/)), sharing its housing with a VFD, both USB-powered, and actually transmitting RF to the 433MHz-controlled fans and awning in parallel to the IR remote control of roller blinds already, albeit by means of an http://www.airwave.com.tw/IR-Extender.html (http://www.airwave.com.tw/IR-Extender.html) (kludge instead of software-selectable transmitters and modulation).

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01532071752session_write_close ( )...(null):0
20.01592203344ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01592204120Database_MySQL->query( ).../DatabaseHandler.php:119
40.06312342848Database_MySQL->error( ).../Db-mysql.class.php:273