Hello all, I'm relatively new to Arduinos (6 months or so) but I do have a Mega, bunch of NodeMCUs, Nanos, MKR1010 and a Nano 33 scattered over my desk now.
This is my first post in the forum - didn't really know where to start so I figured I'd head for the bar
I wanted to get some advice but didn't know which section to ask in, so I wondered if someone here would take pity on a newbie and point me in the right direction?
I would like advice on some hardware for an arduino project, specifically a joystick. Can someone suggest where would be the best place to ask?
learn to use millis() timing and non-blocking code.
learn to write state machines for code that works in steps or modes. HIGH and LOW are pin states.
write your own button debouncer.
You get a nice start to write smooth automation as tasks without needing an OS to switch between, lean and mean.
The way it works, it's easy to add tasks until the Arduino is full.
originalbigbri:
I would like advice on some hardware for an arduino project, specifically a joystick. Can someone suggest where would be the best place to ask?
If you want to connect a stick to a PC, use a Duino with built-in USB like Arduino Micro or PJRC Teensy 2 to turn 10-bit analog-digital reads into USB-HID for a PC.
Arduino Due and PJRC Teensy 3.1 do 12-bit ADC but with weaker, easier to burn 3.3V pins. Both are 32-bit ARM chip, massively outclass the ATmega-duinos and 12-bit analog is in shielded wires territory.