Proteus ошибка no model specified

enter image description here

You must have picked a piece of equipment labeled as ‘No Simulation model. Now, if you place this component in your circuit, then there will be an error named — «No model specified for … »

enter image description here

enter image description here

Here ‘No model specified for U1:A’ means that the IC named U1:A is not approved for simulation. You need to replace it with active component.

enter image description here

So you need to replace the faulty IC with an active one. I have replaced it with the spice model. And the error is gone.

enter image description here

In proteus, almost everything has a generic model. If there is no simulation model for your desired component, then do your simulation using another component that has the same characteristics. For designing PCB, just change the package.

Форум РадиоКот • Просмотр темы — Proteus: вопросы и ответы

Сообщения без ответов | Активные темы

ПРЯМО СЕЙЧАС:

Автор Сообщение

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Чт дек 23, 2010 19:10:41 

Друг Кота
Аватар пользователя

Карма: 67

Рейтинг сообщений: 1002

Зарегистрирован: Чт сен 18, 2008 12:27:21
Сообщений: 18497
Откуда: Столица Мира Санкт-Петербург

Рейтинг сообщения: 0

Медали: 1

Получил миской по аватаре (1)

Engineer_Keen писал(а):

Сумел с другого компа послать, где каспера нет))). Результат — 5/43.
Вирустотал

Значит, глюк Каспера :)


_________________
[ Всё дело не столько в вашей глупости, сколько в моей гениальности ] [ Правильно заданный вопрос содержит в себе половину ответа ]
Измерить нннада?

Вернуться наверх
 

ПрофильПрофиль

 

Реклама

Chettuser

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Чт дек 23, 2010 20:21:04 

Каспер вообще сплошной глюк! На работе я с ним от души «навоевался». Еще с далёкого 2005 года отказался от него, после того как он был «почикан» вирусами и я чуть «не потерял» комп (по железу). С тех пор юзаю другой, менее тормозной антивирь. (какой не скажу, дабы не делать рекламы)

Вернуться наверх
Реклама

goblin247

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Вс дек 26, 2010 15:48:46 

Зарегистрирован: Сб дек 25, 2010 23:09:11
Сообщений: 11

Рейтинг сообщения: 0

Доброе время суток благородные коты!! По наставлению мудрого кота — администратора, обращаюсь к вам в этом топике. Прошу помощи наставить на путь истинный неразумного котенка. Суть: при освоении проектирования взял пример отсюда http://www.oshonsoft.com/picchargerlcd.html , в протеусе смоделировал схемку, а результат нулевой (нет корректного отображения на индикаторе)… помогите . Проект прицепил:

Вернуться наверх

Chettuser

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Вс дек 26, 2010 19:26:01 

Первая проблема — русские имена в названии и пути файлов.

Вернуться наверх
Реклама

goblin247

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Вс дек 26, 2010 20:00:09 

Зарегистрирован: Сб дек 25, 2010 23:09:11
Сообщений: 11

Рейтинг сообщения: 0

