No idea how to use Arduino - Page 1
Forum section: electronics / beginners

author: Larsson55
author_rank: Regular Contributor
timestamp: January 28, 2025, 04:06:01 am
content: The link below indicates a marbles run project which I want to build but the only obstacle is the Arduino part which I never used and have no idea how to implement. I'm good with computers and the Windows environment but I'm not sure how much this may help. The link contains at the bottom all info about the Arduino parts including the code to program it. Is it possible to complete the Arduino part with some help from this forum or I better forget this projecthttps://www.instructables.com/A-Wooden-Marble-Run-in-a-Frame/Thanks

author: brucehoult
author_rank: Super Contributor
timestamp: January 28, 2025, 04:17:15 am
content: Have you done any programming at all?Getting an Arduino to read a microswitch and operate an RC servo is very simple. And he's already provided his program code, which is less than 100 lines of actual code.

author: pcprogrammer
author_rank: Super Contributor
timestamp: January 28, 2025, 07:13:13 am
content: The only problematic part here is that the Arduino mini pro needs additional hardware to program it. Either a USBASP or a USB2Serial module.https://www.aliexpress.com/item/1005007987591843.htmlhttps://www.aliexpress.com/item/1005005441337818.htmlorhttps://www.aliexpress.com/item/1005007892154895.htmlAnother option is to just use an Arduino nano.https://www.aliexpress.com/item/1005006387336449.htmlIt already has a USB to serial converter on the board. It is slightly longer but for the working it is the same as an Arduino mini pro.The software to program the Arduino board is simple and can be installed on Windows.https://www.arduino.cc/en/softwareThere are lots of tutorials online that can help you with the programming of the board.

author: bingo600
author_rank: Super Contributor
timestamp: January 28, 2025, 07:19:45 am
content: Quote from: Larsson55 on January 28, 2025, 04:06:01 amI'd suggest you get an Arduino Nano v3 , because it has a built in USB--> Serial adapter on the board (used for programming the Arduino)Then you download and install the arduino IDEhttps://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing/?queryID=b15ea01b325559d5096332d809e67f5fSetup the Arduino ide for Arduino Nanohttps://www.instructables.com/Arduino-Nano-1/You might have to install the Arduino servo library too- I think it's preinstalled .. So first try wo. installing this libThen you download the MarbleRun.ino from the website , and open it in the installed arduino ide.I could offer a Compiled binary , but you would need the Arduino programmer (avrdude) installed , and the IDE does that for you too.So unless someone local to you offers to program a Nano for you , you're better off installing the IDE , and program it your self./BingoPs: This might show a bit about how2 compile and program the arduinoArduino servo demoPPs: You can download the Arduino IDE , and test/compile the Marble program wo. having the Arduino hardware (aka now) , just don't try to upload the program

author: XxMandragoraxX
author_rank: Contributor
timestamp: January 28, 2025, 07:23:35 am
content: It is an interesting project, do not give up because you find stones on the way.As colleagues say, it is very simple to use Arduino. You download the IDE, connect the Arduino via USB to the PC and connect the IDE to the Arduino by selecting the port through which it is connected. copy and paste the code and upload it to the board. ready you have the arduino programmed.You just have to connect all the components in place and done!! Never abandon a project due to difficulties. That's the fun of learning.GL!!

author: Larsson55
author_rank: Regular Contributor
timestamp: January 28, 2025, 07:39:51 am
content: Quote from: pcprogrammer on January 28, 2025, 07:13:13 amThank you for the useful links, I will go for the Arduino nano. Back in the 80's I took a course in MS Basic but it was only for my use and never did any actual programming. However I have done some programming in MS Access and Excel when I was working but that was long time ago, now I'm retired. I think I will start this project and when the time comes to purchase the Arduino parts I will come back here and ask for more help as needed. In the mean time I will search the web for info in the Arduino programmingMany thanks

author: bingo600
author_rank: Super Contributor
timestamp: January 28, 2025, 07:54:02 am
content: Quote from: Larsson55 on January 28, 2025, 07:39:51 amThe programming language of "Arduino" (Which in fact is just a bunch of libraries)Is : C++ or CIt can be a steep entry.But for just installing the Marble program , you just need to "Compile & Upload" it to the Arduino Nano .... AKA a few clicksBtw:The "standard" Nano uses an USB Mini plug ...Buy one w cable , if you don't have such a cable A to Mini.But i think i also see NANO's w. USBC.Just make sure you get a Nano w a M328P MCU ... Not a M168P (half program size), as some vendors also offer

