irc for YBox2- Project
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 45
- Joined: Thu Dec 11, 2008 3:37 am
irc for YBox2- Project
Hello there, for the past couple of weeks I was thinking of a way to create a product that can show an IRC chat room. So when i was reading Limor's blog today I saw that there was a VGA output made for the YBox2! Well imediatly I thought of the irc channel that I wanted to make, this is my first programming project, and I know that its going to be a big one, does anyone have any advice or ideas out there?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: irc for YBox2- Project
its definately a good idea and shouldnt be -too- hard
first off, google in case someone's done it first! check the propeller forums too
you'll need to connect a ps/2 keyboard up. see the propeller demo board schematic
then you will have to connect the irc server and parse out the codes to make it look pretty
but thats pretty much it
first off, google in case someone's done it first! check the propeller forums too
you'll need to connect a ps/2 keyboard up. see the propeller demo board schematic
then you will have to connect the irc server and parse out the codes to make it look pretty
but thats pretty much it
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
-
- Posts: 45
- Joined: Thu Dec 11, 2008 3:37 am
Re: irc for YBox2- Project
I just cried a little bit :[ I guess I can just use PropIRC although I want to find a way to add the PS/2 controller into the YBox2! i will be looking his schematic and changing it to my needs, and I just ordered the PCB for the YBox2. yay me.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: irc for YBox2- Project
i just did it, its pretty easy. dont forget you'll also need a lot of parts and a propeller programmer of some sort.
-
- Posts: 45
- Joined: Thu Dec 11, 2008 3:37 am
Re: irc for YBox2- Project
a propeller programmer? i though they come preprogrammed :[ fadge.i guess i should have ordered the full kit and not just the board haha wait a second Can i not use the bootloader if i get the propeller from http://www.parallax.com/Store/Microcont ... roductName
-
- Posts: 48
- Joined: Sun Apr 12, 2009 11:52 pm
Re: irc for YBox2- Project
Actually you can if your code is clean enough.. If you build your own make sure you get a programmer, you'll need it..justamar wrote:a propeller programmer? i though they come preprogrammed :[ fadge.i guess i should have ordered the full kit and not just the board haha wait a second Can i not use the bootloader if i get the propeller from http://www.parallax.com/Store/Microcont ... roductName
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: irc for YBox2- Project
well first off its not the propeller chip thats programmed, its the eeprom. so you can use an i2c eeprom programmer
OR a propeller programmer (which really just tells the propeller to program the eeprom)
http://www.ladyada.net/make/ybox2/parts.html
"64KB i2c EEPROM, preprogrammed with bootloader when purchased in a kit"
OR a propeller programmer (which really just tells the propeller to program the eeprom)
http://www.ladyada.net/make/ybox2/parts.html
"64KB i2c EEPROM, preprogrammed with bootloader when purchased in a kit"
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: irc for YBox2- Project
attached is the 'new' propirc.spin (renamed to .txt) with mods to make it ybox2 'compatible'
this version still requires VGA and ps/2 connectors
but the ethernet stuff works just fine
would be ++ if someone could help port this to NTSC
this version still requires VGA and ps/2 connectors
but the ethernet stuff works just fine
would be ++ if someone could help port this to NTSC
- Attachments
-
- propirc.txt
- (22.98 KiB) Downloaded 226 times
-
- Posts: 48
- Joined: Sun Apr 12, 2009 11:52 pm
Re: irc for YBox2- Project
You mean to the TV Out code, and if so what size do you want the 40x30?ladyada wrote:attached is the 'new' propirc.spin (renamed to .txt) with mods to make it ybox2 'compatible'
this version still requires VGA and ps/2 connectors
but the ethernet stuff works just fine
would be ++ if someone could help port this to NTSC
k.
- harrison
- Posts: 8
- Joined: Mon Jun 09, 2008 3:55 am
Re: irc for YBox2- Project
There was a typo in the contest version of propirc which broke the 25MHz freq generator. I didn't catch it until I tried to run the stack on the ybox2...ladyada wrote:attached is the 'new' propirc.spin (renamed to .txt) with mods to make it ybox2 'compatible'
To fix it, open up driver_enc28j60.spin and change:
Code: Select all
enc_freq = 5_000_000
Code: Select all
enc_freq = 25_000_000
-
- Posts: 48
- Joined: Sun Apr 12, 2009 11:52 pm
Re: irc for YBox2- Project
Harrison.. Glad to see you here too..
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: irc for YBox2- Project
ya TV outAbysmal wrote:You mean to the TV Out code, and if so what size do you want the 40x30?ladyada wrote:attached is the 'new' propirc.spin (renamed to .txt) with mods to make it ybox2 'compatible'
this version still requires VGA and ps/2 connectors
but the ethernet stuff works just fine
would be ++ if someone could help port this to NTSC
k.
any size is OK, whatever is easiest.
I'll give $25 adafruit gift certificate to the first person who succeeds!
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: irc for YBox2- Project
oh ok. to be honest i didnt look in the enc driver and i assumed there were not enough cogs to generate a 25mhz clock (theres a crystal in the schematic posted)harrison wrote:There was a typo in the contest version of propirc which broke the 25MHz freq generator. I didn't catch it until I tried to run the stack on the ybox2...ladyada wrote:attached is the 'new' propirc.spin (renamed to .txt) with mods to make it ybox2 'compatible'
To fix it, open up driver_enc28j60.spin and change:toCode: Select all
enc_freq = 5_000_000
After fixing that you should be able to run the code with minimal changes (you don't have to disable the webserver or the software rtc).Code: Select all
enc_freq = 25_000_000
will check it out soon!
-
- Posts: 48
- Joined: Sun Apr 12, 2009 11:52 pm
Re: irc for YBox2- Project
The crystal is for the propeller itself.. then nic chip needs a 25 mhz crystal that is simulated via pin 7 on the prop via code..ladyada wrote:oh ok. to be honest i didnt look in the enc driver and i assumed there were not enough cogs to generate a 25mhz clock (theres a crystal in the schematic posted)harrison wrote:There was a typo in the contest version of propirc which broke the 25MHz freq generator. I didn't catch it until I tried to run the stack on the ybox2...ladyada wrote:attached is the 'new' propirc.spin (renamed to .txt) with mods to make it ybox2 'compatible'
To fix it, open up driver_enc28j60.spin and change:toCode: Select all
enc_freq = 5_000_000
After fixing that you should be able to run the code with minimal changes (you don't have to disable the webserver or the software rtc).Code: Select all
enc_freq = 25_000_000
will check it out soon!
k.
Please be positive and constructive with your questions and comments.