Изменил названия на англицкие, результат тот-же :( .

Вернуться наверх
Реклама

Chettuser

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Вс дек 26, 2010 20:21:27 

Да, там есть какие то проблемы… Посмотрю попозже.

Вернуться наверх

aido

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 00:43:29 

Зарегистрирован: Пн июл 12, 2010 11:35:04
Сообщений: 49

Рейтинг сообщения: 0

ребят, как настроить протеус, чтоб он симулировал такую схему.

Да, там 600 В на входе.

Вернуться наверх

otest

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 10:19:28 

Карма: 27

Рейтинг сообщений: 1282

Зарегистрирован: Ср фев 11, 2009 20:35:58
Сообщений: 7854

Рейтинг сообщения: 0

Вернуться наверх

aido

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 16:36:45 

Зарегистрирован: Пн июл 12, 2010 11:35:04
Сообщений: 49

Рейтинг сообщения: 0

а нельзя ли написать, что именно было сделано для исправления схемы пошагово?

Вернуться наверх

otest

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 16:41:47 

Карма: 27

Рейтинг сообщений: 1282

Зарегистрирован: Ср фев 11, 2009 20:35:58
Сообщений: 7854

Рейтинг сообщения: 0

Ничего не сделано. Снова собрана и отправлена. У вас или настройки неправильные или модели не крякнутые.
PS: 50гц Протеус не симулит. Ставьте 49 или 51.

Вернуться наверх

TICLIR

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 18:22:48 

Зарегистрирован: Вс авг 01, 2010 16:05:25
Сообщений: 133

Рейтинг сообщения: 0

Доброе время суток! Столкнулся с токой проблемой протеус 7.6, в процессе отладки со схемы убираю лишнии компоненты
а он перестает запускаться. Он пишет что симуляция запущена и всё, остоновить это возможно только закрытием программы , востанавливаешь схему сново работает. Чюдеса такие,кто сталкивался подскажите.

Вернуться наверх

otest

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 18:41:13 

Карма: 27

Рейтинг сообщений: 1282

Зарегистрирован: Ср фев 11, 2009 20:35:58
Сообщений: 7854

Рейтинг сообщения: 0

Вернуться наверх

TICLIR

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 19:22:42 

Зарегистрирован: Вс авг 01, 2010 16:05:25
Сообщений: 133

Рейтинг сообщения: 0

otest писал(а):

Проект в студию

Вернуться наверх

otest

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 20:53:37 

Карма: 27

Рейтинг сообщений: 1282

Зарегистрирован: Ср фев 11, 2009 20:35:58
Сообщений: 7854

Рейтинг сообщения: 0

У вас тоже неисправная программа или винда не дружит с ней. У меня ХР протеус 7.7СП2 всё работает. Не ставте в проекты аналоговые резисторы и конденсаторы если они не выполняют своих аналоговых функций в проекте.Этим вы разгрузите РС. Запустите вложение через file-import section-dep.SEC

Вернуться наверх

goblin247

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 22:20:32 

Зарегистрирован: Сб дек 25, 2010 23:09:11
Сообщений: 11

Рейтинг сообщения: 0

Мяу уважаемые коты!! Ну подскажет кто нибудь в решении моей проблемы? Хотя бы в каком направлении двигаться….

Вернуться наверх

otest

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 22:35:26 

Карма: 27

Рейтинг сообщений: 1282

Зарегистрирован: Ср фев 11, 2009 20:35:58
Сообщений: 7854

Рейтинг сообщения: 0

goblin247 писал(а):

Мяу уважаемые коты!! Ну подскажет кто нибудь в решении моей проблемы? Хотя бы в каком направлении двигаться….

Программа для вашего проекта написана на бейсике. Этот язык мало кто использует. Поэтому и править программу некому.

Вернуться наверх

goblin247

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 22:53:12 

Зарегистрирован: Сб дек 25, 2010 23:09:11
Сообщений: 11

Рейтинг сообщения: 0

Спасибо за ответ, забуду об этом примере, найду что нибудь другое… Если кто подскажет где найти хороший наглядный примерчик- огромное спасибо :beer: !!

Вернуться наверх

otest

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 22:55:11 

Карма: 27

Рейтинг сообщений: 1282

Зарегистрирован: Ср фев 11, 2009 20:35:58
Сообщений: 7854

Рейтинг сообщения: 0

То что не идёт симуляция в протеусе не значит что схема не будет работать в железе.

Вернуться наверх

goblin247

Не в сети

Заголовок сообщения: Re: Proteus: вопросы и ответы

СообщениеДобавлено: Ср дек 29, 2010 23:28:01 

Зарегистрирован: Сб дек 25, 2010 23:09:11
Сообщений: 11

Рейтинг сообщения: 0

Цель не собрать готовое устройство, а научиться грамотно разрабатывать свои проекты с последующим воплощением их в жизнь….

Вернуться наверх

iukash

Не в сети

Заголовок сообщения: Не запускается моделирование Proteus

СообщениеДобавлено: Чт дек 30, 2010 00:04:48 

Родился
Аватар пользователя

Зарегистрирован: Ср дек 29, 2010 22:55:57
Сообщений: 2
Откуда: Москва

Рейтинг сообщения: 0

Я полный чайник в этой области и только начал этим заниматься, посоветовали ваш форум, может подскажите куда двигаться дальше. Почитал статью и решил смоделировать схему из нее в программе Proteus. Но у меня ошибки

Цитата:

No model specified for D1
No model specified for D2
Моделирование неудачно из-за ошибок анализа разделов

Прикладываю в архиве схему для Proteus и 1-ю часть статьи из которой я брал схему.

Добавлено
Извиняюсь что написал не туда!

Вложения:
Комментарий к файлу: Схема



Raxp_IR.rar [171.59 KiB]

Скачиваний: 246


_________________
Спаси дерево — съешь бобра!

Вернуться наверх

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 9

Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Step 1 – Solve Proteus Error No Model Specified

Is Proteus Error No Model Specified appearing? Would you like to safely and quickly eliminate No Model Specified which additionally can lead to a blue screen of death?

When you manually edit your Windows Registry trying to take away the invalid isis error no model specified keys you’re taking a authentic chance. Unless you’ve got been adequately trained and experienced you’re in danger of disabling your computer system from working at all. You could bring about irreversible injury to your whole operating system. As very little as just 1 misplaced comma can preserve your Pc from even booting every one of the way by!

Troubleshooting isis no model specified for u1 Windows XP, Vista, 7, 8 & 10

Simply because this chance is so higher, we hugely suggest that you make use of a trusted registry cleaner plan like CCleaner (Microsoft Gold Partner Licensed). This system will scan and then fix any Proteus Error No Model Specified complications.

Registry cleaners automate the entire procedure of finding invalid registry entries and missing file references (including the Model error) likewise as any broken hyperlinks inside of your registry.

Issue with proteus no model specified for u

Backups are made immediately prior to each and every scan providing you with the choice of undoing any changes with just one click. This protects you against doable damaging your pc. Another advantage to these registry cleaners is that repaired registry errors will strengthen the speed and performance of one’s procedure drastically.

  • http://www.edaboard.com/thread253823.html
  • http://www.protonbasic.co.uk/showthread.php/54195-Error-No-Model-Specified-for-X1
  • http://forum.allaboutcircuits.com/threads/ic-4047-simulation-in-proteus.97573/
  • https://www.8051projects.net/t28017/general-help-guidance-discussion/proteus-isis-errorno-model-specified.htm

Cautionary Note: Yet again, for those who are not an state-of-the-art consumer it’s very encouraged that you simply refrain from editing your Windows Registry manually. If you make even the smallest error within the Registry Editor it can result in you some serious issues that may even call for a brand new set up of Windows. Not all difficulties attributable to incorrect Registry Editor use are solvable.

Fixed: no model specified for u2 proteus

Symptoms of Proteus Error No Model Specified
“Proteus Error No Model Specified” appears and crashes the energetic method window.
Your Personal computer routinely crashes with Proteus Error No Model Specified when running the exact same system.
“Proteus Error No Model Specified” is shown.
Windows operates sluggishly and responds little by little to mouse or keyboard input.
Your computer periodically “freezes” for the number of seconds in a time.

Will cause of Proteus Error No Model Specified

Corrupt obtain or incomplete set up of Windows Operating System software program.

Corruption in Windows registry from a new Windows Operating System-related application adjust (install or uninstall).

Virus or malware infection which has corrupted Windows method documents or Windows Operating System-related application data files.

Another method maliciously or mistakenly deleted Windows Operating System-related files.

Mistakes this sort of as “Proteus Error No Model Specified” can be brought about by several different elements, so it really is important that you troubleshoot every of the achievable brings about to forestall it from recurring.

Simply click the beginning button.
Variety “command” inside the lookup box… Will not hit ENTER nonetheless!
Although keeping CTRL-Shift in your keyboard, hit ENTER.
You’re going to be prompted that has a authorization dialog box.
Click on Of course.
A black box will open having a blinking cursor.
Variety “regedit” and hit ENTER.
Within the Registry Editor, choose the isis error no model specified connected key (eg. Windows Operating System) you wish to back again up.
Within the File menu, choose Export.
Inside the Preserve In list, pick out the folder in which you wish to save the Windows Operating System backup key.
Inside the File Title box, sort a reputation for the backup file, these types of as “Windows Operating System Backup”.
From the Export Vary box, ensure that “Selected branch” is selected.
Click on Help you save.
The file is then saved by using a .reg file extension.
You now use a backup within your isis no model specified for u1 related registry entry.

Solution to your problem

There are actually some manual registry editing measures that can not be talked about in this article due to the high chance involved for your laptop or computer method. If you want to understand more then check out the links below.

Additional Measures:

One. Conduct a Thorough Malware Scan

There’s a probability the No Error Proteus Specified Model error is relevant to some variety of walware infection. These infections are malicious and ready to corrupt or damage and possibly even delete your ActiveX Control Error files. Also, it’s attainable that your Proteus Error No Model Specified is actually connected to some element of that malicious plan itself.

2. Clean Disk Cleanup

The a lot more you employ your computer the extra it accumulates junk files. This comes from surfing, downloading packages, and any sort of usual computer system use. When you don’t clean the junk out occasionally and keep your program clean, it could turn into clogged and respond slowly. That is when you can encounter an No error because of possible conflicts or from overloading your hard drive.

Once you clean up these types of files using Disk Cleanup it could not just remedy Proteus Error No Model Specified, but could also create a dramatic change in the computer’s efficiency.

Tip: While ‘Disk Cleanup’ is definitely an excellent built-in tool, it even now will not completely clean up No Model discovered on your PC. There are numerous programs like Chrome, Firefox, Microsoft Office and more, that cannot be cleaned with ‘Disk Cleanup’.

Since the Disk Cleanup on Windows has its shortcomings it is extremely encouraged that you use a specialized sort of challenging drive cleanup and privacy safety application like CCleaner. This system can clean up your full pc. If you run this plan after each day (it could be set up to run instantly) you are able to be assured that your Pc is generally clean, often operating speedy, and always absolutely free of any Specified error associated with your temporary files.

How Disk Cleanup can help

1. Click your ‘Start’ Button.
2. Style ‘Command’ into your search box. (no ‘enter’ yet)
3. When holding down in your ‘CTRL-SHIFT’ important go ahead and hit ‘Enter’.
4. You will see a ‘permission dialogue’ box.
5. Click ‘Yes’
6. You will see a black box open up plus a blinking cursor.
7. Variety in ‘cleanmgr’. Hit ‘Enter’.
8. Now Disk Cleanup will start calculating the amount of occupied disk space you will be able to reclaim.
9. Now a ‘Disk Cleanup dialogue box’ seems. There will be a series of checkboxes for you personally to pick. Generally it will likely be the ‘Temporary Files’ that consider up the vast majority of your disk area.
10. Verify the boxes that you want cleaned. Click ‘OK’.

How to repair

3. System Restore can also be a worthwhile device if you ever get stuck and just desire to get back to a time when your computer system was working ideal. It will work without affecting your pics, paperwork, or other crucial information. You can discover this option with your User interface.

No Model

Manufacturer

Device

Operating System


Proteus Error No Model Specified


4 out of
5

based on
42 ratings.

 

Skip to main content

Forum for Electronics

Forum for Electronics

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.

  • Digital Design and Embedded Programming

  • Microcontrollers

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

‘No model specified’ for proteus


  • Thread starter

    karthi06


  • Start date

Status
Not open for further replies.

  • #1

Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation

0

Reaction score
0
Trophy points
1
Activity points

209


hello,
i’m still new to proteus and currently working on impact sensing circuit.However,i’m facing some errors once i try to simulate the circuit, as the errors,’no models specified’ is being displayed upon the simulation. Thus, i really need some suggestions and guidelines from you guys.Thank you very much.Below are the image of my circuit:

circuit.jpg

  • #2

Joined
Jul 17, 2006
Messages
63
Helped
0
Reputation

0

Reaction score
0
Trophy points
1,286
Activity points

1,615


  • #3

jayanth.devarayanadurga

Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation

1,654

Reaction score
790
Trophy points
1,393
Location

Bangalore, India

Activity points

0


Double click all the connectors (jumpers) in design and check Exclude from Simulation. It will simulate.

  • #4

Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation

0

Reaction score
0
Trophy points
1
Activity points

209


As you have said before, i have clicked all the connectors and checked the ‘Exclude from Simulation’ options, and the circuit shows no error upon simulation. However the lcd screen doesn’t display anything,even though i have inserted the specific coding,as shown below:


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Lcd pinout settings
sbit LCD_RS at RB0_bit;
sbit LCD_EN at RB1_bit;
sbit LCD_D4 at RB2_bit;
sbit LCD_D5 at RB3_bit;
sbit LCD_D6 at RB4_bit;
sbit LCD_D7 at RB5_bit;
 
// Pin direction
sbit LCD_RS_Direction at TRISB0_bit;
sbit LCD_EN_Direction at TRISB1_bit;
sbit LCD_D4_Direction at TRISB2_bit;
sbit LCD_D5_Direction at TRISB3_bit;
sbit LCD_D6_Direction at TRISB4_bit;
sbit LCD_D7_Direction at TRISB5_bit;
 
void main() 
{
 Lcd_Init();
 Lcd_Out(1, 1, "Hello!");
 Lcd_Cmd(_LCD_CURSOR_OFF);
 
}

your reply would be most welcomed. :)

