<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Thanks Euan</p>
<p>The list of derived projects is impressive. I will look further.</p>
<p>All the best<br>
Harry<br>
</p>
<div class="moz-cite-prefix">On 10/7/22 14:56, Euan de Kock wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJKQrYwNKWe6+Y9BFsQ85jxJYx5x-DqcKvUXqqs5KW3xvqsXQQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Harry,
<div><br>
</div>
<div>Sorry for the late response to this. I have looked
everywhere, and I cannot find the source code for the original
tally lights I built. They weren't too complicated though. It
used the excellent V-USB library (<a
href="https://www.obdev.at/products/vusb/index.html"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.obdev.at/products/vusb/index.html</a>)
to emulate the USB hardware and acted as a MIDI device with
different notes mapped to each LED.</div>
<div><br>
</div>
<div>I chose MIDI as there is good support for it in Linux
natively and it's probably even easier than a serial port to
manage - see the amidi command line tool. Just send a NoteON,
note to turn on a LED and NoteOFF, note to turn it off.</div>
<div><br>
</div>
<div>Out of interest, my current favourite MCU is the ESP32
series, I've mainly been working on the older ones, but I've
just ordered a new one to test out - <a
href="https://www.seeedstudio.com/seeed-xiao-esp32c3-p-5431.html"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.seeedstudio.com/seeed-xiao-esp32c3-p-5431.html</a>
it's based on the open source RISC-V architecture, and is
pretty powerful with built in WiFi and Bluetooth. At $5 it's a
lot of bang for your buck.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Euan.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Jun 20, 2022 at 11:10
AM Harry McNally <<a
href="mailto:harrymc@decisions-and-designs.com.au"
moz-do-not-send="true" class="moz-txt-link-freetext">harrymc@decisions-and-designs.com.au</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi Euan</p>
<p>Is the AVR doing bit-banging for the USB ? Nick spoke
about this method but mentioning AVR piqued my interest
which meant I had to look :-)</p>
<p> I can't see an AVR with a USB peripheral on the
selection guides. In that respect the small 145x PICs are
unusual but I stand correctable.</p>
<p>All the best<br>
Harry <br>
</p>
<div>On 19/6/22 19:40, Euan de Kock wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">Hi Nick, Harry.,
<div dir="auto"><br>
</div>
<div dir="auto">I do still have the source code lying
around somewhere. I'll dig it out and post it later
this week. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards, </div>
<div dir="auto"><br>
</div>
<div dir="auto">Euan. </div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<br>
<br>
<div class="gmail_quote" dir="auto">
<div dir="ltr" class="gmail_attr">On Sun, 19 June
2022, 5:38 pm Nick Bannon, <<a
href="mailto:nick@ucc.gu.uwa.edu.au"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">nick@ucc.gu.uwa.edu.au</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote">Hmmm, a spammer has
actually subscribed themselves. Must fix that.<br>
<br>
Euan! Inspired by the last round of tally lights...
Harry's made some<br>
new PIC-based protoypes. Do you still have the
source to the AVR ones?<br>
<br>
On Mon, Jun 13, 2022 at 05:59:33PM +0800, Harry
McNally wrote:<br>
> Hello again<br>
> Did you have an opportunity to build and
install on the Tally boards yet ?<br>
<br>
Haven't rebuilt the code yet, but reloaded some of
the pre-built images<br>
a couple of times.<br>
<br>
Current protocol follows for the:<br>
uber_tally/src/PIC16F1-USB-Bootloader/sample_app/usb_rgb.hex<br>
<br>
On Mon, May 30, 2022 at 10:27:29PM +0800, Harry
McNally wrote:<br>
[...]<br>
> The commands on this un-stateful version
consist of two lower case character<br>
> commands with some hex digit options all
terminated by a <CR><br>
> <br>
> The response is ACK (a minus char followed by
<CR><LF>) :<br>
> <br>
> -<CR><LF><br>
> <br>
> and NACK is plus char<br>
> <br>
> +<CR><LF><br>
> <br>
> This is largely hysterical since some of the
devel boards I have used are<br>
> like this so you can command them with a
terminal. This is easy to change<br>
> but I'd hope it would always use ascii chars
for ease of driving the device<br>
> with a simple script.<br>
> <br>
> Commands are:<br>
> <br>
> Red LED on> lo<CR><br>
> <br>
> Red LED off> lf<CR><br>
> <br>
> RGB colour> rRRGGBB where six hex digits are
HTML colour codes. Hex digits<br>
> are lower or upper case and reduced length is
allowed so:<br>
> <br>
> rFF is blue maximum, r0 is all off, rFF00 is
green maximum etc. r<CR> is<br>
> also all off for reasons of code simplicity but
I could NACK that.<br>
> <br>
> eo<CR> and ef<CR> mean echo on and
echo off respectively if you don't want<br>
> to manage any USB response from the tally. Echo
on at reset.<br>
> <br>
> co<CR> and cf<CR> mean
<CR>LF> on and off respectively so only -
and + are<br>
> returned after each command (echo must be on).
CRLF on at reset.<br>
[...]<br>
> All the best<br>
> Harry<br>
<br>
Cheers,<br>
Nick.<br>
<br>
-- <br>
Nick Bannon | "I made this letter longer than
usual because<br>
<a href="mailto:nick-sig@rcpt.to" rel="noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">nick-sig@rcpt.to</a>
| I lack the time to make it shorter." - Pascal<br>
_______________________________________________<br>
AV mailing list<br>
<a href="mailto:AV@plug.org.au" rel="noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">AV@plug.org.au</a><br>
<a
href="http://lists.plug.org.au/mailman/listinfo/av"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.plug.org.au/mailman/listinfo/av</a><br>
</blockquote>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
AV mailing list
<a href="mailto:AV@plug.org.au" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">AV@plug.org.au</a>
<a href="http://lists.plug.org.au/mailman/listinfo/av" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.plug.org.au/mailman/listinfo/av</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
AV mailing list<br>
<a href="mailto:AV@plug.org.au" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">AV@plug.org.au</a><br>
<a href="http://lists.plug.org.au/mailman/listinfo/av"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.plug.org.au/mailman/listinfo/av</a><br>
</blockquote>
</div>
</blockquote>
</body>
</html>