Questions tagged [microcontroller]

A small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals.

Filter by
Sorted by
Tagged with
2
votes
0answers
19 views

Synthesis gradient observer

I ask the advice of specialists on control systems. We have the following system. Where $u(t)$ and $y(t)$ time-varying input and output. The characteristic $y(t)=f(u(t))$ is assumed to be non-...
0
votes
2answers
97 views
1
vote
1answer
44 views

Where to buy cheap motors and mechanical parts for hobby robotics applications? [closed]

My kids want to get into robotics, where Online can I buy the motors (dc,ac,stepper...) and mechanical assembly (nuts, bolts, sheet metal, springs, rods...) for a very affordable price, you know I ...
1
vote
1answer
26 views

Sam C21 Xplained Pro - Linux toolchain

I recently got a ATSAMC21N Xplained Pro dev board. I was planning to use avr-g++ and avrdude to do development (I’m running ...
0
votes
0answers
32 views

BLDC Motor Position Control

My question has two parts on the same topic. 1) With BLDC motor control, not focused on position control, it seems like commercial controllers are split on control methodologies. The first group ...
2
votes
1answer
56 views

Control loop in or outside of main loop

I've been working on some small projects for fun to learn more control theory things and embedded programming. Thank the esp32 and Arduino! Either way I've been programming everything entirely in a ...
0
votes
0answers
66 views

Compensator design

I got a plant $G(s)=\left(0.13s+1\right)/s^2$ to design a compensator which provides below demands: Settling time : max 2s Overshoot : max %35 Gain margin : min 10 dB Phase margin : min 30 deg ...
0
votes
1answer
56 views

Is there a straightforward 16bit microcontroller?

Background Some of my sketches or ideas require a common data buss to all perph chips. The issue This way issue still lays before me, how then, if I am going for a common data buss. how do I ...
0
votes
2answers
2k views

Uploading a trained ANN to an ESP32 board

I am working on a project that requires training a neural network with humidity and temperature values. After spending a while googling on how to run a neural network on ESP32 (Wemos LOLIN D32 Pro), I ...
2
votes
2answers
43 views

Picking up a cheap timer

I am currently working on ATmega328 timers. But it has maximum timer of only 16 bit. Even with a prescalar of 1024 and 16MHz clock, I can only produce a time interval of about 4 seconds. Although I ...
8
votes
6answers
4k views

Polling or Timer interrupt?

We hope to build a simple line follower robot and we got a problem when we were discussing about PIC programming. We planed to write a endless loop, check the sensor panel reading and do the relevant ...
2
votes
0answers
31 views

How to determine the required CPU speed for a micro-controller with a 2-phase encoder attached to interrupts?

I am building a high-torque steering servo. I am trying to use the Adafruit Feather M0, which has a CPU speed of 48MHz, to monitor a 2-phase encoder that has 2400 pulses per rotation. I have attached ...
1
vote
1answer
208 views

Where to ask NXP LPC1343 / ARM Cortex M3 related questions

I am a beginner to robotics and embedded systems. Consequently I have a lot of questions related to the toolchain and how things are going together like how to debug or how to connect a bluetooth ...
3
votes
1answer
47 views

Helium Balloon Altitude and Velocity Control System

I am designing a helium balloon which implements a control system that can expand and contract the balloon using a motor, thereby increasing or decreasing buoyancy and, subsequently, acceleration. I ...
2
votes
1answer
43 views

Target Recognition for Microcontrollers

I'm building a device using microcontrollers, and part of the device necessitates target recognition. That is to say, if there are three targets, A B and C, I want my device to know when I'm pointing ...
0
votes
1answer
45 views

What sort of dev boards or standalone microprocessors are used for controlling robotics projects?

I've been using arduino boards for powering my robotics projects, however I want to move towards a more professional method of controlling electronics. I am not sure whether standalone microprocessors/...
0
votes
2answers
41 views

Is interacting with registers the only way software and hardware interact?

I'm aware that memory mapped addresses that point to registers are sometimes used to control hardware devices. Is that the only way they're controlled? I started asking about how software talks to ...
-1
votes
1answer
63 views