Last edited by a moderator:

  • #5

jayanth.devarayanadurga

Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation

1,654

Reaction score
790
Trophy points
1,393
Location

Bangalore, India

Activity points

0


Try this code. Also Connect Vss of LCD to GND and Vdd and Vee pins to +5V and pot respectively. If you are testing in hardware then according to your LCD connections the LCD will be dead. Also you have to pull up MCLR pin. You have connected to GND. It will keep the processor in RESET state.


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Lcd pinout settings
sbit LCD_RS at RB0_bit;
sbit LCD_EN at RB1_bit;
sbit LCD_D4 at RB2_bit;
sbit LCD_D5 at RB3_bit;
sbit LCD_D6 at RB4_bit;
sbit LCD_D7 at RB5_bit;
 
// Pin direction
sbit LCD_RS_Direction at TRISB0_bit;
sbit LCD_EN_Direction at TRISB1_bit;
sbit LCD_D4_Direction at TRISB2_bit;
sbit LCD_D5_Direction at TRISB3_bit;
sbit LCD_D6_Direction at TRISB4_bit;
sbit LCD_D7_Direction at TRISB5_bit;
 
void main() 
{
    TRISB = 0x00;
    PORTB = 0x00;
 
    Lcd_Init();
    Lcd_Cmd(_LCD_CURSOR_OFF);
    Lcd_Cmd(_LCD_CLEAR);    
    Lcd_Out(1, 1, "Hello!");
    
    while(1){
 
 
 
    }
 
}

  • #6

Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation

