Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - cmdrk33n

1
General discussion / Need your help for the PIC18F25K50
Hello guys,

I've received a few PIC18F25K50 samples and wanted to play around with them. I must say, i'm bloody new to PIC MCU's.

I'm running archlinux and installed the following software:

- MPLAB X 1.4
- XC8 1.1.0
- C18 3.4.0

So, everything is running fine till here (except some path problems with this "plib", but i have solved them already), But the trouble starts when it i want to start a project for the PIC18F25K50. I can't choose the C18 compiler (i believe my version doesn't support it yet). But i can choose the XC8. It creates the project and i can use the needed headers.

Now things went strange:

there is a common library and a huge set of headers for i2c,spi,pwn and so on that is namend "plib". But it seems that it also doesn't support my chip. the lib for it is missing and i can't even set the essential config (FOSC etc.) because it wasn't found.

i tested all with the PIC18F2550 and everything is working there, so my basic setup should be ok.

Does anyone of you has experiences with that chip?
and more general: is MPLAB and the compilers from microchip the way i should go or is there any secret jedipath for PIC developement?

Oh, and there is a new version of the C18 (3.4.3) but the upgrade is only available for windows :-/

Please throw every tiny tip in here, i'm sure i can need it ^^

thanks for your help :-)
2
Project development, ideas, and suggestions / DTR signal for attiny's running avr-cdc
Hello,

I want to reuse my attiny85 running the avr-cdc firmware for my next DIY Arduino, but this time it would be nice to have the autoreset feature onboard (pressing reset for uploading sketches sucks sometimes). So i've started to hack the DTR signal into the avr-cdc firmware for the tiny chips. It's currently working for the tiny85. in the next few days, i will upload the missing bins for tiny45 and tiny2313...

I've also made a walkthrought for all the code changes i've made.

You can find everything on my blog:

http://www.cmdrkeen.net/2012/08/01/avr- ... -and-2313/ 

Have fun :)

oh, since iam the only person so far that have tested my code, it would be great to get some feedback if someone discovers a problem ;-)

------------------------- Edit -------------------------
You can find the tiny2313 code in my github repo, it provides you the DTR signal when you run this chip @12Mhz

https://github.com/tgoehlert/avr-cdc/tr ... 4/tiny2313

Since i don't have an attiny2313 laying around, i could'nt test it until now.


i've made a small demo for the modified tiny45/85 version:

http://www.youtube.com/watch?v=OvdGLPAbftc
3
General discussion / Board Layout.. pew
Hey Guys,

Iam currently working on my very first board layout and don`t know if i make make something essentially wrong.

Here is a picture of the current state:



I would be delighted to get some feedback from you :)
4
Project logs / 5x5x5 LED cube
Hi,

i finaly finished my second Hardware project :D
Its a 5x5x5 LED cube controlled by an Atmega328P (Arduino Bootloader).

For the USB <-> Serial connection i used a module i found in a ~10 years old mobile Datacable for Siemens Phones. it is based on an PL2313 chip.

I used an electret microphone in combination with an LM386 for some effects that react on sounds.

you can find some photos and vids on my blog:

www.cmdrkeen.net/?p=255

ok, it is nothing new and far away from well done.. But its just amazing for me to see it working and i learned quiet a lot :)
I just want to share it with you (because normaly i just hang around here, read about your projects/news and get inspired by you).

leave a little comment,thougth or what ever you want, if you want ;)
5
Project development, ideas, and suggestions / poor man`s Arduino project
Hi there,

i have started a small project about an low cost DIY Arduino based on the ATMEL ATmega328 MCU.
It uses an ATTiny45/85 with the avr-cdc Firmware from www.recursion.jp/avrcdc/ for USB to Serial conversion.

This project is still in an early develeopment state. I have already started to document it, but i have to fix the great count of typos and rework the schematics.

you can find the preview documentation and a small demovid on my blog at http://cmdrkeen.net.



I post it here because it is my first electronic project and it would be great to get some tips and feedback from you :)

Thank you for reading :)

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01732318824session_write_close ( )...(null):0
20.01762450416ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01762451192Database_MySQL->query( ).../DatabaseHandler.php:119
40.05992589928Database_MySQL->error( ).../Db-mysql.class.php:273