What the best roadmap to learn building and programming drones in the deepest level? [closed]

I want to learn how to program the drone in C without using the available libraries and platforms. I want to be able to understand how everything is set at a fundamental level(SRAM). Also, I want to ...
2
votes
2answers
104 views

Microcontrollers and Python

So I am fairly new to robotics however I do have some background with the python coding language. Recently I set myself the task of learning some basics for robotics just to increase my knowledge base....
12
votes
4answers
10k views

Fixed point arithmetic on microcontrollers

Often we use microcontrollers to do things in our robots, but need to make some calculations in decimal. Using floating point variables is very slow, because a software floating point library is ...
6
votes
5answers
2k views

How can I create a robot like the EZ-B using a regular Arduino?

I am interested in building a robot like the EZ-B, sold by ez-robot.com. It comes with an SDK for Visual Studio and has direct scripting in runtime through a USB, Bluetooth, Wi-Fi, IRC or HTTPS ...
1
vote
2answers
45 views

Connect 2 motor controllers

i have programmed for my two wheeled robot 2 separate controller for each wheel so that afer approx. 1 second both motors reach my desired speed. But my problem is that one of those motors is faster ...
0
votes
2answers
170 views

How to implement a novel control algorithm for a drone

I and my research team are working on a novel drone design based on trirotor. The difference between this design and a trirotor is that it has an extra propeller to generate additional thrust, ...
3
votes
1answer
472 views

Using 2x UARTs on STM32F072RB

I am trying to use 2x UARTs with ChibiOS on the STM32F072RB Nucleo Board. I initialized UART2 but I am still getting output on UART1 pins, which is totally weird. ...
-1
votes
1answer
24 views

time to Initialise or start sensor after power given [closed]

I am working on a time critical project. I use an optical sensor. I would like to know the initialisation or boot time the sensor after power given which will be in µS. How could I measure that?
-1
votes
1answer
119 views

Motor controller for two Hitec D845WP servos

I am undertaking a project using two Hitec D845WP servos running at 8.4 V. Hitec's website lists idle current of 30 mA, no load operating of 1600 mA, stall current of 10 A and ...
2
votes
4answers
577 views

How to deal with current spikes due to fast direction-switching motor commands?

I'm trying to build a self-balancing two-wheeled segway-like robot. I'm currently using two 12v DC motors that draw approximately 600milliamps of current each. I've noticed that when my robot tries ...
6
votes
1answer
522 views

Role of Neuromorphic Computing and Quantum Computing in the field of Robotics and AI

I asked a similar kind of question some time ago (Neuromorphic Engineering and Robotics) Since then, many things have come to the point of revelation. A road-map for neuromorphic computing was ...
1
vote
1answer
320 views

Ultra Low Power servo and controller for long usage..? [closed]

So I have an idea which would require the following: 1-4 servos 1 microcontroller some way of communicating with it via smartphone (bluetooth or wifi) Ability to run for 14 days on a small power ...
0
votes
2answers
68 views

Motion Profiling for Decreasing Energy Consumption

I am attempting to minimize the energy consumption used by an electric-motor-powered car given the speed restrictions: $$\text{speed}: [v_{\text{min}},v_{\text{max}}]$$ Currently, we are utilizing a ...
4
votes
2answers
2k views

How to finely control a gear motor with encoder using Arduino/RPi?

I'm having trouble with getting this motor to work and could use some help/guidance, please. I have a micro gear motor with encoder which I got from ServoCity (https://www.servocity.com/90-rpm-micro-...
0
votes
2answers
149 views

using motor controllers with Raspberry instead of Arduno. Is it just me or is everyone ok with bad sofftware support?

I bought a Roboclaw controller. Since then, have looked around for other. The software support seems to be the same (to me:sad) state. They all seem to provide Arduino code examples, however, then I ...
0
votes
3answers
66 views

The reason(s)/benefit(s) to use realtime operating system instead of while-loop on MCU

I'm working on a wheeled-robot platform. My team is implementing some algorithms on MCU to keep getting sensors reading (sonar array, IR array, motor encoders, IMU) receive user command (via a ...
-1
votes
1answer
69 views

