Abstract
This chapter describes about the examples of digital read/write and analog read/write with Arduino I/O package, its designing process and working.
Keywords: Analog read/write, Arduino I/O Package, Arduino, Digital read/write.
Author(s): Rajesh Singh, Anita Gehlot, Bhupendra Singh and Sushabhan Choudhury
Pp: 84-87 (4)
* (Excluding Mailing and Handling)
Author(s): Rajesh Singh, Anita Gehlot, Bhupendra Singh and Sushabhan Choudhury
Pp: 84-87 (4)
DOI: 10.2174/9781681087276118010011
* (Excluding Mailing and Handling)
This chapter describes about the examples of digital read/write and analog read/write with Arduino I/O package, its designing process and working.
Keywords: Analog read/write, Arduino I/O Package, Arduino, Digital read/write.
Cite this chapter as:
Rajesh Singh, Anita Gehlot, Bhupendra Singh, Sushabhan Choudhury ;Digital Read/Write and Analog Read/Write with Arduino I/O Package, Arduino Meets Matlab: Interfacing, Programs and Simulink (2018) 1: 84. https://doi.org/10.2174/9781681087276118010011
DOI https://doi.org/10.2174/9781681087276118010011 |
Publisher Name Bentham Science Publisher |
1 x Booting (53.05%) | 107ms |
1 x Application (46.94%) | 94.37ms |
Backtrace |
|
INSERT INTO visitor_ip_address (ip_address,visitor_agent,visitor_count, created_on,updated_on) VALUES ('51493112','',1,1737977243,1737977243)
ON DUPLICATE KEY UPDATE visitor_count=visitor_count + 1, updated_on=1737977243
Backtrace |
|
INSERT INTO visitor_ip_address_detail (ip_address,visitor_url,visitor_count, created_on,updated_on) VALUES ('51493112','/chapter/12494',1,1737977243,1737977243)
Backtrace |
|
(select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_trail WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_corporate WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_token WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_trail WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_corporate WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_token WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_trail WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_corporate WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_token WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_trail WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_corporate WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_token WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_trail WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_corporate WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_token WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_disease_corporate WHERE to_ip >= 51493112 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 51493112) limit 1
Bindings |
|
Backtrace |
|
select * from `chapter` where `chapter_id` = '12494' limit 1
Bindings |
|
Backtrace |
|
select CONCAT_WS(' ',au.first_name, ' ', ifnull(au.initials,''), ' ', au.last_name) as authors,
CONCAT(au.last_name, IFNULL(CONCAT(' ', au.initials), ''), ' ', au.first_name) AS authorsRIS, CONCAT_WS(' ',au.last_name, ' ', ifnull(au.initials,''), ' ', au.first_name) as authorsCiteAs , `au`.*, (GROUP_CONCAT(TRIM(BOTH ', ' FROM
CONCAT(ifnull(concat(af.institution,','),''), ifnull(concat(af.department,','),''), ifnull(concat(af.address,','),''), ifnull(concat(af.city,','),''), ifnull(concat(af.country,','),''), ifnull(concat(af.postal_code,','),''), ifnull(concat(af.phone,','),''), ifnull(concat(af.fax,','),'')))
SEPARATOR '|')) as `author_affiliation`, (GROUP_CONCAT(TRIM(BOTH ', ' FROM
CONCAT(ifnull(concat(af.web_view,','),'')))
SEPARATOR '|')) as `web_view` from `author` as `au` left join `author_affiliation` as `af` on `au`.`author_id` = `af`.`author_id` where `au`.`chapter_id` = '12494' group by `au`.`author_id` order by `au`.`article_id` asc, `au`.`sequence` asc
Bindings |
|
Backtrace |
|
select * from `keywords` where `chapter_id` = '12494'
Bindings |
|
Backtrace |
|
select * from `ebook` where `ebook_id` = 720 limit 1
Bindings |
|
Backtrace |
|
select count(*) as aggregate from `subject_ebook` as `se` inner join `ebook` as `e` on `e`.`ebook_id` = `se`.`ebook_id` inner join `ebook_volume` as `v` on `v`.`ebook_id` = `e`.`ebook_id` where subject_id IN (select subject_id FROM subject_ebook WHERE ebook_id=720)
and se.ebook_id!=720 and v.ebook_status='1'
Backtrace |
|
select distinct v.nid as volume_id,e.nid,e.title,v.issn,v.eissn,v.isbn,v.eisbn,e.ebook_id,
v.image_file_name,v.file_path,v.flyer_link,v.ebook_volume_id, v.volume_name,v.doi,v.year_id,v.introduction from `subject_ebook` as `se` inner join `ebook` as `e` on `e`.`ebook_id` = `se`.`ebook_id` inner join `ebook_volume` as `v` on `v`.`ebook_id` = `e`.`ebook_id` where subject_id IN (select subject_id FROM subject_ebook WHERE ebook_id=720)
and se.ebook_id!=720 and v.ebook_status='1' limit 10 offset 0
Backtrace |
|
select count(*) as aggregate from `subject_journal` as `sj` inner join `journal` as `j` on `j`.`journal_id` = `sj`.`journal_id` where subject_id IN (select subject_id FROM subject_ebook WHERE ebook_id=720)
Backtrace |
|
select distinct j.nid as
journal_nid,j.title,j.subtitle,j.issn,j.eissn,j.keyword,sj.journal_id,j.image_file_name,j.flyer_link from `subject_journal` as `sj` inner join `journal` as `j` on `j`.`journal_id` = `sj`.`journal_id` where subject_id IN (select subject_id FROM subject_ebook WHERE ebook_id=720) limit 10 offset 0
Backtrace |
|
select `e`.*, `a`.*, `y`.`year`, `e`.`ebook_volume_id` as `ebook_volume_id`, `a`.`ebook_volume_id` as `ebk_vol_id`, `e`.`ebook_id` as `ebk_ebook_id` from `ebook_volume` as `e` left join `author` as `a` on `e`.`ebook_volume_id` = `a`.`ebook_volume_id` left join `year` as `y` on `y`.`id` = `e`.`year_id` where `e`.`ebook_volume_id` = 2478 and `e`.`is_uploaded` = 1
Bindings |
|
Backtrace |
|
select count(*) rcd from `ebook_volume` where `ebook_id` = 720 and ebook_volume_id <> 2478 limit 1
Bindings |
|
Backtrace |
|
select count(*) as total_count, content_type_access_id as access_type from ebook_access
where content_type_id = '12494' and content_type = 'c'
and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual= 0) or
(from_date is null and to_date is null and perpetual= 1)
)
Backtrace |
|
select count(*) as total_count, content_type_access_id as access_type from ebook_access
where content_type_id = '2478' and content_type = 'v'
and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual= 0) or
(from_date is null and to_date is null and perpetual= 1)
)
Backtrace |
|
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN 111 THEN true ELSE false END as terms_popup,
"S" as content_download_type,
null as restricted_user_access_key,
null as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"ebook_volume" as access_level,"" as chapter_id from `user_access_ebook_volume_trail` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 51493112 and j.to_ip >=51493112 )) and ((j.from_date <= 1737977243 and j.to_date >= 1737977243 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.volume_id = 2478) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
false as terms_popup,
"S" as content_download_type,
null as restricted_user_access_key,
null as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"ebook_volume" as access_level,"" as chapter_id from `user_access_ebook_volume_corporate` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 51493112 and j.to_ip >=51493112 )) and ((j.from_date <= 1737977243 and j.to_date >= 1737977243 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.volume_id = 2478) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
false as terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"ebook_volume" as access_level,"" as chapter_id from `user_access_ebook_volume_token` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 51493112 and j.to_ip >=51493112 )) and ((j.from_date <= 1737977243 and j.to_date >= 1737977243 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.volume_id = 2478)
Backtrace |
|
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN 111 THEN true ELSE false END as terms_popup,
"S" as content_download_type,
null as restricted_user_access_key,
null as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"chapter" as access_level, j.chapter_id from `user_access_chapter_trail` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 51493112 and j.to_ip >=51493112 )) and ((j.from_date <= 1737977243 and j.to_date >= 1737977243 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.chapter_id = 12494) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
false as terms_popup,
"S" as content_download_type,
null as restricted_user_access_key,
null as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"chapter" as access_level, j.chapter_id from `user_access_chapter_corporate` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 51493112 and j.to_ip >=51493112 )) and ((j.from_date <= 1737977243 and j.to_date >= 1737977243 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.chapter_id = 12494) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
false as terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"chapter" as access_level, j.chapter_id from `user_access_chapter_token` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 51493112 and j.to_ip >=51493112 )) and ((j.from_date <= 1737977243 and j.to_date >= 1737977243 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.chapter_id = 12494)
Backtrace |
|
select b.banner_link, b.banner_name, b.banner_script, b.banner_remarks, b.banner_file_name, b.banner_placement, bd.content_type, bd.content_id from `tbl_banner` as `b` inner join `tbl_banner_detail` as `bd` on `bd`.`banner_id` = `b`.`banner_id` inner join `users` as `u` on `u`.`id` = `b`.`updated_by` where `b`.`banner_ebook` = 1 and `bd`.`content_type` = 'B' and `bd`.`content_id` = 2478 and `b`.`banner_from_date` <= 1737977243 and `b`.`banner_to_date` >= 1737977243 and `b`.`banner_status` = 'A' order by `b`.`banner_id` desc
Bindings |
|
Backtrace |
|
select count(*) as aggregate from `uc_cart_products` where cart_id='dbf3298d0335985eb27ad8a934ee6563'
Backtrace |
|
200
[]
[]
0 of 0array:16 [▼ "x-https" => array:1 [▶ 0 => "1" ] "host" => array:1 [▶ 0 => "beta.benthamscience.com" ] "priority" => array:1 [▶ 0 => "u=0, i" ] "accept-encoding" => array:1 [▶ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [▶ 0 => "document" ] "sec-fetch-user" => array:1 [▶ 0 => "?1" ] "sec-fetch-mode" => array:1 [▶ 0 => "navigate" ] "sec-fetch-site" => array:1 [▶ 0 => "none" ] "accept" => array:1 [▶ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [▶ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [▶ 0 => "1" ] "sec-ch-ua-platform" => array:1 [▶ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [▶ 0 => "?0" ] "sec-ch-ua" => array:1 [▶ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [▶ 0 => "no-cache" ] "pragma" => array:1 [▶ 0 => "no-cache" ] ]
[]
0 of 0array:5 [▼ "content-type" => array:1 [▶ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [▶ 0 => "no-cache, private" ] "date" => array:1 [▶ 0 => "Mon, 27 Jan 2025 11:27:23 GMT" ] "set-cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6IjFIN25DRmNvUTdyZnRXZW9lbEM2TFE9PSIsInZhbHVlIjoiRnNtSlFzRjc4RGpjWHFUY1dKcnpVMithb3I4L3psTm9xajA1bm1DQTBYSGFadS9nZUFtVVA3bW14ZnZlVERWYlF4Z1ZvZUpPajR6NnhRaTgzb3l4aC9sakF0WCs3c0Jmb2xSUmR0M1RHWG5pcEYydjl2eklnLzFQMGRzM0Z1ZFUiLCJtYWMiOiJjYzBiM2UwYjZiMjI3MzI2ZDhmN2Q1M2Q5YTg4ZGFjMTBlNzUxM2MyMmIxYTk2N2ZhMTQ1MWM3YTAyMjdkNDc2IiwidGFnIjoiIn0%3D; expires=Wed, 29 Jan 2025 23:27:23 GMT; Max-Age=216000; path=/; secure; samesite=strict ◀XSRF-TOKEN=eyJpdiI6IjFIN25DRmNvUTdyZnRXZW9lbEM2TFE9PSIsInZhbHVlIjoiRnNtSlFzRjc4RGpjWHFUY1dKcnpVMithb3I4L3psTm9xajA1bm1DQTBYSGFadS9nZUFtVVA3bW14ZnZlVERWYlF4Z1ZvZ ▶" 1 => "eurekaselectnew_session=eyJpdiI6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SGFadS9nZUFtVVA3bW14ZnZlVERWYlF4Z1ZvZ ▶" 1 => "eurekaselectnew_session=eyJpdiI6IjBwbFFYaUVDbWlRNTFVa3dadHFuR0E9PSIsInZhbHVlIjoiSHBLaWVSblhqbFIrNFVza3dCeDNhWCtPME1SSERPVnQ1OUVJNGhTYm1DUTN5ZUQ3N1RabTNDVmFrTzl4SnlrVFJwemE3YUxQQXFtNFJLa1V0ditMdHZ3YU5YN2FzSWExd1hDWXFDQ0J5d3c3Smpvalc3aWY5L0V6ajJRQTVuQ2giLCJtYWMiOiJkODVmMzJkYmIyNWQzNzBhZDM0MTM0NGE5MTg0YTgxN2I3MTE1ODk4MTU4MTk3MzZkNTE4MGVlODFhMDY4OTI5IiwidGFnIjoiIn0%3D; path=/; secure; httponly ◀eurekaselectnew_session=eyJpdiI6IjBwbFFYaUVDbWlRNTFVa3dadHFuR0E9PSIsInZhbHVlIjoiSHBLaWVSblhqbFIrNFVza3dCeDNhWCtPME1SSERPVnQ1OUVJNGhTYm1DUTN5ZUQ3N1RabTNDVmFrTzl4 ▶" ] ]
0 of 0array:5 [▼ "_token" => "YNBuksdq1vW6XdvT5V28xIOfOVDjj3nelEd9ppVU" "uc_cart_id" => "dbf3298d0335985eb27ad8a934ee6563" "_previous" => array:1 [▶ "url" => "https://beta.benthamscience.com/chapter/12494" ] "_flash" => array:2 [▶ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]