CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 18 matches
CCS Forum Index
Author Message
  Topic: Choosing Microcontrollers
ThanhDan

Replies: 29
Views: 58162

PostForum: General CCS C Discussion   Posted: Thu Oct 20, 2022 12:36 am   Subject: Choosing Microcontrollers
kinda curious..... does that pixycamera have a set of commands ( like Hayes modems ) that you can use or do YOU have to make the entire 'driver' for it ??
If the 'command set' is built in, then a mu ...
  Topic: Choosing Microcontrollers
ThanhDan

Replies: 29
Views: 58162

PostForum: General CCS C Discussion   Posted: Thu Oct 20, 2022 12:33 am   Subject: Choosing Microcontrollers
This is a key to understand about the different 'nature' of microcontrollers.

The PIC stands for 'Peripheral Interface Controller'. It is _not_ a general
microcontroller. It was built to be a sim ...
  Topic: Choosing Microcontrollers
ThanhDan

Replies: 29
Views: 58162

PostForum: General CCS C Discussion   Posted: Tue Oct 18, 2022 8:15 pm   Subject: Choosing Microcontrollers
Think about it. Even a tiny picture will be perhaps 192*128 pixels. Even
in B&W, one byte per pixel. Needs then 24576 bytes to hold just a single
frame. The 877 has 192 bytes.....

Even if yo ...
  Topic: Choosing Microcontrollers
ThanhDan

Replies: 29
Views: 58162

PostForum: General CCS C Discussion   Posted: Sun Oct 16, 2022 8:00 am   Subject: Choosing Microcontrollers
Pretty sure this is a school assignment Jay. This bit:

...how do I choose my microcontroller (i.e the sensors feed this much data back in 1 sec and the MCU has this much memory therefore it can han ...
  Topic: Choosing Microcontrollers
ThanhDan

Replies: 29
Views: 58162

PostForum: General CCS C Discussion   Posted: Sun Oct 16, 2022 7:54 am   Subject: Choosing Microcontrollers
Do you HAVE to use a camera as the white line sensor ? It's tremendously far more complicated both in hardware and software to be used as a 'white line sensor (wls)' !

One of the simplest wls is a ...
  Topic: Choosing Microcontrollers
ThanhDan

Replies: 29
Views: 58162

PostForum: General CCS C Discussion   Posted: Sun Oct 16, 2022 7:41 am   Subject: Choosing Microcontrollers
That is nice, since you are not dealing with the image. Problem is, even for
very small images, the PIC in general does not have the memory to cope
with images. With that you program the camera to ...
  Topic: Choosing Microcontrollers
ThanhDan

Replies: 29
Views: 58162

PostForum: General CCS C Discussion   Posted: Sun Oct 16, 2022 7:35 am   Subject: Choosing Microcontrollers
PIXY2 camera: https://pixycam.com/pixy2/

I have one, but I never tried to interface it with a PIC. They do offer the code for Arduino and Pi.

Thanks, for your speedy response. Yes, I am using a ...
  Topic: Choosing Microcontrollers
ThanhDan

Replies: 29
Views: 58162

PostForum: General CCS C Discussion   Posted: Tue Oct 11, 2022 2:19 am   Subject: Choosing Microcontrollers
Hi I'm choosing a microcontroller for my line following robot project. The robot is basically a small AGV that can carry a 2kg colored package. I need a color sensor to identify the color of the packa ...
  Topic: Simple PWM bug, please help...
ThanhDan

Replies: 6
Views: 18236

PostForum: General CCS C Discussion   Posted: Fri Jul 15, 2022 9:02 pm   Subject: Simple PWM bug, please help...
Thanks, noted
  Topic: Simple PWM bug, please help...
ThanhDan

Replies: 6
Views: 18236

PostForum: General CCS C Discussion   Posted: Thu Jul 14, 2022 9:16 pm   Subject: Simple PWM bug, please help...
Key. Add 'L' here:

set_pwm1_duty(100L);

Problem is that the duty code has two operating modes, dependant on
whether the value passed is an 8bit value or a 16bit value. If a 16bit
value is p ...
  Topic: Simple PWM bug, please help...
ThanhDan

Replies: 6
Views: 18236

PostForum: General CCS C Discussion   Posted: Wed Jul 13, 2022 4:44 am   Subject: Simple PWM bug, please help...
Hi I'm using PIC16F877A (external crystal 20MHz) to implement PWM on CCP1.
I tried many cases using the same code and calculations, all works but this one particular case where f_PWM = 100kHz, T_PWM ...
  Topic: DFPlayer using PIC16F887
ThanhDan

Replies: 11
Views: 27723

PostForum: General CCS C Discussion   Posted: Tue Jun 14, 2022 9:34 am   Subject: DFPlayer using PIC16F887
Hi, thank you all so much for helping, I succeeded, turns out I had the file name wrong (I put 001.mp3 when it should have been 0001.mp3), thanks to PCM P datasheet and temtronic's suggestion, I fixed ...
  Topic: DFPlayer using PIC16F887
ThanhDan

Replies: 11
Views: 27723

PostForum: General CCS C Discussion   Posted: Tue Jun 14, 2022 12:19 am   Subject: DFPlayer using PIC16F887
haven't read the MP3 datasheet but...maybe it doesn't like your 'checksums', and refuses to play ??

Yeah it's written in the pdf how to find all other bytes and their meanings except for the checks ...
  Topic: DFPlayer using PIC16F887
ThanhDan

Replies: 11
Views: 27723

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2022 11:51 am   Subject: DFPlayer using PIC16F887
It can't take another command, till it has finished the one that is playing
So just wait for the line to go high, before you next call the send_data
command.

Hi, thanks for your rapid response. Y ...
  Topic: DFPlayer using PIC16F887
ThanhDan

Replies: 11
Views: 27723

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2022 11:47 am   Subject: DFPlayer using PIC16F887
It can't take another command, till it has finished the one that is playing
So just wait for the line to go high, before you next call the send_data
command.

Thanks for your rapid response, Yes I ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group