Discussion:
[ale] Coursera: Arduino and C
leam hall via Ale
2018-03-22 13:07:30 UTC
Permalink
Hey all,

In case you don't know, Coursera has a lot of free or lower cost
courses. Since some of you have been talking about the RPi, I figured
there might be some Arduino fans here.

https://www.coursera.org/learn/arduino-platform

Leam
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Joey Kelly via Ale
2018-03-22 17:44:29 UTC
Permalink
Post by leam hall via Ale
Hey all,
In case you don't know, Coursera has a lot of free or lower cost
courses. Since some of you have been talking about the RPi, I figured
there might be some Arduino fans here.
So what or what class of things can Arduino do that RPi can't? The Pi has pin-
outs, etc.

Asking for a clueless friend...
--
Joey Kelly
Minister of the Gospel and Linux Consultant
http://joeykelly.net
504-239-6550
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
leam hall via Ale
2018-03-22 18:37:06 UTC
Permalink
Post by Joey Kelly via Ale
Post by leam hall via Ale
Hey all,
In case you don't know, Coursera has a lot of free or lower cost
courses. Since some of you have been talking about the RPi, I figured
there might be some Arduino fans here.
So what or what class of things can Arduino do that RPi can't? The Pi has pin-
outs, etc.
Asking for a clueless friend...
Joey, I think both platforms have strengths. I like taking classes and
found that one. Not my joy, but thought others might want to look into
it.

Happy Thursday!

Leam
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Chuck Payne via Ale
2018-03-22 18:41:15 UTC
Permalink
Post by Joey Kelly via Ale
Post by Joey Kelly via Ale
Post by leam hall via Ale
Hey all,
In case you don't know, Coursera has a lot of free or lower cost
courses. Since some of you have been talking about the RPi, I figured
there might be some Arduino fans here.
So what or what class of things can Arduino do that RPi can't? The Pi
has pin-
Post by Joey Kelly via Ale
outs, etc.
Asking for a clueless friend...
Joey, I think both platforms have strengths. I like taking classes and
found that one. Not my joy, but thought others might want to look into
it.
Happy Thursday!
Leam
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
You can get a free Arduino from Electro Hobby, just pay shipping and
handling.

https://electrohobby.ga/products/arduino-uno

That would be cool with the free classes.
--
Terror PUP a.k.a
Chuck "PUP" Payne
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- Terrorpup
openSUSE Ambassador/openSUSE Member
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363

Have you tried SUSE Studio? Need to create a Live CD, an app you want to
package and distribute , or create your own linux distro. Give SUSE Studio
a try.
Lightner, Jeffrey via Ale
2018-03-22 18:57:37 UTC
Permalink
Ha. You can get “free” diet pills if you only pay “shipping and handling”.

My favorite dodge nowadays is that many products you can buy will “send you a second one free - just pay SEPARATE shipping and handling”. They never say why they can’t ship both at the same time.

I recall years ago there was something I was mildly interested in from a TV advert and confirmed it was a scam when they told me they couldn’t provide at order time how much the “shipping and handling “ was going to be. Needless to say I didn’t order it.


From: Ale [mailto:ale-***@ale.org] On Behalf Of Chuck Payne via Ale
Sent: Thursday, March 22, 2018 2:41 PM
To: leam hall; Atlanta Linux Enthusiasts
Subject: Re: [ale] Coursera: Arduino and C
Post by Joey Kelly via Ale
Post by leam hall via Ale
Hey all,
In case you don't know, Coursera has a lot of free or lower cost
courses. Since some of you have been talking about the RPi, I figured
there might be some Arduino fans here.
So what or what class of things can Arduino do that RPi can't? The Pi has pin-
outs, etc.
Asking for a clueless friend...
Joey, I think both platforms have strengths. I like taking classes and
found that one. Not my joy, but thought others might want to look into
it.

Happy Thursday!

Leam
_______________________________________________
Ale mailing list
***@ale.org<mailto:***@ale.org>
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo

You can get a free Arduino from Electro Hobby, just pay shipping and handling.

