P_Monty
Posts: 57
Joined: Sat Dec 27, 2014 2:45 pm
Location: Wiltshire, UK

2nd step with ciesco WIK

Mon Aug 03, 2015 8:53 pm

Hi folks, I'm starting out on a little project with my Pi B+.
I bought a ciesco WIK to do the interfacing for a couple of reasons - 1) because I need a bit of separation between the pi and the item its controlling and 2) if I get my interfacing wrong it should be cheaper to replace the ic on the remote board than the whole pi...

I loaded the card that came with the kit and tried a few demo circuits and everything worked fine - so I'm happy that the hardware works.

As a second step, I got a new Micro sd card, loaded the latest version of noobs and set up the pi to run a fixed IP address headless, logging into it via my Mac running vnc. So far so good. Now, the snag is, I've tried copying the example software from the original card to my new one (so if it all goes Pete tong, I've still got the original card) but things are operating differently:
1) on the original card, double clicking 'example.py' prompts me to run or open it - select run and all is fine. On the new card, double clicking prompts me to open in text editor, python2 or python3.
2)if after the above, I open in python2 and then select 'run module'the main window of the application loads correctly, but none of the controls do anything except 'quit'
So, I'm guessing that either
1) the software doesn't like the latest OS (probably not the case - just exploring all opportunities)
2) I need to double check paths and environment variables are identical between new and original cards
3) I'm missing a package that needs installing on the new card - is there a simple way of listing all the packages installed on the original card?
4) there's something else I've missed...

If it is (4) - has anyone got any suggestions?

Thanks

Paul

Return to “HATs and other add-ons”