0

Reaction score
0
Trophy points
1
Activity points

209


Is this the connection that u mean ?lcd.jpg

I also have few questions:

1. Where should i pull up the MCLR pin to ?
2.what do u mean by,’testing in hardware then according to your LCD connections the LCD will be dead’….is that mean that the output is achievable only if using proteus and not by using hardware (in real life) ?

  • #7

jayanth.devarayanadurga

Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation

1,654

Reaction score
790
Trophy points
1,393
Location

Bangalore, India

Activity points

0


The LCD connections shown in post #6 is right. Connect MCLR pin to +5V through a 10k resistor. I meant if you are testing in hardware and not only in Proteus, then if you had connected LCD as in post #1 then LCD will be already dead due to applying reverse voltage.

  • #8

Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation

0

Reaction score
0
Trophy points
1
Activity points

209


OH..thanks for the help :)

— — — Updated — — —

one more help..i’ve another string of codings,as shown below:


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
void main()
 
while(true)
 
  if(input(PIN_DO))
  {
  output_bit(PIN_D1,0);
  printf("No Detect\n\r");
  delay_ms(500);
  }
   else
  {
  output_bit(PIN_D1,1);
  printf("\fDETECT1\n\r");
  delay_ms(500);
  }
}//close while
}//close main

The problem is,once i tried to paste the above coding with the previous one,it displays error in simulation.I used microC PRO for PIC for your attention.