https://electrohobby.ga/products/arduino-uno

That would be cool with the free classes.
--
Terror PUP a.k.a
Chuck "PUP" Payne
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- Terrorpup
openSUSE Ambassador/openSUSE Member
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363

Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try.
Byron Jeff via Ale
2018-03-22 19:39:34 UTC
Permalink
Arduinos have two/three advantages:

1. No OS (generally) means much tighter systems control because of less overhead.
2. Built in ADC
3. Has 5V variants.

RasPi Advantages
1. Full blown Linux OS. So high level software packages are easy to install/use.
2. Much better onboard connections (HDMI, Ethernet, Wifi/Bluetooth) out of
the box with RasPi 3 and ZeroW.
3. More memory.

I have both. Arduinos for little projects that don't need connectivity.
RasPi's for IoT deployments.

My next project is building my own EVSE for my Fiat 500e. It'll actually
have both. The Arduino for OpenEVSE and a RasPi Zero W as the wireless and
display interface. Amazingly you can get both from Microcenter for less
than $10 total.

BAJ
Post by Joey Kelly via Ale
Post by leam hall via Ale
Hey all,
In case you don't know, Coursera has a lot of free or lower cost
courses. Since some of you have been talking about the RPi, I figured
there might be some Arduino fans here.
So what or what class of things can Arduino do that RPi can't? The Pi has pin-
outs, etc.
Asking for a clueless friend...
--
Joey Kelly
Minister of the Gospel and Linux Consultant
http://joeykelly.net
504-239-6550
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
--
Byron A. Jeff
Associate Professor: Department of Computer Science and Information Technology
College of Information and Mathematical Sciences
Clayton State University
http://faculty.clayton.edu/bjeff
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Charles Shapiro via Ale
2018-03-23 15:20:39 UTC
Permalink
Byron is correct. I'm currently working on an "Intro to Raspberry Pi"
class for Decatur Makers. I've got code to control an LED from a browser
in several different ways. It's pretty hard to get the LED to blink faster
than about once a second on a Pi running Raspbian because you're talking to
it through an entire multi-user OS. On the Arduino, it's trivial to blink
at any rate you want, up to fast enough that it looks steady.

