p10tyr / thepihut3dxmastree-examples

The Pi Hut 3D Xmass Tree Examples
25 stars 16 forks source link

A few ideas #1

Closed HerbFargus closed 9 months ago

HerbFargus commented 6 years ago

I just got my tree and was looking for examples to get started learning and figured I'd try and contribute to something people have already started as opposed to starting my own.

Here are my thoughts:

p10tyr commented 6 years ago

Hi @HerbFargus

Might be good to have a bit of a simple quick start guide/wiki just in case people find the pi hut docs lacking (I did!)

What issues did you run into? It would be great to probably make a FAQ in the Wiki? I am not an expert my self that is why I document everything I do already in the readme.. as I suppose it may be usefull to somebody else too.

The music thing

Yea I thought of exactly the same thing.. probably could create some python? in a new folder?

Morse

OMG- I just though of doing that today.. I though how cool would it be (except nobody knows morse anymore) but still morse code my name out over and over would be ace (or any thing else)

I can try and make that

HerbFargus commented 6 years ago

For the morse code module this looks like a pretty good start:

https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/robot/morse_code/

Though I think it's worth porting to use the gpiozero libraries instead.

I ran through a few tests just to map the board proper and came up with a spreadsheet that at least helps give an idea of which pins control which LEDS and I've also added fields for quadrants, height of the LED etc so we can use the LEDboard function to control the parts a little more effectively.

https://docs.google.com/spreadsheets/d/1iPwfuEJsdbv7rHwCIOYc0AAx8tdQzpUAwgUJW2r8-lk/edit?usp=sharing

I'll probably create a wiki page or two with basic installation instructions, pinout diagram and some test scripts just so people can test each LED to make sure it's working. Then once I get more comfortable with some code I'll try and submit some pull requests for python scripts.

at some point if we were really ambitious we could create a simple dialog gui to run the scripts.

HerbFargus commented 6 years ago

feel free to tell me if I'm overstepping my bounds,

but just a minor nit courtesy of my OCD the repo name is kinda long to me.

For example just searching for pihut yields 11 results most of which are a derivative of the 3dxmas tree (and interestingly this repo doesn't show up in the results unless pihut has a space- seems the search searches primarily from the repo description)

https://github.com/search?utf8=%E2%9C%93&q=pihut&type=

Simpler derivatives (examples seems redundant to me in the repo name as it's implied by the content of the repo/description):

or something else, I'm interested in your feedback on this

p10tyr commented 6 years ago

Yea I did that because I was not sure if anybody else had anything like this already done so I did not want to step on anybody else's heels.. especially The Pi Hut

If I change the name now then all my posts with links to here will break ☹️ And I don't really want to do that because there is a surprisingly high amount of traffic

Not sure what to do now 😆

HerbFargus commented 6 years ago

From GitHub docs:

When you rename a repository, all existing information, with the exception of Project Pages URLs, is automatically redirected to the new name,

But no worries if you want to keep it the same. I realised I can change my fork's name while still being able to push changes to master so I can quell my OCD that way ;)