Contribute to Open Source. Search issue labels to find the right project for you!

Resolve memory issues to upload a senhouse game in time to install on Tuesday

cheapjack/MileCastles

Jayne Laskey at Senhouse in Maryport gave us her preferred option of Tuesday 25th April to install, and also Thursday 28th is possible.

I’ve got 3 boxes wired up ready for flashing, awaiting their numerals vinyl and horse logo (or whatever), but we’ll need to make a decision on whether its still possible to meet the Tuesday date by early afternoon Monday so there’s time to respond to Jane reasonably and bump to thursday which feels more likely at the moment.

@cefn can you please let us know whether memory issues resolved by early afternoon Monday 23rd? We’d need to load up senhouse.py in my fork for that install of course, i said focus on corbridge because that seeems a fairly big one (4 boxes) in terms of memory

Updated 25/04/2017 16:51 3 Comments

Confirm all components for assembly

cheapjack/MileCastles

ComponentList :scroll:

Item Got them
RFID tags with this reader YES <ul><li>[x] </li>
MileCastle round Cavalryman Sticker <ul><li>[x] </li>

Boxes Minimum

17 internals 5 externals 1 internal with battery

Colours for interior

Senhouse 3 white Tullie 3 white 1 black Corbridge 3 white Housesteads 1 white

25 screens in white 25 cockles

Internals for interior Boxes

|Item|Got them |—-|—- |Headers & dupont connectors|<ul><li>[ ] </li> |400 point breadboard|<ul><li>[ ] </li> |Micropython Cockle|<ul><li>[ ] </li> |90 degree headers for screens|<ul><li>[ ] </li> |90 degree headers for readers|<ul><li>[ ] </li> |2 and 4 Dupont Connector Blocks for readers |1 single male to female for readers |2 x 4 Dupont Block for Screens| |2 single male to female for Screens |2 power jumpers to make a 5V rail for Screens All 15mm gauge |RFID-RC522 Read/Writers|<ul><li>[x] </li> |128x64 White Backlit LCD pixel screens|<ul><li>[ ] </li> |Panel mount internal micro-USB-B extension from micropython cockle port|<ul><li>[x] </li> |Female USB-A Mains Plug|<ul><li>[x] </li> |White Male USB-A to Male micro USB-B Extension 3M|<ul><li>[x] </li> |Female to Male USB-A extenders|<ul><li>[ ] </li>

Internals for 5 Off-grid Boxes

Item Got them
IP66/8 grommet <ul><li>[x] </li>
reed switch & magnet <ul><li>[ ] </li>
IP66/68 Rated Waterproof Boxes <ul><li>[x] </li>
Headers & dupont connectors <ul><li>[ ] </li>|<ul><li>[x] </li>
90 degree headers for screens <ul><li>[ ] </li>
90 degree headers for readers <ul><li>[ ] </li>
400 point breadboard <ul><li>[ ] </li>
Micropython Cockle <ul><li>[ ] </li>
RFID-RC522 Read/Writers <ul><li>[x] </li>
128x64 White Backlit LCD pixel screens <ul><li>[x] </li>
Micro B Male to <ul><li>[x] </li>

Externals for Off-grid Boxes

Item Got them
Internal & External Fixings for side/rear fixing to fence posts/signs <ul><li>[ ] </li>
Battery Pack bracket on reverse: additional through hole fixings <ul><li>[x] </li>
Box acrylic bent wings for lid socket <ul><li>[ ] </li>
Adjust skin for lid <ul><li>[ ] </li>
Tinted acrylic Lid with inset magnet <ul><li>[ ] </li>
USB Charger port/cable & reed switch lines grommet plug shell cap cover <ul><li>[x] </li>
MicroUSB-B (cockle) extension to exiting USB-A via IP66/8 grommet <ul><li>[ ] </li>
Exiting USB-A to an external solar battery pack <ul><li>[ ] </li>
USB Solar battery Pack <ul><li>[x] </li>