Last edited by a moderator:

  • #9

jayanth.devarayanadurga

Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation

1,654

Reaction score
790
Trophy points
1,393
Location

Bangalore, India

Activity points

0


The above code is for CCS C Compiler. It will not compile in mikroC. You can’t simulate it when it doesn’t compile. Are you telling that mikroC gives error messages?

  • #10

Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation

0

Reaction score
0
Trophy points
1
Activity points

209


oh, the codings are from different softwares,is it ? Then how i need to change the above coding,so that it will compile with lcd coding ? and yes microC gives the error when i compile the above coding with lcd coding.

  • #11

jayanth.devarayanadurga

Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation

1,654

Reaction score
790
Trophy points
1,393
Location

Bangalore, India

Activity points

0



Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TRISD = 0x01;
PORTD = 0x00;
 
 
while(1){
 
    if(PORTD.F0){
        Delay_ms(50);
        if(PORTD.F0){
            PORTD.F1 = 0;
            LCD_Out(2,1,"No Detect");
        }
    }
    else if(!PORTD.F0){
        Delay_ms(50);
        if(!PORTD.F0){
            PORTD.F1 = 1;
            LCD_Out(2,1,"Detect   ");
        }
    }
 
}

  • #12

Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation

0

Reaction score
0
Trophy points
1
Activity points

