×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Microcontroller

Microcontroller

Microcontroller

(OP)
Hi! I'm looking for a micro-controller with many analog input as possible and can be connected to display/monitor/computer for monitoring purposes.
Please let me now what brand and model of micro-controller that can be used. Thank you!

RE: Microcontroller

That is a wide open question. I like Microchip or Atmel (which microchip owns now I believe).

RE: Microcontroller

I don't think the OP is looking for a microcontroller, he's looking for a full data monitoring/logging system (ala PLC, etc.). A microcontroller will need a lot of external components to do what you're asking of it.

Dan - Owner
http://www.Hi-TecDesigns.com

RE: Microcontroller

Perhaps, but the ATMega Arduino controllers ostensibly have 8 channels of 10-bit ADC. The main advantage of the Arduino is the relatively simplistic programming interface.

Alternately, one can get an ADC shield for a Raspberry Pi https://www.bc-robotics.com/tutorials/getting-star...

If the OP's intent is solely monitoring; a PLC is a bit of an overkill, unless massive numbers of inputs are needed. For that, there are other options as well: https://www.mccdaq.com/data-acquisition/high-chann....

The OP needs to better define what they want

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm

RE: Microcontroller

"...can be connected to display/monitor/computer for monitoring purposes."

Arduino is a very good suggestion, but the easiest connection to a ".../computer..." would be via the USB-connected IDE's Serial Monitor window (which is built-in and very easy). Moving the data beyond the IDE's Serial Monitor window becomes a PC programming exercise.

The best solution depends on details as-yet unmentioned.

RE: Microcontroller

Haven't touched my Arduino in 5 yrs, but my recollection was having a rudimentary IDE that allowed for debugging and data logging to the window, which you can pipe into a file.

CODE --> sketchbook

/*
  Analog input, analog output, serial output
 
 Reads an analog input pin, maps the result to a range from 0 to 255
 and uses the result to set the pulsewidth modulation (PWM) of an output pin.
 Also prints the results to the serial monitor.
 
 The circuit:
 * potentiometer connected to analog pin 0.
   Center pin of the potentiometer goes to the analog pin.
   side pins of the potentiometer go to +5V and ground
 * LED connected from digital pin 9 to ground
 
 created 29 Dec. 2008
 Modified 4 Sep 2010
 by Tom Igoe
 
 This example code is in the public domain.
 
 */

// These constants won't change.  They're used to give names
// to the pins used:
const int analogInPin = A0;  // Analog input pin that the potentiometer is attached to
const int analogOutPin = 9; // Analog output pin that the LED is attached to

int sensorValue = 0;        // value read from the pot
int outputValue = 0;        // value output to the PWM (analog out)

void setup() {
  // initialize serial communications at 9600 bps:
  Serial.begin(9600); 
}

void loop() {
  // read the analog in value:
  sensorValue = analogRead(analogInPin);            
  // map it to the range of the analog out:
  outputValue = map(sensorValue, 0, 1023, 0, 255);  
  // change the analog out value:
  analogWrite(analogOutPin, outputValue);           

  // print the results to the serial monitor:
  Serial.print("sensor = " );                       
  Serial.print(sensorValue);      
  Serial.print("\t output = ");      
  Serial.println(outputValue);   

  // wait 10 milliseconds before the next loop
  // for the analog-to-digital converter to settle
  // after the last reading:
  delay(10);                     
} 

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm

RE: Microcontroller

The latest Arduino announcement: https://store.arduino.cc/usa/portenta-h7

The STM32H747XI dual Cortex®-M7+M4 32bit low power ARM MCU has three 16-bit ADCs which support up to 36 channels. All for a measly $99 and it comes with hardware interconnect security features built-in.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm

RE: Microcontroller

IRstuff,
I was wondering how you were supposed to use the 36 channels with so few header connectors. Until I found the two 80 pin high density connectors on the bottom of the board. Wow thats a lot of available connections for a tiny board.

Page 2
https://content.arduino.cc/assets/Pinout-PortentaH...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

eBook - Functional Prototyping Using Metal 3D Printing
Functional prototypes are a key step in product development – they give engineers a chance to test new ideas and designs while also revealing how the product will stand up to real-world use. And when it comes to functional prototypes, 3D printing is rewriting the rules of what’s possible. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close