<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src, branch 1.6.2</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=1.6.2</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=1.6.2'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2016-01-10T23:56:21+00:00</updated>
<entry>
<title>altos: Switch PWM constants to end up exposing µsec</title>
<updated>2016-01-10T23:56:21+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-01-10T23:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a66e57e0e92cdbd3c6a10b835c50f55647c07351'/>
<id>urn:sha1:a66e57e0e92cdbd3c6a10b835c50f55647c07351</id>
<content type='text'>
This changes the constants so the clock runs at 1MHz, making the step
1µsec each. Then make the period 20000 steps, or 20ms for a 50Hz
frequency as before.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Set TeleMega v2.0 PWM to support servos</title>
<updated>2016-01-10T23:45:21+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-01-10T23:44:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4e29bcd07819415ebe44e22536305e9c51d9ae4c'/>
<id>urn:sha1:4e29bcd07819415ebe44e22536305e9c51d9ae4c</id>
<content type='text'>
Typical servos use a 50Hz signal with less than 10% duty cycle. Set
the divider to 10 and the range to 64000 to provide a reasonable level
of detail down in the low range.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Insert inter telemetry-packet delay</title>
<updated>2016-01-10T17:09:09+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-01-10T05:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4344bf3de532f54e0185421975c3c8dff1ac8bc2'/>
<id>urn:sha1:4344bf3de532f54e0185421975c3c8dff1ac8bc2</id>
<content type='text'>
The receivers take some time to reset the radio between packets, so
make sure we don't send back-to-back telemetry too quickly by delaying
after sending each telemetry packet.
</content>
</entry>
<entry>
<title>Switch TeleMega v2.0 to CC1200 radio chip</title>
<updated>2016-01-10T00:29:20+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-01-10T00:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=fe8b7ab9dd1949c53af8f09f08679bdf0280c104'/>
<id>urn:sha1:fe8b7ab9dd1949c53af8f09f08679bdf0280c104</id>
<content type='text'>
That's what we're using, after all

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Set AO_PWM_TIMER_SCALE for telemega-v2.0</title>
<updated>2015-12-26T07:30:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-12-26T07:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0fd370af8bc8842000415c4d182d84b4bf6f90fa'/>
<id>urn:sha1:0fd370af8bc8842000415c4d182d84b4bf6f90fa</id>
<content type='text'>
This is needed to configure the PWM timer correctly

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Get stm32l pwm driver working</title>
<updated>2015-12-26T07:20:29+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-12-26T07:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=742f7c834bb5d651d2bebf2069d4e8facc33390d'/>
<id>urn:sha1:742f7c834bb5d651d2bebf2069d4e8facc33390d</id>
<content type='text'>
Fix the CCMR1_OC1PE and CCMR2_OC3PE values.
Disable clock when no PWM outputs are running.
Fix the apb1enr value for the timer.
Set ARR value to PWM_MAX - 1 -- ARR is off by one.
Sets the GPIO pins to 40MHz bandwidth for sharper edges.

Tested on EasyMega, but that code is not included as it breaks the
companion protocol.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add TeleMega v2.0, including PWM driver</title>
<updated>2015-12-26T04:48:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-12-24T08:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8aa0ab9fe9ca41f6d520d388973164bc0c599a06'/>
<id>urn:sha1:8aa0ab9fe9ca41f6d520d388973164bc0c599a06</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>telelco: Fix pad reset to one on radio signal loss</title>
<updated>2015-10-13T20:54:28+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-10-10T21:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0ae116dd8779fd0594d443a735e7b6834ea9b713'/>
<id>urn:sha1:0ae116dd8779fd0594d443a735e7b6834ea9b713</id>
<content type='text'>
The pad number was getting reset back to one when signal was lost,
causing pad one to get fired in this case even when already set to arm mode.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/telelco: Adjust drag race UI</title>
<updated>2015-10-13T20:54:28+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-09-14T05:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9dae5f76c5691dc94c02839eb1321426f96f2134'/>
<id>urn:sha1:9dae5f76c5691dc94c02839eb1321426f96f2134</id>
<content type='text'>
Enter/leave drag race is done by rotating the box selector knob
to a new 'dr' position and then holding down the firing button; this
avoids a potential accidental firing if you somehow don't realize
you've armed the box before selecting drag race mode.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/telelco: Add drag race UI</title>
<updated>2015-08-30T00:32:54+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-08-30T00:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=dda3f459eaff8d4e41cb44584c8ef77b8e2b3b1c'/>
<id>urn:sha1:dda3f459eaff8d4e41cb44584c8ef77b8e2b3b1c</id>
<content type='text'>
With the unit disarmed, press and hold the fire button for five
seconds to enable drag race mode.

The display will show 'dr' for five seconds and beep five times to
indicate that drag race mode is enabled. The decimal points in the
display will all be displayed as an additional visual aid. Once every
five seconds, it will beep.

With drag race mode enabled, you can select a box/pad pair and press
the 'fire' button to add it to the drag race group. For the current
box, all members of the drag race group will have their continuity
LEDs blink slowly. There will be no indication of continuity in this
mode; you'll want to check that before enabling drag race mode. If you
want to de-select a member of the group, just press the fire button
again. Each time you push the fire button, it will beep out the pad
number added or removed.

Arm the box and you will not be able to add or remove members from the
drag race group. Firing will simultaneously fire all members of the
drag race group.

To disable drag race mode, press and hold the fire button for two
seconds. It will beep twice and turn off the decimal points in the display.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