Externals for on-grid & off-grid boxes

Item Got them
Decorative acrylic for Outer Case Designs <ul><li>[x] </li>
Internal acrylic material <ul><li>[x] </li>
M6 10mm for lid socket <ul><li>[ ] </li>
M6 70mm Coach bolts <ul><li>[x] </li>
M6 100mm Coach bolts for off-grid boxes <ul><li>[x] </li>
M6 120mm Coach bolts for off-grid boxes <ul><li>[ ] </li>
M6 nuts <ul><li>[x] </li>
M6 nut covers <ul><li>[x] </li>
M6 washers <ul><li>[ ] </li>
Updated 22/04/2017 12:23

Hardware taken by Ross/Glenn - 20th April

cheapjack/MileCastles

MFRC522 RFID Readers (1tag+1credit card ea.) - 25pcs supplied 12864B ST7920 LCD screens backlight - 25pcs supplied Pre-flashed Cockles - 25pcs supplied

Solar USB chargers - 10pcs supplied (1 in testing) - 1pcs MISSING

3m USB White Male A to Male Micro B - 18pcs MISSING 3m USB Male A to Female A USB - 10pcs MISSING

2x4 Dupont Insulators - 15pcs supplied - 10pcs MISSING 1x6 Dupont Insulators - 16pcs supplied - 34pcs MISSING 2x1 Dupont Insulators - 25pcs supplied 1x1 Dupont Insulators - 75pcs supplied 40conductor 100mm female uninsulated dupont rainbow cables - 15pcs supplied

Female A USB Mains adaptors - 18pcs supplied Male Micro B Mains adaptors - 5pcs supplied

400pt Breadboards - 25pcs supplied

pre-stripped prototyping wires - 75ish supplied in 3 colors male 15mm headers - 15 pcs supplied female right angle headers - 15 pcs supplied

414g of Blue RFID tags with keyrings 20pcs=87g

Updated 22/04/2017 12:22

Confirm the text fonts for cefn

cheapjack/MileCastles

throughpage_timr08

I think tim08 should be the main text. I’ve mocked up its spacings above in a 5x7 font I had which is a good fit. Worth noting that capitalisation takes up more than 5x7. 8x7 in most cases except for capital M which is 9x7. As a result, @gkboulter when using capitals for the ACTING out text I would allow for this with extra character spacings. In the above case its fine

I think use timB12 for the extra big first landing text described in #37 and the idle text described in #30

For TAP TO CONTINUE & Goto III and other capitals inversed as part of the interaction text described here we’d still use the capitals in tim08

Updated 26/04/2017 15:47 8 Comments

Confirm all components are on order/being made/sourced

cheapjack/MileCastles

Interactions

I think we should go with the RFID tags over cards with nice MileCastles Sticker

Item Ordered Sourced Made Blame
RFID cards #4 NO <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
RFID tags with this reader YES <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Cefn
MileCastle round Cavalryman Sticker <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> @gkboulter

Boxes Minimum

17 internals 6 externals

Externals for on-grid & off-grid boxes

Item Ordered Sourced Made Blame
Clear inset acrylic to protect screen (?) <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
Decorative acrylic for Outer Case Designs <ul><li>[x] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Ross
Internal acrylic material <ul><li>[x] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Ross
M6 10mm for lid socket <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
M6 70mm Coach bolts <ul><li>[x] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Ross
M6 100mm Coach bolts for off-grid boxes <ul><li>[x] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Ross
M6 120mm Coach bolts for off-grid boxes <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
M6 nuts <ul><li>[x] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Ross
M6 nut covers <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
M6 washers <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross

Internals for On-grid Boxes

Item Ordered Sourced Made Blame
Headers & dupont connectors <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
400 point breadboard <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
Micropython Cockle <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
90 degree headers for screens <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
RFID-RC522 Read/Writers <ul><li>[x] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
128x64 White Backlit LCD pixel screens <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Cefn
Panel mount internal micro-USB-B extension from micropython cockle port <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross

