Here you can find a bit more info about the Barduino.
"},{"location":"howto/","title":"How to participate","text":"
Embark on a dynamic journey with our Adventronics Calendar \u2013 an electrifying twist on the traditional advent calendar! Instead of the usual sweet treats, each of the 24 windows reveals a challenge centered around the Barduino. Every day we will share with you in this page more details of the challenge and a possible solution, but be creative with your own solutions. These challenges encompass coding, design, and entertaining activities that you can seamlessly weave into your December routine. While the first five participants to finish the challenge will earn a coveted Barduino sweatshirt*, the true essence lies in the joy of learning, the thrill of tackling electronics, and the camaraderie of sharing your experiences with fellow participants.
To track your progress, share a video or photo in our dedicated Telegram group using the hashtag #AdventronicsDay followed by the day's number (e.g., #AdventronicsDay05). Utilize this group to seek guidance, pose questions, and exchange insights with the vibrant community of participants. Get ready for 24 days of innovation, learning, and festive fun!
You can share it on social media tagging @fablabbcn and using the hashtag #adventronics and/or #barduino and we will repost so we can have a collection of challenges.
This is a colaborative repo. We will upload a possible solution, but there are many possibilities. If you want to upload your own solution, please follow this template and you can contact us or do a pull request to upload it to the repo in the correct folder solutions/day#.
Blinking an LED is the Hello World of electronics, the first program you upload to check that everything is up and running. No better way to start the challenge than making sure everyting is ok! Easy one to start the challnge
You can always got to Arduino/File/Examples/01.Basic/Blink, but if you feel a bit more adventurous here you can check a possible solution:
// constants won't change. Used here to set a pin number:\nconst int led = 48; // the LED of the Barduino is connected to pin 48\n\n// Variables will change:\nint ledState = LOW; // ledState used to set the LED\n\n// Generally, you should use \"unsigned long\" for variables that hold time\n// The value will quickly become too large for an int to store\nunsigned long previousMillis = 0; // will store last time LED was updated\n\n// constants won't change:\nconst long interval = 1000; // interval at which to blink (milliseconds)\n\nvoid setup() {\n // set the digital pin as output:\n pinMode(led, OUTPUT);\n}\n\nvoid loop() {\n // check to see if it's time to blink the LED; that is, if the difference\n // between the current time and last time you blinked the LED is bigger than\n // the interval at which you want to blink the LED.\n unsigned long currentMillis = millis();\n\n if (currentMillis - previousMillis >= interval) {\n // save the last time you blinked the LED\n previousMillis = currentMillis;\n // if the LED is off turn it on and vice-versa:\n if (ledState == LOW) {\n ledState = HIGH;\n } else {\n ledState = LOW;\n }\n // set the LED with the ledState of the variable:\n digitalWrite(led, ledState);\n }\n}\n
Describe in a few lines which is your soution and the idea behind it.
We don't want to stress you..! Keep it simple and have a nice weekend!
"},{"location":"solutions/02/02/#hero-shot","title":"Hero shot","text":""}]}
\ No newline at end of file
+{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Adventronics Calendar Challenge","text":"
1. Light me up! (1)
Day 01
2. Say cheeeeese! (1)
Day 02
Be creative
3. Sticker Challenge (1)
Day 03
Let's see your graphic design skills
4. Talk morse to me (1)
-... .- .-. -.. ..- .. -. ---
5. Jingle Bells! (1)
Sing with me
6. Barduino wishes you a Merry Christmas! (1)
Don't forget the stamp
7. Pianino (1)
Play me!
8. Will you get the lowest temperature? (1)
Challenge accepted
9. LED's get artistic (1)
Try using one of those apps: Iphone Android
10. Can you imagine the new Barduino? (1)
How it should be?
11. Christmas lights (1)
Colorful lights
12. Ligth a candle in the dark (1)
Try using the light sensor...
13. Visual effects (1)
Maybe with p5js?
14. Dress me up (1)
Protect me
15. Keyboard (1)
UP RIGHT DOWN LEFT
16. Let's play! (1)
Can I be the controller?
17. How AI imagines me? (1)
A picture is worth a thousand words
18. How is the weather? (1)
Check this API
19. Let's party! (1)
20. Change my name (1)
How should I be called in the future?
21. ChatGPT can you help me write a Cristmas card? (1)
Here you can find a bit more info about the Barduino.
"},{"location":"howto/","title":"How to participate","text":"
Embark on a dynamic journey with our Adventronics Calendar \u2013 an electrifying twist on the traditional advent calendar! Instead of the usual sweet treats, each of the 24 windows reveals a challenge centered around the Barduino. Every day we will share with you in this page more details of the challenge and a possible solution, but be creative with your own solutions. These challenges encompass coding, design, and entertaining activities that you can seamlessly weave into your December routine. While the first five participants to finish the challenge will earn a coveted Barduino sweatshirt*, the true essence lies in the joy of learning, the thrill of tackling electronics, and the camaraderie of sharing your experiences with fellow participants.
To track your progress, share a video or photo in our dedicated Telegram group using the hashtag #AdventronicsDay followed by the day's number (e.g., #AdventronicsDay05). Utilize this group to seek guidance, pose questions, and exchange insights with the vibrant community of participants. Get ready for 24 days of innovation, learning, and festive fun!
You can share it on social media tagging @fablabbcn and using the hashtag #adventronics and/or #barduino and we will repost so we can have a collection of challenges.
This is a colaborative repo. We will upload a possible solution, but there are many possibilities. If you want to upload your own solution, please follow this template and you can contact us or do a pull request to upload it to the repo in the correct folder solutions/day#.
Blinking an LED is the Hello World of electronics, the first program you upload to check that everything is up and running. No better way to start the challenge than making sure everyting is ok! Easy one to start the challnge
You can always got to Arduino/File/Examples/01.Basic/Blink, but if you feel a bit more adventurous here you can check a possible solution:
// constants won't change. Used here to set a pin number:\nconst int led = 48; // the LED of the Barduino is connected to pin 48\n\n// Variables will change:\nint ledState = LOW; // ledState used to set the LED\n\n// Generally, you should use \"unsigned long\" for variables that hold time\n// The value will quickly become too large for an int to store\nunsigned long previousMillis = 0; // will store last time LED was updated\n\n// constants won't change:\nconst long interval = 1000; // interval at which to blink (milliseconds)\n\nvoid setup() {\n // set the digital pin as output:\n pinMode(led, OUTPUT);\n}\n\nvoid loop() {\n // check to see if it's time to blink the LED; that is, if the difference\n // between the current time and last time you blinked the LED is bigger than\n // the interval at which you want to blink the LED.\n unsigned long currentMillis = millis();\n\n if (currentMillis - previousMillis >= interval) {\n // save the last time you blinked the LED\n previousMillis = currentMillis;\n // if the LED is off turn it on and vice-versa:\n if (ledState == LOW) {\n ledState = HIGH;\n } else {\n ledState = LOW;\n }\n // set the LED with the ledState of the variable:\n digitalWrite(led, ledState);\n }\n}\n
Describe in a few lines which is your soution and the idea behind it.