author: Larsson55
author_rank: Regular Contributor
timestamp: January 28, 2025, 07:57:45 am
content: Quote from: bingo600 on January 28, 2025, 07:54:02 amI understand, thank you

author: RoGeorge
author_rank: Super Contributor
timestamp: January 28, 2025, 08:20:47 am
content: Quote from: Larsson55 on January 28, 2025, 04:06:01 amYes, the project gives you the Arduino program already. The Arduino code is the attached .ino file from that instructable page. All you have to do is to load the given .ino into your Arduino board. You don't need to learn C/C++ for that.To program the Arduino board for your marble machine:-1. download and install the "Arduino IDE" fromhttps://www.arduino.cc/en/software(the "Arduino IDE" is the software that lets you program your Arduino board, or if you know C/C++, it lets you create your own Arduino programs, or modify existing ones - programs are called "sketches" in the Arduino lingo, and their file type is ".ino")-2. from the Arduino IDE you just installed, open the .ino file you got from the instructable page ("MarbleRun.ino")-3. connect the "Arduino nano" board to the USB-4. select the board type you have from the Arduino IDE-5. press the button to upload the sketch (the .ino), LEDs on the Arduino board will blink for a minute or so while the .ino is flashed into the Arduino board, and that's it.The Arduino board is now programmed. Unplug and wire the board to your marble machine.If you get stuck at any of the 5 steps above, ask here. Tell what it didn't work, and in what way it didn't work (or what errors you see on the screen), and you'll get further advice.Good luck with the marble machine.

author: pcprogrammer
author_rank: Super Contributor
timestamp: January 28, 2025, 08:40:21 am
content: Quote from: bingo600 on January 28, 2025, 07:54:02 amOn Aliexpress you can get an Arduino nano with three flavors of USB connector. Mini, micro or C. The link I provided in my previous post offers them all.Quote from: bingo600 on January 28, 2025, 07:54:02 amYes that is a good point. Again, the link I provided offers both types.

author: MrAl
author_rank: Super Contributor
timestamp: January 28, 2025, 09:33:18 am
content: Quote from: Larsson55 on January 28, 2025, 04:06:01 amHi,There is also a dedicated Arduino forum on the web. You can look that up. There are a lot of people who help with Arduino and related projects there.

author: brucehoult
author_rank: Super Contributor
timestamp: January 28, 2025, 09:33:57 am
content: Quote from: pcprogrammer on January 28, 2025, 08:40:21 amAs a general principle, yes, 32k flash and 2k RAM is better than 16k flash and 1k RAM.But this program looks like it would fit just fine on an 8-pin ATTiny85. with 8k flash and 512 bytes of RAM.

author: pcprogrammer
author_rank: Super Contributor
timestamp: January 28, 2025, 10:09:34 am
content: Quote from: brucehoult on January 28, 2025, 09:33:57 amWhich would make it more complicated for Larsson55 to build the thing. "Which pin needs to be connected to what and how do I program such a bare chip"The price difference between a nano 328 or 168 is not that big, and if it is only going to be used in this one project it does not matter.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 28, 2025, 10:18:42 am
content: Quote from: pcprogrammer on January 28, 2025, 07:13:13 amThere are 2 choices on the above link, which one to choose ?Thanks

author: pcprogrammer
author_rank: Super Contributor
timestamp: January 28, 2025, 10:24:52 am
content: Quote from: Larsson55 on January 28, 2025, 10:18:42 amThe set gives you a conversion board that is handy for connecting to the Arduino mini pro, so I would go with that one. (Color: 1set)Using this programmer requires a different selection in the IDE, but a benefit is that it can also be used to program blank chips, in case the bootloader got lost.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 28, 2025, 04:04:11 pm
content: Using this programmer requires a different selection in the IDE, but a benefit is that it can also be used to program blank chips, in case the bootloader got lost. Thanks, I got it in my basket at Ali Express however why Amazon.ca has it (I think its the same) for $40.99? A big price differencehttps://www.amazon.ca/Arduino-Nano-Microcontroller-Experimenter-Board/dp/B0097AU5OU/ref=sr_1_5?sr=8-5

author: ledtester
author_rank: Super Contributor
timestamp: January 28, 2025, 04:59:13 pm
content: Quote from: Larsson55 on January 28, 2025, 04:04:11 pmThat listing is from the company that started the Arduino so they charge a premium, but the clones form Aliexpress work just fine.You can also get the clones from Amazon, e.g.:https://www.amazon.ca/ELEGOO-Pre-soldered-ATmega-Compatible-Arduino/dp/B0D5LYFRQPNot as cheap as getting them from Aliexpress, but you're dealing with Amazon and shipping will likely be faster.Btw - do you have a breadboard, jumper wires and a servo?

