Search the Community

Showing results for tags 'arduino'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • LabVIEW
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 42 results

  1. Hi, I am trying to install Arduino IDE with the Digilent Core on a Windows 10 machine. I've tried different Versions from 1.6.8 to 1.9beta. When I try to use the Additional Boards Manager URL it fails at the Signature check. If I install it manually the IDE is not able to find "/bin/pic32-g++.exe". Where do I have to put the files under "chipkit-core" ? Is there a working json-file for automatic installation ? What am I doing wrong ? Thanks for help Markus
  2. cole12345

    PYNQ-Z1 Arduino Voltage Output

    Hi all, I am brand new to FPGAs and am finding the documentation more confusing than enlightening regarded this issue. I am having considerable difficulty getting my PYNQ-Z1 board to output a voltage through the Arduino IO ports. Currently I have a complete circuit from Arduino IO 0 to a breadboard with an LED and resistor in series, and it connects back to the Arduino ground port. My code is as follows: In [1]: from pynq.overlays.base import BaseOverlay base = BaseOverlay("base.bit") from pynq.lib.arduino import Arduino_IO In [2]: x=Arduino_IO(base.ARDUINO,0,"out") x.write(1) However, I am getting an attribute error, which reads as follows: AttributeError ---->2 x=Arduino_IO(base.ARDUINO,0,"out") /opt/python3.6/lib/python3.6/site-packages/pynq/lib/arduino/arduino_io.py in __init__(self,mb_info,index,direction) ---->97 self.microblaze.start() Attribute Error: 'Arduino' object has no attribute 'start' What is "start" and how can I fix my code to properly output voltage? Thanks for your time.
  3. ElectronicsBeginner

    Pmod on Arduino

    Hi, I want to connect Pmod to Arduino Uno. From Arduino pins we get 5V so does this refer only to power supply (which we have on Arduino board) or for others pins too? Is it safe to connect it directly to Arduino or I have to use voltage dividerfor other pins? Thank you.
  4. Shubham Jain

    Interfacing PmodCLP with arduino

    I am not able to interface PmodCLP with arduino UNO. Code provided on the website is compiling but lcd is showing nothing. Please provide me the working code and image.
  5. Shubham Jain

    PmodCLP compatibility

    Hi Is PmodCLP compatible with the Hitachi HD44780 driver ?
  6. Good day, My graduation assignment is a prototype of a localization module to be used inside a greenhouse. The method that I am using is Time Difference of Arrival. The two signals that are part of it are radio frequency via an XBee and ultrasonic signal via a HC-SR04. My goal is to use four beacons and one tag to establish the localization prototype. Currently, I am facing a problem that I cannot solve which is letting the HC-SR04 communicate with one another. The goal is let one(tag) HC-SR04 work( https://www.hqew.net/news/news-33872https://www.hqew.net/news/news-33872 ) as a transmitter and the other (beacons) as receivers. Therefore, I am able to send an ultrasound signal and time the duration thereof. Furthermore, I am able to calculate the difference between the XBee and the Ultrasound units. Once, this is executed the distance can be obtained between I hope this provides clarity of what I am doing, and I kindly ask you for support. Thank you in advance for any help you are able to provide. BR, Erino N.B. Is it possible for the HC-SR04 to work as a receiver? If not, what are the possibilities to let an ultrasound module work as a receiver or transmitter?
  7. Hello, I am unclear on whether the PmodIA works with Arduino. If I get the digilent arduino core will I be good to go, or do I need a digilent board to use it? Also, is it possible to modify the pmodia to use it on lower frequencys/impedance so it could be used for batteries? Thank you!
  8. Hello, I am trying to send oscilloscope data from the Analog Discovery 2 to the Arduino Uno. Would there be a way I could do this so that the Arduino could read it in live time? Miranda
  9. raturaturatu

    LINX with Arduino Due

    Hi Anyone, I need your help in hurry, I'm trying to connect Arduino Due with LINX in LabView, but I couldn't found firmaware for my board, is there any suggestion for me?
  10. rodb2018

    Arduino Shield Compatability on Arty S7

    Dear Forum Colleagues, I have a Digilent Arty S7 board and would like to integrate an Arduino shield that I own but am cautious as the Arty user manual states "Note: The Arty S7 is not compatible with shields that output 5V digital or analog signals. Driving pins on the Arty S7 shield connector above 5V may cause damage to the FPGA.". The shield I bought is the Velleman LCD Keypad and the instruction pdf is here Has anyone used something like this before and can provide some advice? I assume the Arduino shield is 5v but the sentence above seems to contradict itself. The shield does mount to the Arty S7 properly (but I haven't powered it up). regards Rod
  11. DigitalConfig

    ARDUINO USB HOST SHIELD And Other Questions

    I am finally getting my arty running and have written or modified existing VHDL code and configured it to the FPGA with great success. I am wondering if there are references upon connecting to the arduino usb host shield. I am also wondering how soon the arty A7-100 will be available. Sincerely, DC
  12. Dear Team of Digilent. I am currently working with an MZ OpenScope with the Arduino IDE. I was able to load the Blink program on the shield. But now I am limited, because of the OpenScope.h file I only found some pin declared. // some gpio pins #define PIN_SD_DET PORTD, (1 << 1) // RD1, pin 36 #define PIN_INT_MRF PORTG, (1 << 8) // RG8, pin 59 #define PIN_HIB_MRF LATD, (1 << 13) // RD13, pin 60 #define PIN_RST_MRF LATA, (1 << 4) // RA4, pin 61 #define PIN_WP_MRF LATA, (1 << 14) // RA14, pin 62 #define PIN_LED_1 LATJ, (1 << 4) // RJ4, pin 13 #define PIN_LED_2 LATJ, (1 << 2) // RJ2, pin 48 #define PIN_LED_3 LATJ, (1 << 1) // RJ1, pin 49 #define PIN_LED_4 LATJ, (1 << 0) // RJ0, pin 50 #define PIN_BTN1 PORTG, (1 << 12) // G12 pin 42 #if defined (NO_IO_BUS) #define PIN_CS_SD U3STA, (1 << 13) // U3STAbits.UTXINV #define PIN_CS_MRF U4STA, (1 << 13) // U4STAbits.UTXINV #else #define PIN_CS_SD LATD, (1 << 14) // RD14, pin 52 #define PIN_CS_MRF LATB, (1 << 15) // RB15, pin 56 #endif Will they have the complete PinOut table of the OpenScope for the Arduino developers? I want to make programs with digital outputs and analog inputs. Thank you very much. Greetings.
  13. Miguel Vera

    OpenScope MZ programmed with arduino IDE

    OpenScope MZ programmed with arduino IDE
  14. LUCAS DAL PONTE FELICIANO

    Chipkit Max32 bootloader

    Hi, I've build a board using the pic32MX795L, the same as the Chipkit max32 for research purpose. I can upload any code using the pickit 3 and a generated code from MPLAB X, but when I upload the bootloader from Digilent site, nothing happens. I manage to build a code in MPLAB to test the operation of the circuit and every thing seams ok, I can send and receive data over the UART1 @115200 baud with no problem. But when I upload the firmware with pickit, the device is not recognized by pic32prog. the message after a few seconds is "No target found." even when I hit the reset during upload. There is any way that I could use the source code to Max32 to test the compilation and upload from my MPLAB that I know that's working? Best regards
  15. Hello, I have some questions about the Analog Shield: - What is the dimension of an analog shield plugged on top of an Arduino Uno? (Total dimension of the assembly, for planning the size of the enclosure) - What is the pitch of the headers on top of the board, where the AO pins are routed? Is it standard 2.54-mm pitch? Is there a guide somewhere what is the location of these headers for plugging some boards in them? (Like for routing some BNC plugs to the wall of the box) - A very stupid question in the end: do I need to separately power the Analog shield when coupled with an Uno, or it can get enough supply from the pins of the Arduino? Thanks
  16. Hi, I have purchased the Multi-Touch Display Shield, see link below for actual model. https://reference.digilentinc.com/reference/add-ons/mtdshield/start I have downloaded the Arduino IDE folder, installed the mtds & MyDisp libraries and followed the QuickStart.txt. When I open an example from either of those libraries and attempt to compile, it fails and lists loads of errors (Please see .txt file attached where I have copied error messages). I have my Arduino Uno selected and the libraries installed, there are errors in the followings directories: \Arduino\libraries\MyDisp\Examples\MyDispDemo\MyDispDemo1\MyDispDemo1.pde \Arduino\libraries\mtds\MtdsCore.cpp \Arduino\libraries\mtds\MtdsFs.cpp \Arduino\libraries\mtds\MtdsHal.cpp Does anyone know what is causing this, I have tried both Arduino 1.6.9 & 1.8.5 but it shows the same errors. Any help would be appreciated. Thanks, Evan Error compiling for board ArduinoGenuino Uno - Error Message.txt
  17. Hi, I've been struggling for a while now trying to figure out how to get data from the Pmod Acl 3-axis accelerometer with my Arduino Mega board. Is this even possible? if so would you please guide me, as I am fairly new to communication protocols. Regards Juan
  18. Hi , I have PmodIA module which im trying to use it to measure water conductivity with arduino uno . I tried to use the example code available IA_Wire but its seems not working for my application . i just need to read the Real Value nothing else . The value im looking to measure is between 100 ohm to 100Kohm . I tried to calibrate the module by using Zcal 100 ohm but had no luck the value is away from what im looking for . Im not sure if im following the right calibration steps which its available on the datasheet. If you could help on easy way to do please post . The code im using is attached for your review . Thank you , Meshal A5933_test.rar
  19. Hello, My name is Simeon, I am postdoc at Purdue University. I'd like to use Arduino Uno and the Analog Shield for a quantum optics application. In a general effort to keep the setup organized and protect parts from damage, I enclose all PCB electronics into boxes or cases. So far, I have found all boxes and cases I need at DigiKey. However, for the {Arduino + Analog Shield} assembly, I have failed to find commercially available boxes with the correct dimensions, despite spending two hours looking for it. I called Digilent Customer Service, but they could not help me either. All I need is a metal or plastic box which keeps the two PCBs tight and preferably allows access to the connectors (basically, the Arduino USB and the Analog Shield's DAC ports). Although I could make some holes myself, I don't have the skills and time to design and machine the whole enclosure. Is anyone using a standard pcb box for these components from a common vendor? Thank you in advance! Simeon
  20. Tickstart

    SPI - Arduino to Basys 3

    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.
  21. I have an Arduino sketch that runs beautifully on a Wi-FIRE Rev C board using the chipkit wifire(Rev C) board that was installed as part of the Digilent core linked on this page https://reference.digilentinc.com/learn/software/tutorials/digilent-core-install/start NOT the chipKIT core identified on chipkit.net page. I created an ELF file of the sketch by building it under Arduino 1.8.2 (NOT MPIDE) with compiler optimization set to zero so that all of my source lines would be preserved, and the -g option. I then fired up MPLAB-X (v 3.61), imported the ELF file and added the the chipKIT bootloader image under the project "Loadables" sources. I can then run the program fine under Debug and even set breakpoints within main.cpp, but I can't set any breakpoints within my sketch code (DSPI_Demo.ino.cpp. Before hitting the "Debug" button in MPLAB-X the BP is fine, but afterwards it is broken. The attached images show some of my sources and the BP behavior. Any thoughts
  22. Hello! Recently I bought a PMOD AD5 board to hook it up with my Arduino DUE in order to measure AC Voltage. In terms of libraries, I tried two - the official AD7193 library and the AD Converter one, from GitHub. The AD Converter one seems like it's based on the official DSP library from your wiki, but adapted to Arduino. With that one, I had a few problems, so I went with the other one. For starters, I have my signal connected to AIN3 and GND connected to AIN4 (both on J2). The SPI is properly connected to my DUE, settings are SPI_MODE3 and SPI_CLOCK_DIV32 (initially it was DIV16, but I decided to try 32 as well, unfortunately to no avail). I am powering up everything from the 3.3V pin on the DUE and my signal is 50 Hz sine wave, with a 1.65V reference. I am measuring it with normal differential type, not the pseudo type (even though I tried that). Originally, with the default library, I could measure the 1.65V, but the sine wave isn't there (because of the 50Hz/60Hz rejection filter). Trying out different things with the mode and configuration registers from the AD7193 datasheet, I tried to set it up the following way: Chop Disabled, SYNC4 (and SYNC3 afterwards), FS=1; which from the datasheet it said that the 50Hz and 60Hz rejection would be disabled. I tried a whole lot of things, but I just couldn't get the filter turned off. Reason I am writing this is that I am hoping someone here can help me with my dilema and give me the means of measuring AC Voltage, because the ADC is great. Here are my register values: Mode - 0x080001 Configuration - 0x000208 I got these register values from the AD719X AFM Simulation Software. Running this configuration there, with 5MHz of the SCLK generates the Frequency diagram exactly as I need it. But for some reason, with the Arduino library, that just doesn't want to work. Thank you a lot for reading and I'm hoping someone can help.
  23. I am using a chipKIT Wi-FIRE Rev C board under Arduino 1.8.2 and there are three entries under Tools > Boards. The "Rev A &B, no FPU" is clearly not the correct one, but there is a "chipKIT wifire" and a "chipKIT wifire 80MHz". Since the Rev C board comes with a PIC32 that has a 200 MHz core, I'm guessing the first one is the correct choice, is that correct? Would have made more sense to label the board files by the revision label, rather than clock frequency ...
  24. Hello, guys! I have 2 weeks left of my bachelor thesis, and i really need help on this one.. I have build a IR-sensor to measure the RPM of a DC-motor, using Arduino mega2560 and Arduino IDE it works really well. But i need to use Labview to control a system, and need the feedback from my sensors, for this i will have to use a custom command. Attached is a code i found online to read the RPM from the sensor, and it works well with the arduino IDE. I need to write the code for the custom command, but having 0 experience with coding and arduino im really stuck.. Is anyone willing to help a desperate student? sketch_may11c.ino
  25. energyzappa

    Zero error - Analog Shield ?

    With the Analog shield mounted on an Arduino Leonardo, I'm seeing a zero error at each of the analog inputs with a zero voltage input or the Arduino's Ground connected to the analog pin. Using the signed read in non-differential mode, the A0 input reads -65 counts, A1 input reads -75, A2 input reads 85 and A3 reads -65. Is there any adjustment that I can make to the board to reduce this zero error? This zero error persists even when I switch from powering the board through the USB to a wall wart power supply. Thanks