Go Down

Topic: Arduino Playground will be a regular website and not a wiki (Read 65360 times) previous topic - next topic

GalFisk

The CONTRBUTING.md file on the Arduino GitHub page also still says that Arduino playground is a publicly editable wiki: https://github.com/arduino/Arduino/blob/4c9da50e57030aebd4320fcc24e3f497f504b663/CONTRIBUTING.md

pert

CONTRIBUTING.md was written long before this announcement came out. That file should not be used as an indicator of Arduino's plans. If the Playground is made read-only, that file will eventually be updated to reflect the change.

combs

What a strange change. I hope that this doesn't happen.

aquilaxx

I used this wiki, for years, and here i found again the same passion for MCUs I had during the ancient High School days.
Technically speacking I'm not prepared to give advice to anyone, but trought the flowing of posts, i found both questions and answers needed to fresh my knowing.
During this years i have been able to give life to my workshop projects, and belive me it really makes my life better.   

I just found this thread and reading about the future of the playground has motivated to make this post, my first one.
Having playground read only, not only a really bad idea, but i will change the role itself of this wonderfull place.

I decided to enrich my competence with arduino and its IDE just because of this huge knoledge base, so please don't block its grow.   

I found what "pert" said easy to understand and entirely acceptable.

pert

It looks like the Arduino Playground has now been made read only. When I visit the Playground, I am shown as signed out of my Arduino account, and when I try to sign in it makes no difference.

So it might make sense to resume the discussions here of creating an independent Arduino wiki that is solely controlled by the Arduino community members. Any news from ChrisTenone or terryking228?

terryking228

#35
Apr 06, 2019, 01:09 pm Last Edit: Apr 06, 2019, 01:10 pm by terryking228
Hi everyone,

I'll renew an offer to host a lot/all of Playground on https://ArduinoInfo.Info .

Or collaborate on a new other site.

I'm in Japan/HongKong the next week but on the web most days.  I can put more effort in after the 15th.

@pert etal, what do you think would be best?

Regards, Terry
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

pert

To reiterate, my primary concerns are:
  • Long-term sustainability.
  • Easy for anyone to participate, either by editing content or reviewing previous edits.
  • Transfer of existing Playground content.

danielg4

#37
Sep 17, 2019, 08:29 pm Last Edit: Sep 17, 2019, 08:42 pm by danielg4 Reason: Undo smileys
Hello, and thank you for having had the Playground be an editable wiki in the past. In 2009, I contributed the "Much improved version" at the bottom of the following page:
https://playground.arduino.cc/Code/MusicalAlgoFun
I made edits to it for clarification several times since. Some random person apparently found it useful enough to credit me in a YouTube video:
https://www.youtube.com/watch?v=jNaGKhVUaMQ
When I saw that the Playground would become read-only, I thought "OK, I can't think of further edits to that code anyway." However, last night, it occurred to me that I could make the code more efficient and eliminate floating-point math from the loop. Is there a process in place yet to migrate individual pages to the Tutorials or ProjectHub for further edits? If yes, I'd like to request that page, and the pages to which it refers, be nominated for such a migration. If no, I'd like to request that an admin replace my code on that page with the following:
Quote
/*
* Square wave tune with an Arduino and a PC speaker.
* The calculation of the tones is made following the mathematical
* operation:
*
* timeUpDown = 1/(2 * toneFrequency) = period / 2
* )c( Copyleft 2009,2019 Daniel Gimpelevich
* Inspired from AlexandreQuessy's https://playground.arduino.cc/Code/MusicalAlgoFun
*/

const byte ledPin = 13;
const byte speakerOut = 11;
/* That makes a standard old PC speaker connector fit nicely over the pins. */

long freqTable[128]; /* 10.5 octaves :: semitones. 60 = do, 62 = re, etc. */

/* our song: Each number pair is a MIDI note and a note symbol. */

/* MIDI notes from 0, or C(-1), to 127, or G9. */
/* Rests are note number -1. */

/* Symbols are 1 for whole, -1 for dotted whole, 2 for half, */
/* -2 for dotted half, 4 for quarter, -4 for dotted quarter, etc. */

const int BPM = 120;
const char song[] = {
  64,4,64,4,65,4,67,4, 67,4,65,4,64,4,62,4,
  60,4,60,4,62,4,64,4, 64,-4,62,8,62,2,
  64,4,64,4,65,4,67,4, 67,4,65,4,64,4,62,4,
  60,4,60,4,62,4,64,4, 62,-4,60,8,60,2,
  62,4,62,4,64,4,60,4, 62,4,64,8,65,8,64,4,60,4,
  62,4,64,8,65,8,64,4,62,4, 60,4,62,4,55,2,
  64,4,64,4,65,4,67,4, 67,4,65,4,64,4,62,4,
  60,4,60,4,62,4,64,4, 62,-4,60,8,60,2};

int period, note;
unsigned int i;
unsigned long timeUp;
byte statePin = LOW;

void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(speakerOut, OUTPUT);
  for (note = 128; note--;)
    freqTable[note] = 105600 * pow(2, (note - 69) / 12.0);
  digitalWrite(speakerOut, LOW);
}

void loop() {
  for (i = 0; i < sizeof(song);) {
    statePin = !statePin;
    digitalWrite(ledPin, statePin);

    note = song[i++];
    period = (note < 0 ? 240000 : freqTable[note]) / (song[i++] * BPM);
    if (period < 0)
      period = period * -3 / 2;

    if (note < 0) {
      delay(period);
      continue;
    }
    timeUp = 120000000 / freqTable[note];
    while (period--) {
      digitalWrite(speakerOut, HIGH);
      delayMicroseconds(timeUp);
      digitalWrite(speakerOut, LOW);
      delayMicroseconds(timeUp);
    }
    delay(50);
  }
  delay(1000);
}


pert

Is there a process in place yet to migrate individual pages to the Tutorials or ProjectHub for further edits?
It would be just as difficult getting edits done in the Tutorials section, since that also requires someone at Arduino with write access to implement your requested changes. In fact it would likely be more difficult since the Arduino employee will need to carefully review any changes made to a tutorial page to make sure it is something Arduino approves of.

You are welcome to create a page on Arduino Project Hub and publish your content there. It would be best for you to do this yourself so that you will have write access to that project. I do think it's very unfortunate to have content duplicated between the Playground and Project Hub. If you end up doing that, I would recommend that you request the Playground page be replaced with a link to your Project Hub project.

As for requesting edits to the Arduino Playground, I would recommend opening an issue report in the arduino/Arduino issue tracker:
https://github.com/arduino/Arduino/issues/new

I can't make any promises that will result in a fast resolution, but at least in the tracker your request won't get lost like it will here on the forum.

Go Up