|
hobbesmaster posted:the real problem is sensors with wires already attached and having wire to bare pads and the like i accidentally bought this: It's roughly 1cm a side. after looking for a socket that'll fit it, in the end i just bought a second that comes attached to a pcb. for £90. my only justification is eventually i'll need three if i follow through with this project
|
# ¿ Feb 9, 2017 23:12 |
|
|
# ¿ May 16, 2024 21:24 |
|
i had a productive lunch today i guess im officially now a terrible bit janitor https://www.youtube.com/watch?v=S8MtqhWVQ2E&hd=1 this is in C in the arduino IDE, time for another attempt at replicating rust next i think
|
# ¿ Feb 14, 2017 14:34 |
|
fritz posted:gyros are fine (but subject to bias), it's the accelerometers that are noisy gently caress 2mm pitch pins. Also what are we counting as "crazy expensive aviation" ones? These are £90 each,and I am eventually planning on using them in aviation. gonadic io fucked around with this message at 18:49 on Feb 15, 2017 |
# ¿ Feb 15, 2017 18:35 |
|
Silver Alicorn posted:please do not crash your plane, forums poster gonadic io plane? https://github.com/djmcgill/to-the-moon
|
# ¿ Feb 17, 2017 23:25 |
|
JawnV6 posted:how'd you even find that $70 gyro? it's the latest model of the one used by this guy: https://www.aeroconsystems.com/tips/Active_Stabilized_rocket_Wyatt.pdf i got the same solenoid valves too.
|
# ¿ Feb 17, 2017 23:45 |
|
JawnV6 posted:im not sure how to set your problem up, but i'd imagine it's measuring degrees off the vertical. "if i'm over 2 degrees the wrong way, fire the solenoid" is the problem statement? forget about time for now, how precise do you need the degree measurement to be? p much yeah, and i have no idea i'm just copying that paper mostly. once i have anything working, in about 10 years, i'll look to lower the price.
|
# ¿ Feb 18, 2017 08:24 |
|
https://www.arduino.cc/en/Tutorial/Potentiometer why this tutorial say to connect 1 pin with ground, one with the board, and then 1 to +V? surely the same effect is achieved with enabling the internal pullup resistor, then connecting it to the middle pin then connecting ground to either of the side ones?
|
# ¿ Feb 19, 2017 15:33 |
|
Sweevo posted:if you connect both ends of the potentiometer to ground then the mid point will always be ground regardless of where you turn it. i get that, what i'm asking is the diff between code:
code:
|
# ¿ Feb 19, 2017 16:26 |
|
Bloody posted:the goal is to use the pot as a voltage divider presumably. if you just pull up the middle of the pot you have... something. not a voltage divider. well at least not a useful voltage divider i see, it goes between 0 and 5 with all three pins connected. with just the middle you have something that goes between x and y where 0 < x < y < 5 and they both depend on the exact resistors involved
|
# ¿ Feb 19, 2017 17:08 |
|
Bah, still having issues with Rust and my Arduino. Anybody want to weigh in? http://stackoverflow.com/questions/42368675/why-does-getting-the-address-of-certain-linker-variables-halt-samd21-execution-i Honestly at this point I'm not far off just creating a dynamic library in Rust and doing the setup in C to call the Rust library.
|
# ¿ Feb 21, 2017 15:31 |
|
hmm, this doesn't look goodcode:
|
# ¿ Feb 22, 2017 00:50 |
|
dumb noob question if i only have a 24V battery, and i use some DC/DC regulator to get it to 3.3 can i have pre:+24V ----- motor --| | | DC/DC | | (+3.3V) | arduino | | | +0v --------------| i.e. i don't need to protect the arduino from the ground rail, 0 is 0? the motor will have a rectifier diode to prevent kickback.
|
# ¿ Feb 22, 2017 18:23 |
|
i mean i'll probably have to step up to 24 instead of stepping down to 3.3 but the question is still relevant
|
# ¿ Feb 22, 2017 18:25 |
|
triple post project update: i got digitial pio working in rust so my single-digit-button-counter https://www.youtube.com/watch?v=S8MtqhWVQ2E&hd=1 is now implemented entirely in rust with a little bash script to compile and upload! it's not especially good code, and i still can't get the address of __etext, but i'm pretty pleased that it's working
|
# ¿ Feb 22, 2017 21:46 |
|
yippee cahier posted:0 is 0, yeah. some people might still warn you about noise from the motor, idk. yeah i have a bunch of those, currently i'm blinking an led with one but the plan is to control motors/solenoid valves with them
|
# ¿ Feb 22, 2017 21:54 |
|
atomicthumbs posted:it's all fun and games until your inductive load starts ringin', flips that pulse around, and rams it backwards through your switching bank and capacitor got myself some rectifier diodes to put across the motors and solenoid valves
|
# ¿ Feb 23, 2017 12:54 |
|
Zero:quote:The board can operate on an external supply of 6 to 20 volts. The recommended range is 7 to 12 volts. MKRZero: quote:Vin
|
# ¿ Feb 24, 2017 07:52 |
|
Got my Arduino's ADC working in Rust! i'm p happy not going to liecode:
gonadic io fucked around with this message at 14:06 on Apr 4, 2017 |
# ¿ Apr 4, 2017 13:54 |
|
Sagebrush posted:i know i keep spamming this thread but i am finding this stuff p cool fwiw i'm also finding your stuff really cool. especially since my rust arduino project has kinda stalled
|
# ¿ May 27, 2017 08:29 |
|
Bloody posted:caps are full of lies and are trash ACAB
|
# ¿ Jun 4, 2017 18:57 |
|
what use case does logical shift have except trying to out-optimise the compiler when multiplying/dividing by powers of 2?
|
# ¿ Jul 21, 2017 14:57 |
|
|
# ¿ May 16, 2024 21:24 |
|
Wait poo poo I got them the wrong way around. I'm all for bitshifting, I guess I meant arithmetic shift
|
# ¿ Jul 21, 2017 15:49 |