Discuss Scratch
- Discussion Forums
- » Connecting to the Physical World
- » using scratch 2.0 or 1.4 to run arduino
- techdude123
-
45 posts
using scratch 2.0 or 1.4 to run arduino
does anybody know how you can use scratch to run arduino(coded in C++) or if it is even possible?
for further information about arduino, go to the arduino website
if anyone has any coding questions for C++, visit the reference section
if the reference section (link above) does not cover it, ask me by quoting the line below
questions about coding in C++
i will return to your question as soon as possible
please find out about the arduino uno
they are all coded the same but if there is interference, uno preferably
if it is not possible, then let me know
arduino connects to the computer using USB but has 32,256 bytes of code memory and can be used away from the computer on it's 9v battery
power-pak
for further information about arduino, go to the arduino website
if anyone has any coding questions for C++, visit the reference section
if the reference section (link above) does not cover it, ask me by quoting the line below
questions about coding in C++
i will return to your question as soon as possible
please find out about the arduino uno
they are all coded the same but if there is interference, uno preferably
if it is not possible, then let me know
arduino connects to the computer using USB but has 32,256 bytes of code memory and can be used away from the computer on it's 9v battery
power-pak
- techdude123
-
45 posts
using scratch 2.0 or 1.4 to run arduino
http://s4a.cat/
dude!
thank you soooooooooooooooooooo much
just 1 question:
is the S4A all i need to get?
Last edited by techdude123 (July 24, 2014 19:53:23)
- drmcw
-
1000+ posts
using scratch 2.0 or 1.4 to run arduino
I haven't used it or an Arduino so don't know, but would expect so (plus an arduino firmware update).
Last edited by drmcw (July 24, 2014 20:24:30)
- techdude123
-
45 posts
using scratch 2.0 or 1.4 to run arduino
when everyone on scratch is talking about firmware, what do they mean?
i do think that it would be safe to assume yes but under 1 condition:
you must have the arduino compiler so that it could run the code through that.
now that i think of it S4A may be it's own compiler but i doubt that it is because the .ino file (that's .ino) transmits in ASCII not binary like most things do so there must be another huge chunk of software that converts it
there is 1 more obstacle:
arduino is not like a lego we-do where it can talk to the computer, arduino is mobile but there is 1 kind of program that you can write to talk to the computer:
then it prints 13 on the serial monitor
I haven't used it or an Arduino so don't know, but would expect so.
i do think that it would be safe to assume yes but under 1 condition:
you must have the arduino compiler so that it could run the code through that.
now that i think of it S4A may be it's own compiler but i doubt that it is because the .ino file (that's .ino) transmits in ASCII not binary like most things do so there must be another huge chunk of software that converts it
there is 1 more obstacle:
arduino is not like a lego we-do where it can talk to the computer, arduino is mobile but there is 1 kind of program that you can write to talk to the computer:
void setup() { serial.begin(9600); serial.print(5 + 8); } void loop(){}
Last edited by techdude123 (July 25, 2014 14:49:13)
- drmcw
-
1000+ posts
using scratch 2.0 or 1.4 to run arduino
when everyone on scratch is talking about firmware, what do they mean?
Firmware is software which is written to non-volatile memory i.e. it will still exist when the power is off. It is usually the software which runs as soon as the device is started and so puts the device into a known state when switched on and provides a low level API for software.
It's not something you would need for Scratch. A PC has firmware in the shape of a BIOS.
Last edited by drmcw (July 25, 2014 15:26:37)
- techdude123
-
45 posts
using scratch 2.0 or 1.4 to run arduino
i have no idea what you are talking about because it is just too darn complicated for me
please explain it more simply
i will not have to update the hardware right?
please explain it more simply
i will not have to update the hardware right?
- mactro
-
28 posts
using scratch 2.0 or 1.4 to run arduino
What is meant by firmware here is a code that tells Arduino what to do with commands that it receives from a PC running Scratch. You don't need to change anything in hardware, just upload appropriate Arduino sketch.
- techdude123
-
45 posts
using scratch 2.0 or 1.4 to run arduino
Ok!
Now that this is well understanded, I am going to close this topic
Now that this is well understanded, I am going to close this topic
- Discussion Forums
- » Connecting to the Physical World
-
» using scratch 2.0 or 1.4 to run arduino