209


Thank for the code,however the microC displays error upon compiling the above coding with previous code (lcd)

  • #13

jayanth.devarayanadurga

Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation

1,654

Reaction score
790
Trophy points
1,393
Location

Bangalore, India

Activity points

0


Post the code which is giving error.

  • #14

Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation

0

Reaction score
0
Trophy points
1
Activity points

209


This is the code:


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// Lcd pinout settings
sbit LCD_RS at RB0_bit;
sbit LCD_EN at RB1_bit;
sbit LCD_D4 at RB2_bit;
sbit LCD_D5 at RB3_bit;
sbit LCD_D6 at RB4_bit;
sbit LCD_D7 at RB5_bit;
 
// Pin direction
sbit LCD_RS_Direction at TRISB0_bit;
sbit LCD_EN_Direction at TRISB1_bit;
sbit LCD_D4_Direction at TRISB2_bit;
sbit LCD_D5_Direction at TRISB3_bit;
sbit LCD_D6_Direction at TRISB4_bit;
sbit LCD_D7_Direction at TRISB5_bit;
 
char txt1[] = "999";
char txt2[] = "012-3456789";
char txt3[] = "013-3456789";
char txt4[] = "014-3456789";
 
char i;                              // Loop variable
 
void Move_Delay() {                  // Function used for text moving
  Delay_ms(500);                     // You can change the moving speed here
}
 
void main(){
 
  Lcd_Init();                        // Initialize LCD
  while(1) {
  Lcd_Cmd(_LCD_CLEAR);               // Clear display
  Lcd_Cmd(_LCD_CURSOR_OFF);          // Cursor off
  Lcd_Out(1,1,txt1);                 // Write text in first row
 
  Lcd_Out(2,1,txt2);                 // Write text in second row
  Delay_ms(3000);
 
  // Moving text
   for(i=0; i<11; i++) {               // Move text to the right 11 times
    Lcd_Cmd(_LCD_SHIFT_RIGHT);
    Move_Delay();
   }
   for(i=0; i<11; i++) {             // Move text to the left 11 times
      Lcd_Cmd(_LCD_SHIFT_LEFT);
      Move_Delay();
   }
 
  Lcd_Cmd(_LCD_CLEAR);               // Clear display
 
  Lcd_Out(1,1,txt3);                 // Write text in first row
  Lcd_Out(2,1,txt4);                 // Write text in second row
  Delay_ms(3000);
 
  // Moving text
   for(i=0; i<11; i++) {               // Move text to the right 11 times
    Lcd_Cmd(_LCD_SHIFT_RIGHT);
    Move_Delay();
   }
   for(i=0; i<11; i++) {             // Move text to the left 11 times
      Lcd_Cmd(_LCD_SHIFT_LEFT);
      Move_Delay();
   }
 }
}
 
 
 
 
TRISD = 0x01;
PORTD = 0x00;
 
 
while(1){
 
    if(PORTD.F0){
        Delay_ms(50);
        if(PORTD.F0){
            PORTD.F1 = 0;
            LCD_Out(2,1,"No Detect");
        }
    }
    else if(!PORTD.F0){
        Delay_ms(50);
        if(!PORTD.F0){
            PORTD.F1 = 1;
            LCD_Out(2,1,"Detect   ");
        }
    }
 
}
 
}
 
}

