Hello all.
I have my Raspberry Pi talking to my PIC via UART. When the Pi boots it sends out loads of console guff and I have to power cycle my PIC to get it to start receiving proper data. All I am...
Type: Posts; User: jimseng; Keyword(s):
Hello all.
I have my Raspberry Pi talking to my PIC via UART. When the Pi boots it sends out loads of console guff and I have to power cycle my PIC to get it to start receiving proper data. All I am...
Hi.
I'm no expert but I am doing exactly this at the moment. I have done it with an Android ioio board and mosfets and now I am doing it with a PIC18F14k22. It has 5 hardware pwm outputs. I used ttl...
Hmmmn.
I can take a look at the data sheet but not really understand it. What exactly am I looking at? I have always found I can understand about 0.2% of the data sheet.
Yes it is 3.3v from the Pi.
so just to be absolutely sure....because the Pi has no protection and is not 5v tolerant....I am unlikely to blow up my pi if I directly connect it to my pic18f24k22? (I...
Mucking about with my Raspberry Pi yesterday I managed to get it chatting to my pc via serial using a max3232cpe. That was easy. I would like to get it to talk to a Pic now and being a bit ignorant I...
Hi all.
This isn't strictly a picbasic question but there are so many helpful people on here I thought I would ask.
I have a databox on a boat outputting nmea sentences about wind speed/direction...
I am indeed using the 18f24k22
OSCCON = 10000 is my setting. Hmmn.
But aren't we missing the point? It seems that all the examples I have seen on reading Ir have been at 4 mhz so the pulsin...
I hadn't but I was using porta.4 which isn't an analogue in. I am fairly sure that my pulse length if statements are wrong because I am defo getting good stuff at 4 mhz. It's just when wang it up to...
I am pretty sure it is. (I tested it with a blink led set to pause 2000 and it was a 2 second gap...well two Mississippis by my count. I spent a while trying to figure out the OSCCON) My...
Yes. it's actually an internal osc but I understand the pulsin command doesn't care anyway.
Hello with my pic running at 4 mhz this works. At 16 mhz it doesn't. It is due to the pulsin resolution but I can't work out what I need to change in order to get it working. Can someone explain it...
Thanks for that. Actually I couldn't get your version to work but this does:
asm
config FOSC = INTIO67 , CCP2MX = PORTC1, CCP3MX = PORTC6
endasm
I think I have learned something and I am...
Hello.
Yes I have been reading the data sheet and trying to understand how to do this but I don't really understand datasheets. Maybe if I can get this right I will help me understand them better....
Actually, my usual stumbling about blindly programming I thought I would try this and it works. I thought I had to set things up first and I don't understand why I don't but hey. It work so I suppose...
Hello.
I am trying to get 3 hpwm outputs on a pic18f24k22. The problem is that it requires reading the data sheet. I can read it but for the life of me I don't understand much of it. Perhaps someone...
Ok. I have found my answer:
http://picpgm.picprojects.net/
Compatible with many many pics and the Velleman k8048.
A bit happier now.
Thanks. I am really struggling with what I thought was going to be a simple thing...3 harware pwm to control and rgb led. I ahve spent a day going through the microchip list looking for a pic that...
Hello all.
I rashly bought one of these before checking if I can program it. I have picbasic pro 2.45 and a Vellemen k8048 programmer. Have I been rash? I didn't even check if winpic can program the...
Heckler
Ha! That is exactly what I have got. (well a slightly different but very similar UK version) I was planning to use the fets to drive the LEDs and steal the 5v rail etc. That is why I was...
I'm only after 3 channels of control for the moment. I want to add IR control and maybe some potentiometers but no doubt I will want to hook it up to some sort of serial connection at some point.
Demon: Yes I had thought of that although perhaps I should have been a little less hasty. I probably don't mean background, I realize that I can simply put the mibam routine in the appropriate place...
I know this has been covered in lots of posts in various ways but I am swamped in confusion as to how to do my RGB Led dimming. I have a pic16f628 and looked at sPWM and it is all fine but at the...
Hello.
I have a relay in a usb box which is triggered by software (not my box or software). The realy closure time is not consistent depending on how busy the computer is. I think there must be a...
Well mode 2 and mode 10 both work. I don't know how I missed it.
I should have said. I think I have already tried that but I will give it another go. I guess I should try different speeds too.