author: El_Berto
author_rank: Newbie
timestamp: January 28, 2025, 05:18:59 pm
content: Look at the Wokwi site -https://wokwi.com/- It provides an in-browser Arduino (and other) simulator. It has the IDE and a part selector, with which you can easily play around with coding and the like. You do have to be a bit careful blindly recreating a physical solution as Wokwi doesn't do stuff like power use checks. An Arduino has a maximum power output and if you overload it, say trying to run too many LEDs at the same time Wokwi will let you do it. A physical Arduino might release the magic smoke.Given the part selector you can quickly and cheaply play with parts you might not have, particularly for those that communicate via I2C or SPI.Wokwi has a bunch of example solutions that you can use as a starting point. I would also suggest that you look at running or using an LLM to get the base code hammered out. With a bit of clear prompting the code usually works quite well.HTH

author: brucehoult
author_rank: Super Contributor
timestamp: January 28, 2025, 05:32:24 pm
content: Quote from: El_Berto on January 28, 2025, 05:18:59 pmAVRs don't seem to let out magic smoke even if you short-circuit outputs.YMMV if you get an "Arduino" with another chip family. But there's no reason to do that here, as this project isn't using a thousandth of an AVR's capability.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 28, 2025, 05:46:26 pm
content: ledtester: thanks for the help, Amazon.ca is still much more expensive and delivery not much better, I will stick with Ali. I don't have a breadboard, if I need one please let me know and what / why to get it. I do have jumper wires and the servo is also in my basket at Ali.El_Berto thanks for the Wokwi link however at this stage I think it's to much for my limited knowledge to try simulators. After I get this project going and get my hands "wet" with Arduino it will be a good site to explore. I know Arduino is popular and apparently "easy" to use so this is my chance to learn

author: ledtester
author_rank: Super Contributor
timestamp: January 28, 2025, 07:20:46 pm
content: I would have a look at this video about the Elegoo starter kit:Should You Buy An Amazon Starter Kit? (Elegoo Super Starter Kit Review) -- Simple Electronicshttps://youtu.be/Hot_aIxPVqMIt's more money, but it really has everything you need for a complete introduction to the Arduino environment. It also comes with an extensive tutorial and over 20 projects with code.Available on Aliexpress for about $30, e.g.:https://www.aliexpress.us/item/3256806446964131.html

author: Larsson55
author_rank: Regular Contributor
timestamp: January 28, 2025, 08:37:39 pm
content: Dont mind to buy that kit, looks interesting, but do I still have to buy the Arduino Nano IDE?And what IDE means please?

author: RoGeorge
author_rank: Super Contributor
timestamp: January 28, 2025, 09:05:00 pm
content: IDE (Integrated Development Environment) is the software you install. That software lets you open the .ino file and upload it into the physical Arduino board.TheArduino IDEis free, and it works with any flavor of physical Arduino board.All you need is to buy anArduino nano, the physical device. It should cost about $3-5 or so, not 30, not 50.Don't overthink it. All the Arduino nano are the same, the more expensive doesn't mean a better device.https://www.aliexpress.com/w/wholesale--Arduino-Nano-.htmlLook, for example $1 and free shipping:https://www.aliexpress.com/item/1005007066680464.html

author: trifusion
author_rank: Contributor
timestamp: January 28, 2025, 09:16:51 pm
content: Be careful with the power draw ... nearly all Arduino pins have a max draw of 40mA. A quick google search shows the Futaba S3003 servo has 8mA idle current but a 400mA stall current. Personally I like to use an IRF3708 to protect the Arduino pins.As much as I love the Arduino, I would highly suggest you look at an ESP32-S2 which I think is best bang for your buck and you can control it very easily over the internet. You can program the ESP32-S2 with the Arduino IDE or even better use Platform IO on Visual Code Studio (also free).Greg

author: Larsson55
author_rank: Regular Contributor
timestamp: January 28, 2025, 10:07:13 pm
content: Thank you RoGeorge and trifusion, I have the Aduino + motor on Aliexpress in my basket ready to purchase but now I see a problem with the Arduino power draw. Dont know what the ESP32-S2 is but on Ali comes in 3 flavors from $12 to $36.I prefer to buy the kit mentioned above by ledtester assuming it includes the Arduino physical device which I need for this project. After this project, the kit will give me a chance to learn more about Arduino with the included 20 projects/code.

