Post Created date
Converting Audurino UNO code to PCBA board
Arduino has an option to compile the "sketch" code into a HEX file, as for example: mycode.hex.   This hex file can be loaded into an ATMega328P IC through its ISP port...
Saturday, 29 January 2022 - 16:28
PCB--- sunny side up?
Sure, it's great for prototyping, and one-offs where size constraints aren't a big concern - but you'd never build, say, a practical smart watch by stacking pre-assembled modules...
Tuesday, 25 January 2022 - 16:43
PCB--- sunny side up?
I simply won't lay out PCBs any more.  I'll buy pre-assembled module boards full of surface-mount components and then use the 0.1" header rows on one module to plug into...
Monday, 24 January 2022 - 22:55
Can't read Cirrus CS5530 over SPI
I also noticed that one of the SPI transfers in the ADC_init section has a CS-go-low without a corresponding CS-go-high.  The transfer that has { SPI.transfer(0x0B);...
Monday, 24 January 2022 - 22:25
Can't read Cirrus CS5530 over SPI
Golly!   Those are some short delays that you have in the ADC_init section:       delayMicroseconds(0.000050);   That's about the amount of time...
Monday, 24 January 2022 - 21:52
Problems with WDT ATmega328P
Whenever you are using a Mega328P and can't get something to work, the first thing to do is download the Arduino source code for library that does exactly what you need get...
Sunday, 23 January 2022 - 15:28
Hoping for help on a tiny issue with I2C
Simonetta wrote: This is most likely not a hardware problem. Your RasPie is sending I2C address 0x00, which is a special reserved case. No I2C devices or slaves use...
Saturday, 22 January 2022 - 02:14
Connecting Arduino directly to the serial port of an old PC (not USB)
Once you get the RS232 voltage levels that are coming out of your PC's Serial port to the levels of your AVR, then switch your lines so that the RX of the PC serial port goes to...
Thursday, 20 January 2022 - 17:32
Tx port is constantly high even after enabling serial communication
I suspect that your baud calculation is not correct.  For the baud register values with 16MHz clock and 9600 baud, do:   9600 * 16  = 153,600   ...
Tuesday, 18 January 2022 - 18:05
How to develop for legacy AVRs using Arduino IDE?
I also recommend not using 90S8515 in any new designs if you are using Arduino.  If you have several tubes of these chips, then I suggest selling them on eBay, as user westfw...
Sunday, 16 January 2022 - 21:47
Atmega16, how to verify if its dead...
First verify voltage and signals at the pins of the ATmega16 IC itself. Get a sewing needle and clamp it into the alligator clip or scope probe.  A good wrap-around-the-...
Sunday, 16 January 2022 - 21:15
ICC V8 Compiler question
Here's an example of using strings that have been stored in flash memory:   const char DOW0[] PROGMEM = "Sunday"; const char DOW1[] PROGMEM = "Monday"; const char DOW2[]...
Tuesday, 11 January 2022 - 19:43

Pages