Electronics Forum Longest Thread
#1
Posted 08 March 2013 - 05:51 AM
SSCoasters Administrator
Read The Forum Rules(smart)
#2
Posted 08 March 2013 - 05:52 AM
SSCoasters Administrator
Read The Forum Rules(smart)
#3
Posted 08 March 2013 - 03:07 PM
This is my candy: Overview | LED Gummy Candies | Adafruit Learning System
https://encrypted-tb...Y0DYlRKE8AB4_aQ
these are my chips.
#4
Posted 06 June 2014 - 12:51 PM
He couldn't resistor!
#5
Posted 06 June 2014 - 03:09 PM
#6
Posted 03 July 2014 - 12:13 PM
I want to learn C/C++/Arduino languages, and I am wondering how you guys learned to program and how I should attempt to learn it?
This is what I know about C so far.
-it's a programming language
- it needs to have int main
- all of these symbols = == ! {} () //
So I basically know nothing about C, or any other language of programming.
This is my greatest masterpiece..
#include <stdio.h>
int main()
{
int time;
printf("enter your age");
scanf("%d", &time);
if (time<18) {
printf( "not even an adult yet\n") ;
}
else if (18<time<100) {
printf("you are an oldie\n");
}
else {
printf("the perfect age");
}
return 0
}
As you can see, it is plenty far from being able to automate a roller coaster. I have bought the arduino starter kit with the books of activities. If I do all of the activities, do you think I will be able to automate a coaster, or will I need further education?
Any help is appreciated, thanks
Wait a second, the English language doesn't have a second person plural pronoun! Sorry to be off topic but I just realized that.
#7
Posted 03 July 2014 - 01:50 PM
Try to figure out how all those testprograms work, try changing and combining them and that way you will learn. In the end the arduino programming environment is quite a bit different than standard C.
The code you've shown here is indeed in C, but it has little relevance considering what you'll program on your arduino.
#9
Posted 04 July 2014 - 04:12 AM
C (and later C++ & C#) it's one off the most versatile languages ever devised. Originally created to program ARPANet and the Unix OS. Anything you can imagine can be done in C.
Programming is controlling logic gates. If then, do until, and, or, nor, xor... all the fundamentals are good to know as you will need then to program chips. So don't skip C, learn it, master it, along with Python and Jscript, Php and SQL, and the myriad of new languages sprouting up every year will be cakewalk to pick up as it's a matter of syntax to get the task done.
You can never learn enough about programming.
[SIGPIC][/SIGPIC]
Top 5: Gatekeeper | Millennium Force | Magnum XL-200 | Excalibur | High Roller
WIP: Spongebob Squarepants Rock Bottom Plunge - VV recreation
#10
Posted 04 July 2014 - 04:31 AM
#11
Posted 04 July 2014 - 10:47 AM
just because arduino isn't C based doesn't mean don't learn C, to the contrary learn many programming languages. The fundamentals are the same, its a matter of the languages syntax to accomplish the task.
C (and later C++ & C#) it's one off the most versatile languages ever devised. Originally created to program ARPANet and the Unix OS. Anything you can imagine can be done in C.
Programming is controlling logic gates. If then, do until, and, or, nor, xor... all the fundamentals are good to know as you will need then to program chips. So don't skip C, learn it, master it, along with Python and Jscript, Php and SQL, and the myriad of new languages sprouting up every year will be cakewalk to pick up as it's a matter of syntax to get the task done.
You can never learn enough about programming.
Thanks, So I can just use arduino to do simple programs,(but flexible according to the website) but learning other languages will allow me to have a broader understanding for programming including the arduino language. I think I will just stick with playing with my arduino,unless/until I become fond of programming. Once I am sure that programming is for me, then I will definetly jump into C and other languages.My point was that you can learn programming in a fun way using your arduino and the provided environment. Terry, you are right, any experience with programming will help, but with arduino it is not at all required.
Does this sound like a good plan?
Thanks again
#13
Posted 14 August 2014 - 10:11 PM
[SIGPIC][/SIGPIC]
Top 5: Gatekeeper | Millennium Force | Magnum XL-200 | Excalibur | High Roller
WIP: Spongebob Squarepants Rock Bottom Plunge - VV recreation
#15
Posted 18 August 2014 - 03:02 PM
SSCoasters Administrator
The SSCoasters Forum Rules
#16
Posted 20 August 2014 - 09:35 PM
[SIGPIC][/SIGPIC]
Top 5: Gatekeeper | Millennium Force | Magnum XL-200 | Excalibur | High Roller
WIP: Spongebob Squarepants Rock Bottom Plunge - VV recreation
#17
Posted 03 October 2014 - 08:23 PM
Edit: Nevermind, figured it out myself.
Edited by timtimlaz, 03 October 2014 - 09:07 PM.
#18
Posted 25 October 2014 - 04:28 PM
Here's a video of the board hooked up to the broken (currently in repair!) central hub of AIR.:
There is however a slight thing, the way we got it to work is in a slightly glitchy way. Because of this you can hold down the button to keep the motor running indefinitely. Only if the button is de-pressed for at least 1 second after the timer has stopped the timer will reset and start working again when the button is pressed. It's not a problem. It's worse than what happened before where you had to keep the button pressed for the motor to run only to be shut of automatically after the timer ran out. It's weird and hard to describe what was going on. The fix came down to adding an extra wire from the output side of the relay (parallel with the motor) directly back into the input for the button.
Here's an e-bay link for ya'll if you are interested.
http://www.ebay.com/...E:X:AAQ:US:1123
And here is the super silly schematic I quickly drew up to before trying to fix the issue we had. And yes, it works. (Button is Normally Open) (Note that to make this work you actually use the AC (no S5 jumper!) mode! However, do NOT use AC power!)
EDIT: Easy fix for holding down the button. Put the button on the NC contact from the board and add a diode on the line from the NO to the Vcc with the cathode facing the Vcc side.
Edited by Maxlaam, 26 October 2014 - 05:32 AM.
SSCoasters Administrator
Read The Forum Rules(smart)
#19
Posted 21 April 2016 - 04:36 PM
Since I have an Arduino on my desk at work, I've decided to learn how to use it in my spare time. It will take a while to get familiar with the coding, but I can figure most of that out through the internet. My questions are related to hardware.
What types of motors (stepper, servo, etc.) are best for small motions like station gates or animatronics? How about a lift hill motor? Will I always need a separate power supply, or can I use the Arduino board's built-in one?
#20
Posted 22 April 2016 - 10:18 AM
Definitely want to power the motors from a different supply. Arduino voltage regulator will overheat
If you want to just turn them on and off use mosfets if you want to control the speed or reverse them use H Bridges You can get a nice motor control shield that can control 4 motors with HBridges and Adafruit site has a nice software package that works with them.
Comet Recreation still underway.
Proof you never grow up if you keep playing with toys!