Arduino

339 readers
1 users here now

Arduino is an open-source electronic prototyping platform enabling users to create interactive electronic objects.

founded 1 year ago
MODERATORS
1
 
 

Question about Arduino's…

I'm working on a small project involving an Arduino-powered box. I'm curious if it's possible to integrate a Python-based virtual assistant into this project. The idea is to create a compact, Arduino-powered device that includes a virtual assistant capable of performing various tasks. Is this something that can be achieved?

@arduino

2
6
arduino int to string (www.slyautomation.com)
submitted 3 months ago* (last edited 3 months ago) by slyuser@lemmy.ml to c/arduino@programming.dev
3
 
 
4
 
 

I'm writing a little plotting library for LCDs. I'll try to publish it once it's more polished. What do you think?

For now it supports reading data from a Vector, arbitrary scaling on both axes, linear interpolation, different point styles (square, circle), arbitrary many graphs.

5
6
7
8
9
10
11
12
13
14
15
 
 

cross-posted from: https://lemmy.world/post/10852890

cross-posted from: https://lemmy.world/post/10852531

Working on a joystick. Seems like any protocol I use to read from peripherals is going to be bottlenecked by having just one input. My microcontroller might have multiple ADCs, but there's just one processor stepping through them. Same for spi, or i2c, or uart. There's really only ever one sensor reporting back its data at a time.

I know this might not matter for measurement resolution. Especially if you're polling at like 115k serial or something, but...

That's 8 bits per axis, and three axis. Now that's at least 34 bits. To sample each axis we're down to only 4.5k samples per second. Plus whatever other cycles the controller has to handle... even if I spent half that time doing microcontrolle cycles at like 2k we're probably still well with the best star craft apms or whatever. I'd still like to find some way to really over engineer this thing.

I read a little about tdm, but that's out of my league and I don't know if you could even have 3 simultaneously signals that way

I'm thinking a microcontroller for each axis, and a usb port for each of them. So it appears like 3 different controllers to the computer. The user would just have to map the axis from the 3 controllers into 1 in their game software. I assume the steam remapping could do this.

Is it just going to get smashed back into one thread in the computer's usb hub anyway?

Any other suggestions?

16
17
18
19
20
21
22
23
24
25
view more: next ›