The standard programming language for the Arduino is a slightly dumbed-down
version of C++. That means that a background in C or C++ makes it easy to
get an Arduino to do interesting things. You can actually load a bunch of
different OSs onto a Raspberry Pi, but the most common one ( Raspbian) is
essentially Debian. A background in Linux ( or, ideally, Debian) makes it
Easy to work on. If you want more real-time performance out of your RPI,
you can use ROS ( http://www.ros.org/ ) or some other solution. Also
please to note that the RPI lacks a real-time clock. Adding a board to give
you that is pretty easy, but you'll also need to make some software changes
for the Pi's OS to see it properly.

For $26 or so, you can get a camera which connects directly to a raspberry
pi. The later Pis (like, Pi 2 or Pi 3 models) have enough muscle to
compile and run OpenCV, so you can make robots which can actually see and
react to stuff Out There. A great choice for your Unstoppable Robot Army.

BTW Decatur Makers is doing a most excellent 4-hour Intro to Arduino class
April 7 ( https://www.meetup.com/Decatur-Makers/events/248928110/ ) . I'm
T.A. ing that one. It involves hanging about three components off an
Arduino board, experimenting with each one as you go. This will be the
second time it's offered, so some of the most obvious kinks have been
ironed out.

-- CHS
Post by Byron Jeff via Ale
1. No OS (generally) means much tighter systems control because of less overhead.
2. Built in ADC
3. Has 5V variants.
RasPi Advantages
1. Full blown Linux OS. So high level software packages are easy to install/use.
2. Much better onboard connections (HDMI, Ethernet, Wifi/Bluetooth) out of
the box with RasPi 3 and ZeroW.
3. More memory.
I have both. Arduinos for little projects that don't need connectivity.
RasPi's for IoT deployments.
My next project is building my own EVSE for my Fiat 500e. It'll actually
have both. The Arduino for OpenEVSE and a RasPi Zero W as the wireless and
display interface. Amazingly you can get both from Microcenter for less
than $10 total.
BAJ
Post by Joey Kelly via Ale
Post by leam hall via Ale
Hey all,
In case you don't know, Coursera has a lot of free or lower cost
courses. Since some of you have been talking about the RPi, I figured
there might be some Arduino fans here.
So what or what class of things can Arduino do that RPi can't? The Pi
has pin-
Post by Joey Kelly via Ale
outs, etc.
Asking for a clueless friend...
--
Joey Kelly
Minister of the Gospel and Linux Consultant
http://joeykelly.net
504-239-6550
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
--
Byron A. Jeff
Associate Professor: Department of Computer Science and Information Technology
College of Information and Mathematical Sciences
Clayton State University
http://faculty.clayton.edu/bjeff
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Joe Knapka via Ale
2018-04-05 06:18:04 UTC
Permalink
Post by Charles Shapiro via Ale
Byron is correct. I'm currently working on an "Intro to Raspberry Pi"
class for Decatur Makers. I've got code to control an LED from a browser
in several different ways. It's pretty hard to get the LED to blink faster
than about once a second on a Pi running Raspbian because you're talking to
it through an entire multi-user OS.
I find that statement... shocking, I guess. There's an OS, yes, but also
the RPi is clocked 100-ish times faster than an Uno. I mean it can render
full-motion video in real time, right? C code to twiddle a pin on the RPi
ought to be able to flash an LED at a rate that looks like steady-on to a
human... your web page can invoke that C code as a CGI script or whatever.

Or when you say "control an LED from a browser", do you mean the on/off
transitions are being controlled by code running in the browser? Because
then that would make sense to me. But it wouldn't be about Arduino vs RPi,
it would be about browser+network vs hardware.

Confused,

- JK

[snip]
Charles Shapiro via Ale
2018-04-05 15:27:57 UTC
Permalink
Oh, sorry, you right of course.

I'm controlling the LED through a CGI script ( or with a server written
with CherryPy). My real limitation is that I'm only inputting whole second
values through the web page -- which is easily fixable at the cost of more
complex code. I'm not going there for a demo.

What I was trying to say was that Raspbian is multi-user, hence a little
bit non-deterministic when it comes to really precise timing out the GPIO
pins. If you *** must must must *** have a precise schedule, you probably
want ROS or some other RTOS, rather than a time-sharing one.

-- CHS
Post by Joe Knapka via Ale
Post by Charles Shapiro via Ale
Byron is correct. I'm currently working on an "Intro to Raspberry Pi"
class for Decatur Makers. I've got code to control an LED from a browser
in several different ways. It's pretty hard to get the LED to blink faster
than about once a second on a Pi running Raspbian because you're talking to
it through an entire multi-user OS.
I find that statement... shocking, I guess. There's an OS, yes, but also
the RPi is clocked 100-ish times faster than an Uno. I mean it can render
full-motion video in real time, right? C code to twiddle a pin on the RPi
ought to be able to flash an LED at a rate that looks like steady-on to a
human... your web page can invoke that C code as a CGI script or whatever.
Or when you say "control an LED from a browser", do you mean the on/off
transitions are being controlled by code running in the browser? Because
then that would make sense to me. But it wouldn't be about Arduino vs RPi,
it would be about browser+network vs hardware.
Confused,
- JK
[snip]
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Chuck Payne via Ale
2018-04-05 15:33:34 UTC
Permalink
Anyone UNO offer

https://www.gotechnic.org/products/basic-kit-arduino-uno-r3
Post by Charles Shapiro via Ale
Oh, sorry, you right of course.
I'm controlling the LED through a CGI script ( or with a server written
with CherryPy). My real limitation is that I'm only inputting whole second
values through the web page -- which is easily fixable at the cost of more
complex code. I'm not going there for a demo.
What I was trying to say was that Raspbian is multi-user, hence a little
bit non-deterministic when it comes to really precise timing out the GPIO
pins. If you *** must must must *** have a precise schedule, you probably
want ROS or some other RTOS, rather than a time-sharing one.
-- CHS
Post by Joe Knapka via Ale
Post by Charles Shapiro via Ale
Byron is correct. I'm currently working on an "Intro to Raspberry Pi"
class for Decatur Makers. I've got code to control an LED from a browser
in several different ways. It's pretty hard to get the LED to blink faster
than about once a second on a Pi running Raspbian because you're talking to
it through an entire multi-user OS.
I find that statement... shocking, I guess. There's an OS, yes, but also
the RPi is clocked 100-ish times faster than an Uno. I mean it can render
full-motion video in real time, right? C code to twiddle a pin on the RPi
ought to be able to flash an LED at a rate that looks like steady-on to a
human... your web page can invoke that C code as a CGI script or whatever.
Or when you say "control an LED from a browser", do you mean the on/off
transitions are being controlled by code running in the browser? Because
then that would make sense to me. But it wouldn't be about Arduino vs RPi,
it would be about browser+network vs hardware.
Confused,
- JK
[snip]
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
--
Terror PUP a.k.a
Chuck "PUP" Payne
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- Terrorpup
openSUSE Ambassador/openSUSE Member
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363

Have you tried SUSE Studio? Need to create a Live CD, an app you want to
package and distribute , or create your own linux distro. Give SUSE Studio
a try.
Scott Plante via Ale
2018-03-22 19:37:59 UTC
Permalink
I'm no expert, but my understanding is that the Arduino basically runs one single threaded application only whereas the RPi runs a whole Linux OS with multiple programs running just like any Linux box. The one advantage of the Arduino then is it's more deterministic, as in you're not going to have multitasking interrupting your code. But then that puts more work on the programmer if they're trying to do anything somewhat complex. I understand they're used together a lot of times--say one RPi might coordinate multiple Arduinos, each doing one discrete function. E.g. each Arduino might be adjusting a motor based on some sensor values in real time, while the RPi might be monitoring those Arduinos' output pins, collecting some data from each, and reporting it over wi-fi to a web service, and then changing the signal on some input pins of the Arduino based on user web input to alter the logic of how it adjusts the motor to the sensor values.

----- Original Message -----

From: "Joey Kelly via Ale" <***@ale.org>
To: "leam hall" <***@gmail.com>, "Atlanta Linux Enthusiasts" <***@ale.org>
Sent: Thursday, March 22, 2018 1:44:29 PM
Subject: Re: [ale] Coursera: Arduino and C
Post by leam hall via Ale
Hey all,
In case you don't know, Coursera has a lot of free or lower cost
courses. Since some of you have been talking about the RPi, I figured
there might be some Arduino fans here.
So what or what class of things can Arduino do that RPi can't? The Pi has pin-
outs, etc.

Asking for a clueless friend...
--
Joey Kelly
Minister of the Gospel and Linux Consultant
http://joeykelly.net
504-239-6550
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Scott Plante via Ale
2018-04-03 17:39:31 UTC
Permalink
Thanks for that, Chuck! I ordered one late that day and got it yesterday--so it came in ~7 business days. The S&H ended up being $6.99, which seems reasonable coming directly from Shenzhen, China. I guess they didn't "handle" it too much ;-) I haven't gotten the chance to try it out yet, but it looks like it's in good condition.
--
Scott Plante
404-873-0058 x104


----- Original Message -----

From: "Chuck Payne via Ale" <***@ale.org>
To: "leam hall" <***@gmail.com>, "Atlanta Linux Enthusiasts" <***@ale.org>
Sent: Thursday, March 22, 2018 2:41:15 PM
Subject: Re: [ale] Coursera: Arduino and C








...



You can get a free Arduino from Electro Hobby, just pay shipping and handling.

https://electrohobby.ga/products/arduino-uno



That would be cool with the free classes.
--
Terror PUP a.k.a
Chuck "PUP" Payne
Loading...