author: brucehoult
author_rank: Super Contributor
timestamp: January 28, 2025, 10:22:52 pm
content: Quote from: trifusion on January 28, 2025, 09:16:51 pmYou don't POWER the servo from the Arduino, you only send it control pulses. The servo is powered from the same 5V as the Arduino is.

author: SteveThackery
author_rank: Super Contributor
timestamp: January 28, 2025, 10:26:10 pm
content: I'm afraid I disagree with@trifusion. Stick with the Arduino Nano for now - simple and cheap. The ESP32-S2, PlatformIO and Visual Studio Code may seem simple to experts like@trifusion, but the learning curve is definitely steeper than the Arduino Nano. Don't worry about the 40mA limit - it's an excuse to learn how to use a transistor to drive external devices, but in any case is irrelevant for your project for the reason @brucehoult gives.

author: trifusion
author_rank: Contributor
timestamp: January 28, 2025, 10:43:20 pm
content: Quote from: Larsson55 on January 28, 2025, 10:07:13 pmMy 2 fav inexpensive boards are the ESP32-S2https://www.aliexpress.com/item/1005004609057820.htmlmake sure you get with PSRAM and ESP32-C3 minihttps://www.aliexpress.com/item/1005005877531694.html. They should only be a couple of dollars each. Both of them can control a servo but you will need to protect the pins from too much current. The servo will be more expensive if you want it to last. I used this one in an animatronic spider with 24" legs without any issues on 5v (with a 15amp power supply)https://www.aliexpress.com/item/1943129663.htmland it runs sometimes continuously for up to 24 hours but you cannot run it directly from an ESP32 pin.Maybe start with the kit, do a couple simple LED and servo examples and then buy the parts you need for your project.

author: ebastler
author_rank: Super Contributor
timestamp: January 28, 2025, 10:49:40 pm
content: Quote from: Larsson55 on January 28, 2025, 04:06:01 amNot what you were asking about, but frankly: I think this project would be much cooler with a simple hand crank. No Arduino and servo, no need to connect electrical power (you could actually wall-mount it in its frame without a dangling cable), no annoying servo noises but just the sound of the clacking marbles.

author: ledtester
author_rank: Super Contributor
timestamp: January 28, 2025, 11:09:41 pm
content: Quote from: Larsson55 on January 28, 2025, 08:37:39 pmThe kit includes the Arduino microcontroller - in this case the UNO R3 which will is compatible with the Nano. It also includes a servo which might be suitable for the project. In any case you'll be able to learn how to control it with the Arduino.The IDE is a software program you download for free.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 29, 2025, 12:37:02 am
content: Thank you brucehoult, you clear the POWER issue and I'm happy about it.ledtester I decided to buy the Starter Kit you mentioned earlier. It has all I need to finish this project (except the servo) + watching the Youtube link it includes more parts / instructions to learn more about Arduino. It is a good opportunity to finish this project and at the same time give me a chance to learn about Arduino

author: Ian.M
author_rank: Super Contributor
timestamp: January 29, 2025, 09:13:01 am
content: +1 for getting an Arduino starter kit. There's no incentive to experiment and learn if your only Arduino is tied up in your marble run project, and the tutorials are generally pretty well thought out.Assuming you don't want to dedicate the starter kit to this project, You'll still need a Nano or Mini ATmega328P based DIL form factor Arduino for the marble run, but wont need a separate programmer as the socketed DIP Arduino Uno in the starter kit can do that for you, either pull its ATmega328P*and patch over +5V, GND, RESET, D0(RXD) and D1(TXD) to the corresponding pins of the Mini to use it as a USB UART to talk to the Mini's bootloader, or load it with the ArduinoISP sketch and use it as an ISP programmer as per instructions on the official Arduino side.For the marble run you'll want a Nano or Mini that comes *without* the headers pre-fitted, so you can simply mount it on 3M VHB tape, with either the headers soldered top-side to use with female duPont connecters or to give you the empty holes to solder the wires direct.As others have already noted, Ignore trifusion's comment about the servo's current draw - its power does *NOT* come from the Arduino, and its PWM signal input pin wont draw more current than a typical TTL logic gate, far less than an Arduino I/O pin can drive. I also think an ESP32 would be like trying to run before you've learnt to walk - yes you can do 'Arduino'ish stuff with one using the Arduino IDE but anything with WiFi connectivity is invariably fairly complex.* Some people *don't* pull the ATmega328P, but instead tie RESET low on the Uno to disable its ATmega328P so it doesn't conflict with the one you've patched across to, but that means you have to press the target's reset button at just the right moment to sync with AVRdude.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 29, 2025, 04:40:33 pm
content: Many thanks Ian for your time. Scheduled delivery for the servo motor is Feb-12 and for the Kit Feb-20. My intention is to use the Starter Kit for my education.Obviously reading your post a few times is hard for me to understand it all but I gather I need a Nano or Mini ATmega328P without the headers pre-fitted.What is the difference between Nano and Mini? Just the physical size?From my recent experience when I search for Arduino parts mostly they come with options to select which I don't understand. Would you be kind to send me a link what I need to buy please? If they are options on the link please tell me which one to select.Much appreciated

