Atmel-Ice connector pin 1
Hi Guys, I bought the Atmel Ice PCBA and the cable from third party and intend to use for AVR programming. I attempt to patch up the cable, I noticed the pin 1 indication is on the bottom left hand...
View ArticlePic18F87k22 xtal prescaler timer1 problems
When a xtal 32kxxxkhz is used the prescaler for timer 1 seems not to be able to handle 1:1 see my T1CON settings . It does 1/2 that speed The xtal is ' in circuit' measured and does the correct...
View ArticleAT90S2313 code not working
Hi,how are you .Ihave problem with at90s2313 not work out on circuit board and in the simulation work can you guide me this is the code: Code (C): void main() { ddrd=0x00; Â portd=0x0e; Â Â Â Portb=0;...
View ArticleRemote control by location (PIC in Oshonsoft)
I'm making a couple of PCBs BASE/TRANSMITTER and REMOTE/MODEL RECEIVER using surface mount components, and PICs, for use as remote control by location (3D). Remote control by location, is when a...
View ArticleInterfacing 3V3 signals to 5V chips.
I have built a Teensy 3.2 circuit to replace the rather crappy "Sound-To-Light" circuit built into my DMX Stage Lighting Controller. There's a thread all about in the forum Analog & Mixed-Signal...
View ArticleLM35 to Arduino malfunctioning after connecting GSM
Hi, I am building a temperature monitoring system using lm35, GSM Sim900a and Arduino. LM35 was working good when connected with Arduino and readings were as expected. (without connecting GSM) But as I...
View ArticleDDS generating variable frequency(1Hz - 20kHz) sinewave using DAC
Hey. I need to generate a variable frequency sinewave using DAC. I have implement sine wave look up table and phase accumulator: Code (C): Â Â void SINE_LOOKUP_TABLE(){ Â const int BUFF_SIZE = 4096;...
View ArticleExternal PSRAM interface with STM32cubeMX libraries
Hey. I am using the STM32cubeMX generated library to interface STM32F412 microcontroller with external PSRAM chip: http://www.issi.com/WW/pdf/66-67WVE4M16EALL-BLL-CLL.pdf There is a function to write...
View ArticleArduino, Keypad and Decimal number
So I wanted to to write a program that ask you to choose between two choices. One allows you to enter a fixed number and the other directly takes you in to a loop. I'm asking for guidance on how to do...
View Articleissue about button in mikro c
i ve an issue to make this line which is the start button shut down every thing again if(portc.f0==0&&btn==0&&portc.f6!=1){delay_ms(200);btn=1; //power push button also i want to know...
View ArticlePIC16F191XX ICSP Circuit. How do I protect my other components from the high...
View attachment 183972 I have an external CPU that outputs an active-low reset signal, and I want to use that to reset every component on my board. So, I connected this line to the MCLR pin on my PIC,...
View ArticleSTM32cubeMX USART operation in interrupt mode
Hey. I require to read multiple bytes using USART ( 3 bytes of MIDI data ). I have generated my project using STM32cubeMX and using USART generated functions. I do not need to transmit anything, I only...
View ArticleEngineering display for a 'family day'
I've been tasked with build a gizmo for our group. Lights, sound and action are usually winners. The base hardware is a PIC18 K42 RS-232 port controller I designed for general use connected to an old...
View ArticlePIC code not working in proteus
hi, i have the following code but i get nothing when i try to put TRIGGER signal to D0 and ECHO signal to D1. But when i put TRIGGER and ECHO signal to PORT B pins then it works, can anybody tell me...
View ArticleKeypad matrix 4x4 for Arduino with color keys and braille texture?
Hello. How can I design a keypad matrix 4x4 for Arduino with the capability to custom the color and icon/letters keys and braille texture? Example: At the moment, I only have the idea to buy a keyboard...
View ArticleSPI software to hardware PIC 18F4620 and BMP280 (In Oshonsoft)
Hi, (Oshonsoft) PIC 18F4620 and peripheral BMP280 (Temperature/pressure chip) I've been using Oshonsoft SWSPI successfully but from advice, I want to change over to HWSPI. First I'm trying to READ the...
View Articlehow to compare values using if statement
I have the following code(shorted) and want to compare values from timer register after converting to decimal in the if statement, how to do this? its for PIC16F877A using XC8 compiler... Code (Text):...
View ArticleLSM303C how to compute compass heading using accelerometer and magnetometer data
I am using LSM303C 3D compass module to measure accelerometer and magnetometer. Ideally I would like to know a compass heading which would tell me which direction I am facing, however, I am still not...
View Articlehow does work this font8x8
hi can somebody explain me, how does work this [5:0] char_row = row_addr[8:3]; [2:0] font_row = row_addr[2:0]; //char row 8x8 [6:0] char_col = col_addr[9:3]; [2:0] font_col = col_addr[2:0]; // char col...
View ArticleEmbedded c programming to read the devices like sensors, switches?
Hello, first of all excuse me for my bad english I know the basics of C but I don't have any experiences with microcontroller programming. So I really hope that someone can help me If we want to get...
View Article