Using python to create AI

Just asking a quick question about implementing some python AI. I have a home built circuit running an ATmega32u2 chip and I was wondering if it’s possible to use this code on the chip? Or do I have ...
0
votes
1answer
36 views

Connect to e_puck, Could not connect to com3 at 115200 ERROR!

So I have an E-puck robot, and I'm using Tiny Bootloader from this website: http://www.etc.ugal.ro/cchiculita/software/picbootloader.htm I've paired the robot up on my laptop's bluetooth. It appears ...
2
votes
2answers
171 views

What are good options for modifying drones?

I'm apart of a group at my University where we would like to build a drone/UAV and constantly add and modify parts on it. We were thinking of using an Arduino or raspberry pi, but we really don't ...
3
votes
3answers
690 views

Software real-time of ROS system

As far as I know, a hardware real-time robot control system requires a specific computing unit to solve the kinematics and dynamics of a robot such as interval zero RTX, which assigns CPU cores ...
6
votes
1answer
2k views

Adding Rotary Encoders to an Electronic Wheel Chair

We have an electric wheel chair, and are looking to add a rotary encoder to each wheel. We don't want to hack the motor itself, so want to add the encoder without harming the motor-to-wheel ...
0
votes
1answer
48 views

For a beginner who wants to learn lots is it better to use a PIC and start from there or to use something like a Arduino?

For a beginner that wants to learn how to build robots and learn as much as possible is it better to use a PIC and start from there or something more like an Arduino? I ask because I have this book ...
24
votes
4answers
27k views

Is it possible to run a neural network on a microcontroller

Could you implement a simple neural network on a microprocessor such as the Arduino Uno to be used in machine learning?
1
vote
2answers
158 views

Industrial Controllers - Why not adaptive control and robust control

This is a question I have thinked about under a very long time. What are industrial controllers? From research I found that PID is the most used in the industry. PID controllers are included in ...
2
votes
1answer
819 views

Programmable Microcontroller for Drones [closed]

Are there any programmable microcontrollers or add-on boards that contain an IMU, or ESCs? I've looked at the arducopter but this board's code is not open source, and I need something that can be ...
3
votes
1answer
34 views

What parameters can be/should be looked on while deciding to work with a microcontroller in a bot

I understand that choosing a microcontroller is all based on the needs and that there is no perfect Mcu.presently I have to select an MCU for a robot my team is building for the 2018 Abu robotics ...
2
votes
2answers
5k views

How to further understand the computed torque model controller

For the following controller what do $q_{des}$ and $q_{act}$ stand for? Also, what is the general principle of this controller? Thanks!
10
votes
3answers
24k views

What are the signs that a servo might be broken?

I just got a kit and im not sure if its me or not but it appears one of the continuous servos might be broken. What happened first when I plugged it into the microcontroller, it made a humming sound ...
2
votes
3answers
6k views

Assigning Serial number and GUID to a microcontroller

This might be a out of league question and may seems to be very odd.I am using multiple Arduino UNO boards over network and want to assign a GUID and Serial number to each board so that when ever they ...
1
vote
1answer
193 views

Industrial servo motor

How to control an industrial servo motor? The specific motor dive I am looking at is a Delta adsa-a2 series AC Servo Drive. I know that we can connect the motor driver to the software that the ...
0
votes
1answer
178 views

Can I implement continuous time feedback regulator in an Arduino microcontroller?

Arduino is a digital mikrocontroller. But I wonder if it's possible to implement an continuous time feedback regulator in an Arduino microprocessor? Continuous time feedback regulators such as PID: $...
0
votes
1answer
40 views

Motor Controller Power Supply

I have an Orange Pi which I would like to use as the computer for a robotic project. It supplies around 15 mAh power directly from the board, barely enough for a single LED so I will have to use ...
3
votes
1answer
594 views

Guessing the K matrix gain for the Optimal Control LQR?

I'm are going to create a LQR to control a system. The problem is to choose the Q and R weighting matrices for the cost function. The Q and R matrices are going to minimize the cost function so the ...