@tomasknot
Aha, thanks, that is very helpful. In that case,
Could you please share a picture of the required bypass on the Unipi board?
Posts made by karel505
-
RE: Unipi 1.1 how to use analogue output - PWM?
-
RE: Unipi 1.1 how to use analogue output - PWM?
@tomasknot
Thank you,Sorry for repeating a question, but I want to be sure that I understand your reply before I start modifying the unipi board.
On the EMO-AO4/12 extension board there are 4 analogue out connections that appear to be fully wired. The arrangement seems similar to the one on the Unipi 1.1 main board.
But there are an additional eight Analogue outputs provided as pinout connections. They look like direct pinouts; on the EMO board I see nothing indicating the presence of a low pass filter. Could that be correct, or are you saying that these eight have the same integrated smoothing circuit converting the PWM signal to a steady voltage?
-
RE: Unipi 1.1 how to use analogue output - PWM?
@TomasKnot
Thank you, that is disappointing, but very clear, and it explains what I am seeing.I also have a EMO-AO4/12 extension board; does it have the same problem?
-
RE: Unipi 1.1 how to use analogue output - PWM?
@TomasKnot
Thanks for your replies. I have hooked up external 12V supply and getting better values on AI1. That part now makes sense.
But my PWM pump is still not behaving as expected. It runs full speed at AI1 value of 1500 and below. It goes in standby at values 1500 and above.The pump datasheet indicates very forgiving signal requirements, 3 to 24 volt, duty cycle 0 to 100 % , 100 to 5000 hz (1000 hz nominal), signal power dissipation less than 5mA.
Is there any way I could adjust the PWM frequency, before I give up, I would like to deliver the signal it is nominally expecting (10V, 1000Hz, 50% PWM) and see what happens.
And can you please confirm that my fupla picture above in fact generates a PWM signal on AO in the first place.
PS
I saw your Axon range - very nice to see new range of PLC - congratulations! -
RE: Unipi 1.1 how to use analogue output - PWM?
@TomasKnot
thank you Tomas,
I will try that. But it does leave me puzzled. Are you saying I am reporting the wrong output in Fupla? I am using AI1 to show the output - is that not what you are suggesting?You say that AO is the wrong output to use, is AI1 actually an output (i assumed that the acronym stood for Analogue Input 1).Will the fupla program that I sent a screenprint of generate a PWM signal after changing the output?
Do i need to provide external 12V or is the 12V supplied by the unipi sufficient to drive 1 pump (it dissipates only a few mA)?
So is there a need to revise the diagram in de step by step manual, it clearly points at AO as the analogue output to use? -
RE: Unipi 1.1 how to use analogue output - PWM?
I was too quick with the previous note.
With the B80 box, I can write the desired value to AO01. This value fluctuates as expected, responding to temp data. But when I monitor the resulting value on AI01 (using the wiring you suggest in the step by step manual) the actual output remains 4600 millivolts regardless of the input.
Also it seems not to deliver a PWM signal as far as I can tell.
Do I need another dialogue box to generate a PWM signal on AO01? I can see the B87 box, but that appears to be for Unipi 1.0 exclusively.
-
RE: Unipi 1.1 how to use analogue output - PWM?
@tomas_hora
Thanks for your reaction.B80 box looks just right
It is a wilo pwm controlled central heating circulation pump.
Perhaps I was unclear: I was hoping you might send me a screenshot of correct mervis code for this situation.
But it seems to be working ok now - thanks for your help -
Unipi 1.1 how to use analogue output - PWM?
I am struggling to program analogue outputs in simple mode. Rather than to bore you with the long story of how I failed; is there anyone who could say how it is done?
I want to drive a PWM circulation pump (1-10V, 100Hz) to respond to a 1Wire temp reading so that the pump modulates from 0 to 100% in the temp range from 72 to 82 degrees.The pump should run at 100% at temperatures higher than 83.
I have found the wiring diagram in the step by step manual and my unipi is wired accordingly. I just cannot seem to give it the correct instructions...
A screenshot of the main program in Mervis showing variables, the appropriate library box and its proper parameters (the only one labeled PWM is only for unipi 1.0 - or am I wrong?), and any required conversions from real to int would be very much appreciated.
-
RE: Restoring corrupt SD card image
thanks for your reply, that should help ..
you were asking where I found the link to the wrong images.
That was in the current version of the Mervis step by step manual, posted in the software documentation section of your site (https://files.unipi.technology/s/public?path=%2FSoftware%2FMervis%2FDocumentation#pdfviewer).
The link is in section 1.2.2:
"Deploying image / Prerequisites: /Mervis OS imge –
http://downloads.unipi.technology/ -
Restoring corrupt SD card image
hello,
after a hacker attack, I am trying to restore the Mervis control software image on the SD card for my Unipi 1.1.
The manual directs me to the software download section of the Unipi technology site where a number of images is presented. The first file is a readme file that starts with the following warning :
"ONLY FOR UNIPI NEURON! THIS IMAGE IS NOT FOR UNIPI 1.1!
Please use the standard Raspbian and install Evok from Github:https://github.com/UniPiTechnology/evok."If these images are unsuitable for the Unipi 1.1 - why does the Unipi manual direct me here??
When I go to the suggested Github pages I am unsure which image to burn on my SD card.Any help would be appreciated.
-
RE: Using analog output
@administrators
Thanks for your reply. It helps, but it is still not working. Could it be because I was in full mode and variables do not map automatically?
I will give it a go in simple mode -
Using analog output
I am struggling to set up PWM control on my unipi using Mervis.
I have tried the analog output on the main unipi board. It is hard to find the appropriate variable associated with it in software. Is it UniAodicountersAO01, or UniAodicountersAO01-r. On the PCB there is only one analog output, and it is labeled AO1. Not matching any of the descriptions in the software.
Then, I purchased the AO board with four Analog outputs, hoping that the labeling would be more helpful. It was.
But there is no information leaflet with it. It has a power input, I connected a 12V power source to it, and hooked up the AOV and AOG terminals to it. Then I connected the board to the I2C port on the unipi.
I am getting two green lights on the auxiliary board!
I think I need to put the Unipi in commissioning mode, and look for the auxiliary board. I gave it decimal address 71, and went back to normal mode. Updated variables for HW, ad I can see a fair number of ports. It worries me that only ports 5-15 are labeled with something including PWM in their name. The primary four ports (0-3) are just labeled EMO-AO4_channel0 through AO4_channel3. I am assuming these are the ones ....
Then hooking up the ports in software: there is no library box for PWM - that is to say, there is one, but it is clearly labeled V 1.0. Is there something similar for Unipi V 1.1???
It seems like it might do what I need ...I know I am a newbie here, but I would appreciate some help ..
-
RE: First start with unipi / MERVIS
Thank you for your replies, that was what I needed. For now.
I did get mervis to work in a very simple setup.
Learning a lot, it is fun. -
First start with unipi / MERVIS
Re: Mervis installation package
I am looking for a little help in getting Mervis started.
Am I right that having booted the raspberry with the mervis sd card, there is no way of getting back to Jessie? Other than by uninstalling mervis or rebooting with a clean noobs card. I am unsure what the proper command syntax is. My only command line option appears to be to login to unipi.
I need Jessie to connect the raspberry to my network via wifi .... and it would be nice to be able to continue to use it for other tasks like managing some security cameras.
Any help appreciated