Search the Community
Showing results for tags 'Analog'.
-
I am using this current sensor in my project. The Vout pin needs to be connected to the ADC. The best way to do this is to connect it to some analog pin and tie that analog pin to ADC through the code. Anything else? Can you refer to a sample code for this?
-
Hi, I'm new to MSP430, I'm using a MSP430G2553 in a project and need help with an in depth understanding of programming the ADC10 inputs of the MCU. I'm using a potentiometer in order to light one of 3 LEDs. For example, LED1 lights up when input voltage is 1V or less, LED2 lights up between 1V and 2V and LED3 lights up when the input voltage is greater than or equal to 2V. I have attached my code below but I am not clear on how to read, convert and store a voltage so that I can use the IF statements to light the respective LEDs. #include <msp430g2553.h> void indicator_LED
- 1 reply
-
- ADC
- MSP430G2553
-
(and 7 more)
Tagged with:
-
I had a lack of digital input pins for a pushbutton rotary encoder switch so I used an analog input. I wrote up my results here: https://analog10.com/posts/rotary_encoder_analog_input.html It works pretty well except for an occasional reverse tick but that's probably a flaw in my code.
-
I decided to have a crack at building some drum pads, because the keyboard that I'd acquired for the kids to learn piano on had a midi input, and somewhat acceptable drum sounds to boot. After several months of sitting around half-completed under a cupboard, I decided to pull it out over the easter weekend and actually make it work. In words, here's what I did. Six drum pads, made of a square of hardboard with 5mm closed-cell foam glued to the top and standing on 15mm foam pads. Each pad has a piezo electric transducer underneath, attached using hot glue. These six piezos are each hook
-
If you ever wanted to get logic analyzer, you should take a look at Digilent's Analog Discovery. Analog Discovery is a multifunction device developed by Digilent in cooperation with Analog Devices (AD is filled with chips from AD.) AD features analog and digital inputs and outputs, and can be used as an oscilloscope, function generator, logic analyzer, pattern generator, virtual I/O, voltmeter, spectrum analyzer, network analyzer, and even power supply. And the best part, it's affordable, especially for US students. I got my AD several days ago and let me tell you, AD is a true Swiss
- 6 replies
-
- Digilent
- Analog Discovery
-
(and 8 more)
Tagged with:
-
Dear all, http://www.ti.com/ww/en/launchpad/launchpads-msp430.html#tabs I am new to this forum. I found that energia IDE work similar to arduino IDE based on library functions. My questions are 1) I have worked on various library based IDE like mpide, uecide I found that some library wont work on some controller Like SoftwareSerial on chipkit uno32 by mpide IDE, I would like to know if someone used IDE what are library it really worked for them. I am looking for below library 1)basic: analogRead(); digitalRead();digitialWrite();Serial.print();Serial.println() 2) Wire: w
-
This is a project I made while I was learning about the MSP430's ADC10 peripheral and messing with multiplexing of 7-segment LED displays. It is a test bed for analog sensors where the 10-bit value of the analog input on the MSP430 mcu ( a MSP430G2252 in this case ) is displayed on two 2-digit 7-segment displays, which are being driven via a TPIC6B595N Power Shift register ( the SPI is currently bit-banged ). This has come quite handy for testing sensors quickly for my robotics projects and such. Here is my blog post that goes into the project in detail: http://emdinventor-blog.tk/msp430-
- 1 reply
-
- analog
- msp430g2x52
-
(and 2 more)
Tagged with:
-
Hi, I got my BBB few days ago and decided to do something to help the BBB community. I found that accessing GPIO and Analog Interface is difficult (without bonescript) when using Linux and accessing them inside a C/C++ application, so I decided to write an arduino like interface for GPIO and Analog. I have plans to add serial, I2C and PWM later. There might be bugs so if you find any let me know. Its very easy to use, there is a test example for both adc and gpio. I need feedback so that it can be improved and more functionalities can be added. Git Hub Link for the Project: https://github.co
- 2 replies
-
- BBB
- angstrom linux
-
(and 3 more)
Tagged with:
-
This DMX to Analog converter was designed to be used with stage props (servo pneumatic proportional control system, which is capable of positioning heavy loads at high speeds.) It's 8 channel (selectable start channel,) 8-12 bits resolution, 0-10V output, dimensions are 2" x 2".
-
Hi! Just a few questions: What is the default reference voltage for the analogRead() function on a msp430 g2553 ? Is it the internal Vcc ? How can I read the exact reference voltage correctly? Is there an option to change the reference voltage? Thanks in advance! kind regards, s1ck