author: Ian.M
author_rank: Super Contributor
timestamp: January 29, 2025, 06:02:37 pm
content: Nano = DIL (breadboardable) ATmega328P Arduino with on-board USB UART for programming direct from the IDE.Mini = smaller DIL (breadboardable) ATmega328P Arduino without on-board USB, so you need a programming cable or adapter or AVR ISP programmer to 'talk' to it. Its pretty much the minimum support circuit for the ATmega328P.N.B. bargain basement chinese clones may *not* have a ATmega328P but instead have a lesser ATmega that cant take as big a program. Check it actually says "ATmega328P" in the description after selecting any options and before clicking 'Buy'!N.B.2 Both these boards from 3rd parties are possibly available in a choice of 5V and 3.3V versions - you *DO* *NOT* want 3.3V as its output signal may be marginal for some servos and it cant run as fast (8MHz @3.3V vs 16MHz @5V).Its very difficult for anyone outside your country to give good 'buy this here' links as often product availability and pricing and even the page URLs are regional. I'd need a VPN with an exit node in Canada that hasn't been flagged as a VPN by whichever marketplace site I am looking at, + a clean install of a different browser so they can't track me by browser fingerprinting. Also, that would give me introductory offer prices, not repeat customer prices so YMMV.Here are the official Arduino.cc pages for the boards in question so you can try to match them up with the 3rd party 'buy page' product options.https://store.arduino.cc/products/arduino-nano(current)https://docs.arduino.cc/retired/boards/arduino-mini-05-without-header/(retired)If in doubt, screenshot your 'buy' page with the options you think you want selected and visible, post the image here and ask! Its helpful to also give the product link as we*may* be able to reach it if it isn't region specific.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 29, 2025, 06:10:32 pm
content: Not what you were asking about, but frankly: I think this project would be much cooler with a simple hand crank. No Arduino and servo, no need to connect electrical power (you could actually wall-mount it in its frame without a dangling cable), no annoying servo noises but just the sound of the clacking marbles.You are right but I choose this projects to "force me" to learn Arduino.....

author: Larsson55
author_rank: Regular Contributor
timestamp: January 29, 2025, 06:38:01 pm
content: Here is a link with many choices, very confusing for me...https://www.aliexpress.com/item/1005006472746115.html?spm=a2g0o.productlist.main.7.65b84bb7mg3obU&algo_pvid=ece7072b-dbce-41de-8e38-a851c51f7f05&utparam-url=scene%3Asearch%7Cquery_from%3AI thought if you send me a link I could go to this link and purchase this item, I never thought / understood what you are saying about tracking etc.Amazon also has the same product but the price is much more, $20.00 +++If possible please let me know what to purchase

author: Larsson55
author_rank: Regular Contributor
timestamp: January 29, 2025, 07:31:52 pm
content: Here is another link from Amazonhttps://www.amazon.ca/Elegoo-Board-ATmega328P-ATMEGA16U2-Arduino/dp/B01EWOE0UU/ref=sr_1_4_sspa?sr=8-4-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1But I don't know if it is 5V solderless, without the headers pre fitted

