5. CUSTOM PROJECTS

Though there are many microcontroller programmers on the market, you can build one for just a fraction of the cost. There are two options: either you buy a preprogrammed microcontroller, or you build one yourself. Please, see Microcontroller programmers section, if you would like to build a programmer for a few euros or dollars…

Now, when you have a programmed microcontroller that talks to your computer as a HID USB device, you just need interface software to control it from your PC. The easiest way is to use a suitable DLL that comes with the HEX file. DLL implements simple HID functions and provides for inter-thread and inter-process synchronization. The latter means that you will be able to access the microcontroller from different threads of one application, or from different threads within other applications (see Multithreading support for more details). Now, you just have to write your own application… See section “How to start programming PIC18F24J50 or PIC18F26J50?” for details.

cb. PIC32 USB to RS-232 TTL communication bridgean. ADDING AN EXTERNAL ANTENNA TO ESP32 AND ESP8266 MODULESHow to program a microcontroller from scratch?

Programming microcontrollers from scratch is relatively difficult due to many open questions that may arise. The first task is to build a programmer circuit. Next you need to write a programming application that programs HEX files. But this is only a half of the story. You also need a microcontroller programming environment, at least an assembler and a linker. However, it is more convenient to install a more complex development environment with a higher programming language like C, C++ or Basic. if you have to solve a more complex problem, you should also consider using Microchip program libraries. The next task is to get as much documentation about the microcontroller you are about to program as possible. It is important to understand the microcontroller's architecture and its functional units operation before you begin programming.

 

Projects:

 @. PC USB Projects PROGRAMMING GUIDE

@@. PC USB Projects HEX Editor GUIDE

a. PROGRAMMING GUIDE (obsolete): How to start programming PIC18F24J50, PIC18F26J50 or PIC18F2550?

aa. PROGRAMMING GUIDE (obsolete): PIC32 microcontroller programing in VB.NET

b. Basic circuit for PIC18F24J50 or PIC18F26J50 to work over USB 2.0 

c. Need more speed? Here is a 12 MHz basic circuit for PIC18F24J50 or PIC18F26J50.

ct. Handy miniature COVID-19 LED lamp 

d. MCP2200 programming: Is it possible?

e. Advantages of PIC18F24J50 and PIC18F26J50

f. Multithreading support

g. Create a remote control client-server application

h. Controlling PIC18F2xJ50 via an ASP.NET website

he. Adding ESP32-CAM to a helicopter model

hf. Adding a camera to a helicopter drone (UPDATED) 

i. 64-bit application support

j. PIC18F24J50 firmware v2.0 is now available!

k. PIC18F24J50, PIC18F26J50 and PIC18F2550 firmwares v2.5 with thermostat support 

l. DC motor controller (robotics)

m. Frequency and impulse width measurement

n. Saving power with p-MOSFET switches

o. Basic circuit for PIC32MX2xxFxxxB and PIC24FJxxGB002 to work over USB 2.0 with an 8.000000 MHz XTAL crystal resonator

p. Digital to analog converter (DAC) based on PWM 

q. Basic circuit for PIC32MX2xxFxxxB and PIC24FJxxGB002 to work over USB 2.0 with a 20.000 MHz external oscillator 

r. PICkit 3 header for PIC32MXxxxFxxxB (including PIC32MX250F128B and PIC32MX270F256B) programming 

s. PIC32MX250F128B/PIC32MX270F256B USB Setup Utility with source code 

t. Microsoft Visual Basic.NET support for PIC32MX250F128B, PIC32MX270F256B, PIC32MZ2048ECH100 and PIC32MZ2048ECH144 (PIC32MZ EC Starter Kit)

u. PICkit 3 header for PIC18F2xJ50 programming

v. Wireless communications

z. Up to 9 channel 32-bit arbitrary frequency PWM generation with PIC32 output compare units

ba. User functions support

bb. PIC18 in-circuit programming/debugging header for PICkit2 and PICkit3

bc. Universal DLL for all microcontrollers supported by PC USB Projects

bd. Unified PC USB Projects DLL v6.0 for all microcontrollers

be. PIC18F2xJ50 Digital Clock with LCD example

bf. RFM69CW: Packet based wireless communications

bg. WIRELESS CHAT

bh. Modular Weather Station Project

bi. PIC18F4550 basic circuit to work over USB 2.0

bj. Graphics LCD with touchscreen

bk. PIC32MZ2028ECH100 - 100-pin PIM basic USB circuit

bl. PIC32 remote controlled robot project

bm. LEGO remote controlled truck

bn. Analog encoder (for LEGO remote controlled truck)

w. PIC32 and Internet of Things (IoT)

sr. PIC32MX Sound Recorder

pm. Hardware Password Manager

sa. ATSAMV71 Xplained Ultra and SAMV71Q21B SUPPORT

es. Programming ESP8266-13 with MCP2200 USB to TTL RS-232 communication bridge

ea. ESP8266 PROGRAMS

ef. Adding a flash memory card (SD card) to ESP8266-13 module

mp. ESP32-CAM Music Player

er. Secure ESP32 Internet Radio with wired Ethernet connection

sc. ESP32-CAM based secure flash LED camera

mp. ESP32-CAM Music Player

og. ESP32 OGG SoundRecorder

an. ADDING AN EXTERNAL ANTENNA TO ESP32 AND ESP8266 MODULES

cb. PIC32 USB to RS-232 TTL communication bridge

ALSO READ:

- Home automation section

- Velleman experiment boards K8055 and K8055N upgrade projects