Dear all,
I am in the process of developing a datalogger that records to SDCard using SDFS.pbp
The code is working wonderfully with hardware SPI, on a PIC16F67J50.
I am apending data to a file...
Type: Posts; User: aberco; Keyword(s):
Dear all,
I am in the process of developing a datalogger that records to SDCard using SDFS.pbp
The code is working wonderfully with hardware SPI, on a PIC16F67J50.
I am apending data to a file...
Got it back from fabrication. I spotted a small mistake on my behalf, a missing via hole... nothing dramatic.
Next come the assembly and modification of the source code to remap I/Os and invert...
Ok, there's a bit more modes than I thougt. I'll leave the board with generic silk screen (SW1-SW4), that way other functions can be implemented without having the wrong function written below the...
Art, I'd need some help with the button functions to label them correctly on the silkscreen:
What is the power on mode for each wen you press UP/LEFT/DOWN/RIGHT and when the board is horizontal...
There are many LED drivers IC around. The nice thing here is to use only off the shelf, easy to find transistors to drive the matrix.
I have a large 16x16 chainable LED matrix in project using PWM...
A clock would be nice, should not be too hard to write as I've seen some implementation somewhere on this forum. Darrel's routines for interrupt are very simple to use, so you could use a timer...
I'll send you some, here's a video I made for soldering SMD's:
http://www.mactronique.com/showArtMnt.php?lang=french&type=mnt&id=11&zone=movies
Just found this great project and was really excited!
I have just finished drawing a PCB for it, with two possible versions: one with 5mm leds and the other with large 10mm leds. It's all using...
After debugging everything pinpoint an issue coming from the different revision of the PIC. The CDC routine works with silicon revision 0000006 of the PIC18LF14K50, but not 0000005.
Really getting...
Well.. finally was able to track the problem down to a conflict between the use of SPWM_INT.bas and USB_ASM_Service.pbp. If I disable the Timer1 interrupt used for sPWM then the USB works well....
A bit more debugging, it seems that only the USBIN side does crash.
'*******************************************************
'Reading incoming data from USB port...
And everything collapsed!
The CDC USB routine was working well until now. It is working very well on my early prototypes, I made 3 more identical one and the PIC just stop running randomly after a...
Now for the basic stuff over MIDI messages, the setup will not be using velocity, so that default value of 64 should be used. These should be the message I will have to deal with:
Note ON: ...
Dear everyone,
I was toying with the idea of building a realistic organ console that would send MIDI data over USB. As I understand MIDI signaling is nothing more than a serial communication using...
And... I have missed BobK's comment. Using the 16F1847 would be the best solution... however I do not have PBP3 yet. I will keep that in mind though, as I may need to expand the project to drive 2...
Oh yeah, coming from hardware development as a hobby I am very excited to start mastering a bit more microcontrollers. Makes a whole new world of possibilities!
Now my code is working absolutely...
EEPROM will not be possible as there is no footprint on the PCB.
I have suppressed all the redundancy in the remaining of the code and managed to free more than 800 words (more than 20%!). I still...
Yes, I have looked in microchip catalog, but there is no SOIC 18 pin compatible parts with more code memory... The 16F88 does have 384B of RAM and is the only 18 pin with better features. Of course I...
Good point, I thought about doing this, but it just transfer the program memory overhead into the RAM right as it will mean creating another whole 80 byte array, right? Also I will have to fill...
Dear everyone,
I have a quick question regarding what could be a trivial problem, I am driving a complex LED matrix which is fed through a series of shift registers. The output are out of order,...
Took me too long to edit the previous post, I got locked!
I have downloaded the XLP LowPower App note from microchip and it is helpful. The 14K50 does not allows for deep sleep, but regular sleep...
That would be pretty good! I will have a look at how you managed to get that and will let you know. Thanks for the help!
Design is completed and can't be changed, beside there's no available I/O pin left.
IDLE power consumption is actually from the PIC and not from the peripherals.
The logger project is getting near completion! I am now into the autonomous mode power, and I was able to measure these figures while powering the device from a battery across a 10 ohm shunt.
...
Hey Darrel, ok I understand "ASM" better.
I have everything as high priority interrupt and deleted all my little tweaking attempt. I got it to work nicely now, even with SPWM_FREQ 200. I however...