Arduino Forum

Community => Workshops and Events => Ask Me Anything / AMA => Topic started by: mastrolinux on Mar 11, 2019, 01:17 pm

Title: Ask Massimo Anything...well almost anything!
Post by: mastrolinux on Mar 11, 2019, 01:17 pm
Open Q&A Session with Massimo Banzi

Date: Arduino Day, 16th March 2019   Time: 18.00 - 19.00 CET during the streaming of the talks from the Official Arduino Day in Milan (info here (https://www.eventbrite.co.uk/e/official-arduino-day-tickets-58100933456))

(important: please submit your question by 18.45 CET on March 16th)



1 + 1 = 3... join in the Ask Massimo Anything session to hear the answers to everything you've ever wanted to know about Arduino, open-source and the tech space.
Don't be shy! your question will only be shared live with the thousands of other Arduino enthusiasts who were just waiting to ask the same thing.

Accessibility, simplicity and openness are all underlying principles of Arduino...by questioning the norm, listening and sharing together we will continue to push the boundaries of creativity around the world.



ASK MASSIMO ANYTHING (AMA) - GENERAL RULES OF PARTICIPATION


General Notes for Submitting Questions:
Title: Re: Ask Massimo Anything...well almost anything!
Post by: adafruit on Mar 14, 2019, 08:21 pm
hi arduino,

i did not see any other questions here, so figured i'd toss one in.

here's our ama for massimo and the arduino team...

can we get the number of downloads for the libraries from arduino?

(https://cdn-blog.adafruit.com/uploads/2019/03/arduinolibs.jpg)

you can find out are things like the total number of authors, libraries they have, and a few more things - the site arduinolibraries.info (https://www.arduinolibraries.info/ (https://www.arduinolibraries.info/)) displays what is available (GitHub here - https://github.com/njh/arduino-libraries (https://github.com/njh/arduino-libraries)).

here are the top 10 Arduino library authors as of March 11th, 2019 9:00 PM EDT.



there are a total of 2,081 libraries and 864 authors.

the way arduinolibraries.info works is that it gets the JSON file (https://downloads.arduino.cc/libraries/library_index.json (https://downloads.arduino.cc/libraries/library_index.json)) from the arduino library manager and uses the information there to match up what is on GitHub and display it on the site. It generates a static site, clever way to display things, there is also a twitter account that tweets out new libraries and updates too: @arduinolibs (https://twitter.com/arduinolibs).

(https://cdn-blog.adafruit.com/uploads/2019/03/adafruitarduinolibs.jpg)

i poked around the JSON file and saw that the libraries are stored on arduino's servers, for example here's one ours - Adafruit_NeoMatrix-1.0.0.zip (http://downloads.arduino.cc/libraries/github.com/adafruit/Adafruit_NeoMatrix-1.0.0.zip), so that means there are some logs or stats somewhere that could also be displayed for the developers and community to know which libraries are downloaded the most, and which ones to make sure are updated and worked on if they are popular.

(https://cdn-blog.adafruit.com/uploads/2019/03/aday2018.jpg)

arduino has the number of downloads of the IDE and users to the site, so this is something that arduino likely has and would be really useful for developers and the community. image above is from Arduino Day 2018 (video (https://youtu.be/nfpb33bdxEs?t=496)).

we have a blog post about this here:
https://blog.adafruit.com/2019/03/11/10-arduino-library-authors-arduino-arduinolibs-arduino/ (https://blog.adafruit.com/2019/03/11/10-arduino-library-authors-arduino-arduinolibs-arduino/)

cheers,
pt / adafruit
Title: Re: Ask Massimo Anything...well almost anything!
Post by: pjrc on Mar 15, 2019, 11:56 pm
Any idea when Arduino IDE 1.9 might become a non-beta, official release?

Or as a sort of general philosophical question, how long should beta test periods be for a widely used open source project like Arduino?
Title: Re: Ask Massimo Anything...well almost anything!
Post by: neferbea on Mar 16, 2019, 10:47 am
Hi, i'm Beatrice, a 13 years old beginner maker.
I have a very simple question for Massimo Banzi, my favourite genius maker: in your opinion, what are the top 5 qualities of a maker? I think this topic is relevant for young people like me. Thanks!
Title: Re: Ask Massimo Anything...well almost anything!
Post by: ykrorand on Mar 16, 2019, 11:44 am
Hi sir,

Is it possible to copy a program from an Arduino to the computer ?...

I mean that I suppose my computer crashed and the past program was running on my Arduino...is it possible to retrieve it ?

If yes, how to perform that ?

Thanks very much !!!
Title: Re: Ask Massimo Anything...well almost anything!
Post by: tamberg on Mar 16, 2019, 03:09 pm
Hi Massimo,

regarding

> questioning the norm

Is there any chance of a Feather-compatible Arduino board?

Kind regards from Zürich,

Thomas
Title: Re: Ask Massimo Anything...well almost anything!
Post by: Jacksok on Mar 16, 2019, 05:34 pm
Hi Massimo,

I'm looking to transform my Arduino project into a commercial product - If I use an open-source HW and SW should I release also my project in open-source?
Title: Re: Ask Massimo Anything...well almost anything!
Post by: procypher on Mar 16, 2019, 05:40 pm
Hello Massimo,
a question on the Arduino IoT Cloud or better, the software that powers it: do you have any plans/thoughts to release it for running in an edge computing scenario, preferably on my own bare metal?
With the development of 5G connections the idea of proximity and network/security optimization will become a major goal for the IoT solution architects.
Thanks.
Francesco
Title: Re: Ask Massimo Anything...well almost anything!
Post by: mbanzi on Mar 16, 2019, 06:06 pm
Hi Limor , Phil

I just released the first numbers. I'll publish them in a blog post next week.
We didn't collect any info before because we didn't violate anybody's privacy but we found a way to do it and from january we started to track the libraries that people download from the Library Manager.
The numbers are not perfect because we don't track the libraries used in the online IDE which has 800k users but we'll update it over time.

Good job to all the people who write libraries and submit them to Arduino!

thanks

m




hi arduino,

i did not see any other questions here, so figured i'd toss one in.

here's our ama for massimo and the arduino team...

can we get the number of downloads for the libraries from arduino?

(https://cdn-blog.adafruit.com/uploads/2019/03/arduinolibs.jpg)

you can find out are things like the total number of authors, libraries they have, and a few more things - the site arduinolibraries.info (https://www.arduinolibraries.info/ (https://www.arduinolibraries.info/)) displays what is available (GitHub here - https://github.com/njh/arduino-libraries (https://github.com/njh/arduino-libraries)).

here are the top 10 Arduino library authors as of March 11th, 2019 9:00 PM EDT.

  • adafruit: Adafruit Industries 168
  • sparkfun: SparkFun Electronics 88
  • seeed-studio: Seeed Studio 58
  • arduino-libraries: Arduino Libraries 52
  • stm32duino: STM32duino 45
  • pololu: Pololu Robotics and Electronics 34
  • paulstoffregen: Paul Stoffregen 25
  • faboplatform: Fabo 24
  • hideakitai: Hideaki Tai 23
  • luisllamasbinaburo: Luis Llamas 21


there are a total of 2,081 libraries and 864 authors.

the way arduinolibraries.info works is that it gets the JSON file (https://downloads.arduino.cc/libraries/library_index.json (https://downloads.arduino.cc/libraries/library_index.json)) from the arduino library manager and uses the information there to match up what is on GitHub and display it on the site. It generates a static site, clever way to display things, there is also a twitter account that tweets out new libraries and updates too: @arduinolibs (https://twitter.com/arduinolibs).

(https://cdn-blog.adafruit.com/uploads/2019/03/adafruitarduinolibs.jpg)

i poked around the JSON file and saw that the libraries are stored on arduino's servers, for example here's one ours - Adafruit_NeoMatrix-1.0.0.zip (http://downloads.arduino.cc/libraries/github.com/adafruit/Adafruit_NeoMatrix-1.0.0.zip), so that means there are some logs or stats somewhere that could also be displayed for the developers and community to know which libraries are downloaded the most, and which ones to make sure are updated and worked on if they are popular.

(https://cdn-blog.adafruit.com/uploads/2019/03/aday2018.jpg)

arduino has the number of downloads of the IDE and users to the site, so this is something that arduino likely has and would be really useful for developers and the community. image above is from Arduino Day 2018 (video (https://youtu.be/nfpb33bdxEs?t=496)).

we have a blog post about this here:
https://blog.adafruit.com/2019/03/11/10-arduino-library-authors-arduino-arduinolibs-arduino/ (https://blog.adafruit.com/2019/03/11/10-arduino-library-authors-arduino-arduinolibs-arduino/)

cheers,
pt / adafruit
Title: Re: Ask Massimo Anything...well almost anything!
Post by: mbanzi on Mar 16, 2019, 06:08 pm
Hopefully around may for MF Bay Area but we want to change the way we release. Hopefully we'll release every 3 months at well defined dates, we'll freeze the code, beta test and then release.

Do you think every 3 months is too long, too short?


thanks!




Any idea when Arduino IDE 1.9 might become a non-beta, official release?

Or as a sort of general philosophical question, how long should beta test periods be for a widely used open source project like Arduino?
Title: Re: Ask Massimo Anything...well almost anything!
Post by: GaiaPedro on Mar 16, 2019, 06:09 pm
Hi Massimo, I have one question for you: what is the difference between a compatible Arduino board and a clone? Thanks ;))))
Title: Re: Ask Massimo Anything...well almost anything!
Post by: mrnebbi on Mar 16, 2019, 06:10 pm
Hi Massimo, love you work!

Im a Scout leader in Scotland and just wondered if you have any programs available we could use to get some free boards or kits for our Beavers, Cubs, Scouts to learn with?

Ciao,
Ian
Title: Re: Ask Massimo Anything...well almost anything!
Post by: Ugolonix on Mar 16, 2019, 06:15 pm
Hi Massimo,
Is there any plan of supporting a dark theme in the Arduino IDE?
Title: Re: Ask Massimo Anything...well almost anything!
Post by: mbanzi on Mar 16, 2019, 06:18 pm
Thanks for the question it's very difficult, i'll do my best.

1. Enjoy making , do it because you love it. Making stuff satisfying.
2. Just keep making and don't be afraid of making mistakes. the only way to improve is to keep making, learning from mistakes and move forward.
3. be curious about the world, cross disciplines, meet people, combine different interests. Use technology as a tool and combine it with all sorts of knowledge to hopefully improve the world.
4. Love people, build communities, collaborate with anybody from any culture and background. You learn a lot from other people .
5. Help others, make life simpler for other people. help other get where you are. Ideas are cheap, making things happen it's the only thing that counts.

thanks!!!

ciao






Hi, i'm Beatrice, a 13 years old beginner maker.
I have a very simple question for Massimo Banzi, my favourite genius maker: in your opinion, what are the top 5 qualities of a maker? I think this topic is relevant for young people like me. Thanks!

Title: Re: Ask Massimo Anything...well almost anything!
Post by: mbanzi on Mar 16, 2019, 06:19 pm
Well you can probably copy the compiled code (HEX) but you can't easily turn it back into the original code.
It's ok if you rewrite it it's going to be better than the original



Hi sir,

Is it possible to copy a program from an Arduino to the computer ?...

I mean that I suppose my computer crashed and the past program was running on my Arduino...is it possible to retrieve it ?

If yes, how to perform that ?

Thanks very much !!!
Title: Re: Ask Massimo Anything...well almost anything!
Post by: mbanzi on Mar 16, 2019, 06:20 pm
We have our ecosystem we develop that. Adafruit develop theirs.
They are software compatible so you can pick and chose as you like :)

ciao!




Hi Massimo,

regarding

> questioning the norm

Is there any chance of a Feather-compatible Arduino board?

Kind regards from Zürich,

Thomas
Title: Re: Ask Massimo Anything...well almost anything!
Post by: mbanzi on Mar 16, 2019, 06:24 pm
You can build commercial products with open source HW and SW. the code for your product is yours. if you make improvments or changes to the arduino SW (libraries etc) you have to share only those.
If you design your hardware starting from the files of an Arduino board , you will have to share the changes, if you design it from scratch you are ok.

m



Hi Massimo,

I'm looking to transform my Arduino project into a commercial product - If I use an open-source HW and SW should I release also my project in open-source?
Title: Re: Ask Massimo Anything...well almost anything!
Post by: Efren26 on Mar 16, 2019, 06:32 pm
Why does Arduino still produce boards in Italy and not in China? Everyone produces in China, also Apple, therefore I don't think that it's a matter of quality. Moreover, is it possible to know more about the Arduino manufacturing process?
 Thanks a lot!
Title: Re: Ask Massimo Anything...well almost anything!
Post by: rubzir on Mar 16, 2019, 06:43 pm
Hi,
Do you plan to release boards with remote download using BT(/WIFI)  ?
When building robots for example you would like to change the software from the distance ...

Rub
Title: Re: Ask Massimo Anything...well almost anything!
Post by: ykrorand on Mar 16, 2019, 07:17 pm
Thank you sir !
Title: Re: Ask Massimo Anything...well almost anything!
Post by: pert on Mar 16, 2019, 07:41 pm
Is there any plan of supporting a dark theme in the Arduino IDE?
Although there is not an official dark theme currently, the Arduino IDE does already allow you to install custom themes (or even make your own). There is a popular dark theme here:
https://github.com/jeffThompson/DarkArduinoTheme (https://github.com/jeffThompson/DarkArduinoTheme)
I also have a collection of themes (which include some dark ones) for Arduino here:
https://github.com/per1234/ino-themes (https://github.com/per1234/ino-themes)

The installation instructions in both the above repositories have not yet been updated to reflect some really nice features that were recently added in the Arduino IDE to make themes easier to install and allow you to switch between themes via the Arduino IDE's File > Preferences menu:

If you need assistance installing a custom theme via the new installation method, I'm happy to provide instructions.
Title: Re: Ask Massimo Anything...well almost anything!
Post by: rafihath on Mar 17, 2019, 04:27 pm
I am using 4 channel relay to control 2 channel motors for a 4 wheeled car...normally the relay works fine but after sometime 1 relay drops and it stays on i tried to drive the motor with other power source such as buck module which can give upto 2 amp but i am facing same problem again when the problem aroses if i increase the voltage of buck the problem solves again after using the relay for a while i face smae problem
Title: Re: Ask Massimo Anything...well almost anything!
Post by: srinu7221 on Mar 18, 2019, 06:06 am
Hai every one
 is it possible to add <servo.h> and <liquidcrystal.h> library files


<servo.h> program should execute first and after some time delay <LiquidCrystal.h> program should execute.
 

is it possible ????
here are the codes:
 
  (<servo.h>) code:


#include <Servo.h> 
#define trigPin 9 
#define echoPin 10 
Servo servo; 
int sound = 250; 
void setup() { 
Serial.begin (9600); 
pinMode(trigPin, OUTPUT); 
pinMode(echoPin, INPUT); 
servo.attach(8); 

void loop() { 
long duration, distance;
 
digitalWrite(trigPin, LOW); 
delayMicroseconds(2); 
digitalWrite(trigPin, HIGH); 
delayMicroseconds(10); 
digitalWrite(trigPin, LOW); 
duration = pulseIn(echoPin, HIGH); 
distance = (duration/2) / 29.1; 
if (distance < 5) { 
Serial.println("the distance is less than 5"); 
servo.write(70); 

else { 
servo.write(0); 

if (distance > 60 || distance <= 0){ 
Serial.println("The distance is more than 60"); 

else { 
Serial.print(distance); 
Serial.println(" cm"); 

delay(500); 
 }   



   (<LiquidCrystal.h>) code:




#include <LiquidCrystal.h>

LiquidCrystal lcd(1, 2, 4, 5, 6, 7);

const int trigPin = 9;

const int echoPin = 10;

long duration;

int distanceCm, distanceInch;

void setup() {
 
lcd.begin(16,2);

pinMode(trigPin, OUTPUT);

pinMode(echoPin, INPUT);

}

void loop() {
 
digitalWrite(trigPin, LOW);

delayMicroseconds(4);

digitalWrite(trigPin, HIGH);

delayMicroseconds(15);
digitalWrite(trigPin, LOW);


duration = pulseIn(echoPin, HIGH);

distanceCm = duration*0.034/2;

distanceInch = duration*0.0133/2;

lcd.setCursor(0,0);

lcd.print("Distance: ");

lcd.print(distanceCm);

lcd.print("  cm");

delay(60);

lcd.setCursor(0,1);

lcd.print("Distance: ");

lcd.print(distanceInch);

lcd.print("inch");

delay(60);


}     

 
Title: Re: Ask Massimo Anything...well almost anything!
Post by: pert on Mar 18, 2019, 06:25 am
I am using 4 channel relay to control 2 channel motors for a 4 wheeled car...
Hai every one
This thread was created to ask questions of Massimo Banzi for the Arduino Day 2019 AMA on 2019-03-16. That is now over. This is not the appropriate place to ask for help with your projects. If you want help, you need to choose the most appropriate section of the forum and then create a new thread.