Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by NewbeeAVR

  1. N

    Controller Area Network (CAN) test code

    I had created a simple test code for CAN using PIC18F4580. Which consists of 2 nodes sending data between each other. Uses 11-bit standard ID for communication. Node-1 is given ID of 10 and Node-2 is given ID of 20. I tried to display the registers like COMSTAT, TXB0CON, TXERRCNT, RXB0CON...
  2. N

    Why ATmega16 is used in Arduino Uno R3

    I got another doubt. They can use USB-UART chip like CH340 to provide USB interface instead. Because cost of ATmega16 is more than CH340. And use ATmega328p with bootloader installed?
  3. N

    Why ATmega16 is used in Arduino Uno R3

    Hi, I want to know why ATmega16 is used in Arduino Uno R3. What is the purpose of placing ATmega16 and ATmega328p on same board? Is ATmega328 is not enough?
  4. N

    Residual energy calculation in MATLAB for nRF24L01 module

    Hi, I am working on wireless sensor networks in MATLAB. I need to calculate residual energy at each transmission as well as reception of data. For which I needed ETX - energy for transmitting single bit, ERX - energy for receiving single bit and Amplification coefficient for a nRF24L01 module...
  5. N

    I need help in executing the code

    I found a code based on Man in the Middle Attack on Github but don't know how to run this code which IDE to use and on which platform it will work so I need help regarding it. Here is the URL https://github.com/Carl-Chinatomby/Computer-Security
  6. N

    Writing AVR inline assembly code in C++ file

    I wrote a inline assembly code in which port pins 0 to 5 represent PD2 to PD7 and 6 and 7 represent PB0 and PB1 respectively. High(pin) is used to make the respective pin logical HIGH. I referred avr-libc-user-manual.pdf to write the following code. But I went wrong some where. #include...
  7. N

    How to specify object name when using .h and .CPP file

    I am using DevC++. I need to write lcd.h class LCD{ void display(char); }; lcd.cpp void LCD :: display(char c){ //my code } Then in main.cpp #include <iostream> using namespace std; int main(){ LCD lcd; // Is any way to not specify hear but anywhere else in lcd.h or lcd.cpp...
  8. N

    How to specify object name when using .h and .CPP file

    I have LCD class and a object lcd as follows. class LCD{ public: ... ... }lcd; How to specify lcd object with two files lcd.h and lcd.cpp
  9. N

    Obtaining object.fun.a () structures using c++

    Obtaining object.fun.a() structure using c++ I need to obtain in c++ similar to object.fun.a() and object.fun.b() which resembles system.out.println() in java. Is it possible in c++.
  10. N

    Using parameters of a function outside a function

    Thank you for your reply. I mean can I make something like this void init(uint8_t rs, uint8_t en){ static _en = en; static _rs = rs; } void toggle_en(){ //make use of _en here //_rs is used in some other routine }
  11. N

    Using parameters of a function outside a function

    I need to write a function relating to LCD as follows void init(uint8_t rs, uint8_t en); and toggle_en(); I need to use parameter 'en' within init() function in toggle_en() function how to do that
  12. N

    [AVR] SPI communication between two AVRs

    I have two AVRs need to connect through SPI both AVRs are supplied with separate power supply. Did I need to make ground of both supply common?
  13. N

    1.5Amps FET, MOSFET to work with 5v device.

    I need a FET or MOSFET that can operate with 5v supply having drain current of 1.5Amps, low drain to source resistance, cheap in price and also available any where in Asia. Can anyone suggest...
  14. N

    [AVR] Problem displaying Date and Time using IN1307

    I am displaying date and time on LCD. I first wrote date and time to 1307 and put a while loop that reads values stored in location 0x00 to 0x07 to an array. Then I wrote a function to decode that value to display on LCD. The problem is inside while loop the time and dates are not updating. It...
  15. N

    Varing Alphanumeric LCD contrast

    In the following data sheet they have given 5v as the supply voltage. I am using 12v adapter and 7805 to get 5v. **broken link removed**

Part and Inventory Search

Back
Top