vendredi 9 novembre 2018

USBTOSERIAL-BOOTLOADER

USBTOSERIAL WITH BOOTLOADER

The easy way and more confortable to work with PIC microcontroller is with the use of an USB to serial converter when your project can take the power needed for working you can communicate, send the RESET commande, and program the chip.

The project in Proteus simulation:


my HEX downloader with CCS PICC software:

configuration of CCS PICC:



add pair COM1 and COM2 to connect virtual pors toguether:


Abriviation of project name:
BL_B3_16F876A_12M_C67:
BL: bootloader
B3: push button PIN_B3 (press this pb simultanusely with reset pb to start the bootloader)
16F876A: the chip used
12M: the cristal frequency
C67: serial communication PIN_C6 RXD and PIN_C7 TXD

hex downloader commande lines:
ParamStr(1): the HEX file path.
ParamStr(2): reset commande after programming.
ParamStr(3): close application before download successe.
for example:
"C:\USBCOMBL\serialhexdownloader.exe" "%H" "mclr" "exit"

The usb to serial used (SIM card reader) no other component needded:



connect directly theses wires to the PIC:


Project in reality:


PIC 16F877A board with USB to Serial converter:


POWER GND and RxD:


Txd and RTS;



samedi 8 octobre 2016

ISIS PROTEUS


Arabic scroll text matrix 16*16*8

1- with Arduino Uno microcontroller:



2- with PIC 16F877A microcontroller:


download project


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Real Time Clock with cristall of 16MHz


to be sur for 1second equal 1 seconde exactly in ISIS proteus
ISIS proteus->debug->watch window-> right clic add timer1.
ISIS proteus->debug->execute for specified time ->1 sec. 
and you will see the same value of timer1 every 1 sec.

 

Download:


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


IR USB PC REMOTE CONTROL

MEDIA PLAYER






Download;


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Serial Terminal

 

 

Serial Terminal for modem AT Commande

Download:

video and .exe

Serial Terminal for modem AT Commande:
AT_Terminal.rar  //update 28/12/2018

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


PIC PROGRAMMER

 

My USB PIC Programmer 1st step, i started with 24C08 serial EEPROM, hardware is the same of "GTP-USB summer 2005".


PC Software with C++ Builder v6:



Download project:
.dsn .c .exe and drivers (win xp, win7) here:



-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




16 * 16 matrix in isis proteus




Download:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




SMS PIC




Send messages with PIC microcontroller:

Call, send SMS, read SMS & remote control with PIC 16F877 and mobile Phone
1- connect your mobile phone to the microcontrller board with serial cable firstly.
2- in ISIS PROTEUS simulation you can connect your phone with serial cable or USB cable or with Bluetooth.



download:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


USB TEMPREG


USB PIC 18F4550 TEMPRETURE REGULATOR
using a virtual COM port on PC over USB


1. install USB Drivers from: proteus 7 profissional -> virtual USB.
2. install drivers from this file (NT,2000,XP,VISTA,7).

download: (tempreg.dsn .c .hex .cof and unit1.cpp for C++ builder).


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------





USBPIC






PIC18F4550, 74HCT164, LM35, 74LS138, LM016L. 
The objective of this project is to control 8 relays outputs, LCD and scroling LED message by USB. 
the sofware is made with C++ Builder v6.
pic software is CCS PIC C.
1. install USB Drivers from: proteus 7 profissional -> virtual USB.
2. install drivers from this file (NT,2000,XP,VISTA,7) included with download file.

download:(usbpic.dsn .c .hex .cof and helping pictures).
USBPIC.zip
USBPIC_video.zip
CCS PICC






-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




 


 


 

 

Serial Matrix

SERIAL DOT LED matrix 8x8 x 6 scrolling text display
download project:(.DSN .C & .HEX):

download:
CCS PICC
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Parallel Matrix

PARALLEL DOT LED matrix 8x8 x 5 scrolling text display
download project:(.DSN .C & .HEX):


download:
matrix2.ZIP
in ISIS right clic on circuit GL1 then shoose Goto child sheet, then do the same think for D10 and D14.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Creat Device in isis Proteus:


in this example we will try to creat the tempreture sensor LM35


download:
video:


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



CREAT DEVICE IN ARES:

download:


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




USB PIC:


download:
the drivers for USB PIC "VSMUSBDRIVERS.EXE" is here:
http://www.labcenter.com/download/prodemo_download.cfm

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


PIC-Tempreter Sensor LM35:


program in mikroC:


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------








PIC-Day of Week calculator:



program in PIC C:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


PIC-EEPROM


In this project i use the internel EEPROM of the PIC for store the value of the password protected counter.
the data can not be lost after the power lost.
press (*) then put the password then press (*) again and use (1) to incement or (2) to decrement or (0) to clear the value of the counter.
press (#) to save and exit.
the passwotd is: 1234


program in PIC C:


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


PIC-Real-Clock

PIC real clock with time date alarm and sound.

program in PIC C:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



PIC-RS232

program in PIC C:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


PIC with PCF8574 


PIC16f876a, PCF8574, I2C, EXTERNAL INTERRUPT,  




download:


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




Humidity and Temperature Sensor and PIC

SHT75 and PIC16f876A


downlaod:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------







DS1620 Digital Thermometer and Thermostat








Downlaod:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------





EAGLE 3D AND POV-RAY PROJECTS


PICBOARD
development board
 With USB and RS232 PIC 18F2550

... clic on image to enlarge ...
picboard 2550 with Eagle 3d & Pov-ray.



WITH RS232 PIC16F876



download;
3D Board animation.swf (4Mbyte) // 28/12/2018
picboard_all.zip (.dsn .pdf .jpg)


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




USB-PICBOARD
development board with USB and SERIAL ports
USB and RS232 PIC 18F4550
picboard 4550 with Eagle 3d & Pov-ray.

picboard 2550 with Eagle 3d & Pov-ray.

DOWNLOAD:

note: you can also use a PIC 16f877 in this board.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




HEX FONT MANAGER

creat your "Hex Font" for electronic matrix up to 64x64 bits.




Download:


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




Download ccs picc:




My facebook: