Learning Programming

Hello

I am trying to lear Arduino programming on my own. As you can imagine, it’s not easy.

So;

I am trying to set up a PIR in my backyard that when triggered will transmit an alert to an LCD inside.

I prefer to use ASK, if possible.

I searched the IDE examples and all over the internet for tutorials and examples.

Can someone point me towards some tutorials or examples for help. Thanks

Arduino links of interest.

How to use this forum:
https://forum.arduino.cc/index.php?topic=149014.0

Listing of downloadable 'Arduino PDFs' :
Either Google >>>- - - - > arduino filetype: pdf
Or
https://www.google.ca/search?q=arduino+filetype%3A+pdf&rlz=1C9BKJA_enCA739CA739&oq=arduino+filetype%3A+pdf&aqs=chrome..69i57j69i65.1385j0j7&hl=en-US&sourceid=chrome-mobile&ie=UTF-8

Listing of downloadable 'C++ PDFs' :
Either Google >>>- - - - > C++ filetype: pdf
Or
https://www.google.ca/search?q=c%2B%2B+filetype%3A+pdf&rlz=1C9BKJA_enCA739CA739&oq=c%2B%2B+filetype%3A+pdf&aqs=chrome..69i57.22790j0j7&hl=en-US&sourceid=chrome-mobile&ie=UTF-8

Arduino cheat sheet:

Troubleshooting common errors:

Watch these:
Arduino programming syntax:
https://m.youtube.com/watch?v=CbJHL_P5RJ8

Arduino arithmetic operators:

Arduino control flow:

Arduino data types:

Why MOSFET gate resistors:

Some things to read

Reading a schematic:
https://learn.sparkfun.com/tutorials/how-to-read-a-schematic

Language Reference:
https://www.arduino.cc/en/Reference/HomePage

Foundations:

How and Why to avoid delay():
http://playground.arduino.cc/Code/AvoidDelay

Demonstration code for several things at the same time.
http://forum.arduino.cc/index.php?topic=223286.0

Multitasking:
Part 1:

Part 2:

Part 3:

Micro Controllers:

Useful links:

Arduino programming traps, tips and style guide:
http://www.gammon.com.au/forum/?id=12153

Call for useful programming discussions

Jeremy Blume:
https://m.youtube.com/playlist?list=PLA567CE235D39FA84

Arduino products:
https://www.arduino.cc/en/Main/Products

Motors/MOSFETs
http://www.gammon.com.au/motors

Switches:
http://www.gammon.com.au/forum/?id=11955

Share tips you have come across, 500+ posts:

Images from above:
https://www.google.com/search?q=“Share+tips+you+have”+larryD+site:https://forum.arduino.cc&prmd=nmvi&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiJw-zu68ncAhXPGTQIHWCDCNwQ_AUIFCgE&biw=1024&bih=653

Debug discussion:

Great stuff. Thanks

Programming is hard but the Arduino is one of the easiest ways to get started. It's "different" from almost anything else not everybody can be good at it. People who are good at math, logic, and puzzles usually make good programmers.

Do you know any electronics? The Arduino is half-hardware and half-software.

I always say... The best way to learn anything is by taking a class. Books are 2nd best, and the Internet is the hardest way to learn. The Internet is a great reference, and there's enough information on the Net to learn brain surgery, but most doctors have gone to medical school. :wink: Most professional programmers and electronics engineers also have college degrees.

That said, I'm pretty sure most Arduino users probably taught themselves.

The problem with most books is that they teach a particular programming language without teaching the "big picture" concepts of what programming is all about. Once you've learned one programming language and the basic programming concepts, it's not too hard to pick-up a book or go online to learn another one.

Your project shouldn't be too hard. Can you run a wire from the PIR or does it need to be wireless? If you can use a wire, the hardest part is wiring-up the LCD and figuring-out how to use whatever library communicates with it. Wireless communication will again require a library that you'll have to figure-out, and probably Arduino on both ends.

Youtube.......Jeremy Blum
Ralph Bacon
Julian Ilett