By the way,how to wr

Last edited by a moderator:

  • #15

jayanth.devarayanadurga

Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation

1,654

Reaction score
790
Trophy points
1,393
Location

Bangalore, India

Activity points

0


Read some C book.


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Lcd pinout settings
sbit LCD_RS at RB0_bit;
sbit LCD_EN at RB1_bit;
sbit LCD_D4 at RB2_bit;
sbit LCD_D5 at RB3_bit;
sbit LCD_D6 at RB4_bit;
sbit LCD_D7 at RB5_bit;
 
// Pin direction
sbit LCD_RS_Direction at TRISB0_bit;
sbit LCD_EN_Direction at TRISB1_bit;
sbit LCD_D4_Direction at TRISB2_bit;
sbit LCD_D5_Direction at TRISB3_bit;
sbit LCD_D6_Direction at TRISB4_bit;
sbit LCD_D7_Direction at TRISB5_bit;
 
char txt1[] = "999";
char txt2[] = "012-3456789";
char txt3[] = "013-3456789";
char txt4[] = "014-3456789";
 
char i, j; // Loop variable
 
void Move_Delay() { // Function used for text moving
    Delay_ms(500); // You can change the moving speed here
}
 
void main(){
 
    TRISB = 0x00;
    PORTB = 0x00;
    TRISD = 0x01;
    PORTD = 0x00;
 
    Lcd_Init(); // Initialize LCD
    Lcd_Cmd(_LCD_CLEAR); // Clear display
    Lcd_Cmd(_LCD_CURSOR_OFF); // Cursor off
 
    Lcd_Out(1,1,txt1); // Write text in first row
    Lcd_Out(2,1,txt2); // Write text in second row
    Delay_ms(3000);
 
    for(j = 0; j < 2; j++){
        // Moving text
        for(i=0; i<11; i++) { // Move text to the right 11 times
            Lcd_Cmd(_LCD_SHIFT_RIGHT);
            Move_Delay();
        }
    
        for(i=0; i<11; i++) { // Move text to the left 11 times
            Lcd_Cmd(_LCD_SHIFT_LEFT);
            Move_Delay();
        }
 
        Lcd_Cmd(_LCD_CLEAR); // Clear display
        Lcd_Out(1,1,txt3); // Write text in first row
        Lcd_Out(2,1,txt4); // Write text in second row
        Delay_ms(3000);
    }
 
    while(1){
 
        if(PORTD.F0){
            Delay_ms(50);
            if(PORTD.F0){
                PORTD.F1 = 0;
                LCD_Out(2,1,"No Detect");
            }
        }
        else if(!PORTD.F0){
            Delay_ms(50);
            if(!PORTD.F0){
                PORTD.F1 = 1;
                LCD_Out(2,1,"Detect ");
            }
        }
    }
}

Last edited:

  • #16

Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation

0

Reaction score
0
Trophy points
1
Activity points

209


thank you very much for the coding. Do you know how to write coding in order to display gps location(longitude & latitude) to specified number in form of sms using gsm modem ?

Status
Not open for further replies.
  • Digital Design and Embedded Programming

  • Microcontrollers

  • This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.

Skip to main content

Electronics Forum (Circuits, Projects and Microcontrollers)

Electronics Forum (Circuits, Projects and Microcontrollers)

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Electronics Forums

  • General Electronics Chat

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Proteus ISIS Error-No Model Specified


  • Thread starter

    pradhr


  • Start date

Status
Not open for further replies.

  • #1

Hi,

I am new to Proteus and trying to make one simple comparator circuit using LM339.
When I tried to simulate the diagram then it is giving me error that:
No Model Specified for U3:A.

How can I get the model for that. And add to the Proteus Library?

Thanks.

Status
Not open for further replies.
  • Electronics Forums

  • General Electronics Chat

  • This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.

Понравилась статья? Поделить с друзьями:
  • Propsww2 cab ошибка установки office 2013
  • Proteus ошибка no libraries found
  • Project zomboid tsarslib ошибка
  • Protherm котел газовый настенный двухконтурный ошибка f28
  • Propsww cab ошибка установки office 2013