|
Nearly a year after moving, I finally found the box I packed all my electronics parts into, including three Arduinos in various form factors (one of which I'm pretty sure is dead following an incident with the bathroom sink, oh well) and and two NTC CHIPs, which are ARMv7 based single-board linux machines, kind of like stripped down RPi2s. Unlike the Pi2, they have integrated wifi, so I'm considering setting them up as remote indoor temperature sensors -- probably one in the basement near the spider enclosures, and one upstairs somewhere. Since they run linux I can just install munin-node on them and integrate them into my overall monitoring network, without needing to figure out how to write a munin node implementation on an arduino or something. Anyone else here used the CHIP for anything?
|
# ¿ Nov 29, 2021 21:51 |
|
|
# ¿ May 14, 2024 12:51 |
|
Just did my first experiment with CircuitPython (on a Gemma M0, reading a 3-axis magnetometer over I²C and changing the colour of an LED based on it) and goddamn, this is really, really nice. Pretends to be a USB mass storage device when plugged in, so you don't even have a separate flashing step, just edit the python code directly on the device and reboot it. Gives you a serial console (with repl!) on /dev/ttyUSB0. And the Gemma even has a tiny RGBLED surface mounted to it so I could quickly hack something together using it before getting out the neopixel strips. I had to write my own HMC5883L driver to talk to the sensor, but even with that this is a much nicer UX than loving around with the Arduino tooling.
|
# ¿ Dec 21, 2021 14:47 |
|
namlosh posted:So, I have a question regarding programming the fuses/bootloader etc of ATMEGA chips. You can't run the chip without some sort of clock. The default fuse settings use an internal RC oscillator, which is not crystal-based -- it's a little ball of resistors and capacitors that produce a sine wave when powered. Fiddling with the fuses is done when you want to run the chip off an externally connected crystal oscillator, the clock-out pin of another microcontroller, or the like. Most (all?) arduinos have a crystal oscillator on the board and are pre-fused to use it, but "naked" atmega chips out of the box won't be. Don't know about the programming aspect, but I suspect that even for an arduino you'll need an external programmer (although if you have a spare usb-programmable board like an arduino lying around you can turn it into the programmer and use it to re-fuse the rest, IIRC).
|
# ¿ Jul 11, 2022 22:15 |
|
So my partner is getting into Arduining, and since they didn't really get an education in electrical circuit basics as a kid they're reading through the tutorials on the Arduino site. In general they're finding that the Arduino documentation tends to assume way more electrical knowledge and way less programming knowledge than they already have, which isn't great in general, but also a lot of the tutorials look like this: Guide to 3V3 and 5V power supplies posted:Sometimes the electronic device, that should receive 3.3V level of input from the supply may receive a "dirty" tension. This causes the electronic device to suffer abnormal electronic behaviour. As it could destabilise the system completely or change the logic forcefully due to changed logic range to be unrecognised. There are more of this undesired behaviour, if over-voltage or over-current is introduced to the system.
|
# ¿ Mar 7, 2023 14:44 |
|
Deadite posted:And does anywhere else sell these? The best shipping date they can give me is October 31st, and I was hoping this sign would be ready for Halloween If you're in Canada, PiShop carries various FET switchboards, e.g. https://pishop.ca/products/mosfetti In the US, maybe Sparkfun?
|
# ¿ Sep 28, 2023 14:39 |
|
|
# ¿ May 14, 2024 12:51 |
|
wolrah posted:Except when there was logic on the stick, which was not uncommon in the late '90s where USB was not even widespread much less universal but people still wanted to have more than four buttons and four axes, like for example a lot of the Microsoft Sidewinder products: https://github.com/MaZderMind/SidewinderInterface For a while I had a joystick that used normal gameport nonsense for the stick proper (2 axes + 4 buttons), but also let you map the base buttons to arbitrary sequences of keystrokes. How did they do it? Well, there's a PS/2 in port on the joystick itself, and the joystick cable splits into gameport and PS/2 connectors, so you plug your keyboard into the joystick and the joystick pretends to also be a keyboard sometimes. To add new bindings you hold down the remap button, then press the button you want to remap, then type on the keyboard, then release the remap button.
|
# ¿ Apr 2, 2024 17:13 |