Externals for Off-grid Boxes

Item Ordered Sourced Made Blame
Internal & External Fixings for side/rear fixing to fence posts/signs <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
Battery Pack bracket on reverse: additional through hole fixings <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
Box acrylic bent wings for lid socket <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
Adjust skin for lid <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
Tinted acrylic Lid with inset magnet <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
USB Charger port/cable & reed switch lines grommet plug shell cap cover <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Ross
MicroUSB-B (cockle) extension to exiting USB-A via IP66/8 grommet <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Cefn
Exiting USB-A to an external solar battery pack <ul><li>[ ] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Cefn
USB Solar battery Pack <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Cefn

Internals for 6 Off-grid Boxes

Item Ordered Sourced Made Blame
IP66/8 grommet <ul><li>[x] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Ross
reed switch & magnet <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
IP66/68 Rated Waterproof Boxes <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Cefn
Headers & dupont connectors <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
90 degree headers for screens <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
400 point breadboard <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
Micropython Cockle <ul><li>[ ] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
RFID-RC522 Read/Writers <ul><li>[x] </li> <ul><li>[x] </li> <ul><li>[ ] </li> Cefn
128x64 White Backlit LCD pixel screens <ul><li>[x] </li> <ul><li>[ ] </li> <ul><li>[ ] </li> Cefn

:robot: :scroll:

Updated 26/04/2017 15:47 3 Comments

Estimate power usage for outdoor battery boxes

cheapjack/MileCastles

Got about 29 hours out of a cockle in a tiny ip68 box serving WiFi with no power restrictions or sleep, the last hour I connected to WiFi and got it to turn an 8x8 RGB LED Neo pixels off and on using a 50000mahr battery. By no means a proper test but if we have no Wi-Fi and the switch off circuit we could get them to last a while… Will try time it with screen powered next

Updated 07/04/2017 11:27 1 Comments

First landing: A 'how-to tap' guide

cheapjack/MileCastles

Screen first visited (by default Box I) should ‘explain’ the tap process which needs to take some time, not a glancing swipe for example so you wont get an interaction on screen until it successfully writes (may even need a read after the write to confirm?) : present card and hold in position => card read => card write => card removed => render template at node (ie page displayed). This should be enough to teach how-to avatap so people know how long they need to hold card to reader to get an interaction ``` “”“ HOW TO TAP… ”“” “”“ PRESENT CARD… ”“” “”“ REMOVE CARD! ”“” “”“ THATS HOW TO TAP! ”“” option: “”“ LETS GO! ‘AVA-TAP! ”“”

Tap to continue… “”“ ```

Updated 22/04/2017 12:20

Establish character size and limit

cheapjack/MileCastles

Hi heres some svgs using this font

ThroughPage NodeFork

So really we need some kind of 5x7 monospace font but only using 4x6 as black and I just can’t find a ttf font for that to mock up this one is more like it but capitals use the full 5x7 pixels

Basic limits:

ThroughPage

  • 26 characters across 8 lines with an additional TAP TO CONTINUE… message at the bottom, right justified.

Like idea of have any choice or interaction inverted (white on black) to keep all simple: box around choices does not seem to look as good.. do you think it could flash (alternate) or is that a pain?

NodeFork

Choices are seperate into NodeForks:
* 24 characters on line 1 * 13 characters on line 2 allowing for “ at Box III” at the end and 3 space indents

It will mean limiting what can appear on each screen render and choices but i think we can cope with this all files for mockups attached. I edited in a text editor and then made in illustrator. A screen grab would have been quicker! But this is a genuine 128x64 pixel images just with not an ideal font. If we can use the font from the arduino example you had cefn I think thats ideal.

Updated 20/04/2017 12:19 2 Comments

Fork me on GitHub