Go Down

Topic: Where to start and where to go from there? (Read 9 times) previous topic - next topic

Peter9DO

Yes, I'm using the servo library, the servo sweep sketch to be exact. My problem is that I need to sweep only once from start = 0 to 180 and then back to 0 on command of a push button. I just can't seem to get it to work, but then again, I don't know what I'm doing... lol! 
What if Burt Reynolds, really changed his name to Turd Ferguson?

Peter9DO

I don't want to clog up this thread with my personal issues that I'm having with a single project. If you wouldn't mind I have posted my sketch (that is still a work in progress) here: http://arduino.cc/forum/index.php/topic,108375.0.html
I'm hoping this thread will get a little more attension and people that are just starting or got threw a book and don't know where to go from there, could maybe find a little direction on this from the more experienced members.
What if Burt Reynolds, really changed his name to Turd Ferguson?

EVP

I started programming BASIC for fun on the ZX spectrum when i was very young. That more than anything else is i think of the most use.
It got my brain thinking in the right way. I stopped when i got to about 13/14. I started copying the code from the back of manuals at the age of 6. From 13 onwards i made/make electronic music. I wasn't really that musical it was a smooth transition from programming to music via samplers and electronics. I started programming again when i was 20 as i thought i might get a job with it ( i didn't ). I could still remember most of what i had done as a kid and decided a couple of night classes twice a week in C++ for dos would bring me back up to speed. (It didn't). I realised that programming for windows was so far from the original world i knew that i didn't really like it. It wasn't or didn't seem very creative. I did very well in my C++ class the teacher worked for a company called Pace that built set top box's and most of what i learnt was geared for embedded systems. cash points/ISBN scanners and other stuff. At the time i didn't see any use for it beyond getting a basic grounding in C++. I have always like electronics but not really been that good at the understanding of it. Worked for a company called Calrec putting circuit boards together for mixing desks when i left school and got very good at putting stuff together.
I've never had a problem with thinking up what to do i always have more ideas than i do time or money. A couple of years ago i found the Arduino and suddenly i had a platform to leverage all my skills, from electronic construction to programming and coupled with a lot of creativity. I find learning relatively easy as long as it's something i really want to do.

dxw00d

Quote
I started programming BASIC for fun on the ZX spectrum when i was very young. That more than anything else is i think of the most use.


It was a BBC in my case, but you are quite right. It is a real shame that there is nothing with the same 'switch on, start programming instantly' available now. Compiled languages obviously have their place, but the 'boot straight to interpreted BASIC' machines were a great way to get started.

focalist

#9
Jun 15, 2012, 05:55 pm Last Edit: Jun 15, 2012, 06:03 pm by focalist Reason: 1
That is one thing I'd love to see implemented, and I think it's been done in parts.  I think the 328 is a bit light for it, but a Mega with it's extra RAM (that being the critical item usually) could do it.  What I have envisioned is using the PS/2 keyboard lib, TVout Lib, and some implementation of BASIC interpreter/console.  Black and white composite video out done with two resistors.

I think Nick Gammon has implemented something, and others probably also, involving a bootloader variant that looks to an SD card to see if there's new firmware to flash, and if found, flashes.  By the way, I think in general, I am going to look into this idea further, as it seems to me that would be a great way to handle reflashing sometimes. No computer needed, just carry a SD card with the updated firmware, reboot, and it flashes the new software.  Kinda reminiscent of Cartridges (ROM) from the old Atari systems of my youth.  Come to think of it, I would love to have that on a shelf to grin at now and then.. Atari ROM BASIC.

I think there are several BASIC implementations out there that could probably fit the bill and could be compiled under GCC, yes?

In any case, to the Original Poster..

You are doing great.  Nothing is going to teach you more than getting something wrong and having to figure out what you need to do to fix it.. no better way to understand a thing than doing it.  I'm dangerously undertrained and drawn to exceedingly foolish ideas.  I consider physical laws an attempt by the Man to keep me Down.  When I see something that works well, I know in my heart that I can do it less efficiently, in a more costly manner, and probably with significant risk to innocent children. In other words, I'm the guy every real engineer hates.  Arduino is made for us.

Your best resource is these forums and the people that populate them.  It's really simple here, actually- as long as it's a reasonably intelligent question, and you've attempted to understand it or search out an answer- ask away!  Most of us here are in the same boat as you.. we are learning.  We're NOT professional engineers.. we are the target audience of the Arduino project- students, artists, and others that have a need or interest in using embedded systems, but in all honesty don't want to have to get neck-deep in registers and interrupts to do so.  Just a simplified version of "C", the most fundamental of all modern programming languages.  You really can't choose a better language (IMO) for this type of work, and what's great is that what you learn here applies to languages that are used throughout the IT world.  You learn C, you basically have also gotten a good grasp of ALL structured languages, including C++ and Java... and since Arduino is "C" with training wheels, take some time to read through the code in the examples provided with the IDE.  They for the most part show how many of the commands are used, in real working programs.. I often will start with one of the examples and then build my code out from the skeleton framework provided from the example.

Happily, there is a BIG contingent of absolute engineering geniuses who jump in when they see someone who really is trying to understand and needs some assistance.. and as time goes on, these noobies rapidly start answering questions as they also learn.  It really is a very interesting dynamic, welcome to it!

If there's a core truth to the Arduino project it is this:  "Arduino is what you make of it...."
When the testing is complete there will be... cake.

Go Up