Shop OBEX P1 Docs P2 Docs Learn Events
Prop blade brak sygnału na pinach I/O — Parallax Forums

Prop blade brak sygnału na pinach I/O

WALOWALO Posts: 7
edited 2012-06-05 08:59 in Propeller 1
Hello
We apologize for the syntax spelling, written by google translator. I have a programmerProp Blade and has so far worked and now I have the problem that I have no signal on the I / 0, I did a test yesterday, I loaded PushbuttonLedTest-v1.0.spin went wszytsko thisis always on pins but only 3.3V and 5.5V LED lights on the other I / 0 no reaction.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-28 09:31
    We apologize for the syntax and spelling, written by Google Translator. I have a PropBlade that has worked so far and now I have a problem. I have no signal on the I/O. I did a test yesterday where I loaded PushbuttonLedTest-v1.0.spin. Only 3.3V and 5V power LEDs light. The other I/O pins show no reaction.

    Let's say that you have an LED connected through a 330 Ohm resistor between I/O pin 6 and ground (Vss) so that the LED cathode (the bar on the diagram) is connected to Vss. The following should make the LED blink:
    CON _clkmode = RCFAST   ' Built-in clock, 8MHz-20MHz
        _clkfreq = 12_000_000   ' This is very approximate
        ioPin = 6   ' Change this if LED on some other pin
    
    PUB main
       outa[ioPin] := 0   ' Make sure LED off
       dira[ioPin] := 1   ' Make I/O pin an output
       repeat
          waitcnt(clkfreq/2 + cnt)   ' Wait for approximately 1/2 second
          outa[ioPin] := 1   ' Turn on LED
          waitcnt(clkfreq/2 + cnt)   ' Wait for approximately 1/2 second
          outa[ioPin] := 0   ' Turn off LED
    
  • WALOWALO Posts: 7
    edited 2012-05-28 13:26
    I did as you wrote, and also does not work light comes on only 3.3V and 5V pins.Previously, it was all as it should, and whether it is possible to clean the systemexactly as it was after the purchase?
  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-28 15:54
    It is not necessary to "clean the system". If it is working, the Propeller Tool should force the Propeller into reset mode and the bootloader will download and run the new program. If the Propeller Tool successfully downloads a new program, the Propeller is working. The Propeller Tool and the Propeller talk to each other and there is some error checking going on during downloading. How do you have the LED connected?
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-05-28 20:09
    I am wondering what hardware you have? I make a number of boards with "Blade" as does Drac. We need to know what board you have to help further.

    Mike's explanation is correct. If the download is working, then there is something else going on here.

    Could you also post your code and perhaps pictures and we may be able to help get over the language barriers.
  • WALOWALO Posts: 7
    edited 2012-05-29 02:51
    I send some pictures and a list of items
    zrzut.jpg
    20120529_111252.jpg
    20120529_111313.jpg
    1024 x 640 - 77K
    975 x 1134 - 108K
    1024 x 983 - 107K
  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-29 07:10
    I can't tell what I/O pin you are using. The wire is in the way of the label in the photo. If it is not P6, you'll have to change the ioPin definition to match.

    What LED and resistor are you using? How much current does it require?
  • WALOWALO Posts: 7
    edited 2012-05-29 07:46
    I puta little bitbetterbecauseofthosepicturesdo not see anything.I usedtotestadiodewithLED stripwith151ohmresistor
    Bez nazwy-1.jpg
    20120529_111252.jpg
    20120529_163103.jpg
    1024 x 640 - 54K
    1024 x 768 - 70K
    975 x 1134 - 156K
  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-29 08:14
    I don't know why you have the "_" on a line all by itself. It's generally not a good idea to change someone else's program until you've successfully tested it. I used the RCFAST clock mode for a reason. If there's something wrong with the crystal or the crystal oscillator and PLL inside of the Propeller, RCFAST will not be affected.
  • AribaAriba Posts: 2,690
    edited 2012-05-29 08:16
    Does the LED light if you connect the wire from the resistor to 3.3V instead of P4?
    If not try to connect it to 5V. It may be that the LED has a too high forward voltage.
    Can you measure the voltage at P4 with a Multimeter - you should measure 3.3V and 0V alternating For that it's better to make the toggling slower with WAITCNT(clkfreq * 2 + cnt).

    Andy
  • pik33pik33 Posts: 2,397
    edited 2012-05-29 08:19
    Topic title is in Polish, so...

    .... napisz po polsku, o co chodzi. Co to za płytka, co usiłujesz na tym uruchomić... i dołącz nie działający kod... Tu są co najmniej dwie osoby kt
  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-29 09:02
    This is the PropBlade. It's a fairly standard basic Prop board kit with connectors specifically arranged for controlling LED displays and it has a DMX interface as well.
  • WALOWALO Posts: 7
    edited 2012-05-29 11:04
    I changed the lines so that the program would not load exactly as written.
    Bez nazwy-1.jpg
    1024 x 640 - 74K
  • WALOWALO Posts: 7
    edited 2012-05-29 11:23
    Jest to płytka Prop Blade Brilldea ,podłączyć do niej chce 16 kanałowy sterownik LED Painter na 3 Tlc5940nt także Brilldea, problem tkwi że każdy kod da rade załadować ,wczytuje do pamięci ale nie ma żadnego sygnału na pinach. Pr
  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-29 13:32
    Leave out the _clkfreq = 12_000_000 and try again. I'm not sure why the Propeller Tool doesn't allow it. The actual frequency of the internal clock varies with manufacturing variations and is temperature sensitive as well. It could be anywhere from 8MHz to 20MHz, but 12MHz is what is generally assumed.
  • WALOWALO Posts: 7
    edited 2012-06-05 07:47
    Ma ktoś jakiś pomysł na rozwiązanie mojego problemu?

    Has anyone any idea to solve my problem?
  • Mike GreenMike Green Posts: 23,101
    edited 2012-06-05 08:59
    Please leave out the _clkfreq = 12_000_000 and try again. I'm trying to get some information. The Propeller uses RCFAST for downloading programs which seems to work. If the LED blinks with RCFAST, then the problem is with the crystal or oscillator or other clock circuitry on the Propeller chip. If it doesn't blink, then there's something wrong with the I/O pin and you should try another I/O pin to see if that works.

    What do you mean by "After connecting the controller to propblade when changing voltages from 3.3V to 5V ..."? What voltage did you change? If you connect a 5V signal to a Propeller I/O pin without a current limiting resistor, you can destroy the I/O pin.
Sign In or Register to comment.