~jocave/+git/muxpi:master

Last commit made on 2019-02-14
Get this branch:
git clone -b master https://git.launchpad.net/~jocave/+git/muxpi
Only Jonathan Cave can upload to this branch. If you are Jonathan Cave please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~jocave/+git/muxpi

Recent commits

a374520... by Jonathan Cave

Add snapcraft.yaml

c826c46... by Alexander Mazuruk <email address hidden>

Add link to muxpi documentation to README

Change-Id: I636c3d2ecfa3783282883b1991d118692092e6a1
Signed-off-by: Alexander Mazuruk <email address hidden>

a37d0fd... by Adam Malinowski <email address hidden>

Add simple README files to MIR addon

Change-Id: I8c583af758ba78b33b1316d9445f18579b4396cf

5368b7c... by Adam Malinowski <email address hidden>

Rename IR_addon to MIR

Change-Id: Iaa0b6928ea4ae5edaf1457d6ba32666a2b5a5bc2

2172d76... by Katarzyna Gorska <email address hidden>

Various fixes in schematics and PCB design

What has been done:

* Change Atmega328p footprint from TQFP to WQFN
* Replace FT230XQ with FT232RQ
* Adapt schematics to new FTDI chip
* Add load resistor for IR LED
* Add missing decoupling capacitors to some VDD pins
* Add cutout for NanoPi microUSB
* Remove unused USB connector
* Remove unused arduino connectors
* Remove not used (for MIR purposees) LEDs indicating state of STM GPIO
* Rename all files to MIR*
* Use only symbols from MIR libraries
* Rearrange texts on F.Mask layer
* Rearrange overlapping texts on F.Silk layer
* Move D_ESD1 further from J3
* Correct SW1 and XTAL footprints

Change-Id: Icd19173fda610c0574442d99b39109bb18bf1090
Signed-off-by: Katarzyna Gorska <email address hidden>

bcd15c9... by "k.gorska" <email address hidden>

Add demo scennarios and remote rawcodes

Change-Id: Iaa52b56826a72fe35835a9720e8c077e591a23c7
Signed-off-by: k.gorska <email address hidden>

a2a1427... by "k.gorska" <email address hidden>

Add module for translating codes from hex to raw format

CodeFormatter can be used to translate remote codes from
hex to raw format.

Hex codes can be found in samsung remote lirc config file

Arduino accepts raw codes.
For PoC purpose raw codes were recorded using RedRat, but now
in case new code is needed this module can be used.

Usage:
Import - please see example script translate.py

./codeformatter.py [-p PREAMBULE] HEX_CODE

By default preambule is set to '0xE0E0' as in given remote
configuration.

Change-Id: I0d192bd86ebbeff6ad10d42d31f57be5357df91b
Signed-off-by: k.gorska <email address hidden>

e641810... by "k.gorska" <email address hidden>

Add scripts to flash MIR

avrdude and its configuration file is needed.
If avrdude is installed form OS repository then the conf file
comes along with it.

flash.sh is meant to upload program into MIR's Atmega.

Change-Id: Id2c09da24a19b5f6543a64257597072d71334414
Signed-off-by: k.gorska <email address hidden>

65f7ed9... by "k.gorska" <email address hidden>

Send IR codes read from serial

This is main arduino code.

Program uses Arduino IRRemote library[1]

It reads raw codes sent by serial, converts them and emitts proper IR
signal.

Code should be represented as a string of numbers delimited with commas.

Example:
key_power_code="4529,4482,575,1665,567,1666,569,1670,575,569,545,546,567,546,567,575,545,575,545,1692,546,1666,567,1696,545,569,546,545,567,567,545,567,545,575,545,542,577,1692,545,567,545,546,567,575,542,575,545,567,545,545,573,1692,542,545,567,1696,545,1689,545,1666,569,1670,575,1665,573,1665,569"

More codes will be commited soon.

All raw codes were read using RedRat and used library is able to send
proper signals.

[1] https://github.com/z3t0/Arduino-IRremote

Change-Id: Ia3b7512c89a415cc3b6cc273643975dc2db12e4b
Signed-off-by: k.gorska <email address hidden>

eb6de19... by "k.gorska" <email address hidden>

[Obsolete] Add footprints and pcb

These files refer to older version of MIR.

Change-Id: I883bc05557745e0641a27292cf7e1b2c7bd987c9
Signed-off-by: Katarzyna Gorska <email address hidden>