Search found 10 matches

by yllis
Tue Sep 27, 2016 11:14 am
Forum: User Modules
Topic: MAX7456 OSD video overlay code
Replies: 10
Views: 15014

Re: MAX7456 OSD video overlay code

Hi all In the code the 'GetCharCodeFromTable()' routine was used. How would you use the existing character set of the MAX7456 in Swordfish? If I was to use custom characters, I would first have to make and load them to the memory of the MAX7456 chip (I am not asking how to do it, as there are tutori...
by yllis
Sun May 25, 2014 9:04 am
Forum: General
Topic: Two watchdod timers enabled?
Replies: 1
Views: 2434

Two watchdod timers enabled?

I am building a device that is supposed to work on its own for a couple of a months in a row. I mean that I can not over see its operation. I am a bit worried that my program should run for such a long time without getting stuck somewhere. Now I know that watchdog timer (WDT) can be used to ensure t...
by yllis
Wed Feb 06, 2013 6:58 pm
Forum: General
Topic: pic to pic communication
Replies: 1
Views: 2009

pic to pic communication

I need to send simple data from one pic to another. I read somewhere that "connect TX of the PIC1 to the RX of the PIC2, an you're set". How is the data sent and read? Do I use the USART.Write -command to send data and then from the other pic I test the PIR1.5 to read data? I need to configure baudr...
by yllis
Sat Aug 11, 2012 3:46 pm
Forum: Compiler
Topic: reading rf-remote controller signal
Replies: 0
Views: 4984

reading rf-remote controller signal

Lo! I have a simple rf-remote and a reciever for it. The remote has 22 functions, and I just need to make a PIC to react when a command is sent. I've used the Ir protocol analyzer http://ostan.cz/IR_protocol_analyzer/ to see what the remote controller is sending (in TTL-logic): http://users.tkk.fi/u...
by yllis
Tue Mar 27, 2012 9:37 am
Forum: Compiler
Topic: reading PWM with pic
Replies: 2
Views: 2594

The CCP module tip is just what I needed. Thanks. I'm trying to figure out how to write the code to use the capture mode in CCP. I looked the datasheet of my pic (PIC18f2420), and I also looked the "Using PWM with Swordfish" from the SwordfishWiki pages, but I have to admit that they didn't really h...
by yllis
Wed Mar 21, 2012 8:25 pm
Forum: Compiler
Topic: reading PWM with pic
Replies: 2
Views: 2594

reading PWM with pic

How to read pulse width modulation (PWM) signal that is fed to a pic?
Should I make a timer which starts with a rising signal and stops with falling signal?
Or should I try to transfer the PWM to analog signal (voltage), which I would be able to read?
Any advise?
thanks already in advance..
by yllis
Fri Dec 09, 2011 9:25 am
Forum: General
Topic: RF Transceiver – Recommendations?
Replies: 15
Views: 10946

Lo!
Thanks for the reply..
How ever the problem is that if I buy a commercial, good looking remote, then I won't get the data sheet for it.. I could maybe ask the manufacturer for it, but I doubt if they are willing to share that data.

So is there a way to find out how to make them communicate?
by yllis
Thu Dec 08, 2011 8:34 am
Forum: General
Topic: RF Transceiver – Recommendations?
Replies: 15
Views: 10946

Lo! I have a similar situation as AndyO. And I'm a noob as well. I'm building a radio controlled window shades, and I'd like the result not only work, but to look good as well. For this reason I'd like to use a ready remote controll, like this one: http://www.beckermotors.co.uk/ec545-p-39.html How e...
by yllis
Thu Mar 03, 2011 7:11 am
Forum: Compiler
Topic: How to produce sound
Replies: 4
Views: 3377

So then how do you make a pic give out sound?

but thanks for the comment Norm..
by yllis
Wed Mar 02, 2011 2:33 pm
Forum: Compiler
Topic: How to produce sound
Replies: 4
Views: 3377

How to produce sound

I'd like to add a tune to my project. For some reason I can't find how to do this. And I don't want a really complex system like in the SDMMCWavPlayer-example. I'm trying to find a simple way to create a tune. I assume it is possible to write a frequency and duration for every note? What would the c...