Search the Community

Showing results for tags 'arduino'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Test and Measurement
    • Measurement Computing (MCC)
    • Add-on Boards
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions
    • Archived

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 13 results

  1. Hello, I need help I work on the pmodgyro, and I've been trying to get the temperature for several days but I can't. I use the stm32. and I even tried with the arduino it does not work. I think I may have fried it as I use i2c communication and I often fail to use resistane pull-up. I would like to have concrete suggestions to test the sensor please, Thank you
  2. I have a lot of Adafruit Sensors like Temperature Sensor, IMU, Pressure Sensors, etc. which are configured to Arduino. Now I want to connect Arduino to FPGA and the FPGA must read the sensor data and detect for abnormalities for control system. Can anyone help me how can I achieve this.
  3. A few days ago I purchased a 6 axis robotic arm and I implemented basic grabbing through arduino uno and serial touch screen.
  4. Brief introduction Some time ago, I found a heart rate sensor module MAX30100. This module can collect blood oxygen and heart rate data of users, which is also simple and convenient to use. According to the data, I found that there are libraries of MAX30100 in the Arduino library files. That is to say, if I use the communication between Arduino and MAX30100, I can directly call the Arduino library files without having to rewrite the driver files. This is a good thing, so I bought the module of MAX30100. I decided to use Arduino to verify the heart rate and blood oxygen collection function of MAX30100. With STONE TFT LCD for monitoring blood pressure. Then the basic electronic materials are determined as follows 1. Arduino Mini Pro development board 2. MAX30100 heart rate and blood oxygen sensor module 3. STONE 7-inch LCD serial port display module 4. MAX3232 module Connection GUI design Part of code #include #include "MAX30100_PulseOximeter.h" #define REPORTING_PERIOD_MS 1000 // PulseOximeter is the higher level interface to the sensor // it offers: // * beat detection reporting // * heart rate calculation // * SpO2 (oxidation level) calculation PulseOximeter pox; uint32_t tsLastReport = 0; // Callback (registered below) fired when a pulse is detected void onBeatDetected() { Serial.println("Beat!"); } void setup() { Serial.begin(115200); Serial.print("Initializing pulse oximeter.."); // Initialize the PulseOximeter instance // Failures are generally due to an improper I2C wiring, missing power supply // or wrong target chip if (!pox.begin()) { Serial.println("FAILED"); for(;;); } else { Serial.println("SUCCESS"); } // The default current for the IR LED is 50mA and it could be changed // by uncommenting the following line. Check MAX30100_Registers.h for all the // available options. // pox.setIRLedCurrent(MAX30100_LED_CURR_7_6MA); // Register a callback for the beat detection pox.setOnBeatDetectedCallback(onBeatDetected); } void loop() { // Make sure to call update as fast as possible pox.update(); // Asynchronously dump heart rate and oxidation levels to the serial // For both, a value of 0 means "invalid" if (millis() - tsLastReport > REPORTING_PERIOD_MS) { Serial.print("Heart rate:"); Serial.print(pox.getHeartRate()); Serial.print("bpm / SpO2:"); Serial.print(pox.getSpO2()); Serial.println("%"); tsLastReport = millis(); } } Results demo
  5. Hi! I'm using the CMPS2 compass module with an Arduino Uno and the example code from to get a heading from the compass module, but it seems to be only jumping between specific values and never taking the values in between. For example, running the program while keeping the module horizontal and slowly spinnng it 360° around the z-axis gives an output like this: Heading = 231.18° Heading = 231.19° Heading = 186.09° Heading = 141.09° Heading = 186.12° Heading = 231.10° Heading = 231.09° Heading = 231.08° Heading = 231.09° Heading = 231.03° Heading = 230.96° Heading = 321.25° Heading = 321.15° Heading = 321.04° Heading = 51.20° Heading = 51.06° Heading = 51.06° Heading = 50.96° Heading = 50.91° Heading = 96.12° Heading = 96.10° Heading = 51.00° Heading = 141.17° Heading = 141.11° Heading = 141.12° Heading = 141.04° Heading = 141.04° Heading = 186.11° Heading = 141.01° Heading = 231.16° Heading = 231.16° Heading = 231.16° Basically, plotting the heading as a function of time doesn't give a continuos plot no matter how slowly the module rotates. I have tried to check for disturbances from metal objects or electronic devices using another compass, so I'm pretty sure that's not the problem. I don't need to get down to the 1° accuracy promised by the maker (5° is probably enough for my project), but these giant leaps from 320° to 50° won't work. All help is appreciated!
  6. Arduino is the SPI Master and therefore provides the clock, SPICLK through a PMOD. How do I receive the clock in a good way on the FPGA? Vivado does not approve of checking rising_edge(SPICLK) so I though I'd put a clock buffer or something in between (not that I know why or what they do but it sounds like a good idea). At some point Vivado told me to add "set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets {SPICLK_IBUF}]" to the constraints file, but I still got warnings and it didn't recommend I proceed. If I have the top level SPICLK connected to an IBUF_IBUFDISABLE with the disable line connected to the slave select (SS) line, I get this warning: [DRC 23-20] Rule violation (CKLD-2) Clock Net has IO Driver, not a Clock Buf, and/or non-Clock loads - Clock net spi_buf is directly driven by an IO rather than a Clock Buffer or may be an IO driving a mix of Clock Buffer and non-Clock loads. This connectivity should be reviewed and corrected as appropriate. Driver(s): IBUF_IBUFDISABLE_inst/O If I have the top level SPICLK connected to an IBUF_IBUFDISABLE and that into a BUFGCE, with the disable line connected to the slave select (SS) line and the inverse of SS into the CE, I get this warning: [Place 30-574] Poor placement for routing between an IO pin and BUFG. This is normally an ERROR but the CLOCK_DEDICATED_ROUTE constraint is set to FALSE allowing your design to continue. The use of this override is highly discouraged as it may lead to very poor timing results. It is recommended that this error condition be corrected in the design. IBUF_IBUFDISABLE_inst (IBUF_IBUFDISABLE.O) is locked to IOB_X0Y25 and BUFGCE_inst (BUFGCTRL.I0) is provisionally placed by clockplacer on BUFGCTRL_X0Y1 Roughly the same warning was issued with just the BUFGCE. I know there are other ways of polling the input clock from the arduino and treating it as normal signal but I want to do it the "proper" way.
  7. I've been trying to learn how to use the AD2 Logic Analyser. I got it to work with Serial.println("Hello world!"). I've learned that the Base: selection is critical to capturing the data. If you get it wrong, you get Framing Errors and the wrong characters. Now I am trying to use the Logic Analyser with an Arduino Uno running a clock/date ino that displays on a 16x2 LCD. I do not have the LCD connected, but when I wrote the program it was and it worked perfectly. I have also tried an ino that displays Hello World on the top line of the LCD. My connection is described below. I have tried several different setups in the Logic section of Waveforms and I am not able to capture ascii data. I've tried spi, spi mosi/miso, UART, and a few others. I have also tried to just add Signal lines to the connections below. With that, I am able to see the waveforms, but not the data. Is it possible to read the data with the AD2 and Waveform? The ino notes say to connect the Arduino to the LCD as follows. The number after the dash is the AD2 logic connection wire. I.E. I have a jumper from Arduino Digital pin 12 to AD2 Logic wire 0 and so on. As the LCD is not physically connected. some of the connections in the ino were not used (as noted). * LCD RS pin to digital pin 12 - 0 * LCD Enable pin to digital pin 11 - 1 * LCD D4 pin to digital pin 5 - 2 * LCD D5 pin to digital pin 4 - 3 * LCD D6 pin to digital pin 3 - 4 * LCD D7 pin to digital pin 2 - 5 * LCD R/W pin to ground - (Not Used) * LCD VSS pin to ground - (Not Used) * LCD VCC pin to 5V - (Not Used) I have a jumper from the Android ground to the AD2 Ground. Thanks JohnnyG
  8. I just plugged in this board and to test it out. My intent is to use it in a RS422 format, but will need to understand what changes I need to make later. I've opened up the arduino sketch and uploaded it to my AST-CAN485 from Sparkfun. I modified Digilent's the code so it uses the alternative software serial library. Other than that, it's all the same. When I run the code and open up the serial monitor, the loopback is actually happening in the hardware. I can unplug the looped wires and still get a message back. So the echo example code seems to not work properly. Any aid in understanding this would be great. PmodRS485-MPIDE-demo1.ino
  9. Dear All, I am confused about the calibration process of PModIA module with Arduino board. I am using a program from Github, please check that. Also tell me the use of SEL pin in the board. Can you please tell me step by step procedure... ad5933-test.ino
  10. Hi, I am using example code that I got from GitHub to try to read the impedance through Arduino. On the reference guide that digilent provides, there are a series of steps you have to take to calculate the correct impedance. All of those functions are already written, but I do not know how to calibrate the AD9533. I know it says something about a reference resistance, phase, etc., but I am unsure if I am supposed to put the reference resistance in between the SMA connectors and then once it has done a sweep to calculate the gain factor. Am I supposed to insert the reference resistor first, then take it out post-calibration? Am I then able to measure unknown resistance? Help please! Best, J
  11. Hi guys: I need know how create a Custom Command in LINX for read a encoder of two square pulses from the digital pins of Arduino in LabVIEW. Thanks.
  12. I have been playing with the Digilent DMM shield and trying to understand how the shield and the ic hy3131 work. My question is about the multiplication factors which are used for converting the adc value to real value. For example, the multiplication factor in the library for 5V DC range is: 125e-1/1.8/8388608 If I'm correct, in 5V DC range the input signal is divided by 10 and fed into the adc whose reference voltage is 1.2V, so my question is why we multiply the value by 12.5? Shouldn't it be 12.0 instead because the reference voltage is 1.2V?