Jump to content
  • 0

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]:



However, I am getting an attribute error, which reads as follows:


---->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.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


This topic is now archived and is closed to further replies.

  • Create New...