author: SteveThackery
author_rank: Super Contributor
timestamp: January 29, 2025, 07:46:36 pm
content: @Larsson55: If I were you I would use the basic Arduino Nano V3. I would buy it from Amazon (I don't trust AliExpress for stuff like this). It is cheap.https://amzn.eu/d/am4l33I

author: Larsson55
author_rank: Regular Contributor
timestamp: January 29, 2025, 07:51:32 pm
content: Quote from: SteveThackery on January 29, 2025, 07:46:36 pmI agree, I will buy from AmazonThanks

author: pcprogrammer
author_rank: Super Contributor
timestamp: January 29, 2025, 08:13:40 pm
content: Quote from: SteveThackery on January 29, 2025, 07:46:36 pmI don't know how it is in Canada, but I have good experience with Aliexpress.The Amazon prices are inflated and mostly come from the same Chinese sources. The links I posted before are half the Amazon price, at least for me. Benefit could be that you get it the next day.@Larsson55, the link you provided has the same type of boards, and what you are looking for is "no welding" and the USB type of choice. Either mini (big) micro (small) or USB-C (now universal). If you need a cable for it, choose one with a cable.The adapter board they also sell is handy if you like to connect bare wires onto a screw terminal. If you don't have a soldering iron that could be an easy solution. Otherwise, the "no welding" option is best.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 29, 2025, 08:25:30 pm
content: I don't know how it is in Canada, but I have good experience with Aliexpress. The Amazon prices are inflated and mostly come from the same Chinese sources. The links I posted before are half the Amazon price, at least for me. Benefit could be that you get it the next day. @Larsson55, the link you provided has the same type of boards, and what you are looking for is "no welding" and the USB type of choice. Either mini (big) micro (small) or USB-C (now universal). If you need a cable for it, choose one with a cable. The adapter board they also sell is handy if you like to connect bare wires onto a screw terminal. If you don't have a soldering iron that could be an easy solution. Otherwise, the "no welding" option is best. Well I agree with you mate, I will go Aliexpress.com but there are so many choices. I will take a chance and post here what I got

author: Ian.M
author_rank: Super Contributor
timestamp: January 29, 2025, 08:36:51 pm
content: Your aliexpress link is to various combos of options for an Arduino Nano clone:You can get it with a choice of three USB connectors - mini-B (same as genuine Nano), micro-B (easier to find cables for) and USB C.You can get the Nano with or without a crappy USB mini-B or microB or C cable, (I bet it has no shield continuity) and as a trap for the unwary, can also opt for just the cable!You can get the Nano with soldered or unsoldered headers.You can get the Nano (no cable) with or without a screw terminal breakout board - handy if your project is just interconnecting off-the-shelf modules, but beware you can also get the breakout board with no Nano.Some combos aren't available . . .*Always* save a screenshot after making your selection in case they bait and switch then revise the page!Note that Chinese uses the same ideogram for ordinary soft soldering, silver soldering, brazing and welding so when translated to chinglish they are all 'welding'.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 29, 2025, 08:54:31 pm
content: I got this in my cart ready to buy, its really confusing with all available options and also I include a snip which I always do that to assure I get what I order. The only item not sure is the 5V power which I cant findhttps://www.aliexpress.com/item/1005006472746115.html?spm=a2g0o.productlist.main.1.96f1yS7FyS7Foo&algo_pvid=48a5e973-9769-4b29-b1bf-fa939fa9fcf6&utparam-url=scene%3Asearch%7Cquery_from%3A#nav-specification

author: tooki
author_rank: Super Contributor
timestamp: January 29, 2025, 09:13:07 pm
content: Quote from: trifusion on January 28, 2025, 10:43:20 pmCome on, man... if OP doesn't even know what an IDE is, they are nowhere near the point of being able to use ESP32 PSRAM. They're not yet in that ballpark. They're not even yet in the right province.(OP, this is not a dig on you. Everyone starts at the beginning.)

author: Ian.M
author_rank: Super Contributor
timestamp: January 29, 2025, 09:18:26 pm
content: Looks good, provided you have a known good USB A to C cable handy.Hint: If you decide to fit the headers, plug them into the breakout board before soldering so they get soldered square, not tilted.However, as the breakout board has two holes for mounting screws, if you are *certain* you are going to use it*, you might as well select the last one in 'view more ...' which is the same combo with pre-soldered headers.* which cancels out my advice to solder wires direct to the board or use topside headers and duPont connectors.

author: tooki
author_rank: Super Contributor
timestamp: January 29, 2025, 09:26:21 pm
content: Quote from: Larsson55 on January 28, 2025, 08:37:39 pmMay I suggest that you watch some YouTube videos that explain getting started with Arduino step by step? I think that'd make things a LOT clearer for you.Note that most tutorials are for the old Arduino IDE (version 1.x). Version 2.x is just different enough to set up that a tutorial for 1.x may leave you confused. So either install 1.8.x (it's the "legacy" IDE on the download page), or use a very recent tutorial that uses IDE version 2.x, likehttps://youtu.be/6OR7STWnIaE?si=pffp5MBzQoLPdupforhttps://www.youtube.com/playlist?list=PLwWF-ICTWmB7-b9bsE3UcQzz-7ipI5tbRNote that when using an Arduino clone, like the ones being looked at here, it may be necessary to install a serial driver for the USB chip on the board (CH340 in these boards). So if the board doesn't show up in Arduino IDE, then try installing CH340 drivers and trying again.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 30, 2025, 01:53:55 am
content: Order is placed, delivery Feb-12Thank you Ian, no problem with the USB cables, as for the rest when I receive the item I may understand more....Very good idea tooki however I was also thinking to search YouTube....As for the rest, much appreciated your input and I will pay more attention to the points you mentioned

