sirbow2
Newbie level 5
OK, so for my project,
I was thinking of a 4x20 LCD(or bigger), have two buttons below for two separate "tabs" for the LCD, one would switch to temps, other has Time and Notifications.
Also i was gonna do a strip of blue LEDs above my keyboard that turn on when its dark. but that is easily done with a photodiode, NPN and a resistor. then i could add a force on/off switch and a dimmer
What programming language should i use? Pbasic, MCC18, mikrobasic/C? i have alittle experience in C++, C#, and BASIC from the BS2. Basic seems easier. ive seen Arduino code, its simple, easy, and i like it. can i use the arduino IDE and compile for any other PIC. Arduino is just a 16F with a special bootloder, just like the BS2. i know you cant use it with BS2 cause it has that tokenize stuff.
My Questions PIC18F:
Do i need a MHZ cyrstal for the PIC? im guessing yes, because of the time/date. what would be the best crystal to use? 20Mhz?
I got a RS232 cable for programing to make it into a Simple JDM programmer. the cable came from a BackupPSU, it has wires on pins:
scheme for JDM:
the only thing the cable doesn't have is PIN 5 (Signal Ground). can that be left out?
BS2 Questions:
it is noticeably easier to write to the LCD in Basic, but i dont know, does it have enough power etc, to do the rest of the stuff i want?
Ok i guess what im asking is for some help on how to reiceve data from the computer, then display it on the LCD. and how to write a program on the Comp to get the data from shared library, and email notifications. the RTC, and the LM35 i should be able to write by my self i think. but the Email and PC temps are going to be more difficult
Thanks for the help. What do you guys think?
Code:
-Serial LCD to display
-PC Temps, room temps
-PC Temps(CPU, GPU etc) using CoreTemp windows app, has shared library, any progrma can access temperature data. :)
-LM35 for room temp, maybe real time outside temps later.
-Time/Date, Email notification
-not sure how, just Notifications=Yes/No
-ds1307rtc
-Later
-Get Stats from VLC(media player on computer) title, time remaining, time elapsed, total length, volume, and status- playing/paused etc
Code:
-Using PIC
-BS2 Boe-Bot
OR (im not sure yet)
-18F4520
-I can get any PIC you guys think is best, AVR, MEGA, 18F
-Id rather stay away from prebuilt boards like arduino-more expensive. i can make one my self just fine with only the stuff i need.
I was thinking of a 4x20 LCD(or bigger), have two buttons below for two separate "tabs" for the LCD, one would switch to temps, other has Time and Notifications.
Also i was gonna do a strip of blue LEDs above my keyboard that turn on when its dark. but that is easily done with a photodiode, NPN and a resistor. then i could add a force on/off switch and a dimmer
What programming language should i use? Pbasic, MCC18, mikrobasic/C? i have alittle experience in C++, C#, and BASIC from the BS2. Basic seems easier. ive seen Arduino code, its simple, easy, and i like it. can i use the arduino IDE and compile for any other PIC. Arduino is just a 16F with a special bootloder, just like the BS2. i know you cant use it with BS2 cause it has that tokenize stuff.
My Questions PIC18F:
Do i need a MHZ cyrstal for the PIC? im guessing yes, because of the time/date. what would be the best crystal to use? 20Mhz?
I got a RS232 cable for programing to make it into a Simple JDM programmer. the cable came from a BackupPSU, it has wires on pins:
Code:
1. Data carrier detect (DCD)
3. Transmit data (TX)
4. Data terminal ready
7. Request to send
8. Clear to send
Code:
TXD (3) ------[4.7k]-------VPP
GND (5) --------------------VSS
DTR (4) -------[4.7k]------DATA
CTS (8) ------------------DATA
RTS (7) -------[4.7k]------CLK
BS2 Questions:
it is noticeably easier to write to the LCD in Basic, but i dont know, does it have enough power etc, to do the rest of the stuff i want?
Ok i guess what im asking is for some help on how to reiceve data from the computer, then display it on the LCD. and how to write a program on the Comp to get the data from shared library, and email notifications. the RTC, and the LM35 i should be able to write by my self i think. but the Email and PC temps are going to be more difficult
Thanks for the help. What do you guys think?