šŸ¤–Have you ever tried Chat.M5Stack.com before asking??šŸ˜Ž
  • 0 Votes
    3 Posts
    3k Views
    Z
    @ajb2k3 said in Component recommendations: Rotate a servo using signal from a linear encoder: For a Start M5Stack uses Micropython and so you already know how to program it What kind of Linear encoder are you thinking of Many thanks @ajb2k3. Linear encoder: it'll be a set of digital vernier calipers with a 4-pin data output - very similar this post by Martin Thalheimer: https://shorturl.at/anNRU Level shifting: Same as in Martin's post, my encoder outputs a 1.5V signal, while microcontrollers typically require a higher voltage input 5V(?). Ideally, I'd like an M5Stack component to handle the level shifting, rather than making another circuit board dangling between the devices . Updated question Have a linear encoder with a 1.5v signal output similar to https://shorturl.at/anNRU Have a 5v micro servo Need to read the displacement d on the encoder, and rotate the servo by an angle a = f(d) Need help selecting the correct M5Stack components that: -- includes a microcontroller, screen & buttons interface, and rechargeable battery (one of the cores. Which one?) -- reads the 1.5v signal from the encoder and handles the level shifting internally (or doesn't need level shifting?) -- runs a Python script that applies the transformation a = f(d) (the core) -- rotates servo by angle a (servo controller).
  • 3D printed M5Stack Core/Core2/CoreS3 with/without modules Wall Mount

    2
    0 Votes
    2 Posts
    3k Views
    B
    @meldrak said in 3D printed M5Stack Core/Core2/CoreS3 with/without modules Wall Mount: I re-mixed a wall mount for all of the core versions you can 3D print and stick to any surface with some wall mounting tape. Enjoy!! If you’re looking for more designs or ideas for your M5Stack Core series wall mount, there are several resources available online where you can find different models to print. For instance, you can find a variety of 3D models for the M5Stack Core2 that might inspire you or serve as a basis for further customization.
  • 1 Votes
    2 Posts
    4k Views
    ElephantRoboticsE
    As the control core of the embedded robotic arm, M5stack-basic is very useful and helps a lot!
  • How to use the ENV IV unit with an RPI Pico with an OLED Unit

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to use the ENVIV Unit on an RPI Pico W

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • olahMundo Projeto

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • ESPNOW master/slave chage slave/master

    6
    0 Votes
    6 Posts
    8k Views
    L
    ...
  • 0 Votes
    2 Posts
    2k Views
    teastainT
    @dreamer This is 'roughly' how I average temperatures from sensor float room_temp_read[5] = { 25, 25, 25, 25, 25 }; //array of five reads int x = 1; //(declared in Setup) //Read and Average subroutine if (x > 4) { x = 0; } room_temp_read[x] = tempC; room_tempAVG = (room_temp_read[0] + room_temp_read[1] + room_temp_read[2] + room_temp_read[3] + room_temp_read[4] + room_tempAVG * 8) / 13; //five reads + weighted average equals 13 x++; //increment to next array pointer There are five reads 0-4 and a heavy weighted average (times 8) of the last average results This is Arduino C, but just change the grammar for Python. -Terry
  • 1 Votes
    1 Posts
    3k Views
    No one has replied
  • Indoor Gardening

    6
    1 Votes
    6 Posts
    9k Views
    ajb2k3A
    @jasric89 CoreS3 UIFlow2 Watering Unit example https://uiflow2.m5stack.com/?pkey=a994dbf4881f4d638d89f07070f015e3
  • Idea - M5Cardputer Sythesizer

    2
    1 Votes
    2 Posts
    2k Views
    ajb2k3A
    @proxys no but don’t let it stop you as there is the midi unit and the built in speaker. I’m working on a project using a core and the old M5Piano
  • M5 Dial as servo controller with i2c and PCA9685

    i2c dial pca9685 servo pwm
    2
    0 Votes
    2 Posts
    3k Views
    ajb2k3A
    Use the dedicated servo unit and you don’t have any level shifting problems to worry about
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • Post temp to webpage AtomS3Lite

    2
    0 Votes
    2 Posts
    2k Views
    I
    This has still got me stumped
  • Need help

    8
    0 Votes
    8 Posts
    6k Views
    Y
    @ianfs2 I looked into seeing if my MB support wake on lan I see the option just don't know how to turn it on... I'll report back on this one...
  • First Project - GPS on Core2 w/ UIFlow2.0

    9
    0 Votes
    9 Posts
    7k Views
    DeckyonD
    @ajb2k3 I wanted to change the altitude to ft, speed to mph. I found the Maths group, but ended up having to first Convert to Float, then Convert to Int, then I could do the conversions. Also made the labels a bit easier to figure out at a glance. lblAlt.setText(str((str('Alt (ft):') + str(((int(float(gps_0.altitude))) * 3.281))))) lblSpd.setText(str((str('Speed (mph):') + str(((int(float(gps_0.speed_kph))) * 1.609))))) Thanks for the assist. Now on to a cooler UI now that I have the data I want.
  • M5dial… connect to elegoo mega project

    m5stack
    2
    0 Votes
    2 Posts
    3k Views
    teastainT
    @karlfr I saw this on Facebook! The Dial is a more powerful and capable controller than the Mega. Just use the Dial, but be aware that it is only 3.3V, and will be damaged if any pin receives 5V
  • M5Stack DS18B20 W/Blynk

    ds18b20 & blynk
    2
    0 Votes
    2 Posts
    2k Views
    R
    @rdalemd76 Hi to everyone, Was already successful in changing wifi credentials on the fly using wifi manager. This allows the M5 Tough to be moved around as a type of useful tool. If the troubleshooting location has wifi, You will be able to watch the temperature remotely without being onsite. Hopefully, Help your diagnosis with temperature related issues.
  • Something like LSDJ for cardputer

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    1 Posts
    3k Views
    No one has replied