author: ahsrabrifat
author_rank: Regular Contributor
timestamp: January 30, 2025, 06:38:26 am
content: Getting started with Arduino is very easy. Please buy an Arduino UNO with a USB cable. Then follow any of these tutorials.https://www.theengineeringprojects.com/2015/06/getting-started-arduino-programming.htmlhttps://docs.arduino.cc/learn/starting-guide/getting-started-arduino/

author: pcprogrammer
author_rank: Super Contributor
timestamp: January 30, 2025, 07:24:26 am
content: Quote from: Larsson55 on January 30, 2025, 01:53:55 amNow you can join the large thread on what you boughthttps://www.eevblog.com/forum/chat/what-did-you-buy-today-post-your-latest-purchase!/msg5800008/?topicseen#newQuote from: Larsson55 on January 29, 2025, 08:25:30 pmWhen you edit quotes, please leave the first bit such that it looks like below.Quote from: pcprogrammer on January 29, 2025, 08:13:40 pmSo don't throw away lines like shown here.Code:[quote author=pcprogrammer link=topic=451473.msg5800003#msg5800003 date=1738181620]

author: Larsson55
author_rank: Regular Contributor
timestamp: January 30, 2025, 07:50:43 am
content: Quote from: ahsrabrifat on January 30, 2025, 06:38:26 amVery nice of you to share this informationThanks

author: Larsson55
author_rank: Regular Contributor
timestamp: January 30, 2025, 07:57:11 am
content: Quote from: pcprogrammer on January 30, 2025, 07:24:26 amThanks for the heads up, hope now I got it

author: rstofer
author_rank: Super Contributor
timestamp: January 30, 2025, 03:47:48 pm
content: Here's the official document with 2 servo examples. One where the servo position follows a knob rotation and another where is sweeps the servo from end to end.https://docs.arduino.cc/learn/electronics/servo-motors/The Arduino Starter Kits include experiments with the sensors and outputs. Code is provided with most of these kits. It is worth performing every experiment because you never know which 'block' you will want to copy into your project. Maybe you need a display, maybe a servo, how about an analog input or the ever popular 'knobs and dials'.I have the Arduino and Raspberry Pi starter kits and, from an education perspective alone, they are worth every dime.The Arduino Uno R3 is the default device of choice and is shown in most videos. It is a good place to start because the pins and pin functions will line up with most examples.

author: Larsson55
author_rank: Regular Contributor
timestamp: January 30, 2025, 04:25:23 pm
content: Thank you rstofer for the useful link and information. I always wanted to learn Arduino but didn't know how/where to start from. This small project which I will start soon gave me the reason and ledtester posted on this thread the link to get the educational kit. Many thanks to all for the wonderful help.

