Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [microcontroller]

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

0
votes
2answers
148 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 ...
0
votes
1answer
34 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
38 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
30 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
49 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 ...
1
vote
2answers
60 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....
11
votes
4answers
9k 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 ...
5
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 ...
0
votes
2answers
31 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
105 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
433 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
22 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
85 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 ...
3
votes
4answers
80 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
481 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
62 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
65 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 ...
3
votes
2answers
1k 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
74 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
43 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
57 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
29 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
89 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
516 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
43 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 ...
22
votes
4answers
24k 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?
0
votes
2answers
110 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
475 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
32 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
4k 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
20k 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
5k 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
149 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
129 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
37 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 ...
4
votes
1answer
441 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 ...
3
votes
2answers
392 views

Two-wheeled self-balancing robot - Choosing the control system

Would an Arduino Uno have the precision-timing required (using only firmware) to control a two-wheeled inverted pendulum robot, or would it need a RTOS? Note: Thanks for both answers, they both ...
1
vote
2answers
307 views

Stepper motor control

I am trying to understand the stepper motor to Mach3 type software control interfaces, mostly from a logical perspective, deducing most of everything because I have no concrete resource to refer. So ...
0
votes
2answers
128 views

Will two 8-bit microcontrollers running in parallel perform similarly to a single 16-bit microcontroller?

Let's say I have multiple (8 bit) sensors which are sending signals to two microcontrollers simultaneously. In this case, I am looking to harness the parallel processing capability of the two ...
0
votes
2answers
52 views

what controller do we use in robots that has forward and inverse kinematics?

i used ATmega328p chip to make a car, but its the car is always controlled by me. my question is in robotic arms , the arm moves using the kinematics that i put, what chip and programming language ...
1
vote
1answer
150 views

Communicating between a BeagleBone Black and a servo controller

I am a complete newbie and recently joined a robot team at my school in order to gain some experience. I have been assigned a task of driving a servo using a Pololu Mini Maestro USB Servo Controller. ...
1
vote
0answers
75 views

Single Board Computer/Microcontroller Recommendations for controlling large DC motors? [closed]

Hey looking for recommendations. Right now I am using a sabertooth 2x25 motor controller for my drive train, receiving signals from a raspberry pi. From what I am seeing online - there is a lot of ...
0
votes
1answer
248 views

The 3 key components of a robot are controller, servo, and reducer. Can someone give us an “official” explanation of what they do respectively? [closed]

I've googled a lot but wasn't able to find official definitions of these 3 parts. Maybe the explanations of servo and controller are good enough, but I'm still trying to look for a more "official" one....
0
votes
1answer
130 views

DX100 controller communication protocol

I have a motoman robot for use in a pick and place application. It has a DX100 controller which has an ethernet interface which could be used to control a slave device using the Modbus TCP protocol. ...
7
votes
5answers
3k 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 ...
1
vote
1answer
61 views

is designing a pcb with multiple controllers a good schematic design?

I am trying to design a bot, it has to measure the temp I am using an 8051 so the adc is taking up a lot of i/o pins so I am thinking of switching it out with a thermostat or put another controller ...
6
votes
2answers
3k views

how to implement and code inner and outer PD controllers for quadrotor for position tracking

The quadrotor system is multi-ODEs equations. The linearized model is usually used especially for position tracking, therefore one can determine the desired x-y positions based on the roll and pitch ...
0
votes
2answers
92 views

Lego Mindsotrms RCX 1.0 CPU

I am working on a project and I need to know what is the exact model number of the CPU that is in the Lego Mindstorms RCX 1.0 . It would be nice if you listed the specs of the CPU, beacause I am ...
0
votes
2answers
84 views

Learning micro-controller programming [closed]

Is learning microcontroller programming useful for one who want to specialize in robotics I don't mean platforms like Arduino , Teensy , I mean mcu itself like Arm cortex etc.