author: shabaz
author_rank: Frequent Contributor
timestamp: January 30, 2025, 04:55:32 pm
content: I looked through one of the official Arduino kits a while back (it was a gift for someone so I didn't want to fully unpack it) - it was kit K000007. Although not as low-cost as the various third-party Arduino kits, I though the K000007 was good, because it came with a very clear book, with normal schematics, plus the point-to-point assembly wiring illustrations (i.e. Fritzing style) plus a text explanation of what the circuit does (i.e. not just code, but a brief explanation of the circuit too). The kit comes with an Arduino Uno.For sure most of the information can be learned for free / lower cost through tutorials, videos, etc., but some people might prefer using a book, and this was a nice, easy entry to Arduino, about as easy as they could make it, I think. So, this could be an option that might suit the absolute beginner, although with the slight negative that it's a bit more expensive this way.A free or very-low-cost option that could be very effective, could be to try to find a local group of engineers (e.g. a ham radio group, or maybe some maker space), chances are high at least a few members will be familiar with Arduino enough to perhaps give an hour or two tutorial to a group if there's enough interest in your area. Sometimes it just helps to be able to see someone doing things in person, errors and all, and just asking questions as and when you need to know anything more.I've learned things like FreeCad to a beginners level from others in that way, and likewise have sometimes presented on a topic. Once you're past the initial hurdle then you'll feel more confident to learn deeper through other methods.

author: themadhippy
author_rank: Super Contributor
timestamp: January 30, 2025, 05:09:09 pm
content: To add to the array of recommendations i'll chuck the boards based on the LGT8F328P into the mix, there the same same but different to official arduinos, and at least locally to me about half the price of most of the other clones

author: djsb
author_rank: Super Contributor
timestamp: January 30, 2025, 06:08:55 pm
content: And don't forget the traditional "Blinky" program example (amongst others) in the IDE examples folderhttps://support.arduino.cc/hc/en-us/articles/4415103213714-Find-sketches-libraries-board-cores-and-other-files-on-your-computer#examplesThese are also often included with different development board support packages that you may want to try later.Adafruit, sparkfun and Pololu also do very good tutorials to support what they sell.

author: Larsson55
author_rank: Regular Contributor
timestamp: February 05, 2025, 06:47:58 pm
content: Just an update, I received today the Arduino Education Kit V1.0.2019.09.17 and I can't say how happy I am. It includes a DVD which contains a 163 pages PDF which I will print and start my education. The kit also includes the ELEGCO UNO R3. I also received the servo motor which right now I can't do very much with it before I know more.I also received what I thought to be another UNO board but instead includes what is shown in the attached picture at the bottom (at the top is the UNO from the kit for comparison).Can someone please tell me what are the items at the bottom of the picture?Thanks

author: Ian.M
author_rank: Super Contributor
timestamp: February 05, 2025, 06:57:47 pm
content: That (on the right) is an Arduino Nano. Same MCU and I/O pins etc. as an Arduino Uno R3, but a different far more compact form factor. Because it uses a TQFP package MCU which has more pins than the PDIP ATmega328P on your Uno, it also gives you two extra analog inputs, A6 and A7 (that cant be used as digital pins). Simply match up the pin names with your Uno when connecting stuff and the same sketch should run identically on both.On the left you have a screw terminal breakout board for the Nano, which is the perfect way to wire up your marble run project, and mount the Nano. You'll need to solder the two strips of header pins onto the bottom side of the Nano so it can plug into the breakout board. When mounting the breakout board, use a few plastic or fibre washers as packing under the board on the screws so they aren't trying to bend it!

author: Larsson55
author_rank: Regular Contributor
timestamp: February 05, 2025, 07:51:39 pm
content: Many thanks Ian, sound very complicated but I guess after I start reading from the kit along with what you describe I will understand more. At least the purchase is not wasted.

author: pcprogrammer
author_rank: Super Contributor
timestamp: February 05, 2025, 07:53:31 pm
content: On the smaller nano mount the long strips on the bottom of the PCB, and the double row 6 pin strip on the top of the board. (component side)This way you can stick it onto the terminal breakout board and when needed connect an USBASP to the 6 pin header on the top of the board.See attached picture for what I mean.

author: Larsson55
author_rank: Regular Contributor
timestamp: February 05, 2025, 08:03:48 pm
content: Thank you

author: Larsson55
author_rank: Regular Contributor
timestamp: February 06, 2025, 05:40:43 pm
content: Got the Arduino IDE installer from the Arduino.cc and available options were Windows Installer(.msi) or Windows Zip and got the installer. Connecting the board I got a green LED steady ON and an orange LED blinking (dont know if this is good/bad).I want to have Arduino IDE installed where I want and I didn't get this option during the install process. Trying to uninstall it looks like its not that easy (cant find the Arduino uninstall file). Although I went to Windows Programs/Feutures to uninstall, this didn't remove all files.How do I completely uninstall the Arduino IDE?After I remove it I will use the .exe Installer which probably will give me the option where to install it.

author: ledtester
author_rank: Super Contributor
timestamp: February 06, 2025, 06:42:19 pm
content: Quote from: Larsson55 on February 06, 2025, 05:40:43 pmIt's normal - almost all Arduino Uno and Nanos come with the blink program pre-programmed.

author: Larsson55
author_rank: Regular Contributor
timestamp: February 06, 2025, 08:08:22 pm
content: Quote from: ledtester on February 06, 2025, 06:42:19 pmGood to know. thanks. BTW I would also like to thank you for your excellent tip you gave me in your earlier post about the Starter Kit, among the best tips I ever got!